View Single Post
Old July 2nd, 2009, 01:54 PM   #2 (permalink)
s1nn0ngr
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