• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Quick questions from newbie

s1nn0ngr

Lurker
Hi all, just started looking into android app development, and am having troubles getting the apps i create to either display on the emulator or a real device. Even a very simple app like helloworld, installs on the device but it doesnt appear in the programs menu nor does it auto launch.

[2009-07-02 08:59:47 - hello15] Installing hello15.apk...
[2009-07-02 08:59:51 - hello15] Success!
[2009-07-02 08:59:51 - hello15] \hello15\bin\hello15.apk installed on device
[2009-07-02 08:59:51 - hello15] Done!

Any ideas please?
 
Anyone any ideas? :confused:

Do I need to launch the app manually on the device once its installed? Any ideas how to do that if so?

Below is the code.

PHP:
package com.android.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       TextView tv = new TextView(this);
       tv.setText("Hello, Android");
       setContentView(tv);
   }
}
 
After the "installed on device", the app should launch automagically.

I'd say, try to re-install the Android plugin; you should be able to do that without zapping your workspace. Then, also create a new virtual device.
 
Hey, I had the same problem.

When you are developing in Eclispe, try to make a new project and let the Wizard make a new Activity.

I first had said "Nor Activity" and I could not start the App, but for me it worked with making a new Project and saying Create Activity. (There is a checkbox in the Wizard to do that)
 
Back
Top Bottom