This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes J2ME Application - Bringing app in foreground after sending SMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME Application - Bringing app in foreground after sending SMS" Watch "J2ME Application - Bringing app in foreground after sending SMS" New topic
Author

J2ME Application - Bringing app in foreground after sending SMS

SwatiJdev Sisodia
Greenhorn

Joined: Jul 22, 2009
Posts: 4
Hello all,

I am developing a Java Mobile Application which is making phone calls and sending SMS to other phones which have the same application running.
I have a problem that when my app sends SMS, it goes into background and the foreground shows me the charges and balance left (as this is a prepaid connection.) When I click Ok, I have to manually resume the app. Is there a way to bring the app in foreground programatically or by some settings?

I am targeting Motorola Phones (iDEN). Checked on Motorola L7 also.

Following some forums, I found that following attribute in jad file should help:
Background: True
but it does not seem to.

Thanks and regards,
Swati.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: J2ME Application - Bringing app in foreground after sending SMS
 
Similar Threads
Background midlet on startup
midlet as resident program
Sending online SMS to mobiles
Motorola J2ME phones
Diff between ADSL and GSM Modem