About run Instrumentation

by angela....@qisda.com » Tue, 14 Apr 2009 09:28:57 GMT


Sponsored Links
 Hi all

I like to ask something about running Instrumentation.

By logs, I found that there is a uninstall process before the start
process when running the instrumentation.

Is this behavior normal?



For example, if I start the instrumentation of music

DEBUG/ActivityManager(51): Uninstalling process com.android.music

INFO/ActivityManager(51): Start proc com.android.music for added
application com.android.music: pid=241 uid=10006 gids={3003}



BRs

Angela


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



Other Threads

1. Droid / Android 2.0 OpenGL Configuration Issue

On 9 Lis, 10:13, "Michael Leahy (Tactel US)"



First of all I have very similar issue (and some other devs as well),
in this case
returned config will be RGBA8888 D0 S0 (basically 32bit without depth/
stencil buffer),
while default window configuration is RGB565, (PixelFormat.OPAQUE
which is translated to RGB565
during surface creation). This cause incompatibile pixel format error.
So simplest solution was
to implement some config matching to select correct config.

But there is one more trap, my game uses depth buffer so in my config
template I also
added DEPTH_SIZE, 16, on droid eglChooseConfig will list folowing:

D/GLView  ( 1468): Testing config RGBA8888 D24 S8, match distance 24
D/GLView  ( 1468): Testing config RGBA8888 D24 S8, match distance 24
D/GLView  ( 1468): Testing config RGBA8888 D24 S8, match distance 24
D/GLView  ( 1468): Testing config RGBA8888 D24 S8, match distance 24
D/GLView  ( 1468): Testing config RGB565 D24 S8, match distance 8
D/GLView  ( 1468): Testing config RGB565 D24 S8, match distance 8
D/GLView  ( 1468): Testing config RGB565 D16 S0, match distance 0
D/GLView  ( 1468): Testing config RGBA8888 D16 S0, match distance 16
D/GLView  ( 1468): Choosed config RGB565 D16 S0
D/GLView  ( 1468): Surface changed, current format RGB565
E/IMGSRV  ( 1468): gralloc.c:102: validate_handle: Unsupported usage
bits (0xFHWR=0x47554000) set on handle
E/libagl  ( 1468): connect() failed to lock buffer 0x13096c (320x569)
I/ActivityManager( 1028): Displayed activity
com.beepstreet.blockx_trial/.menu.MenuActivity: 809 ms (total 809 ms)
E/libEGL  ( 1468): call to OpenGL ES API with no current context
(logged once per thread)
E/libEGL  ( 1468): call to OpenGL ES API with no current context
(logged once per thread)
E/libEGL  ( 1468): call to OpenGL ES API with no current context
(logged once per thread)
E/libEGL  ( 1468): call to OpenGL ES API with no current context
(logged once per thread)

Please note that my code selected RGB565 D16, and unfortunatelly this
is no go,
since I have no access to droid itself (and above logcat output was
provided by
google engineer), I'm gessing that both condigs (RGBA8888 D16 and
RGB565 D16) are
backward compatibility configs which do not support natvie rendering.


--
Regards,
Bart Janusz
www.beepstreet.com

-- 

2. Help with creating a sport scoring application

Hi community

I am new to programming...i have this idea of creating a sport scoring
app
but i have no idea how to do the coding
i knw some basic concepts of object oriented programming
but i want to knw how to layout the structure of the programming
if anyone wants to join me (can share the rights) or help me out in
this project you will be most welcome....

i have a solid business plan for this app...

the basic idea of the app is as follows

in any sport....at any given event.... has finite set of outcomes
so the interface is an intuitive interface to score and keep
statistics...
usually sport scoring applications are very very clumsy with all the
options on one screen....

in this...v start from idle postion ...lets say in cricket t idle
position is the bowler bowling the ball
once the bowler bowls ...there are finite outcomes
...the screen shows only those options required at THAT point of
time...the next screens depend on the option u choose....if you choose
out...the next screen will ask u how he was out
if its a run...then next options wil be how many ...next will be wich
area...n so on

i believe the app needs strong database and data counters ....its all
confusing for me
but i am very clear abt the requirements for the app
plz contact me if any one is interested

-- 

3. Is TextView supposed to be able to scroll its contents?

4. SoundPool problem

5. twitter integration for android

6. CTS performance test and LOCAL_CERTIFICATE

7. How to move homescreen focus to specific widget?