Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old July 2nd, 2009, 04:06 AM   #1 (permalink)
New Member
 
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
Old July 2nd, 2009, 01:54 PM   #2 (permalink)
New Member
 
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 July 7th, 2009, 05:22 AM   #3 (permalink)
Senior Member
 
KlaymenDK's Avatar
 
Join Date: May 2009
Location: Denmark
Posts: 1,205
 
Device(s): Desire (Android v2.3.5 w/Oxygen rom; Revoked ClockworkMod recovery)
Thanks: 28
Thanked 121 Times in 93 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 July 7th, 2009, 08:15 AM   #4 (permalink)
Junior Member
 
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 Development > Application Development User CP
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just a quick question for a newbie Buckeye101 EVO 4G - All Things Root 1 December 27th, 2010 10:21 PM
Quick Questions, Fast Answers: Motorola Droid Related Questions TheNorthernForest Verizon 44 October 31st, 2010 11:10 AM
A few quick EVO questions... Palmetto Fellow EVO 4G - Support and Troubleshooting 4 October 8th, 2010 04:13 PM
Few quick questions Captain Sexy EVO 4G - Support and Troubleshooting 1 September 16th, 2010 07:33 PM
Newbie needs help quick fishhunter HTC Desire 31 May 28th, 2010 05:41 PM



All times are GMT -5. The time now is 03:48 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo


SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.