How can I draw/move a point on screen ?!

by Diogo Salaberri » Fri, 20 May 2011 03:13:14 GMT


Sponsored Links
 Any tutorial ? Any link ?

Thanks, bye.

-- 
Atenciosamente;
Diogo Bonoto Salaberri
Bacharel em Cincia da Computao - UFPel

-- 



Re: How can I draw/move a point on screen ?!

by Nicholas Johnson » Fri, 20 May 2011 03:20:49 GMT


 Look at all the documentation on developer.android.com

-- 


Sponsored Links


Re: How can I draw/move a point on screen ?!

by Diogo Salaberri » Fri, 20 May 2011 04:46:57 GMT


 Some more especific !?

Thanks.

-- 
Atenciosamente;
Diogo Bonoto Salaberri
Bacharel em Cincia da Computao - UFPel

-- 



Re: How can I draw/move a point on screen ?!

by Kristopher Micinski » Fri, 20 May 2011 04:58:37 GMT


 What are you trying to do !? ...

You want to put a point on the screen?  Like, using the screen as a place to
draw an image?

Look at using the Canvas class.  You can grab a canvas associated with a
view, and you should be able to draw on it, and then move a point around by
using a drawing handler which simply moves the point around.  What are you
trying to do?

(I'm guessing that if you're a beginniner, and you didn't know to look for
the Canvas class, and you want to move something around, that you want to
make a game...)

Kris





-- 



Re: How can I draw/move a point on screen ?!

by Droid » Fri, 20 May 2011 04:59:23 GMT


 I think you have to use paint() - but I have the same problem and have
not got round to it yet. :(




-- 



Re: Re: How can I draw/move a point on screen ?!

by Diogo Salaberri » Fri, 20 May 2011 05:04:14 GMT


 I want to put a point on the screen and move him around it.

Thanks, I waiting.

-- 
Atenciosamente;
Diogo Bonoto Salaberri
Bacharel em Cincia da Computao - UFPel

-- 



Re: Re: How can I draw/move a point on screen ?!

by Kristopher Micinski » Fri, 20 May 2011 05:04:22 GMT


 


Wait, why is that a *problem*?

How else should it be done?

kris

-- 



Re: Re: How can I draw/move a point on screen ?!

by Kristopher Micinski » Fri, 20 May 2011 05:05:33 GMT


 


Good. Now google "graphics java tutorial 2d"

kris

-- 



Re: Re: How can I draw/move a point on screen ?!

by TreKing » Fri, 20 May 2011 05:11:36 GMT


 




What have you done so far?
Where exactly are you stuck?
What kind of answer are you expecting with such a statement that's
completely lacking in detail?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 



Other Threads

1. Android browser and file upload...

I was disappointed to see that the browser file upload control is disabled.
Does anyone know if it can be enabled, and if it cannot be enabled, are
there plans in the future to allow file uploads via the browser? Thanks

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

2. Typing and drawing on the same View

Is it possible to type and draw (finger paint) on the same view? Do I
need to create my own view to get this to work or does the sdk have an
existing view I can use?  Please point me in the right direction.
Thanks.

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

3. Returning Result from onClickListener

4. Location for common/shared libraries?

5. Success port SDL/TinySDGL to android with native C!

6. Individual playlist resume/pause?

7. Sticky Broadcasts and Concurrency