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. Can I record an audio file via MediaRecorder on the simulator which based on android-sdk-windows-1.0_r1?

Hi, All
    I need record voice on the simulator and playback it. I wrot my
code according the example in the documents:

A common case of using MediaRecorder to record audio works as
follows:

MediaRecorder recorder = new MediaRecorder();
 recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
 recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
 recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
 recorder.setOutputFile(PATH_NAME);
 recorder.prepare();
 recorder.start();   // Recording is now started
 ...
 recorder.stop();
 recorder.reset();   // You can reuse the object by going back to
setAudioSource() step
 recorder.release(); // Now the object cannot be reused

     My code created the audio file, but there isn't any audio data in
it.
     Would you give me a completed demo code for how to use
MediaRecorder ?

    Thanks!

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

2. compatibility between Android (beta version) and GWT 1.5.1

Hallo everybody,

since few months I am developing a chat web aplication with the Google
Web Toolkit (1.5.1),
to be applied to an Android emulator (beta version).

I see that some widgets of my applications are not  correctly
interpreted on Android,
for example the listboxes are ignored: I cannot either click on them.
On the contrary,
with the alpha version of that emulator, I have no problem like that.

Can anybody help me, explaining why?

Thank you in advance,
Stefano

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

3. Availability and installation

4. Custom view scrolling

5. Google ads embedded in Android applications

6. How to use SmsManager.sendDataMessage() to send the message

7. Custom Preference and Focus