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. ExpandableListView Problem

Hi all,

I am encountering an exception in the onCreate method of an activity.

java.lang.RuntimeException: Your content must have a
ExpandableListView whose id attribute is 'android.R.id.list'

The onCreate method is as below.

public class TestActivity extends ExpandableListActivity {

        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                this.setContentView(R.layout.tab1);
                registerForContextMenu(getExpandableListView());
                getData();
        }
........................

The layout view XML is as below.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
<ExpandableListView
        android:id="@+id/list"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>

I've already changed the ID of the ExpandableListView to "list". But
it is not effective.

Any ideas on what's wrong? Thanks!

Thanks & Regards,
YCH

-- 

2. Proses Rooting

Akhirnya bisa masuk ke terminal dan sudah melakukan reboot bootloader, setelah 
enter homescreen ke fastboot use, celakanya hubungan mount dr pc ke device 
keputus. Dicoba konek lagi gak bisa.

Ada pilihan HBoot Mode dan Reset Device...

Apa yg harus daku lakukan? *panik*

Sent from my Android

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. My posts are not displayed

4. Listview and autocomplete problems!

5. How to implement answer function programmetically?

6. Two processes are created on first running of my application?

7. What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?