View Single Post
  (#6 (permalink)) Old
arunk Offline
Talking BlackBerry Encyclopedia
 
arunk's Avatar
 
Posts: 220
Join Date: Mar 2008
Model: 8310
PIN: N/A
Carrier: Airtel
Default 04-18-2008, 03:03 AM

I think :

When you start the application using Autostart, Application starts in background
write a method like this and invoke it...

fitst:

Application.getApplication().getProcessId();

then:

public static void setApplicationToForeground(int appProcessID) {
ApplicationManager manager = ApplicationManager.getApplicationManager();
manager.requestForeground(appProcessID);
}
   
Reply With Quote