Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,042 Members 42,419 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 375
Posts: 1,086
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 375
Posts: 1,086
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


[OTA Captured] Android 4.4.3 Lands on European HTC One M7

The secound release of the Android L Developer Previewmay be the new hotness for … more

Take a Perfectly Stable Shot with Open Camera

The camera app on our Android smartphones and tablets isn’t something we focus on all … more

Motorola Droid X Receives Almost Fully Functional KitKat Port

While we are all wondering when Google will decide to officially release … more

XDA Xposed Tuesday: Kids Mode for Your Phone – XDA Developer TV

The greatest thing about technology is its ability to teach and promote … more