[android-beginners] startActivity crash

2009-09-02 Thread tinyang
Hello. I have an application in which I am trying to start an activity (geotest) in, and the activity crashes upon start of the application. Below is my code and my logcat output. I can't figure out the problem, because I have several other activities I am able to start exactly the same way

[android-beginners] startActivity() crash...

2009-08-17 Thread Tikoze
Here is the code that I am using to bring a running activity to the foreground: ActivityManager.RunningTaskInfo task = getTask(idx); if (task != null) { Intent intent = new Intent(); intent.setClassName(task.topActivity.getPackageName(), task.topActivity.getClassName());