Re: [android-beginners] Cannot download the sdk

2010-02-02 Thread Caius 'kaio' Chance
(2010年01月07日 05:53), Jose wrote:
 This repository requires a more recent version of the Tools.
 You must update it before you can see other new packages.
 One package found.

Tried download the latest android sdk for osx? If so it would be no
solution except android sdk dev release the newer version for osx. IMHO.

-- 
Rgds ☺, Caius 'kaio' Chance
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] the files created by my aplication are deleted after turn off USB storage

2010-02-02 Thread Caius 'kaio' Chance
(2010年01月07日 08:10), Liviu Ungureanu wrote:
   Hi!
 
My application have to save some information in some files on sdcard.
 If i connect my phone (Htc Hero) at computer ass USB storage after i
 turn off USB Storage all my files what are created by my app are
 deleted. If anyone have idea why this is happining please help me..

Afaik, as Android is a derivation of Linux, you might need to unmount
the USB storage properly before physically unplug that. Unlike to
Windows where you will see a progress bar to show the status, writing
data in *nix is that you will see the files appear on the destination in
advance to files written completely.

Just 2c based on *nix, please kindly point out if I am wrong.

-- 
Rgds ☺, Caius 'kaio' Chance
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Bug in SDK Manager: cannot update

2010-01-31 Thread Caius 'kaio' Chance
(2010年01月06日 11:51), Mugdha Bendre wrote:
 Nope, I gave up and switched to a Linux workstation. However, try
 upgrading your installation of Java. Someone said it worked for them
 after updating Java.

Good choice.

-- 
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Best way to poll for XML?

2010-01-31 Thread Caius 'kaio' Chance
(2010年01月06日 16:55), Sam Dutton wrote:
 Not sure that this is really an Android question, but...
 
 My app needs to update displayed text by getting and parsing XML from
 a server.
 
 Ideally the values would be updated every half second or less.
 
 What's the best way to do this?
 
 Obviously, I can repeatedly get the data via HTTP and parse it with
 SAX (or whatever).
 
 Any other suggestions? I'm wondering whether or not to use threads,
 the most efficient way to poll for data, and better alternatives to
 polling.
 

I am not a Java guru, but I guess there is design pattern called
observer which could help.

Rgds, kaio.

-- 
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Best way to poll for XML?

2010-01-31 Thread Caius 'kaio' Chance
(2010年02月01日 10:28), Caius 'kaio' Chance wrote:
 (2010年01月06日 16:55), Sam Dutton wrote:
 Not sure that this is really an Android question, but...

 My app needs to update displayed text by getting and parsing XML from
 a server.

 Ideally the values would be updated every half second or less.

 What's the best way to do this?

 Obviously, I can repeatedly get the data via HTTP and parse it with
 SAX (or whatever).

 Any other suggestions? I'm wondering whether or not to use threads,
 the most efficient way to poll for data, and better alternatives to
 polling.

 
 I am not a Java guru, but I guess there is design pattern called
 observer which could help.
 
 Rgds, kaio.
 

http://en.wikipedia.org/wiki/Observer_pattern

-- 
Regards, Caius 'kaio' Chance
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] My new Nexus One: FedEx delayed - Oklahoma ice storm

2010-01-28 Thread Caius 'kaio' Chance
(2010年01月29日 10:35), ajb wrote:
 How do,
 
 Well, I was excited all day today because today was the day I was
 supposed to get my Nexus-One BUT...an ice storm is here now in
 Oklahoma.
 
 Man, I drove all over the place today in it, the trees and electric
 lines are covered but the roads were definitely passable. Come to find
 out, Fed-Ex delayed their shipments until...I don't know. I even saw a
 UPS truck delivering later in the day. I always thought Fed-Ex did a
 better job than UPS?
 
 Oh well, my N1 will be here some day soon...al
 

I ordered from Hong Kong. Google shipped it by DHL. The tracking page
displayed that it was shipped on last Friday morning and arrived on
deliver's hands sometime on last Sunday.

However, then I saw 2 delivery attempt failure on the tracking page,
with no one ever pressed the door bell or ring to my cellphone.

In a nutshell, I am still waiting for its 3rd delivery attempt. = =

rgds kaio

-- 
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] My new Nexus One: FedEx delayed - Oklahoma ice storm

2010-01-28 Thread Caius 'kaio' Chance
(2010年01月29日 15:50), Justin Anderson wrote:
 Yet again... I care why?  This is an Android development forum not a
 FedEx delivery forum.

:)

-- 
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Windows or Mac as an Android development platform?

2010-01-19 Thread Caius 'kaio' Chance

(2010年01月20日 10:31), oregonduckman wrote:

Would be interested in people's opinion on which platform provides a
better host environment for Android development.
   

more important is how familiar you to a host env

any env that eclipse, adt, a sdk are working on, that's suitable

:)

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] شارك وتعرف على أصدقاء معنا فى منتدى أجدع أصحاب

2010-01-17 Thread Caius 'kaio' Chance

(2010年01月17日 05:03), alagmy wrote:

شارك وتعرف على أصدقاء معنا فى منتدى أجدع أصحاب

إشترك معنا فى منتدى أجدع أصحاب لتفيد وتستفيد من كل ماهو موجود بالمنتدى
من مناقشات وبرامج وألعاب وحوارات واشترك فى الجروب ليصلك كل جديد إلى
جانب تعرفك على أصحاب من كل مكان من الشباب والبنات

إشتراك الآن

http://agd3as7ab.eb2a.com/vb

للإشتراك بالجروب ليصلك كل جديد

http://feedburner.google.com/fb/a/mailverify?uri=eb2a/Ouyoloc=en_US

أو أدخل المنتدى وإشترك فى المربع الموجود بأول المنتدى



pls block this sender

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] موقع بروكسى لفت ح المواقع المحجوبه ببلدك

2010-01-13 Thread Caius 'kaio' Chance

(2010年01月13日 18:38), alagmy wrote:

موقع بروكسى لفتح المواقع المحجوبه ببلدك

الأن يمكنك فتح أى موقع محجوب ببلدك فقط من خلال هذا الموقع

open all blocked sites now for free and have fun

http://alagmy.zxq.net/index.php


seems to be a spam, could admin block it pls?

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Installing android SDK

2010-01-13 Thread Caius 'kaio' Chance

(2010年01月12日 05:05), lewa wrote:

When I run SDK Setup.exe, it gives me the following error when
trying to refresh sources:


Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml,
reason: HTTPS SSL error. You might want to force download through HTTP
in the settings.


I do as it says and enable force http, but still get the same error.
Does this have to do with my http server/proxy settings? In the
settings tab, they are blank.

I'm running Windows 7. However I did try to run the installer under
administrator mode, and in compatability mode (which shouldn't be
necessary, Google supports vista).

Thanks a ton!
   

not firewall?

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Android 2.1 SDK

2010-01-12 Thread Caius 'kaio' Chance

(2010年01月12日 09:24), Xavier Ducrohet wrote:

Hello everyone,

We've just released the 2.1 SDK.

More info: http://android-developers.blogspot.com/2010/01/android-21-sdk.html

Enjoy!

Xav



excellent! downloading.

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] how to turn gps on/off programatically

2010-01-07 Thread Caius 'kaio' Chance

(2010年01月08日 01:59), Sean Hodges wrote:

On Thu, Jan 7, 2010 at 3:42 PM, Yousuf Faheemyousuf.syed@gmail.com  wrote:



How is it different? Are you looking for some callback to tell you
whether the GPS is currently in use?


Save battery.

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Giving selection priority in XML Layout

2010-01-07 Thread Caius 'kaio' Chance

(2010年01月05日 06:34), Roman Romano wrote:

Many thanks for your help. I think it was an error on my part :-)

i needed to:

btn_Contact.setFocusableInTouchMode(true);

once that was set, the btn_Contact.requestFocus(); worked fine

Very interesting that it was not true by default.

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Alphabetical Method Index for Android SDK

2010-01-07 Thread Caius 'kaio' Chance

(2010年01月06日 02:31), BeWillDir wrote:

An alphabetical list of methods!  What an interesting concept!  What
ever made you think that anyone would find this useful? (-;

On Dec 1 2009, 9:35 pm, jdeisenbergjdavid.eisenb...@gmail.com
wrote:
   

The Java SDK documentation contains an alphabetical list of methods,
constructors, and constants. I haven't found anything comparable for
the Android SDK, so I wrote a program to construct one.  Full details
are athttp://langintro.com/android_sdk/If you don't find it useful,
you may find it to be mildly amusing.
 

A crtl-F to search should do for me. ;)

--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] how to get starting material of android

2010-01-06 Thread Caius 'kaio' Chance

(2010年01月07日 11:07), Xi Shen wrote:

On Sun, Jan 3, 2010 at 8:55 AM, Caius 'kaio' Chancek...@kaio.me  wrote:



2009/12/10 Xi Shendavidshe...@googlemail.com
mailto:davidshe...@googlemail.com

 hi,

 i am totally new to android, and have little programming experience
 about linux. can anyone point me where should i start?

 i am planing to get a HTC g1.


You'll need some skills of Java (J2SE), XML, Eclipse project setup and
shortcut keys, basic Linux file operations.

Then you follow the tutorials on Android website and preferably get an
Android text book, too.

Hope this help. :)

Rgds, kaio.

--
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en




thanks you all ;)
i coded my first hello android app yesterday. yahoo~~~


Hi,

You could use some Version Control Service on the internet such as 
Google Code, SourceForge, GitHub, etc.


Host your works!

Rgds, kaio


--
Caius 'kaio' Chance ☺ かいお
  Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
  kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Eclipse error when trying to install the ADT Plugin

2010-01-03 Thread Caius 'kaio' Chance
(2009年12月31日 22:56), Omega wrote:
 I've literally been up all night trying to get this to work, and I'm
 at my wits end. I'm trying to start getting into writting applications
 for Android, but this little issue is in my way.

 Upon installing Eclipse, and finally figuring out how to get it to
 find my JDK, I am now trying to install the ADT plugin. However, it
 reaches around ~50% installed and then spits out this error:

 An error occurred while installing the items
session context was:(profile=SDKProfile,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,
 operand=null --  [R]com.android.ide.eclipse.adt
 0.9.5.v200911191123-20404,
 action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
Error while loading manipulator.
Error while loading manipulator.

 I have no idea why this is happening, at first I thought I was because
 I was running 64-bit Java and Eclipse, but after redoing everything in
 32-bit, it only led to Eclipse freezing up, and spitting out an error
 for just about everything. Just now I have 64-bit Eclipse running off
 an 32-bit JDK, which I didn't even think would work, but this combo
 has gotten me the closest to getting the plugin to install. Prior to
 this, when both Eclipse and Java were 64-bit, it would spit out the
 very same error as soon as install started.

 Can anyone please help me?


What OS are you using?

-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] how to get starting material of android

2010-01-02 Thread Caius 'kaio' Chance

 2009/12/10 Xi Shen davidshe...@googlemail.com
 mailto:davidshe...@googlemail.com

 hi,

 i am totally new to android, and have little programming experience
 about linux. can anyone point me where should i start?

 i am planing to get a HTC g1.

You'll need some skills of Java (J2SE), XML, Eclipse project setup and 
shortcut keys, basic Linux file operations.

Then you follow the tutorials on Android website and preferably get an 
Android text book, too.

Hope this help. :)

Rgds, kaio.

-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Giving selection priority in XML Layout

2010-01-02 Thread Caius 'kaio' Chance
(2010年01月03日 08:56), Yousuf Faheem wrote:
 call
 btn.requestFocus();

BTW, create the btn with getViewById() first.

-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Unsubscribe me, please

2010-01-01 Thread Caius 'kaio' Chance
(2010年01月02日 01:09), Watson Wu wrote:
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Problem with map display on emulator with kml file

2009-12-30 Thread Caius 'kaio' Chance
(2009年12月30日 14:10), wahib wrote:

 hi ! I am stuck with a mapview problem. I am running a simple
 application that shows a map view. When i load a kml file which is
 actually shows a running route , the map isnt displayed. The pointer
 keeps on moving in the direction set by route but the background is
 blank. I have no idea what is the issue. The mapkey is correct.


Sources please. :)

-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Issue with HelloWorld.

2009-12-30 Thread Caius 'kaio' Chance
(2009年12月29日 09:10), lkb wrote:
 On my machine it has an android skin and the word menu, after the
 android tool is completely activated, you can press on menu and a new
 screen will show up with Hello Android.

 BTW - The best way to see if you android (my_avd tool) has loaded
 completely (it takes 5-10 minutest depending on your machine)
 is to open the console window and you should see a set of messages
 like:

 This is what my says:
 [2009-12-28 14:57:51 - HelloAndroid]Uploading HelloAndroid.apk onto
 device 'emulator-5554'
 [2009-12-28 14:57:51 - HelloAndroid]Installing HelloAndroid.apk...
 [2009-12-28 14:58:26 - HelloAndroid]Success!
 [2009-12-28 14:58:26 - HelloAndroid]Starting activity
 com.example.helloandroid.HelloAndroid on device
 [2009-12-28 14:58:30 - HelloAndroid]ActivityManager: Starting: Intent
 { comp={com.example.helloandroid/
 com.example.helloandroid.HelloAndroid} }


 On Dec 21, 6:04 am, Sanjeeviamsanj...@gmail.com  wrote:
 Hi,
 I tried to execute a simple Hello World program, but the screen only shows
 ANDROID irrespective of what string I type. I am not sure how to fix this
 issue.

 I am following the code 
 inhttp://developer.android.com/guide/tutorials/hello-world.html

 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);*
 }

 }

 No matter what I set the string I always see only ANDROID string on
 the simulator.

 Regards,
 Sanjeev


Is setContentView(tv); really loading tv you have created above, or 
loaded the tv.xml fron layout?

-- 
Caius 'kaio' Chance ☺ かいお
   Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio
   kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en