• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Hello Android Example

 
Ranch Hand
Posts: 282
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having trouble getting the HelloAndriod example to work.

Here is the link to the example I am talking about

http://developer.android.com/resources/tutorials/hello-world.html

I have copied the code verbatium.

I have added the Andriod 3.2 virtual device.

And when I created the project I created an Andriod 2.2 project.

When I run the code it shows a blank screen. Any tips? Let me know and I can supply screen shots or more information.

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I too have this kind of problem.

My workaround is to click "Home" button and wait for some time. Then the "Hello World" application is displayed.
 
James Hambrick
Ranch Hand
Posts: 282
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any ideas why I have to wait ~5 minutes before it displays on the screen?
 
Jagadeeswara Yaramala
Ranch Hand
Posts: 46
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The android emulator runs slowly.

Solutions:
1) Increase the memory of elcipse in the eclipse.ini file (something like:
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m)

AND

2) Keep the emulator running after the first launch without closing it. Close it only when you are done for the day. This way, the emulator takes only seconds to update.
 
Where does a nanny get ground to air missles? Protect this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic