Question about from the ApiDemos sample project

by hackbod » Fri, 27 Jun 2008 08:55:54 GMT

Sponsored Links

And we can continue to put comments in sample code after completing
the final code for 1.0, so it is pretty low in priority at this
time. :)


Question about from the ApiDemos sample project

by Disco Stu 010 » Sat, 28 Jun 2008 01:37:40 GMT


Thanks for your response. Certainly clarifies a few things.

The sample code has been immensely valuable in getting a better  
understanding of the Android APIs. I totally understand the 'too many  
things to do' problem, I have been guilty of that many times. However,  
I would like to respectfully submit that a very large community of  
developers is potentially relying on ApiDemos code to learn about  
Android. "Well documented code" should be a key element of the  
delivery and not simply whether the demo code works or not. There is a  
lot of power behind the few lines of code that is not apparent at all.  
Honestly, by 1.0 timeframe a large number of us might not even need to  
look at this code. Now is when the comments will be most helpful.

Thanks again,



Sponsored Links

Other Threads

1. Decrypt layouts and Decompile Classe.dex

I have a android app that I wanted to look at.  I see the layouts are
all encrypted and it contained a classes.dex file

Is there a way to decrypt the layouts and to decompile the classes.dex


2. Rendering Alpha Causes Frame Rate to Plummet on HTC Magic


First time poster, long time user.  I really appreciate all of those
who partake in this group and help out!  My problem is that I can't
seem to get stable FPS across multiple devices when rendering alpha.
I took a very straightforward tutorial from the infamous NeHe website
(lesson 6 from the android port versions) and modified it slightly.
The original code can be found here:

Here is my slightly modified version.

All I did was "simplify" it by making it render one 2d .png image
across the entire screen in orth view.  I have 2 versions of the file
I'm rendering, one with alpha, and one without.  Here are my

Motorola Milestone: 45 FPS with no alpha
Motorola Milestone: 38 FPS with alpha

HTC Magic: 60 FPS with no alpha
HTC Magic: 5 FPS with alpha (that's right, 5)

I read that emulators do not properly "emulate" rendering open gl
scenes, thus making the frame rates irrelevant, so I did not include
them.  Also, frame rates are printed using System.out.println once
every 5 seconds.  For some reason I felt compelled to mention this :).

Now, these numbers are just mind boggling to me, and I think they
speak for themselves.  Can anyone point me in the right direction so I
can get the HTC Magic back up to par?  I've been on this problem for
days and I cannot for the life of me figure out how to fix it.




3. Looking for developers who love to write

4. Can't mount iso file under Windows

5. WallpaperManager crashes when phone is unlocked

6. Problem with geocoder.

7. Voice Recognition Development - problems working with SDK/emulator