Go Back   Android Forums > Android Discussion > Android Developers

Android Developers Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old 07-02-2009, 03:06 AM   #1 (permalink)
Hello, my name is .......
 
Join Date: Jul 2009
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Quick questions from newbie

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?

s1nn0ngr is offline  
Reply With Quote
Sponsors
test
Old 07-02-2009, 12:54 PM   #2 (permalink)
Hello, my name is .......
 
Join Date: Jul 2009
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone any ideas?

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 Code:
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);
   }

s1nn0ngr is offline  
Reply With Quote
Old 07-07-2009, 04:22 AM   #3 (permalink)
Phone Guide
 
KlaymenDK's Avatar
 
Join Date: May 2009
Location: Denmark
Posts: 648
 
Device(s): Galaxy@IL3+drakaz4.6; Palm Treo 680
Thanks: 5
Thanked 7 Times in 6 Posts
Default

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.
KlaymenDK is offline  
Reply With Quote
Old 07-07-2009, 07:15 AM   #4 (permalink)
Where's the search?
 
Join Date: Jul 2009
Posts: 17
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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)
Bodom is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Discussion > Android Developers
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:38 PM.
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
Custom vBulletin Skins by: Relivo