"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 02:35:22 GMT


Sponsored Links
 Hello everyone,

I'm trying to get the GLSurfaceViewActivity - example to work.

 http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/graphics/ 

And as soon as I ad the GLSurfaceViewActivity.java to my project I
get
this error on running the app in the emulator:

Failed to upload HelloAndroid.apk on 'emulator-5554': invalid data
message

after removing the class, HelloAndroid.apk installs just fine.

Does someone know what I do wrong?

Thx in advance.

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



"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 11:44:40 GMT


 This happens with all examples I tried...
For this example I also localized the class, which causes the
problem.
As soon as I comment back in the GLThread class to the project I get
this error.




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


Sponsored Links


"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 11:45:23 GMT


 LogCat doesnt show any error..
this is the DDMS output:

[2008-11-24 12:43:00 - ddms]transfer error: invalid data message
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Problem with simpleCursorAdapter, ListView backed by a managed cursor

In a TabActivity I have a tab with a ListView.  I manage the
visibility of a View for when the list is empty, done after filling
the list, whenever I know the backing data changes.

When the list is empty (empty View is visible) and the activity is
paused, and while paused the backing SQLlite table gets filled, when
my activity resumes the ListView gets filled with the new database
rows (managed cursor requery?) but I haven't had the chance to set the
visibility of the empty View, so it's still there.

I can figure out how to do this with some persistent data from pause
to resume, but I'm wondering if there's a 'cleaner' and automatic way
of achieving this in Android.  Thanks.
--~--~---------~--~----~------------~-------~--~----~

2. Cupcake branch

Hi,

I am using a windows system. Can anyone send me steps on how to
checkout the cupcake branch?

Cheers,
Earlence

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

3. Changing package names fubars the map overlays?

4. how to use a content provider from other applications

5. Q: possible to add more of javax.xml.* API (interface) classes/packages in Android?

6. 8 MP Camera support?

7. OpenCode potential error while streaming