Hi, how can i call a Midlet on a button click event in Java Me
Printable View
Hi, how can i call a Midlet on a button click event in Java Me
would that be after pushing a button within your app or do you want to start a midlet when pressing a button outside your app ?
If it's the first case you might have a look here :
[url]http://www.developer.nokia.com/Community/Discussion/showthread.php?77202-How-to-open-one-midlet-from-other-midlet[/url]
[QUOTE=angelvini210;909221]Hi, how can i call a Midlet on a button click event in Java Me[/QUOTE]
If it from outside the app, then you have to set the midlet on right button or some shortcut key on the device to launch it in 1 click.
hi, i am really not getting how do i call MidletB from MidletA when i click a button which is in MidletA .. when i click the button the MidletB should get execute and Display on the emulator..
I tried of importing package and makin object of Midlet and then calling but it is giving me MIDletManagerError : Illegal Attempt To construct fflocator.ContactList@e10e393b
plzz help
Thnks
Swati
Your question is merged to a very similar discussion now. Make sure to check the suggestion in #2.
[QUOTE=Tiger79;909268]would that be after pushing a button within your app or do you want to start a midlet when pressing a button outside your app ?
If it's the first case you might have a look here :
[url]http://www.developer.nokia.com/Community/Discussion/showthread.php?77202-How-to-open-one-midlet-from-other-midlet[/url][/QUOTE]
i hav created a GUI for my project(Friends and family locator) and my project i have divided into small modules so lyk i hav created a midlet(ContactList) and dis midlet i want to call in my project on a button click ,,,, which will display on a form of my project....
[QUOTE=im2amit;909308]If it from outside the app, then you have to set the midlet on right button or some shortcut key on the device to launch it in 1 click.[/QUOTE]
Sorry sir but i did'nt get you... right button as in where and how?
[QUOTE=angelvini210;909364]Sorry sir but i did'nt get you... right button as in where and how?[/QUOTE]
In the latest Series 40 devcies you can assign Java apps to Right / Left Selection Keys in the Home screen (Menu > Settings > My shortcuts)
Hope this Helps ?
Regards
Gopal