Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to cause a midp application to be pushed (using push registry) and activated during a mobile phone conversation?

Posted on 2007-11-30
3
Medium Priority
?
1,085 Views
Last Modified: 2013-12-09
Question:
I have recently developed a client server application which is uses push registry. For this I am using 2 phones on GSM network: One which sends a push sms on specific port and other phone is being registered statically to listen for sms events on that port. The application works fine when I am not in a middle of conversation: Midlet is launched as soon as the push sms is received. But when I am having a talk conversation with someone on the phone and while talking I receive the push sms the following happens:
The sms is being received but the registered midlet won't be launched  or maybe it is launched but in the background because if during the conversation I manuallly open the midlet it seems that the push sms has arrived and the text payload is being proccessed by the app. My question is what can I do to force the AMS to launch the midlet even if I am currently having a conversation on the phone? is there maybe another way to do that if not so?
By the way I have tested and observed the above behaviour on Sony Ericsson K700 and K800... I am not sure how it will behave on other devices...

Open in new window

0
Comment
Question by:maximrahlis
3 Comments
 
LVL 3

Expert Comment

by:humergu
ID: 20399067
i have only little experience with j2me and symbian so my suggestion is that you cannot do that.
there is sth. like a priority, which application can run and a phone call has a very high priority (imho always higher than any j2me midlet)

so...
i think (i'm not sure) you cannot automatically start a midlet (and focus) while having a phone call...

please correct me, if i'm wrong!


0
 
LVL 15

Expert Comment

by:jimmack
ID: 20416126
I believe that humergu is correct.
0
 
LVL 5

Accepted Solution

by:
qasitouch earned 1000 total points
ID: 20913132
Its the defualt behaviour of J2ME applications. You can't force AMS to behave as you want. Any call will send the any J2ME application in background even if it is active when call comes or during conversation a push message is received, application will run in background. you can't do anything with that using j2me.

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
The Summer 2017 Scholarship Winners have been announced!
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question