Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,457 Members 42,062 Now Online
XDA Developers Android and Mobile Development Forum

Force app to foreground like SetupWizard of Samsung

Tip us?
 
cloooned
Old
#1  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Mar 2013
Default Force app to foreground like SetupWizard of Samsung

Hi

I have a rooted phone and like to start my app on BOOT_COMPLETED in fullscreen mode like the Samsung SetupWizard. I can overwrite the menu and back buttons but not the home button. I'cant also block the status drop down menu.

How does Samsung it, is there some simple technics behind or do I have to reverse engineer their code?

Regards
 
arpitkh96
Old
#2  
arpitkh96's Avatar
Senior Member
Thanks Meter 376
Posts: 1,088
Join Date: Feb 2012
Location: panipat
That is done by system APIs.user apps do not have most of those permissions .Samsung setup wizard is only themed original stock setupwizard.both do the same task using same api

Sent from my GT-S5570 using XDA Premium 4 mobile app
The Following User Says Thank You to arpitkh96 For This Useful Post: [ Click to Expand ]
 
cloooned
Old
#3  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Mar 2013
Quote:
Originally Posted by arpitkh96 View Post
That is done by system APIs.user apps do not have most of those permissions .Samsung setup wizard is only themed original stock setupwizard.both do the same task using same api

Sent from my GT-S5570 using XDA Premium 4 mobile app
But if I have a system app with system permissions? Should it not possible to access the system API by reflections?
 
arpitkh96
Old
#4  
arpitkh96's Avatar
Senior Member
Thanks Meter 376
Posts: 1,088
Join Date: Feb 2012
Location: panipat
Quote:
Originally Posted by cloooned View Post
But if I have a system app with system permissions? Should it not possible to access the system API by reflections?
Yes system app can use those api's.you can checkout android source for setupwizard.apk for those particular methods

Sent from my GT-S5570 using XDA Premium 4 mobile app
 
bhawani123
Old
#5  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Feb 2014
I have dead recovery in my spice mi 502 plz help me what to do now ???


Sent from my Spice Mi-502 using XDA Premium 4 mobile app
 
bhawani123
Old
#6  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Feb 2014
Arpit plz help me

Sent from my Spice Mi-502 using XDA Premium 4 mobile app
 
sak-venom1997
Old
#7  
sak-venom1997's Avatar
Senior Member
Thanks Meter 404
Posts: 919
Join Date: Feb 2013
Location: Lucknow

 
DONATE TO ME
Quote:
Originally Posted by bhawani123 View Post
Arpit plz help me

Sent from my Spice Mi-502 using XDA Premium 4 mobile app
Start a new thread in the specific place please not post help quries here

Sent from my GT-S5302 using Tapatalk 2

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Fix KitKat WiFi Drops on Your Own

Despite introducing many useful features and overall great performance and enhancements,Android 4.4 KitKat … more

Bring Back Tablet UI on KitKat

Google presented their brand new UI for tablets alongsidethe release of Android 3.0 Honeycomb back in early … more

Give Your Notification Shade a Facelift with these Modding Guides

Modification has always been one of the strong suits of Android, due in … more

Keep Track of How Much Your Car Truly Costs with Car Logbook

It’s a very well established fact that cars are expensive. In addition to … more