I have developed a midlet that is supposed to be invoked using Push Registry only. The user must not be able to manually start the app. I have achieved this by checking if the midlet was not invoked through Push Registry, then exit the midlet immediately. but is there any way to hide the app from application folder on Nokia devices?
It seems that it can be done for sonyericsson: How to hide midlet icon in sonyericsson
Related
I am developing a device that interacts with android-auto.
the launcher application installed on the device has custom widgets that have onClickLIstener implemented.
therefore if I press ENTER on my keyboard the onclick is activated and I can navigate the user successfully. however, when the user presses the D-PAD which has a scan code of 23 the input is successfully injected into the android but the onclick listener isn't activated.
I would like to know how can I implement a view, a button for example, that has a listener for the d-pad scan code.
I am developing a desktop widget which shows current system status. But the problem is when any user clicks outside of browser window the app get hide/not visible on the desktop. The same thing happens when user press key windows key +D. Is there anything that we can do for preventing this or catch this event and call window.show(). Because lots of desktop widget support this kind of feature.
Edit: I have tried alwaysOnTop property of browserWindow, but I don't want to show my app above the other apps. Like any desktop widget which always shows on the desktop.
I need to create a popup handler that opens an external window. How can I do this? The default opens the popup in the same webview, and there is no code in the JavaFx learning trail to provide me a general idea or anything. The origin of the popup request comes from a skype button widget. When the user clicks the widget a new "window" (stage) needs to open and the popup must be included within the new stage. The stage is just a composition of a Webview and its engine.
This should happen if the user does not have skype. If the user has skype then skype should open and connect the phone call. Neither is happening.
Update: I also asked in the JavaFx 2.0 forum and got an answer. Here it is. (I'll move it to the Answer area as soon as I can):
https://forums.oracle.com/forums/thread.jspa?threadID=2323123&tstart=0
It still wont open skype and connect for a phone call or open a popup to install skype.
Although the Javascript widget does open skype and connects for a phone call if I open the widget inside a browser in standalone mode.
Therefore it is an issue with the JavaFx 2.0 web app.
Any help is greatly appreciated.
AFAIK, to make calls from the browser Skype needs plugin named "Click to Call" to be installed into the browser.
But there is no such plugin for JavaFX WebView, so you can't have Skype "click-to-call" functionality inside webview.
I'm trying to find an API in the Blackberry JDK that will allow me to change the device's current profile. For example, I'd like to call an API to change it from "Loud" to "Vibrate" or "Quiet" mode; these options are accessible via the Speaker icon on the main blackberry screen.
Is there any way to do this programmatically?
Thanks,
Yes, we can do that by launching the phones profile application from within your app with the following. From there you can edit a profile and set the volume.
ApplicationManager.getApplicationManager().launch("net_rim_bb_profiles_app");
How to create a Startup Application in JavaME.the Program will starts while the boot up of the Mobile
For nokia add jad attribute.
Nokia-MIDlet-auto-start: yes
possible values are yes, no and once.
on SE devices JP7onwards you can use
pushregistry entry
MIDlet-Push-1: autostart://:,,*
static and dynamic both will work
in blackberry go project properties ->application tab-> check option "Auto-run on startup"
don't know about other devices like motorola.