Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

7. 6.

2019 Starting the default launcher using adb | ivucica blog

ivucica blog
a programmer's thoughts

Starting the default launcher


using adb

If you’re stuck with a custom launcher (e.g. OUYA’s) and want to get back to the stock launcher, rst connect with
adb:

View Raw Code ?

1. adb connect 192.168.56.101


2. adb shell

Then, in&the
Privacy shell, This
Cookies: punchsitein thecookies.
uses following
By continuing to use this website, you agree to their use.
To nd out more, including how to control cookies, see here: Cookie Policy

Close and
View Raw accept
Code ?

1. am start -c android.intent.category.HOME -a android.intent.action.MAIN

https://blog.vucica.net/2013/06/starting-the-default-launcher-using-adb.html 1/3
7. 6. 2019 Starting the default launcher using adb | ivucica blog

This will dispatch an intent ltered by category android.intent.category.HOME and action


android.intent.action.MAIN. You should also be able to dispatch an explicit intent, passing the full package and

class name:

View Raw Code ?

1. am start -n com.android.launcher/com.android.launcher.Launcher

Sadly, this didn’t work on AndroVM’s 4.1.x; perhaps the launcher’s name is di erent. Not that I care particularly

-=-
Tip me with Bitcoin to: 1ASA9q5VQUxPZvit8X2AP4JYzPcSDk7dFV or using ChangeTip (button below)

Share this:

 Email  Twitter  Facebook  Google  Tumblr Feedly  RSS  More

This entry was posted in Android, Java and tagged Android, Java on June 3, 2013
[https://blog.vucica.net/2013/06/starting-the-default-launcher-using-adb.html] .

2 thoughts on “Starting the default launcher using adb”

Ivan
June 5, 2013 at 8:29 am

Wait a minute, you are on Android now? Steve Jobs too? Did I miss something yesterday?

Ivan Vučica Post author

June 5, 2013 at 10:19 am

Even a preacher has to read porn in order to understand the devil.

Privacy
Nah, I’m&not
Cookies: This siteIuses
on Android. havecookies. By continuing
an emulator to use
that tends tothis
be website,
actually you agree
usable —toastheir
in, ituse.
runs in VirtualBox and can
To nd screen
stream out more, including
content how to control
(including OpenGL)cookies,
oversee here: Cookie
network Policy resulting in quite a speedy experience.
to its player,
AndroVM, if you’re interested.
Close and accept

https://blog.vucica.net/2013/06/starting-the-default-launcher-using-adb.html 2/3
7. 6. 2019 Starting the default launcher using adb | ivucica blog

This site uses Akismet to reduce spam. Learn how your comment data is processed.

:)

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To nd out more, including how to control cookies, see here: Cookie Policy

Close and accept

https://blog.vucica.net/2013/06/starting-the-default-launcher-using-adb.html 3/3

You might also like