Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Hello Android Project

Hello Android Project

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Hello Android Project

Postby namsir » Wed Nov 12, 2008 6:53 am

hello everybody,

I'm still a newbie in this thing. I'm coding the simple Hello Android Word based on http://code.google.com/android/intro/hello-android.html.

this is what i have in the code:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. package com.Android.Hello;
  2.  
  3. import android.app.Activity;
  4. import android.os.Bundle;
  5. import android.widget.TextView;
  6.  
  7. public class HelloAndroid extends Activity {
  8.     /** Called when the activity is first created. */
  9.     @Override
  10.     public void onCreate(Bundle savedInstanceState) {
  11.         super.onCreate(savedInstanceState);
  12.         TextView tv = new TextView(this);
  13.         tv.setText("Hello, Android");
  14.         setContentView(tv);
  15.     }
  16. }
Parsed in 0.016 seconds, using GeSHi 1.0.8.4



and when i run it, it doesn't show what i supposed to see like on the google-android page did.

I'm using
Windows Pro XP
Eclipse Platform
Version: 3.4.1
Build id: M20080911-1700


When i run the Run Configuration i got this:

Image

And when i hit Debug i got this


Image


It lets me wait about 10 seconds and then i got this

Image


Can someone tell me what's the error means? I think it tells me that my G1 is not connected to the computer?
Attachments
untitled.JPG
untitled.JPG (55.04 KiB) Viewed 275 times
untitled.JPG
untitled.JPG (43.42 KiB) Viewed 275 times
untitled.JPG
untitled.JPG (73.46 KiB) Viewed 275 times
namsir
Junior Developer
Junior Developer
 
Posts: 11
Joined: Mon Nov 10, 2008 3:21 pm

Top

Postby MrSnowflake » Wed Nov 12, 2008 8:37 am

Ignore (press wait) the phone warning. It's default behaviour :).
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby namsir » Wed Nov 12, 2008 8:45 am

cool....i'm excited now. :) Thank You
namsir
Junior Developer
Junior Developer
 
Posts: 11
Joined: Mon Nov 10, 2008 3:21 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests