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. Have a problem in ListView please help ?

Hi All,
      I am creating a list of albums and each album can have multiple
songs. So I wanted to is having multiple listviews on a screen ok
(around 30-35 albums each having their songs) performance wise and
wont create a problem ?
    Or i should implement a single list of albums where each item in
the list displays entire contents of that album including its songs?
Not sure how much good it is performance wise and from user experience
point of view ? Also if i go by this approach would each songs in the
album clickable because as far as i know a complete row in a ListView
can be clickable and not individual components in a ListRow ? How can
i go about implementing this ?

    Please let me know the best possible solution to implement this.
and the approach for this.

Thanks and regards,
Sagar


-- 

2. OpenGL Material

Hello all,

I'm fairly new to OpenGL ES and am having a heck of a time trying to
get my material to show up.  Right now all I'm looking at is a shaded
gray rotating triangle.  At least it looks shaded (light and dark
parts), but now color other than gray.

I've posted my code here:

The triangle coordinates, normals, and material:
http://code.google.com/p/davidslamb/downloads/detail?name=Manual.java

The renderer:
http://code.google.com/p/davidslamb/downloads/detail?name=regularRenderer.java

I'm using ambient, diffuse, and emission to create the material.  And
ambient and diffuse for the light.

I'm testing on a G1 running Android 1.6.

Any insight will be helpful.

Cheers,
David

-- 

3. how to get function call trace on android phones?

4. Permisi, salam kenal :)

5. Launching an activity using Linkify

6. HTTP Live Streaming / playing .M3U8 or .TS files on Android

7. Android 2d canvas game: FPS Jitter problem