Is it possible, using PhoneGap, to add a context menu item for when you are browsing photos on a Blackberry and bring up the "Send to" context menu? How can this be done?
Read this Blackberry Knowledge Base article:
How To - Add a custom menu item to an existing BlackBerry application
I think that it contains the answer of your question.
Related
Let's say I am in Safari and I select some text on a web page. A menu pops up that shows "Copy" and possibly other options.
How can I show my app in that menu?
(The purpose would be to send that text to my app in a custom url scheme.)
Edit:
I thought I saw this behavior in safari, but I was mistaken. It was in an app called Equipd.
Here is an example:
![enter image description here][2]
Is this due to a collaboration between Equipd and Pleco? Or can Equipd just do this because it knows about Pleco's custom url scheme? Or is something else going on here?
It's not possible to edit this kind of menu without using jailbreak-methods. But Apple won't allow these kind of methods in their App Store apps.
But you can use the new App Extensions which Apple introduced with iOS 8. You should check the App Extension Programming Guide Apple provides.
There are different extension-types. What you will need is the Share Extension.
I need my app to be added on the list on the share menu like Evernote.
I have only managed to add in on the list by adding CFBundleDocumentTypes and it is added on the list with "Open in.." with it.
The problem is that I want to know how to implement it the same as Evernote because on the first screen shot I'm using Voice Memos app(default iOS) that doesn't include my app on it, but when I used another app downloaded from the store it shows my app with "Open In.." with it.
I have managed to implement this functionality with Using an iOS 8 share extension to upload a photo to IBM Bluemix . Just disregard the IBM Bluemix implementation.
I have requirement to have my application name in "Open in " menu for any document type in iOS platform in iPAD. It means for any extension my application should be presented in "Open in" menu. One way is that I add all keys in DocumentType UTI but I need some option like whether I can mention "*" to allow all document types.
It is available with CFBundleTypeExtension but it is for OS X platform and not for iOS platform. Also for custom extension I need same thing so I don't have to update .plist file again and again for new document types.
Let me know whether such thing is possible or not. For more detail or any query ask me and I will try to give more clarification if required.
See here
In short: Add the UTI public.item to the list of handled document types for your app.
In my application, I want to to add an item to the BlackBerry menu items and this item can launch my simple application.
how can I do that?
I am using blackberry JDE 7.1.
Import the Blackberry sample "MenuDemo" from Blackberry samples; Then you can understand;
To Import Blackberry Samples; Go to
File-->Import-->Blackberry-->ImportBlackberrySamples-->DeselectAll-->and select the MenuDemo from samples; and click finish;(you can change the version at "Use a project Specific JRE");
The simplest way is to extend UiApplication for your main class and make sure your development environment is compiling your application as a GUI app, then there will be an Icon placed on the home screen which will launch your app.
The Android platform has a RatingBar widget. I believe there is a similar field for BlackBerry because BlackBerry AppWorld uses a rating bar. What field are they are using for that?
I was browsing another question on StackOverflow and found a reference to a BlackBerry knowledge base article that includes sample code for a RatingField.
The corollary to an Android Widget on the BlackBerry is a Field. The BlackBerry Widget SDK is meant for doing web development specifically for BlackBerry devices. I've edited your question to reflect this.
The important aspect to know about BlackBerry development is that the operating system is not open-source. RIM has chosen to make some APIs available for app developers, but they have not opened up the entire platform. RIM is able to access the entire operating system when they write an app themselves - such as the Facebook or Twitter apps, but if you are writing an app as a third-party developer, you are limited to what has been exposed in their developer JDE.
AppWorld may well use a built-in field that does the rating stars, but, if it exists, that field is not available for third-party developers.
It is actually pretty common in the BlackBerry culture to write your own Field objects. There is a ButtonField in the JDE, for example. It works well if you want a button with text. But if you want to make a button that contains only an image, there is no built-in ImageButtonField to use, and you cannot set an image on a plain ButtonField. You have to write your own button field to handle this.