File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: J2ME Application - Bringing app in foreground after sending SMS