[android-developers] Re: TrackBall an event states: is there always a ACTION_DOWN before ACTION_MOVE

2009-04-18 Thread Tjerk Wolterink
e able to move, but not to shoot.. >> >> >> >> > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won

[android-developers] Re: Emulator Performance VS Real Phone Performance

2008-10-15 Thread Tjerk Wolterink
gt; > int movement=(BULLETSPEED*deltaT)/1000; /// v*t = d > > > > The problem here is that movement is always zero because the devision > > is done with 1000 (1 second). > > So either i use this: > > > > int movement=(int)((BULLETSPEED*deltaT)/(float)1000); >

[android-developers] Re: Emulator Performance VS Real Phone Performance

2008-10-17 Thread Tjerk Wolterink
the movement speed. It > is still common in modern game programming where you define speed or > other physics based on frame rate (not real-time). > > Just make sure that your game loop maintains a stabile frames-per- > second and having a maximum fps by using sleep on game thread. E

[android-developers] Re: Loading bitmap: java.lang.OutOfMemoryError: bitmap size

2009-05-18 Thread Tjerk Wolterink
at dalvik.system.NativeStart.main > > (Native Method) > > I/Process ( 52): Sending signal. PID: 12208 SIG: 3 > > I/dalvikvm(12208): threadid=7: reacting to signal 3 > > I/dalvikvm(12208): Wrote stack trace to '/data/anr/traces.txt' > > >

[android-developers] Re: Loading bitmap: java.lang.OutOfMemoryError: bitmap size

2009-05-18 Thread Tjerk Wolterink
; > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I an

[android-developers] Re: Loading bitmap: java.lang.OutOfMemoryError: bitmap size

2009-05-18 Thread Tjerk Wolterink
correct. > > On Mon, May 18, 2009 at 9:53 AM, Tjerk Wolterink wrote: > > Aha ok, so if this memmory is thrown it mean i really have to cut down > > on memory usage. Is that right? I have a lot of sprites and a lot fo > > gamesounds, > > which takes

[android-developers] Re: android.util.SparseArray space time complexity properties

2009-05-20 Thread Tjerk Wolterink
better. > > > > At least thats what i think. Am i right? Am i wrong? > > I need a very fast implementation for my game :-) > > > > > > > > > > > -- > Romain Guy > Android framework engineer > romain...@android.com >

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-06-15 Thread Tjerk Wolterink
d the "download-from-server" solution. If you > > are going to implemented it in the next release than i will not waste > > time on implementing the "download-from-server" solution. > > > > Links to other posts of developers that have th

[android-developers] Re: Game using Canvas porting to OpenGL please help

2009-07-01 Thread Tjerk Wolterink
de. I thought the canvas was a good > > > abstraction interface to a drawing surface, > > > why do i have to bother withopengl? > > > > > It looks like this is possible, when is see the following contructor: > > > "public Canvas (GL gl)" > >

Re: [android-developers] Re: AppWidgetManager updateAppWidget throws NullPointerException

2010-07-14 Thread Tjerk Wolterink
on.APPWIDGET_UPDATE >>>>>> cmp=com.hyves.android.application/ >>>>>> com.hyves.android.widget.HyvesWidgetProvider (has extras) } >>>>>> >>>>>> >>>>> >>> >>>> This should only happen if onUp