Results 1 to 2 of 2
  1. #1
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    7

    Default Familiar with Android?

    To keep myself entertained I delved into learning to program apps using Android(since I'm now using a Google based phone) and I'm having pretty simple issues.

    I'm using Eclipse for my coding with the ADT plugin. I've followed the tutorials for the Hello Android program but it isn't working. Current specs are

    Eclipse 1.5(Ganymede)
    Android 1.5
    Java 1.6

    The code looks like this
    Java Code:
    package com.example.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);
       }
    }
    but for some reason when I launch it hello world doesn't appear in the simulator. I just get the default virtual device with Android... blinking on the screen.
    Liberty has never come from the government.
    Liberty has always come from the subjects of government.
    The history of liberty is the history of resistance.
    The history of liberty is a history of the limitation of governmental power, not the increase of it.

  2. #2
    xcallmejudasx's Avatar
    xcallmejudasx is offline Senior Member
    Join Date
    Oct 2008
    Location
    Houston, TX & Flint, MI
    Posts
    609
    Rep Power
    7

    Default

    Never mind. Turns out the virtual device just takes about 10 minutes to load the app >_<
    Liberty has never come from the government.
    Liberty has always come from the subjects of government.
    The history of liberty is the history of resistance.
    The history of liberty is a history of the limitation of governmental power, not the increase of it.

Similar Threads

  1. add Android platform?
    By mysystem in forum NetBeans
    Replies: 0
    Last Post: 08-19-2009, 12:24 PM
  2. im not familiar with boolean in method...
    By PureAwesomeness in forum New To Java
    Replies: 19
    Last Post: 02-22-2009, 03:36 AM
  3. Any android developers left?
    By cbyte in forum Jobs Offered
    Replies: 0
    Last Post: 09-25-2008, 11:02 AM
  4. Android on Eclipse 3.2
    By aibtus in forum Eclipse
    Replies: 0
    Last Post: 04-08-2008, 12:11 PM
  5. Android Developer Wanted
    By androidwx in forum Jobs Offered
    Replies: 0
    Last Post: 12-24-2007, 06:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •