this is my first question I have searched for any launching activity questions and none worked for me(android 4.0.4), but works for others.
I have already a list of every installed activity in the phone but I cannot launch them
ComponentName cm= new ComponentName("com.sonyericsson.extras.liveview","com.sonyericsson.extras.liveview.LAUNCH");
intent.setComponent(cm);
startActivity(intent);
that code is failing for me "unable to find explicit activity...", that constant strings may vary depending on selection, any way this doesn't work, neither does other solutions found here. Logcat says that maybe I didn't declare the activity in the manifest.xml but of course I didn't, I want to start ANY activity just as ADW launcher does, also tried to use code from ADW source but didn't work. Thanks in advance
Try
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setClassName("com.sonyericsson.extras.liveview", "com.sonyericsson.extras.liveview.LAUNCH");
startActivity(intent);
I believe the name of the package is ok but the activity name being all CAPS hurts me :|, but try and let me know if it works for you.