Error when run "helloandroid"

by angger jatra » Sun, 14 Sep 2008 21:23:23 GMT


Sponsored Links
 when i run hello android like on
 http://code.google.com/android/intro/hello-android.html , my eclipse
show error like this :
                   Tag <activity> missing required attribute name.      

and on AndroidManifest.xml there is an error on line :
                  <activity class=".helloandroid"
android:label="@string/app_name">



can u help me to fix this ?

thanks before :)

--~--~---------~--~----~------------~-------~--~----~



Error when run "helloandroid"

by Megha Joshi » Mon, 15 Sep 2008 17:05:33 GMT


 2008/9/14 angger jatra <[EMAIL PROTECTED]>



change "class" to "android:name" as shown below:
<activity android:name =".helloandroid" android:label="@string/app_name">



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Overlays Erased on Screen Orientation Change

I have modified the manifest file to keep the orientation at
'Portrait' view while my Activity is running.  However, when the
keyboard is opened, the screen still flickers slightly and the
overlays that were drawn disappear.  It is not stopping the activity
from refreshing.

If there is a field that can be introduced that keeps the screen from
refreshing my activity like that from the keyboard opening, or a quick
way to redraw the overlay items that were introduced then that would
be helpful.  Currently the overlays are stored in a list, but I could
not figure out the best way to redraw the Overlay list.  Its probably
straight forward and I'm just not catching it.  Any helpful hints?

~ JFrog "Debugging is twice as hard as coding something the first
time.  Therefore, if you write the code as cleverly as possible, you
are, by definition not smart enough to debug it."

-- 

2. How to manually/programatically scroll to a specific Item in Gallery?

Hi there,

I am currently using a modified Gallery widget to display real-time
events coverflow-style. What I now need is some Method to scroll to a
specific item within the Gallery.
Such method IS available within frameworks/base/core/java/android/
widget/Gallery.java as scrollToChild but is declared as private. Do
you know of any manual way to move/scroll arround a Gallery / List
Widget?

Current workaround would be to inject DPAD_RIGHT using the
Instrumentation Framework, which is as really ugly solution.

Thanks in advance,

Sebastian Mauer

-- 

3. About opengl in android 2D UI

4. screen pixel size

5. How to resize the RelativeLayout or any other Layout in Android ?

6. Android SQLite3 Sync With Desktop

7. Droid Video Recorder