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. Hidup Android, Google beri dukungan buat id-Android

http://www.detikinet.com/read/2010/06/15/155947/1378772/404/punya-ribuan-anggota-id-android-didukung-google/?i991101105

Punya Ribuan Anggota, id-Android Didukung Google
Trisno Heriyanto - detikinet

Android (ist)
Jakarta - Meski belum lama berdiri, namun komunitas penggila Android
di Indonesia sudah memiliki anggota yang cukup banyak. Tidak hanya itu
saja, ternyata komunitas id-Android juga telah mendapatkan dukungan
resmi dari Google.

Sejak resmi dicanangkan Desember 2009 silam, jumlah anggota komunitas
Android di Indonesia terus mengalami pertumbuhan. Menurut Agus
Hamonangan, pendiri id-Andoid, jumlah anggota tersebut kini telah
mencapai 2.500 orang.

Angka pertumbuhan yang sedemikian besar pun diklaim oleh Agus sebagai
yang paling cepat di antara komunitas sejenis lainnya, "Hanya beberapa
bulan sejak diluncurkan, jumlah member id-android sudah mencapai 2500.
Ini terbilang luar biasa, mana ada komunitas lain yang seperti ini,"
kata Agus, saat peluncuran HTC Desire di Blowfish Cade, Jakarta,
Selasa (15/6/2010).

Pertumbuhan anggota id-Android yang begitu pesat diklaim tidak lepas
dari peranan Google yang telah mendukung komunitas ini, "Secara
official, kami telah didukung oleh Google," ujar Lucky Sebastian salah
satu member id-Android. "Google sering mengundang kami ke beberapa
acara seminar Android di Singapura," tambahnya.

"id-Adroid itu saya dirikan bersamaan dengan peluncuran Android oleh
Google, namun kami sempat vakum selama beberapa tahun. Baru pada
akhirnya aktif lagi pada Desember 2009," tanda Agus, usai memamerkan
sejumlah keungulan Android kepada wartawan.

_

-- 
"Indonesian Android Community [id-android]" 

2. Unknown error with AAPT tool while Build Projec

Hi, I am in need of help to complete my application.

I am trying to execute a project that uses and android library.
Basically I am trying to execute the android facebook sdk to run the
sample code provided at http://github.com/facebook/facebook-android-sdk

   1. I have downloaded the sdk and extracted the zip file to a folder
   2. I used Eclipse galileo import to create an android project from
existing resource.
       I imported the sdk source code (facebook folder of the sdk)
into my project explorer successfully. I can also run Build Project
for this source code.

  3. Now, I am trying to import the sample example in it. The project
is imported but I cannot execute it.

       I cannot build the project.
       I am trying to clean the project and then build. This gives me
the following error.

[2010-06-18 11:32:49 - Example] ERROR: Unknown flag '--'
[2010-06-18 11:32:49 - Example] Android Asset Packaging Tool
[2010-06-18 11:32:49 - Example]
[2010-06-18 11:32:49 - Example] Usage:
[2010-06-18 11:32:49 - Example] aapt l[ist] [-v] [-a] file.
{zip,jar,apk}
[2010-06-18 11:32:49 - Example] List contents of Zip-compatible
archive.
 [2010-06-18 11:32:49 - Example]
 [2010-06-18 11:32:49 - Example] aapt d[ump] WHAT file.{apk} [asset
[asset ...]]
 [2010-06-18 11:32:49 - Example] badging Print the label and icon for
the app declared in APK.
[2010-06-18 11:32:49 - Example] permissions Print the permissions from
the APK.
 [2010-06-18 11:32:49 - Example] resources Print the resource table
from the APK.
[2010-06-18 11:32:49 - Example] configurations Print the
configurations in the APK.
[2010-06-18 11:32:49 - Example] xmltree Print the compiled xmls in the
given assets.
[2010-06-18 11:32:49 - Example] xmlstrings Print the strings of the
given compiled xml assets.
 [2010-06-18 11:32:49 - Example]
 [2010-06-18 11:32:49 - Example] aapt p[ackage] [-d][-f][-m][-u][-v][-
x][-z][-M AndroidManifest.xml] \ [2010-06-18 11:32:49 - Example] [-0
extension [-0 extension ...]] \ [2010-06-18 11:32:49 - Example] [-g
tolerance] \ [2010-06-18 11:32:49 - Example] [-j jarfile] \
[2010-06-18 11:32:49 - Example] [-I base-package [-I base-
package ...]] \ [2010-06-18 11:32:49 - Example] [-A asset-source-dir]
[-P public-definitions-file] \ [2010-06-18 11:32:49 - Example] [-S
resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-
dir] \ [2010-06-18 11:32:49 - Example] [raw-files-dir [raw-files-
dir] ...] [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 -
Example] Package the android resources. It will read assets and
resources that are [2010-06-18 11:32:49 - Example] supplied with the -
M -A -S or raw-files-dir arguments. The -J -P -F and -R [2010-06-18
11:32:49 - Example] options control which files are output.
[2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - Example] aapt
r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...] [2010-06-18
11:32:49 - Example] Delete specified files from Zip-compatible
archive. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 -
Example] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
[2010-06-18 11:32:49 - Example] Add specified files to Zip-compatible
archive. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 -
Example] aapt v[ersion] [2010-06-18 11:32:49 - Example] Print program
version. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 -
Example] Modifiers: [2010-06-18 11:32:49 - Example] -a print Android-
specific data (resources, manifest) when listing [2010-06-18 11:32:49
- Example] -c specify which configurations to include. The default is
all [2010-06-18 11:32:49 - Example] configurations. The value of the
parameter should be a comma [2010-06-18 11:32:49 - Example] separated
list of configuration values. Locales should be specified [2010-06-18
11:32:49 - Example] as either a language or language-region pair. Some
examples: [2010-06-18 11:32:49 - Example] en [2010-06-18 11:32:49 -
Example] port,en [2010-06-18 11:32:49 - Example] port,land,en_US
[2010-06-18 11:32:49 - Example] If you put the special locale, zz_ZZ
on the list, it will perform [2010-06-18 11:32:49 - Example]
pseudolocalization on the default locale, modifying all of the
[2010-06-18 11:32:49 - Example] strings so you can look for strings
that missed the [2010-06-18 11:32:49 - Example] internationalization
process. For example:
 [2010-06-18 11:32:49 - Example] port,land,zz_ZZ
 [2010-06-18 11:32:49 - Example] -d one or more device assets to
include, separated by commas
 [2010-06-18 11:32:49 - Example] -f force overwrite of existing files
 [2010-06-18 11:32:49 - Example] -g specify a pixel tolerance to force
images to grayscale, default 0
 [2010-06-18 11:32:49 - Example] -j specify a jar or zip file
containing classes to include
 [2010-06-18 11:32:49 - Example] -m make package directories under
location specified by -J
 [2010-06-18 11:32:49 - Example] -u update existing packages (add new,
replace older, remove deleted files)
 [2010-06-18 11:32:49 - Example] -v verbose output
 [2010-06-18 11:32:49 - Example] -x create extending (non-application)
resource IDs
 [2010-06-18 11:32:49 - Example] -z require localization of resource
attributes marked with
 [2010-06-18 11:32:49 - Example] localization="suggested"
[2010-06-18 11:32:49 - Example] -A additional directory in which to
find raw asset files
 [2010-06-18 11:32:49 - Example] -F specify the apk file to output
 [2010-06-18 11:32:49 - Example] -I add an existing package to base
include set
 [2010-06-18 11:32:49 - Example] -J specify where to output R.java
resource constant definitions
 [2010-06-18 11:32:49 - Example] -M specify full path to
AndroidManifest.xml to include in zip
[2010-06-18 11:32:49 - Example] -P specify where to output public
resource definitions
[2010-06-18 11:32:49 - Example] -S directory in which to find
resources. Multiple directories will be scanned and the first match
found (left to right) will take precedence. -0 specifies an additional
extension for which such files will not
[2010-06-18 11:32:49 - Example] be stored compressed in the .apk. An
empty string means to not
 [2010-06-18 11:32:49 - Example] compress any files at all.

-- 

3. How to open virtual keyboard automatically

4. ListView questions

5. Singapura --- Wonder Girls Lagi

6. How to open FB-reader from my application

7. Vuvuzela for android