Seeding program phones. Anyone tried to activate their droid on a private account yet?

by David Orriss Jr » Thu, 22 Apr 2010 01:39:25 GMT


Sponsored Links
 Apparently I'm unable to activate the one I received because it's
"pending activation on another account".  And I have to have Google
release it from that account to activate it.

So, what do I do now?

-- 
David Orriss Jr.

My blog:  http://www.codethought.com/blog 

--



Other Threads

1. File permission about MediaPlayer

Code first:
                InputStream is = ;//some mixed audio
                byte buf[] = new byte[1024];

                System.out.println(tempDir.getAbsolutePath());
                File temp = File.createTempFile("aaa", ".mp3", 
this.getCacheDir());

                FileOutputStream out = new FileOutputStream(temp);
                do {
                        int numread = is.read(buf);
                        if (numread <= 0)
                                break;
                        out.write(buf, 0, numread);
                } while (true);
                out.flush();
                out.close();

                MediaPlayer mp = new MediaPlayer();
                mp.setDataSource(temp.getAbsolutePath());
                mp.prepare();
                mp.start();

    I want to make some audio fragments to one audio file, and
MediaPlayer could not play with byte or stream, so I have to use
tempfile.
    upper code would: 11-05 05:47:37.512: WARN/System.err(3934):
java.io.IOException: Prepare failed.: status=0xFFFFFFFC.
    But, if I copy the temp file aaa.mp3 out by File Explore, and copy
it into cache directory, the aaa.mp3 could be played.
    The temp file created by app in linux is : -rw------- app_18
app_18  2868352 2008-11-05 03:54 aaa13710.mp3
    The file copyed into cache is : -rw-rw-rw- root     root
2868352 2008-11-05 04:20 aaa13710.mp3
    The fiile copyed into sdcard is:----rw-rw- system   system
2868352 2008-11-05 05:12 aaa13710.mp3

   so, I guess MediaPlayer play audio files with root account.
Although creating temp file into sdcard is one solution, but i don't
think it is a good method for slow efficiency. MediaPlay should be
able to play with stream or byte, and it is a strange thing that I
could create an audio file but play it.
    I saw other developers post this error, google wishes developer
create temp files into sdcard, in fact, creating temp file into sdcard
cann't solve anything.

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

2. How to know when the map is really done zooming

When you perform a zoom operation on the map you'll notice that first
you get a zoomed map image and then some (usually short) time later
you get the updated map pixels.  I am trying to do some optimized
drawing in the map overlay and to do this I need to know when the
actual updated map is displayed because this changes the projection.
I tried a couple of things inside my Overlay.draw() method, but still
haven't had any luck:

1. Compare MapView.getZoomLevel() with a previously saved level.  The
zoom level changes immediately on hitting the zoom buttons, before the
screen even updates at all, so this doesn't work.

2. Compare Projection.metersToEquatorPixels(1.0f) with a previously
saved value.  This changes when the screen is zoomed, but before the
actual new updated map is displayed.

3. Compare the passed in Projection with a previously saved
Projection.  I was hopeful this would work, but apparently the
Projection object stays the same while its internal values are
modified, so this doesn't work at all.

Anyone have an idea how I can do this?

Thanks.

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

3. MediaRecorder on G1

4. Change layout for different orientation

5. weird button behavior in emulator

6. How to trust an Intent sender?

7. Difference between Emulator and Realphone