It's not a secret anymore!*
The moose likes Android and the fly likes Start application on bootup android device ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Start application on bootup android device !" Watch "Start application on bootup android device !" New topic
Author

Start application on bootup android device !

Przemek Boryka
Ranch Hand

Joined: Dec 06, 2011
Posts: 51

Hi !

My application must start on bootup android device. Everything is ok, app start works perfectly, but there is a little problem, when user tap the home button. It move the programme to work in background, currently when I want to bring it up to the front - just simple I need to tap the app icon. Everything is ok when I launch programme from loaded android, but when the app is launched after bootup sequence, android create new instance of application - this behaviour is not acceptable. In that case I have two instances of programme! :/

How to launch my programme, in order to prevent of that situation described above?

Maybe the problem is in AndroidManifest - wrong launch type ?

That is my bootup starter:



Thanks of any advice. Sorry for my english :|
Przemek Boryka
Ranch Hand

Joined: Dec 06, 2011
Posts: 51

Hi !

I solved the problem, as I thought, it was wrong type of launch mode, currently is:



I think we can close this thread
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Start application on bootup android device !