[android-developers] to move an image view along a bezier curve

2011-11-01 Thread ruchira
I have drawn a bezier curve and I want my imageview which is a picture of a ball to follow the path traced by the curve and eventually fall to the ground.How do I do that? Please help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] why my translate animation is not working??

2011-10-21 Thread ruchira
I am trying to apply translate animation to an imageview but it is not working.Plz help @Override public void onDraw(Canvas canvas) { Log.w(this.getClass().getName(),onDraw of Balls called); BallsOnDraw(canvas); } void BallsOnDraw(Canvas canvas) {

[android-developers] how does the co-ordinate system of android work?

2011-10-18 Thread ruchira
I am trying to implement a projectile motion by plotting the points on the screen of my app.I need to scale the calculated co-ordinates and at the same time I also need to know the range of X-Y co-ordinates visible on my screen so that my final calculated co-ordinates fits on visible screen How

[android-developers] timer for implementing projectile motion

2011-10-16 Thread ruchira
Can anyone please suggest me the type of android's predefined timer to be used for implementing projectile motion or do I need to write a custom timer.Also please let me know the range of initial velocity V which can be used for assumption. -- You received this message because you are

[android-developers] ondraw method for a view getting called again and again

2011-09-28 Thread ruchira
I have overriden ondraw method for a view where I am drawing a circle.But this method is getting called again and again though I don't have any loop and nor have I called Invalidate().. Any suggestions please?? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] surface view inside horizontal scroll view

2011-09-28 Thread ruchira
I want to have a surface view or view class inside a horizontal scroll view but looks like surfacecreated or ondraw method is not called inside a horizontal scroll view.Please suggest me some alternate design keeping in mind that Having a horizontal scroll view is a must for my app -- You

[android-developers] Re: ondraw method for a view getting called again and again

2011-09-28 Thread ruchira
onDraw(Canvas canvas) { super.onDraw(canvas); Log.w(this.getClass().getName(),Just before circle draw); canvas.drawCircle(100, 150, 5,mPaint); } On Sep 28, 1:56 pm, TreKing treking...@gmail.com wrote: On Wed, Sep 28, 2011 at 12:23 PM, ruchira ruchira

[android-developers] Re: When is onSurfaceCreated called??

2011-09-22 Thread ruchira
I did the same but it is not working!!! On Sep 21, 9:10 pm, kdı gjofd android.develope...@gmail.com wrote: You can integrate it from main.xml ..Create area for Surfaceview and describe for your app.. Link by findViewById(R.id.surfaceview)  and use it.. 2011/9/21, ruchira ruchira...@gmail.com

[android-developers] When is onSurfaceCreated called??

2011-09-21 Thread ruchira
I am asking this question as I have been stuck with this issue for almost a month that the surface created function of my app is never called and I am stuck with it!!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] accessing media player declared in a service from my main activity

2011-09-15 Thread ruchira
I am a newbie to android development.I am trying to put background music for my app.I used intent service wherein I declared media player and from my main activity the service was called by explicit intent. Though the media player plays the music file but I am stuck with following issues:- 1)I

[android-developers] Media Player stops abruptly with a warning in logcat: TimedEventQueue(33): Event 4 was not found in the queue, already cancelled?

2011-09-14 Thread ruchira
I am trying to put background music in my app.I have created an intent service which creates a Media Player and starts the music. Once my app is launched the music is played only for a second and after that I see the following warning in my logcat:- 09-13 20:12:54.082: WARN/TimedEventQueue(33):

[android-developers] Surface Created never called and so the thread never runs?

2011-09-12 Thread ruchira
I have been struggling with this issue since a long time.I am a newbie to android. I have done all the homework and gone through all the topics related to my issues but it did not help. My app code is based on lunar lander with modifications. I have got a splash screen which then displays a menu