[android-beginners] Re: A problem on displaying "Hello Android" -application
your emulator is launching means avd is all ready there.just create new AVD.from windows Android AVD manager.create new avd .then right click on your application run configuaration.your select your new avd & run it. On Fri, Sep 25, 2009 at 5:05 PM, Jaakko wrote: > > I don't know what is wrong with activity-part of my code. How can I > run my code with avd? I run my program by choosing option Android > Application as there is no possibility to choose avd. > > package org.qwerty.com; > > import android.app.Activity; > import android.os.Bundle; > import android.widget.TextView; > > public class HelloWorld 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); > } > } > > On Sep 25, 1:27 pm, kapnk...@gmail.com wrote: > > so must be fault in your activity you have created in code! just you want > to > > check hows greeting sceen try to just create new project in android > project > > & run it with avd.you cna find then chage the text in string for hello > world > > > > On Fri, Sep 25, 2009 at 3:53 PM, Jaakko wrote: > > > > > I found on Settings->Applications->Manage applications->Hello that it > > > is installed on emulator. There is also a button Force stop so it > > > looks like the application is running. However, I can't see the > > > greeting text anywhere. > > > > > On Sep 25, 1:00 pm, Jaakko wrote: > > > > It looks like the application is not installed on emulator > > > > applications. How can I install it there? > > > > > > On Sep 25, 12:50 pm, kapnk...@gmail.com wrote: > > > > > > > just check whether your application is installed or not on emulator > > > > > first.insettins/applications > > > > > > > On Fri, Sep 25, 2009 at 2:54 PM, Jaakko > wrote: > > > > > > > > I have tried to build my first Android application. I installed > > > > > > Eclipse, Java, and Android, wrote the code and got no error > messages. > > > > > > However, the Rogers' et al. book "Android Application > Development" > > > > > > says that there should appear a screen where "Hello, Android" is > > > > > > printed. I don't know how to open the screen as I get only an > > > emulator > > > > > > where the hello message is not printed. I tried to click the > button > > > on > > > > > > the bottom of the screen to see all applications. There are 16 > > > > > > applications from "Alarm Clock" to "Spare Parts" but no > application > > > > > > "Test". Can anyone explain how can I see the "Hello, > Android"-window? > > > > > > > > versions: > > > > > > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > > > > > > Java-1.5.0-sun-1.5.0.19 > > > > > > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version > 4.3.3 > > > > > > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC > 2009 > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-beginners] Re: A problem on displaying "Hello Android" -application
I don't know what is wrong with activity-part of my code. How can I run my code with avd? I run my program by choosing option Android Application as there is no possibility to choose avd. package org.qwerty.com; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloWorld 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); } } On Sep 25, 1:27 pm, kapnk...@gmail.com wrote: > so must be fault in your activity you have created in code! just you want to > check hows greeting sceen try to just create new project in android project > & run it with avd.you cna find then chage the text in string for hello world > > On Fri, Sep 25, 2009 at 3:53 PM, Jaakko wrote: > > > I found on Settings->Applications->Manage applications->Hello that it > > is installed on emulator. There is also a button Force stop so it > > looks like the application is running. However, I can't see the > > greeting text anywhere. > > > On Sep 25, 1:00 pm, Jaakko wrote: > > > It looks like the application is not installed on emulator > > > applications. How can I install it there? > > > > On Sep 25, 12:50 pm, kapnk...@gmail.com wrote: > > > > > just check whether your application is installed or not on emulator > > > > first.insettins/applications > > > > > On Fri, Sep 25, 2009 at 2:54 PM, Jaakko wrote: > > > > > > I have tried to build my first Android application. I installed > > > > > Eclipse, Java, and Android, wrote the code and got no error messages. > > > > > However, the Rogers' et al. book "Android Application Development" > > > > > says that there should appear a screen where "Hello, Android" is > > > > > printed. I don't know how to open the screen as I get only an > > emulator > > > > > where the hello message is not printed. I tried to click the button > > on > > > > > the bottom of the screen to see all applications. There are 16 > > > > > applications from "Alarm Clock" to "Spare Parts" but no application > > > > > "Test". Can anyone explain how can I see the "Hello, Android"-window? > > > > > > versions: > > > > > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > > > > > Java-1.5.0-sun-1.5.0.19 > > > > > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version 4.3.3 > > > > > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-beginners] Re: A problem on displaying "Hello Android" -application
so must be fault in your activity you have created in code! just you want to check hows greeting sceen try to just create new project in android project & run it with avd.you cna find then chage the text in string for hello world On Fri, Sep 25, 2009 at 3:53 PM, Jaakko wrote: > > I found on Settings->Applications->Manage applications->Hello that it > is installed on emulator. There is also a button Force stop so it > looks like the application is running. However, I can't see the > greeting text anywhere. > > On Sep 25, 1:00 pm, Jaakko wrote: > > It looks like the application is not installed on emulator > > applications. How can I install it there? > > > > On Sep 25, 12:50 pm, kapnk...@gmail.com wrote: > > > > > just check whether your application is installed or not on emulator > > > first.insettins/applications > > > > > On Fri, Sep 25, 2009 at 2:54 PM, Jaakko wrote: > > > > > > I have tried to build my first Android application. I installed > > > > Eclipse, Java, and Android, wrote the code and got no error messages. > > > > However, the Rogers' et al. book "Android Application Development" > > > > says that there should appear a screen where "Hello, Android" is > > > > printed. I don't know how to open the screen as I get only an > emulator > > > > where the hello message is not printed. I tried to click the button > on > > > > the bottom of the screen to see all applications. There are 16 > > > > applications from "Alarm Clock" to "Spare Parts" but no application > > > > "Test". Can anyone explain how can I see the "Hello, Android"-window? > > > > > > versions: > > > > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > > > > Java-1.5.0-sun-1.5.0.19 > > > > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version 4.3.3 > > > > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-beginners] Re: A problem on displaying "Hello Android" -application
I found on Settings->Applications->Manage applications->Hello that it is installed on emulator. There is also a button Force stop so it looks like the application is running. However, I can't see the greeting text anywhere. On Sep 25, 1:00 pm, Jaakko wrote: > It looks like the application is not installed on emulator > applications. How can I install it there? > > On Sep 25, 12:50 pm, kapnk...@gmail.com wrote: > > > just check whether your application is installed or not on emulator > > first.insettins/applications > > > On Fri, Sep 25, 2009 at 2:54 PM, Jaakko wrote: > > > > I have tried to build my first Android application. I installed > > > Eclipse, Java, and Android, wrote the code and got no error messages. > > > However, the Rogers' et al. book "Android Application Development" > > > says that there should appear a screen where "Hello, Android" is > > > printed. I don't know how to open the screen as I get only an emulator > > > where the hello message is not printed. I tried to click the button on > > > the bottom of the screen to see all applications. There are 16 > > > applications from "Alarm Clock" to "Spare Parts" but no application > > > "Test". Can anyone explain how can I see the "Hello, Android"-window? > > > > versions: > > > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > > > Java-1.5.0-sun-1.5.0.19 > > > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version 4.3.3 > > > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-beginners] Re: A problem on displaying "Hello Android" -application
It looks like the application is not installed on emulator applications. How can I install it there? On Sep 25, 12:50 pm, kapnk...@gmail.com wrote: > just check whether your application is installed or not on emulator > first.insettins/applications > > On Fri, Sep 25, 2009 at 2:54 PM, Jaakko wrote: > > > I have tried to build my first Android application. I installed > > Eclipse, Java, and Android, wrote the code and got no error messages. > > However, the Rogers' et al. book "Android Application Development" > > says that there should appear a screen where "Hello, Android" is > > printed. I don't know how to open the screen as I get only an emulator > > where the hello message is not printed. I tried to click the button on > > the bottom of the screen to see all applications. There are 16 > > applications from "Alarm Clock" to "Spare Parts" but no application > > "Test". Can anyone explain how can I see the "Hello, Android"-window? > > > versions: > > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > > Java-1.5.0-sun-1.5.0.19 > > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version 4.3.3 > > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---
[android-beginners] Re: A problem on displaying "Hello Android" -application
just check whether your application is installed or not on emulator first.insettins/applications On Fri, Sep 25, 2009 at 2:54 PM, Jaakko wrote: > > I have tried to build my first Android application. I installed > Eclipse, Java, and Android, wrote the code and got no error messages. > However, the Rogers' et al. book "Android Application Development" > says that there should appear a screen where "Hello, Android" is > printed. I don't know how to open the screen as I get only an emulator > where the hello message is not printed. I tried to click the button on > the bottom of the screen to see all applications. There are 16 > applications from "Alarm Clock" to "Spare Parts" but no application > "Test". Can anyone explain how can I see the "Hello, Android"-window? > > versions: > Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 > Java-1.5.0-sun-1.5.0.19 > Linux version 2.6.28-15-generic (bui...@palmer) (gcc version 4.3.3 > (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---