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. Making a request over mobile network when WiFi is enabled

This is why Tethering requires rooted phones; you cannot have both radio's
active at once.

The only solution I can think of is to request sufficient permissions for
your app that you can turn WIFI off temporarily, let the 3G boot and use it.

Of course people would lose their WIFI if it's being used.

SoftwareForMe.com
Makers of PhoneMyPC






> 

2. Arbitrary positioning icon on a View

Hey all,

I'm trying to figure out how to mimic the "badge" functionality of an
iPhone app...in particular, I've got a gridview that has several
icons, and based on the result of an AsyncTask, I'd like to position a
"new" badge hovering over one of the icons.  I've got the icon showing
up using Activity.addContentView but there don't seem to be any
ViewGroup.LayoutParams attributes to control an x/y position where the
new view should be displayed.  The options as I see them:

1) FrameLayout (also no support for offset that I can see)
2) RelativeLayout (can't figure out how to dynamically add a new
ImageView)
3) Create a large, mostly transparent png to handle the offset non-
programmatically
4) Use AbsoluteLayout to specify pixel offsets.

Any other options I'm missing?  I'd really like to avoid using #3
(clunky) or #4 (deprecated)...any way to get #1 or #2 working?  Or is
there another option I'm missing?

-- 

3. bluetooth connect process

4. Android presentation at Linux Solutions Paris 2010

5. Orange is looking for great Apps

6. Installing daemon with root permissions

7. a few issues