Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,721 Members 50,488 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,085
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,085
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 403
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


XDA PORTAL POSTS

Play Your Hits and Learn the Lyrics with NextGen Music Player

There are plenty of music players for Android available in Play Store. They … more

Control Your Toast Notifications with SlicedToasts

Toasts are delicious, even in their Android flavor. In Android, toast doesn’t lead … more

Rotation Lets You Take Full Control of Your Device’s Orientation Settings

To be brutally honest, the native options for screen … more

Change the Alarm Icon in the Status Bar with Xposed

It’s hard to find a more hated object than your alarm clock. They wake us up nearly … more