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
1,070 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 500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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 …

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now