[android-beginners] Re: Android Getting started

2009-10-20 Thread Niamathullah sharief
yes i have done this. but i am confused in the fields of properties i dont
know exactly what i have to give in that fieldsbut i reached that new
android project windoow...

On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.com wrote:

 Hi
 Let's go to the file menu and other and select android project.

 note: here is my website, if you need to run emulator directly without
 depedning eclipse, try here
 http://www.codemobiles.com/forum/viewtopic.php?t=15
 regards + thanks

 On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief 
 android...@gmail.com wrote:


 yes i already done this and created the new avd..
 after that only i am confused


 On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Let's get to the eclipse' preference and open android tree tab, you will
 the android sdk installation path setup, let's fill-in the path.
 you have to create a new avd too, have you created it yet?

 regards + thanks

 On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i already followed this all steps in new project wizard which has 4
 steps. After that only i dont know what to do.

 On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman 
 jeffrey.blatt...@gmail.com wrote:

  http://developer.android.com/guide/developing/eclipse-adt.html

 On 10/19/09 7:20 PM, Niamathullah sharief wrote:

 Please Can one help me to get start in eclipse. I already installed adt
 plugin in aclipse. after that what ahouls i do? Please help me to solve 
 this
 problem.



 On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 ok. shall i know how to bring this emulator in eclipse? Can anyone
 help me...

 On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes thank you chaiyasit. Its working fine now..
  Thank you


 On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T 
 chaiyasi...@gmail.comwrote:

 could you show the path you typed this command in to me?

 just pwd

 ex:
 Last login: Mon Oct 19 20:48:07 on ttys000
 MacBook-2:~ admin$ pwd
 /Users/admin
 MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ pwd
 /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ ./emulator -avd myandroid1.5




 regards + thanks

 On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 See this. Still i am getting the same error message even when i
 changed as ./emulator

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export
 PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator
  -avd sharief
 bash: ./emulator: No such file or directory
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *


 On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 you typed the wrong command

 let's change *emulaltor -- ./emulator*



 On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 oops...me too didnt see that. yes i already changed the
 directory. for your kind reference i will the exact path of my 
 emulator

  */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/*

  i used the following command to set the path
  *
 *
 *export
 PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator
 *

  but still i am getting the following error

  *bash: ./emulaltor: No such file or directory*



   On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 Sorry

 I typed emulator wrong. let's type this:
 *./emulator -avd sharief*

 Note: Let's be sure you already change directory to this
 emulator command like ../tools/...

 Regards + Thanks

 On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 if i type that command i am getting the following error
 message..

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulaltor
  -avd sharief
 bash: ./emulaltor: No such file or directory

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *

  what to do?

 On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 On unix context, you must type all commands by starting with
 ./

 Ex: ./emulaltor -avd  sharief

 www.codemoibiles.com
 Regards + Thanks

 On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 I think i set the path correctly..now i am getting another
 error

  shar...@sharief-desktop:/bin$ locate emulator -avd sharief
 locate: invalid option 

[android-beginners] wait for an animation to end before continuing the program

2009-10-20 Thread jax

I need to wait for an animation to end before continuing the program.
How would I do that?

I noticed that I can get a hanndle on hasEnded() but if I run this is
a do while loop the application will halt.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Needs help on debug

2009-10-20 Thread RichardC

With the emulator running (start it manually if you have to), what
does

adb devices

show?

--
RichardC

On Oct 20, 6:38 am, Freeman Zhang pcman.zh...@gmail.com wrote:
 Hello, can anybody help me?

 2009/10/19 Freeman Zhang pcman.zh...@gmail.com

  HI

  I'm a beginner on Android develop.
  When I write my first hello world, start to run the app, eclipse report
  Can't bind to local 8600 for debugger
  and the emulator shows an error window, Waiting For Debugger, Waiting
  for the debugger to attach.

  How to resolve it?

  Thank you very much.

  Regards,
  Freeman


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Is your Android app on Archos Market ?

2009-10-20 Thread arnouf

If you  have developed or if you are developing applications, and they
are on the Android Market - Great! - But these apps are only
available for devices that have contracts with Google.

Archos, a major PMP manufacturer, launched its first device on 25th of
September: the Archos 5 IT. Archos has a real community of fans who
are waiting for applications for their devices. This device is the
first of a long product line (the first Archos phone should be
available soon too!).

It's a new opportunity for your applications to find new fans! 

You can post your apps, for free, on the Archos Market called Appslib
(http://www.appslib.com).

Today, only free applications are available for distribution on
AppsLib, but Archos promises the possibility to distribute your paid
apps soon !

Don't wait : more applications, more users, more fans...and more
revenue (soon)!

Arnaud
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Join .Net Community

2009-10-20 Thread Shawon_

Join .Net Community

This group represents the Microsoft .Net community. All .net
programmers all around the world are welcome here. In this group
you'll find the latest releases of .Net related products, frameworks,
Upgradation, technologies, IDEs etc. You also can share your
experiences and problems you are facing. You can discuses about
C#.Net, VB.net, ASP.Net and .Net frameworks, .net in other operating
system etc. topics.



http://www.dotnetcommunity.tk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] bounce not working for my layout

2009-10-20 Thread jax

From the API demo i tried the bounce animation

final View target = findViewById(R.id.target);
final View targetParent = (View) target.getParent();

Animation a = new TranslateAnimation(0.0f,
targetParent.getWidth() - target.getWidth() -
targetParent.getPaddingLeft() -
targetParent.getPaddingRight(), 0.0f, 0.0f);
a.setDuration(1000);
a.setStartOffset(300);
a.setRepeatMode(Animation.RESTART);
a.setRepeatCount(Animation.INFINITE);

The problem is that this does not work with my layout.  I finally got
working but had to hard code a value for:

targetParent.getWidth() - target.getWidth() -
targetParent.getPaddingLeft() - targetParent.getPaddingRight()

I don't like hard coding this in but it is the only way I could get it
to work.  My View is inside a LinearLayout and I put a padding of
10dip.

Any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Getting started

2009-10-20 Thread Chaiyasit T
Hi
Let's follow this guideline
http://developer.android.com/guide/tutorials/hello-world.html


On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief
android...@gmail.comwrote:

 yes i have done this. but i am confused in the fields of properties i
 dont know exactly what i have to give in that fieldsbut i reached that
 new android project windoow...


 On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Hi
 Let's go to the file menu and other and select android project.

 note: here is my website, if you need to run emulator directly without
 depedning eclipse, try here
 http://www.codemobiles.com/forum/viewtopic.php?t=15
 regards + thanks

 On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief 
 android...@gmail.com wrote:


 yes i already done this and created the new avd..
 after that only i am confused


 On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Let's get to the eclipse' preference and open android tree tab, you will
 the android sdk installation path setup, let's fill-in the path.
 you have to create a new avd too, have you created it yet?

 regards + thanks

 On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i already followed this all steps in new project wizard which has 4
 steps. After that only i dont know what to do.

 On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman 
 jeffrey.blatt...@gmail.com wrote:

  http://developer.android.com/guide/developing/eclipse-adt.html

 On 10/19/09 7:20 PM, Niamathullah sharief wrote:

 Please Can one help me to get start in eclipse. I already installed
 adt plugin in aclipse. after that what ahouls i do? Please help me to 
 solve
 this problem.



 On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 ok. shall i know how to bring this emulator in eclipse? Can anyone
 help me...

 On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes thank you chaiyasit. Its working fine now..
  Thank you


 On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T chaiyasi...@gmail.com
  wrote:

 could you show the path you typed this command in to me?

 just pwd

 ex:
 Last login: Mon Oct 19 20:48:07 on ttys000
 MacBook-2:~ admin$ pwd
 /Users/admin
 MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ pwd
 /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ ./emulator -avd myandroid1.5




 regards + thanks

 On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 See this. Still i am getting the same error message even when i
 changed as ./emulator

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export
 PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator
  -avd sharief
 bash: ./emulator: No such file or directory

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *


 On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 you typed the wrong command

 let's change *emulaltor -- ./emulator*



 On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 oops...me too didnt see that. yes i already changed the
 directory. for your kind reference i will the exact path of my 
 emulator

  */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/*

  i used the following command to set the path
  *
 *
 *export
 PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator
 *

  but still i am getting the following error

  *bash: ./emulaltor: No such file or directory*



   On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 Sorry

 I typed emulator wrong. let's type this:
 *./emulator -avd sharief*

 Note: Let's be sure you already change directory to this
 emulator command like ../tools/...

 Regards + Thanks

 On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 if i type that command i am getting the following error
 message..

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulaltor
  -avd sharief
 bash: ./emulaltor: No such file or directory

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *

  what to do?

 On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 On unix context, you must type all commands by starting with
 ./

 Ex: ./emulaltor -avd  sharief

 www.codemoibiles.com
 Regards + Thanks

 On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief 

[android-beginners] Re: Taking a picture

2009-10-20 Thread jbrohan

http://www.anddev.org/
Has a big discussion of camera operations. I got my app started using
their code!

On Oct 19, 4:46 pm, Anders Feder anders.feder...@gmail.com wrote:
 Hello,

 I need to take a photo on command (from my app) such that it is stored as
 'normal' photo in the Gallery, just like a photo taken with the Camera
 application. Preferably, the photo should be geotagged, but not necessarily.

 The application is unattended (i.e. no user interaction when photo is
 taken), so no preview is needed. Just shoot, and save.

 Can someone kindly tell me how to do this? Thanks in advance.

 Best regards,
 Anders Feder
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Listner for Click and Touch events:

2009-10-20 Thread Prabakar
Hi,

I want to listen touch and click events happening anywhere on the device 
screens from my application. What should i register for this and how can i 
listen from my application? Is there any sample or help provided?

Can some one suggest please?

Thanks.

Martin.



  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Listner for Click and Touch events:

2009-10-20 Thread Prabakar
Please note i want to listen touch and click events from my application even 
when the user is outside of my application.

--- On Tue, 10/20/09, Prabakar prabhu_mp...@yahoo.com wrote:

From: Prabakar prabhu_mp...@yahoo.com
Subject: [android-beginners] Listner for Click and Touch events:
To: android-beginners@googlegroups.com
Date: Tuesday, October 20, 2009, 4:24 PM

Hi,

I want to listen touch and click events happening anywhere on the device 
screens from my application. What should i register for this and how can i 
listen from my application? Is there any sample or help provided?

Can some one suggest please?

Thanks.

Martin.



 







  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Getting started

2009-10-20 Thread Niamathullah sharief
yes i already tried this. in that i am the same error as command not
found. i have set the path for android. see below

*shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$
export
PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/android

shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$
android create avd --target 2 --name my_avdbash: android: command not found
shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$*


On Tue, Oct 20, 2009 at 4:12 PM, Chaiyasit T chaiyasi...@gmail.com wrote:

 Hi
 Let's follow this guideline
 http://developer.android.com/guide/tutorials/hello-world.html


 On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i have done this. but i am confused in the fields of properties i
 dont know exactly what i have to give in that fieldsbut i reached that
 new android project windoow...

 On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Hi
 Let's go to the file menu and other and select android project.

 note: here is my website, if you need to run emulator directly without
 depedning eclipse, try here
 http://www.codemobiles.com/forum/viewtopic.php?t=15
 regards + thanks

 On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief 
 android...@gmail.com wrote:


 yes i already done this and created the new avd..
 after that only i am confused


 On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Let's get to the eclipse' preference and open android tree tab, you
 will the android sdk installation path setup, let's fill-in the path.
 you have to create a new avd too, have you created it yet?

 regards + thanks

 On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i already followed this all steps in new project wizard which has
 4 steps. After that only i dont know what to do.

 On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman 
 jeffrey.blatt...@gmail.com wrote:

  http://developer.android.com/guide/developing/eclipse-adt.html

 On 10/19/09 7:20 PM, Niamathullah sharief wrote:

 Please Can one help me to get start in eclipse. I already installed
 adt plugin in aclipse. after that what ahouls i do? Please help me to 
 solve
 this problem.



 On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 ok. shall i know how to bring this emulator in eclipse? Can anyone
 help me...

 On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes thank you chaiyasit. Its working fine now..
  Thank you


 On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 could you show the path you typed this command in to me?

 just pwd

 ex:
 Last login: Mon Oct 19 20:48:07 on ttys000
 MacBook-2:~ admin$ pwd
 /Users/admin
 MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ pwd
 /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ ./emulator -avd myandroid1.5




 regards + thanks

 On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 See this. Still i am getting the same error message even when i
 changed as ./emulator

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export
 PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator
  -avd sharief
 bash: ./emulator: No such file or directory

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *


 On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 you typed the wrong command

 let's change *emulaltor -- ./emulator*



 On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 oops...me too didnt see that. yes i already changed the
 directory. for your kind reference i will the exact path of my 
 emulator

  */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/
 *

  i used the following command to set the path
  *
 *
 *export
 PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator
 *

  but still i am getting the following error

  *bash: ./emulaltor: No such file or directory*



   On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 Sorry

 I typed emulator wrong. let's type this:
 *./emulator -avd sharief*

 Note: Let's be sure you already change directory to this
 emulator command like ../tools/...

 Regards + Thanks

 On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 if i type that command i am getting the following error
 message..

  *
 

[android-beginners] Re: wait for an animation to end before continuing the program

2009-10-20 Thread Agus
use animationlistener

On Mon, Oct 19, 2009 at 11:57 PM, jax jackma...@gmail.com wrote:


 I need to wait for an animation to end before continuing the program.
 How would I do that?

 I noticed that I can get a hanndle on hasEnded() but if I run this is
 a do while loop the application will halt.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Getting started

2009-10-20 Thread Chaiyasit T
you're running on unix, so you have to always start with ./
ex: ./android 

On Tue, Oct 20, 2009 at 7:26 PM, Niamathullah sharief
android...@gmail.comwrote:

 yes i already tried this. in that i am the same error as command not
 found. i have set the path for android. see below

 *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$
 export
 PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/android

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$
 android create avd --target 2 --name my_avdbash: android: command not found
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$
 *


 On Tue, Oct 20, 2009 at 4:12 PM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Hi
 Let's follow this guideline
 http://developer.android.com/guide/tutorials/hello-world.html


 On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i have done this. but i am confused in the fields of properties i
 dont know exactly what i have to give in that fieldsbut i reached that
 new android project windoow...

 On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Hi
 Let's go to the file menu and other and select android project.

 note: here is my website, if you need to run emulator directly without
 depedning eclipse, try here
 http://www.codemobiles.com/forum/viewtopic.php?t=15
 regards + thanks

 On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief 
 android...@gmail.com wrote:


 yes i already done this and created the new avd..
 after that only i am confused


 On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote:

 Let's get to the eclipse' preference and open android tree tab, you
 will the android sdk installation path setup, let's fill-in the path.
 you have to create a new avd too, have you created it yet?

 regards + thanks

 On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes i already followed this all steps in new project wizard which has
 4 steps. After that only i dont know what to do.

 On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman 
 jeffrey.blatt...@gmail.com wrote:

  http://developer.android.com/guide/developing/eclipse-adt.html

 On 10/19/09 7:20 PM, Niamathullah sharief wrote:

 Please Can one help me to get start in eclipse. I already installed
 adt plugin in aclipse. after that what ahouls i do? Please help me to 
 solve
 this problem.



 On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 ok. shall i know how to bring this emulator in eclipse? Can anyone
 help me...

 On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 yes thank you chaiyasit. Its working fine now..
  Thank you


 On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 could you show the path you typed this command in to me?

 just pwd

 ex:
 Last login: Mon Oct 19 20:48:07 on ttys000
 MacBook-2:~ admin$ pwd
 /Users/admin
 MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ pwd
 /app/android-sdk-mac_x86-1.5_r3/tools
 MacBook-2:tools admin$ ./emulator -avd myandroid1.5




 regards + thanks

 On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 See this. Still i am getting the same error message even when i
 changed as ./emulator

  *
 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export
 PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator
  -avd sharief
 bash: ./emulator: No such file or directory

 shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$
 *


 On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 you typed the wrong command

 let's change *emulaltor -- ./emulator*



 On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief 
 android...@gmail.com wrote:

 oops...me too didnt see that. yes i already changed the
 directory. for your kind reference i will the exact path of my 
 emulator

  *
 /home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/*

  i used the following command to set the path
  *
 *
 *export
 PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator
 *

  but still i am getting the following error

  *bash: ./emulaltor: No such file or directory*



   On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T 
 chaiyasi...@gmail.com wrote:

 Sorry

 I typed emulator wrong. let's type this:
 *./emulator -avd sharief*

 Note: Let's be sure you already change directory to this
 emulator command like ../tools/...

 Regards + Thanks

 On Mon, Oct 19, 2009 at 3:10 PM, 

[android-beginners] Re: Needs help on debug

2009-10-20 Thread Freeman Zhang
HI
Thanks for reply.

Cmd line:
--
C:\Users\Freemanadb devices
List of devices attached
emulator-5554   device
---

Eclipse:
[2009-10-20 21:20:56 - ddms]Failed to reopen debug port for Selected Client
to: 8700
[2009-10-20 21:20:56 - ddms]Address family not supported by protocol family:
bind
java.net.SocketException: Address family not supported by protocol family:
bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source)
at com.android.ddmlib.MonitorThread.run(Unknown Source)

[2009-10-20 21:22:18 - ddms]Can't bind to local 8600 for debugger
[2009-10-20 21:22:24 - ddms]Can't bind to local 8601 for debugger
[2009-10-20 21:22:24 - ddms]Can't bind to local 8602 for debugger
[2009-10-20 21:22:28 - ddms]Can't bind to local 8603 for debugger
[2009-10-20 21:22:32 - ddms]Can't bind to local 8605 for debugger
[2009-10-20 21:22:35 - ddms]Can't bind to local 8606 for debugger
[2009-10-20 21:22:37 - ddms]Can't bind to local 8607 for debugger

Freeman.



2009/10/20 RichardC richard.crit...@googlemail.com


 With the emulator running (start it manually if you have to), what
 does

 adb devices

 show?

 --
 RichardC

 On Oct 20, 6:38 am, Freeman Zhang pcman.zh...@gmail.com wrote:
  Hello, can anybody help me?
 
  2009/10/19 Freeman Zhang pcman.zh...@gmail.com
 
   HI
 
   I'm a beginner on Android develop.
   When I write my first hello world, start to run the app, eclipse
 report
   Can't bind to local 8600 for debugger
   and the emulator shows an error window, Waiting For Debugger,
 Waiting
   for the debugger to attach.
 
   How to resolve it?
 
   Thank you very much.
 
   Regards,
   Freeman
 
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Getting started

2009-10-20 Thread Agus
package is like the base namespace of your app

On Sun, Oct 18, 2009 at 5:35 AM, Niamathullah sharief
android...@gmail.comwrote:

 Hi i am new to android. I am having some doubt when i tried to do my first
 project in android. When i select new new project in eclipse. Is ask some
 details. In that i saw one option called package name..I don't know what
 to give in that field. Can anyone help me. I am not much expert in Java.
 Thank you

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Needs help on debug

2009-10-20 Thread RichardC

Putting android Address family not supported by protocol into Google
turned up a few entries suggesting the problem may be with the
contents of your hosts file.

Can you list the contents of your hosts file. You will find it in the
folder:

C:\WINDOWS\system32\drivers\etc


Lines that start with a # are comments.  My file only has the line:

127.0.0.1   localhost


See also:
http://groups.google.com/group/android-developers/browse_thread/thread/6c9bd1ce0e623b20/fa69d087980a3b2e?#fa69d087980a3b2e


--
RichardC
On Oct 20, 2:24 pm, Freeman Zhang pcman.zh...@gmail.com wrote:
 HI
 Thanks for reply.

 Cmd line:
 --
 C:\Users\Freemanadb devices
 List of devices attached
 emulator-5554   device
 ---

 Eclipse:
 [2009-10-20 21:20:56 - ddms]Failed to reopen debug port for Selected Client
 to: 8700
 [2009-10-20 21:20:56 - ddms]Address family not supported by protocol family:
 bind
 java.net.SocketException: Address family not supported by protocol family:
 bind
 at sun.nio.ch.Net.bind(Native Method)
 at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
 at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
 at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
 at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown Source)
 at com.android.ddmlib.MonitorThread.run(Unknown Source)

 [2009-10-20 21:22:18 - ddms]Can't bind to local 8600 for debugger
 [2009-10-20 21:22:24 - ddms]Can't bind to local 8601 for debugger
 [2009-10-20 21:22:24 - ddms]Can't bind to local 8602 for debugger
 [2009-10-20 21:22:28 - ddms]Can't bind to local 8603 for debugger
 [2009-10-20 21:22:32 - ddms]Can't bind to local 8605 for debugger
 [2009-10-20 21:22:35 - ddms]Can't bind to local 8606 for debugger
 [2009-10-20 21:22:37 - ddms]Can't bind to local 8607 for debugger

 Freeman.

 2009/10/20 RichardC richard.crit...@googlemail.com



  With the emulator running (start it manually if you have to), what
  does

  adb devices

  show?

  --
  RichardC

  On Oct 20, 6:38 am, Freeman Zhang pcman.zh...@gmail.com wrote:
   Hello, can anybody help me?

   2009/10/19 Freeman Zhang pcman.zh...@gmail.com

HI

I'm a beginner on Android develop.
When I write my first hello world, start to run the app, eclipse
  report
Can't bind to local 8600 for debugger
and the emulator shows an error window, Waiting For Debugger,
  Waiting
for the debugger to attach.

How to resolve it?

Thank you very much.

Regards,
Freeman


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Steve

I tried the Archos emulator on your web site, but can't figure out how
to simulate the BACK button?  Is there a key for it? thanks.

On Oct 20, 1:56 am, arnouf arnaud.far...@gmail.com wrote:
 If you  have developed or if you are developing applications, and they
 are on the Android Market - Great! - But these apps are only
 available for devices that have contracts with Google.

 Archos, a major PMP manufacturer, launched its first device on 25th of
 September: the Archos 5 IT. Archos has a real community of fans who
 are waiting for applications for their devices. This device is the
 first of a long product line (the first Archos phone should be
 available soon too!).

 It's a new opportunity for your applications to find new fans! 

 You can post your apps, for free, on the Archos Market called Appslib
 (http://www.appslib.com).

 Today, only free applications are available for distribution on
 AppsLib, but Archos promises the possibility to distribute your paid
 apps soon !

 Don't wait : more applications, more users, more fans...and more
 revenue (soon)!

 Arnaud
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Steve Oliver
Got it, it's the ESC key (just like all the other emulators).

On Tue, Oct 20, 2009 at 7:48 AM, Steve steveoliv...@gmail.com wrote:


 I tried the Archos emulator on your web site, but can't figure out how
 to simulate the BACK button?  Is there a key for it? thanks.

 On Oct 20, 1:56 am, arnouf arnaud.far...@gmail.com wrote:
  If you  have developed or if you are developing applications, and they
  are on the Android Market - Great! - But these apps are only
  available for devices that have contracts with Google.
 
  Archos, a major PMP manufacturer, launched its first device on 25th of
  September: the Archos 5 IT. Archos has a real community of fans who
  are waiting for applications for their devices. This device is the
  first of a long product line (the first Archos phone should be
  available soon too!).
 
  It's a new opportunity for your applications to find new fans!
 
  You can post your apps, for free, on the Archos Market called Appslib
  (http://www.appslib.com).
 
  Today, only free applications are available for distribution on
  AppsLib, but Archos promises the possibility to distribute your paid
  apps soon !
 
  Don't wait : more applications, more users, more fans...and more
  revenue (soon)!
 
  Arnaud
 



-- 
Android mobile application development
http://steveoliverc.wordpress.com/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jeffrey Blattman




and the menu button?

On 10/20/09 7:48 AM, Steve wrote:

  
I tried the Archos emulator on your web site, but can't figure out how
to simulate the BACK button?  Is there a key for it? thanks.

On Oct 20, 1:56am, arnouf arnaud.far...@gmail.com wrote:
  
  
If you have developed or if you are developing applications, and they
are on the Android Market - Great! - But these apps are only
available for devices that have contracts with Google.

Archos, a major PMP manufacturer, launched its first device on 25th of
September: the Archos 5 IT. Archos has a real community of fans who
are waiting for applications for their devices. This device is the
first of a long product line (the first Archos phone should be
available soon too!).

It's a new opportunity for your applications to find new fans!

You can post your apps, for free, on the Archos Market called Appslib
(http://www.appslib.com).

Today, only free applications are available for distribution on
AppsLib, but Archos promises the possibility to distribute your paid
apps soon !

Don't wait : more applications, more users, more fans...and more
revenue (soon)!

Arnaud

  
  --~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

  


-- 





[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Steve Oliver
the Menu button is done with the PAGE UP key

On Tue, Oct 20, 2009 at 7:57 AM, Jeffrey Blattman 
jeffrey.blatt...@gmail.com wrote:

  and the menu button?

 On 10/20/09 7:48 AM, Steve wrote:

 I tried the Archos emulator on your web site, but can't figure out how
 to simulate the BACK button?  Is there a key for it? thanks.

 On Oct 20, 1:56 am, arnouf arnaud.far...@gmail.com 
 arnaud.far...@gmail.com wrote:


  If you  have developed or if you are developing applications, and they
 are on the Android Market - Great! - But these apps are only
 available for devices that have contracts with Google.

 Archos, a major PMP manufacturer, launched its first device on 25th of
 September: the Archos 5 IT. Archos has a real community of fans who
 are waiting for applications for their devices. This device is the
 first of a long product line (the first Archos phone should be
 available soon too!).

 It's a new opportunity for your applications to find new fans!

 You can post your apps, for free, on the Archos Market called Appslib
 (http://www.appslib.com).

 Today, only free applications are available for distribution on
 AppsLib, but Archos promises the possibility to distribute your paid
 apps soon !

 Don't wait : more applications, more users, more fans...and more
 revenue (soon)!

 Arnaud


  



 --




-- 
Android mobile application development
http://steveoliverc.wordpress.com/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

inline: qr-gmail.png

[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jeffrey Blattman




ok well is back the escape key? looks like it.

On 10/20/09 8:04 AM, Steve Oliver wrote:
the Menu button is done with the PAGE UP key
  
  
  On Tue, Oct 20, 2009 at 7:57 AM, Jeffrey
Blattman jeffrey.blatt...@gmail.com
wrote:
  

and the menu button?


On 10/20/09 7:48 AM, Steve wrote:


  
  I tried the Archos emulator on your web site, but can't figure out how
to simulate the BACK button?  Is there a key for it? thanks.

On Oct 20, 1:56am, arnouf arnaud.far...@gmail.com wrote:
  
  
If you have developed or if you are developing applications, and they
are on the Android Market - Great! - But these apps are only
available for devices that have contracts with Google.

Archos, a major PMP manufacturer, launched its first device on 25th of
September: the Archos 5 IT. Archos has a real community of fans who
are waiting for applications for their devices. This device is the
first of a long product line (the first Archos phone should be
available soon too!).

It's a new opportunity for your applications to find new fans!

You can post your apps, for free, on the Archos Market called Appslib
(http://www.appslib.com).

Today, only free applications are available for distribution on
AppsLib, but Archos promises the possibility to distribute your paid
apps soon !

Don't wait : more applications, more users, more fans...and more
revenue (soon)!

Arnaud

  
  



-- 


  
  
  
  
  
-- 
Android mobile application development
  http://steveoliverc.wordpress.com/
  
  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google 
Groups "Android Beginners" group. 
To post to this group, send email to android-beginners@googlegroups.com
  
To unsubscribe from this group, send email to 
android-beginners+unsubscr...@googlegroups.com 
For more options, visit this group at 
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---
  


-- 





[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jeffrey Blattman




some comments on the appslib market,

1. no way to unpublish an app?
2. no way to unpublish an app release?
3. no way to edit an app release (comments, binary, or anything else)
4. app description doesn't maintain newlines

so yes, make sure you really want your app there, forever, before you
publish it.

in general, i wish "the" android market would just facilitate this
sort of thing ... i know they now allow tagging by cell provider,
tagging by device seems a small stretch. this proliferation of markets
could really dilute android. developers now have to manage their apps
across N markets, and users have to browse N different markets to look
for apps :(

On 10/20/09 1:56 AM, arnouf wrote:

  
If you  have developed or if you are developing applications, and they
are on the Android Market - Great! - But these apps are only
available for devices that have contracts with Google.

Archos, a major PMP manufacturer, launched its first device on 25th of
September: the Archos 5 IT. Archos has a real community of fans who
are waiting for applications for their devices. This device is the
first of a long product line (the first Archos phone should be
available soon too!).

It's a new opportunity for your applications to find new fans!

You can post your apps, for free, on the Archos Market called Appslib
(http://www.appslib.com).

Today, only free applications are available for distribution on
AppsLib, but Archos promises the possibility to distribute your paid
apps soon !

Don't wait : more applications, more users, more fans...and more
revenue (soon)!

Arnaud
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

  


-- 





[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jason Van Anden
Clearly the solution to this is an Android Market Market.

;)

Jason Van Anden
http://www.BubbleBeats.com

On Tue, Oct 20, 2009 at 11:29 AM, Jeffrey Blattman 
jeffrey.blatt...@gmail.com wrote:

  some comments on the appslib market,

 1. no way to unpublish an app?
 2. no way to unpublish an app release?
 3. no way to edit an app release (comments, binary, or anything else)
 4. app description doesn't maintain newlines

 so yes, make sure you really want your app there, forever, before you
 publish it.

 in general, i wish the android market  would just facilitate this sort of
 thing ... i know they now allow tagging by cell provider, tagging by device
 seems a small stretch.  this proliferation of markets could really dilute
 android. developers now have to manage their apps across N markets, and
 users have to browse N different markets to look for apps :(


 On 10/20/09 1:56 AM, arnouf wrote:

 If you  have developed or if you are developing applications, and they
 are on the Android Market - Great! - But these apps are only
 available for devices that have contracts with Google.

 Archos, a major PMP manufacturer, launched its first device on 25th of
 September: the Archos 5 IT. Archos has a real community of fans who
 are waiting for applications for their devices. This device is the
 first of a long product line (the first Archos phone should be
 available soon too!).

 It's a new opportunity for your applications to find new fans!

 You can post your apps, for free, on the Archos Market called Appslib
 (http://www.appslib.com).

 Today, only free applications are available for distribution on
 AppsLib, but Archos promises the possibility to distribute your paid
 apps soon !

 Don't wait : more applications, more users, more fans...and more
 revenue (soon)!

 Arnaud
 



 --


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

inline: qr-gmail.png

[android-beginners] Cannot install packages on new phone

2009-10-20 Thread Neilz

Hi all.

I've been developing for a few weeks now, and testing them on a
friend's phone (HTC Magic). I never had any problems.

Today my new phone arrived (HTC Hero) and now I can't install my
packages. I get the error There is a problem parsing the package.

I have set it to allow packages from unknown sources, but I don't know
what else I can try... help please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Listner for Click and Touch events:

2009-10-20 Thread Balwinder Kaur (T-Mobile USA)

So you want to capture touch and click events that are not meant for
your application ? I don't believe that is possible using the SDK.

Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Oct 20, 4:25 am, Prabakar prabhu_mp...@yahoo.com wrote:
 Please note i want to listen touch and click events from my application even 
 when the user is outside of my application.

 --- On Tue, 10/20/09, Prabakar prabhu_mp...@yahoo.com wrote:

 From: Prabakar prabhu_mp...@yahoo.com
 Subject: [android-beginners] Listner for Click and Touch events:
 To: android-beginners@googlegroups.com
 Date: Tuesday, October 20, 2009, 4:24 PM

 Hi,

 I want to listen touch and click events happening anywhere on the device 
 screens from my application. What should i register for this and how can i 
 listen from my application? Is there any sample or help provided?

 Can some one suggest please?

 Thanks.

 Martin.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread Jeffrey Blattman
Just a guess but could it be that the new device is 1.5 and u r compiling to
1.6?

On Oct 20, 2009 9:28 AM, Neilz neilhorn...@googlemail.com wrote:


Hi all.

I've been developing for a few weeks now, and testing them on a
friend's phone (HTC Magic). I never had any problems.

Today my new phone arrived (HTC Hero) and now I can't install my
packages. I get the error There is a problem parsing the package.

I have set it to allow packages from unknown sources, but I don't know
what else I can try... help please?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is your Android app on Archos Market ?

2009-10-20 Thread Jeffrey Blattman




please refrain from discussing the android market market until my
patent clears.

On 10/20/09 8:36 AM, Jason Van Anden wrote:
Clearly the solution to this is an Android Market Market. 
  
;)
  
Jason Van Anden
  http://www.BubbleBeats.com
  
  On Tue, Oct 20, 2009 at 11:29 AM, Jeffrey
Blattman jeffrey.blatt...@gmail.com
wrote:
  

some comments on the appslib market,

1. no way to unpublish an app?
2. no way to unpublish an app release?
3. no way to edit an app release (comments, binary, or anything else)
4. app description doesn't maintain newlines

so yes, make sure you really want your app there, forever, before you
publish it.

in general, i wish "the" android market would just facilitate this
sort of thing ... i know they now allow tagging by cell provider,
tagging by device seems a small stretch. this proliferation of markets
could really dilute android. developers now have to manage their apps
across N markets, and users have to browse N different markets to look
for apps :(



On 10/20/09 1:56 AM, arnouf wrote:

  If you  have developed or if you are developing applications, and they
are on the Android Market - Great! - But these apps are only
available for devices that have contracts with Google.

Archos, a major PMP manufacturer, launched its first device on 25th of
September: the Archos 5 IT. Archos has a real community of fans who
are waiting for applications for their devices. This device is the
first of a long product line (the first Archos phone should be
available soon too!).

It's a new opportunity for your applications to find new fans!

You can post your apps, for free, on the Archos Market called Appslib
(http://www.appslib.com).

Today, only free applications are available for distribution on
AppsLib, but Archos promises the possibility to distribute your paid
apps soon !

Don't wait : more applications, more users, more fans...and more
revenue (soon)!

Arnaud

  




-- 


  
  
  
  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google 
Groups "Android Beginners" group. 
To post to this group, send email to android-beginners@googlegroups.com
  
To unsubscribe from this group, send email to 
android-beginners+unsubscr...@googlegroups.com 
For more options, visit this group at 
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---
  


-- 





[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread Neilz

Hi. No, I've been developing in 1.5, I haven't got around to upgrading
yet.

But - how do I tell what the phone version is?

On Oct 20, 5:47 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com
wrote:
 Just a guess but could it be that the new device is 1.5 and u r compiling to
 1.6?

 On Oct 20, 2009 9:28 AM, Neilz neilhorn...@googlemail.com wrote:

 Hi all.

 I've been developing for a few weeks now, and testing them on a
 friend's phone (HTC Magic). I never had any problems.

 Today my new phone arrived (HTC Hero) and now I can't install my
 packages. I get the error There is a problem parsing the package.

 I have set it to allow packages from unknown sources, but I don't know
 what else I can try... help please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Using Preferences to Select a value in a spinner

2009-10-20 Thread jax

I have an List Id from a database stored in my Shared preferences.
I have made a spinner with a SimpleCursorAdaptor that selects all my
Lists from the database and allows you to select them from the
spinner.

My problem is that I can't figure out how to set the selected item to
be my preferred list from my preferences.  All the methods I can see
seem to use position instead of the _id value from the DB.

Any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Listner for Click and Touch events:

2009-10-20 Thread Prabakar
Yes. Oh that is not possible? Palm OS, Windows Mobile has that notification 
facility. Strange! Fine then. Thanks.

-Martin.

--- On Tue, 10/20/09, Balwinder Kaur (T-Mobile USA) 
balwinder.k...@t-mobile.com wrote:

From: Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com
Subject: [android-beginners] Re: Listner for Click and Touch events:
To: Android Beginners android-beginners@googlegroups.com
Date: Tuesday, October 20, 2009, 10:07 PM


So you want to capture touch and click events that are not meant for
your application ? I don't believe that is possible using the SDK.

Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Oct 20, 4:25 am, Prabakar prabhu_mp...@yahoo.com wrote:
 Please note i want to listen touch and click events from my application even 
 when the user is outside of my application.

 --- On Tue, 10/20/09, Prabakar prabhu_mp...@yahoo.com wrote:

 From: Prabakar prabhu_mp...@yahoo.com
 Subject: [android-beginners] Listner for Click and Touch events:
 To: android-beginners@googlegroups.com
 Date: Tuesday, October 20, 2009, 4:24 PM

 Hi,

 I want to listen touch and click events happening anywhere on the device 
 screens from my application. What should i register for this and how can i 
 listen from my application? Is there any sample or help provided?

 Can some one suggest please?

 Thanks.

 Martin.




  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Taking a picture

2009-10-20 Thread tinyang

Wonderful, just what I've been looking for!  Which section of the forum is
the thread in and what is it's title? 

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of jbrohan
Sent: Tuesday, October 20, 2009 5:56 AM
To: Android Beginners
Subject: [android-beginners] Re: Taking a picture


http://www.anddev.org/
Has a big discussion of camera operations. I got my app started using their
code!

On Oct 19, 4:46 pm, Anders Feder anders.feder...@gmail.com wrote:
 Hello,

 I need to take a photo on command (from my app) such that it is stored 
 as 'normal' photo in the Gallery, just like a photo taken with the 
 Camera application. Preferably, the photo should be geotagged, but not
necessarily.

 The application is unattended (i.e. no user interaction when photo is 
 taken), so no preview is needed. Just shoot, and save.

 Can someone kindly tell me how to do this? Thanks in advance.

 Best regards,
 Anders Feder

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 10/19/2009
2:33 PM


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Getting started

2009-10-20 Thread Niamathullah sharief
yes i got it. But how this hello world program came? I didnt even typed or
pasted it. Its predefined?

On Tue, Oct 20, 2009 at 6:35 PM, Agus agus.sant...@gmail.com wrote:

 package is like the base namespace of your app

 On Sun, Oct 18, 2009 at 5:35 AM, Niamathullah sharief 
 android...@gmail.com wrote:

 Hi i am new to android. I am having some doubt when i tried to do my first
 project in android. When i select new new project in eclipse. Is ask some
 details. In that i saw one option called package name..I don't know what
 to give in that field. Can anyone help me. I am not much expert in Java.
 Thank you




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Dialogbox title doesn't allow other controls to go up

2009-10-20 Thread Balwinder Kaur (T-Mobile USA)

It is requestWindowFeature (Window.FEATURE_NO_TITLE)

this snippet will do the trick...

@Override
protected Dialog onCreateDialog(int id) {
Dialog d = new Dialog(this);
d.requestWindowFeature(Window.FEATURE_NO_TITLE);
d.setTitle(You shouldn't see this);
   // whatever else your dialog should be doing

return d;
}
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Oct 18, 11:51 pm, Prabakar prabhu_mp...@yahoo.com wrote:
 Anyone please?

 --- On Mon, 10/19/09, Prabakar prabhu_mp...@yahoo.com wrote:

 From: Prabakar prabhu_mp...@yahoo.com
 Subject: [android-beginners] Dialogbox title doesn't allow other controls to 
 go up
 To: android-beginners@googlegroups.com
 Date: Monday, October 19, 2009, 5:42 AM

 Hello All,

 I have developed a dialog box and put two controls there. One is Volume icon 
 and the Close button. But both the controls are not showing completely top 
 corners of dialog. I want both should be in top corners of Dialog box. Please 
 see the attached image for reference.
 The problem now is, there is big space for Dialog box title. You can see the 
 attached picture, which will show how the volume icon couldn't be able to go 
 to top corner, instead struck at the big space(right side space) provided for 
 dialogbox title, so it's getting hidden a bit.
 I want to remove this title space for dialog, so that i think i'll be able to 
 put my two controls on top corners.
 I tried already tried this - requestWindowFeature(Window.FEATURE_PROGRESS);  
 but it is throwing error for dialogbox.

 Suggestions please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread RichardC

[menu]  Settings  About Phone  Firmware version

--
RichardC

On Oct 20, 6:16 pm, Neilz neilhorn...@googlemail.com wrote:
 Hi. No, I've been developing in 1.5, I haven't got around to upgrading
 yet.

 But - how do I tell what the phone version is?

 On Oct 20, 5:47 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com
 wrote:

  Just a guess but could it be that the new device is 1.5 and u r compiling to
  1.6?

  On Oct 20, 2009 9:28 AM, Neilz neilhorn...@googlemail.com wrote:

  Hi all.

  I've been developing for a few weeks now, and testing them on a
  friend's phone (HTC Magic). I never had any problems.

  Today my new phone arrived (HTC Hero) and now I can't install my
  packages. I get the error There is a problem parsing the package.

  I have set it to allow packages from unknown sources, but I don't know
  what else I can try... help please?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Dialogbox title doesn't allow other controls to go up

2009-10-20 Thread Prabakar
Sorry forgot to update. I already fixed it.

Thank you.

-Martin.
--- On Tue, 10/20/09, Balwinder Kaur (T-Mobile USA) 
balwinder.k...@t-mobile.com wrote:

From: Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com
Subject: [android-beginners] Re: Dialogbox title doesn't allow other controls 
to go up
To: Android Beginners android-beginners@googlegroups.com
Date: Tuesday, October 20, 2009, 11:41 PM


It is requestWindowFeature (Window.FEATURE_NO_TITLE)

this snippet will do the trick...

    @Override
    protected Dialog onCreateDialog(int id) {
        Dialog d = new Dialog(this);
        d.requestWindowFeature(Window.FEATURE_NO_TITLE);
        d.setTitle(You shouldn't see this);
       // whatever else your dialog should be doing

    return d;
    }
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Oct 18, 11:51 pm, Prabakar prabhu_mp...@yahoo.com wrote:
 Anyone please?

 --- On Mon, 10/19/09, Prabakar prabhu_mp...@yahoo.com wrote:

 From: Prabakar prabhu_mp...@yahoo.com
 Subject: [android-beginners] Dialogbox title doesn't allow other controls to 
 go up
 To: android-beginners@googlegroups.com
 Date: Monday, October 19, 2009, 5:42 AM

 Hello All,

 I have developed a dialog box and put two controls there. One is Volume icon 
 and the Close button. But both the controls are not showing completely top 
 corners of dialog. I want both should be in top corners of Dialog box. Please 
 see the attached image for reference.
 The problem now is, there is big space for Dialog box title. You can see the 
 attached picture, which will show how the volume icon couldn't be able to go 
 to top corner, instead struck at the big space(right side space) provided for 
 dialogbox title, so it's getting hidden a bit.
 I want to remove this title space for dialog, so that i think i'll be able to 
 put my two controls on top corners.
 I tried already tried this - requestWindowFeature(Window.FEATURE_PROGRESS);  
 but it is throwing error for dialogbox.

 Suggestions please?




  
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot install packages on new phone

2009-10-20 Thread Neilz

Thanks Richard, I saw that and wasn't sure if it was referring to the
Android software.

So, it says 1.5. Where does that leave me?!

On Oct 20, 7:37 pm, RichardC richard.crit...@googlemail.com wrote:
 [menu]  Settings  About Phone  Firmware version

 --
 RichardC

 On Oct 20, 6:16 pm, Neilz neilhorn...@googlemail.com wrote:

  Hi. No, I've been developing in 1.5, I haven't got around to upgrading
  yet.

  But - how do I tell what the phone version is?

  On Oct 20, 5:47 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com
  wrote:

   Just a guess but could it be that the new device is 1.5 and u r compiling 
   to
   1.6?

   On Oct 20, 2009 9:28 AM, Neilz neilhorn...@googlemail.com wrote:

   Hi all.

   I've been developing for a few weeks now, and testing them on a
   friend's phone (HTC Magic). I never had any problems.

   Today my new phone arrived (HTC Hero) and now I can't install my
   packages. I get the error There is a problem parsing the package.

   I have set it to allow packages from unknown sources, but I don't know
   what else I can try... help please?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Alternative Forms of the documentation

2009-10-20 Thread Corey

Group,
   I've been looking for an alternative form to the HTML + JavaScript
documentation that ships with the Android SDK. I would like to be able
to read the developers guide, and reference api on my ebook reader.

   Attempts to convert the provided documentation with calibre have
all failed. Has anyone converted these documents to epub, mobi, or
pdf? Or are there alternative forms of the documentation which I have
not been able to locate?

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Can a application developed using Android used on any mobile phone type?

2009-10-20 Thread SamDP

I have zero knowledge of software so pls bear with my questions b'se
they might seem to be some stupid questions.

I want to develop a application which can be used on different cell
phones like iPhone, Blackberry, Palm. I am aware that it might need
something different for each one. May be the programming language
could be different or whatever. Again my software knowledge is zero so
will appreciate inputs, advice.

Can a application developed using Android used on any mobile phone
type?

Thanks
Sam

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Development of an app for the Archos Internet Tablet

2009-10-20 Thread JeffT

The Archos firmware 1.1.01 released on October 12 allows you to enable
ADB mode - it's located at:

 Settings|Device Storage  USB Connection|USB Connection mode|Debug
Bridge (ADB)

Jeff


On Oct 7, 1:04 pm, Paul Fine pbfin...@gmail.com wrote:
 For what it's worth (which isn't much), I got a response from Archos
 Tech Support:

  Paul,

  The engineers have told me there isn't a way to put the unit into a debug 
  mode.
  If you want to develop apps, you should check the link below.

 http://code.google.com/android/

  Thank you,
  Tim S
  Archos Technical Support

 --Paul

 On Oct 7, 7:48 am, chrisp ch...@jellyfishit.com wrote:



  I am having the exact same problem, I have tried calling the Archos
  technical support but after a 30 min wait they hung up on me.

  I found this post in google code but not sure how to run it, I have
  tried from pconnect and it didn't error but didn't do anything.

  type the following command on the phone keyboard to enable adb:
  entersetprop persist.service.adb.enable 1enter

 http://code.google.com/p/android/issues/detail?id=1039#c22

  Has anyone any idea's or know how to run this command? I am trying to
  adb to the archos device to test an app...- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Using external font in android application

2009-10-20 Thread kk_Kiran

Hi friends,

I need to use a different font ( other than those provided with sdk
1.6) in my android application.
As of my findings I can apply the font to TextView through java using
following code:

Typeface myFont = Typeface.createFromAsset(getAssets(), fonts/
Condensed.ttf);
myTextView.setTypeface(myFont);

where I have kept my font in assets/fonts directory. This works fine.
But what I want to do is specify the font through xml attribute.

http://code.google.com/p/android/issues/detail?id=1087

As per above link it seems that it is not possible as of now. Can
somebody throw some light on the same. Does current API level supports
any way to specify font through xml attribute? If not when can we
expect the same?

Any kind of help would be highly appreciated.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: wait for an animation to end before continuing the program

2009-10-20 Thread Zuli

On Oct 20, 8:57 am, jax jackma...@gmail.com wrote:
 I need to wait for an animation to end before continuing the program.
 How would I do that?

 I noticed that I can get a hanndle on hasEnded() but if I run this is
 a do while loop the application will halt.


Try setting an AnimationListener and use the onAnimationEnd method,

Zuli

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Alternative Dev Guide Formats

2009-10-20 Thread Corey

Group,
  I'm looking for the Developers Guide, and API Reference in a format
that I can put on my ebook reader. I've been unable to find an
alternative to the HTML + JavaScript pages supplied in the SDK.

  calibre cannot convert the documents found within the SDK, I'm
guessing this is due to the use of JavaScript.

  Is there an alternative format available for download, or has anyone
successfully converted the SDK docs into epub, pdf, or mobi?

Thanks,
   Corey


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Detecting successful image load for ImageView

2009-10-20 Thread kevin.hooke

Is there a way to detect when an ImageView has successfully loaded an
image? I'm having an issue debugging an app that has a 3 by 3 grid of
images that I'm loading from Flickr, and as far as I can tell I
successfully load the bytes of the images from Flickr into Bitmap
instances, but when I set the bitmap into the ImageView something is
going astray.

I'm randomly getting some of the images not display (one or two out of
nine), and I'm not sure if it's a timing issue from my progress thread
which is downloading the images, updating the progress bar and setting
the bitmaps into the ImageViews (the Handler for the ProgressDIalog is
updating the ImageViews).

Any ideas on how I can confirm that the ImageViews have their image
content set, and any other ideas for things I should look at, like
manually calling a draw() or something similar to prompt them when to
redraw?

Thanks,
Kevin Hooke

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] path to pwd

2009-10-20 Thread T

In android, in the terminal i can write ls and pwd. I have found ls
in /system/bin. However, I can't find pwd. Where is the link pwd
pointing to?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Load youtube videos

2009-10-20 Thread Dauntless

Hi,

Is it possible to load youtube videos? I'm trying to port a flex
mashup to android and I want to play some youtube video's inside the
application. Is that possible?

Greets,
Dauntless

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] I Need Help Setting Up My ADB On MY Mac

2009-10-20 Thread AlbertDroid

These are the instructions I followed:

- Download the Android SDK for Macintosh at: http://developer.android.com/sdk/
- Extract it
- Download Fastboot for OSX (If not included with SDK)
- Extract fastboot and place it in your /tools folder.
- Open up a terminal window
- type: pico .bash_profile (this will create a .bash_profile)
- type the following in the new screen: export PATH=$
{PATH}:sdkfolder/tools
- Hit CNTRL + X
- Hit Y (for yes to save)
- It will return you to the terminal screen… type: exit
- Restart terminal.

Now when i go into terminal i type adb and it says


-bash: adb: command not found


what did i do wrong

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Using the android logo in a paid app

2009-10-20 Thread sunskyor sunskyor
maybe we can draw a simple robot. I think it will be more funny.

miser google.

2009/10/19 RichardC richard.crit...@googlemail.com


 http://www.android.com/branding.html

 --
 RichardC

 On Oct 19, 3:33 am, jax jackma...@gmail.com wrote:
  Is it OK to use the Android logo in a paid application?  If not is it
  OK to use a modified version of the logo?
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Is Android GPS more precise than the iPhone GPS?

2009-10-20 Thread jan.rigg...@grabarzundpartner.de

Hello together,

I want to develop a cellphone app, which heavily relies on the GPS
function.
I tried it with the iPhone first, but it wasnt precise enough. It
seems that the iPhone GPS API updates the position only every 10
seconds.
And sometimes the position was off by +25 meters.

I need it to be down to something like 5 or 10 meters. And to be
updates as often as possible.

Is this possible with the Android?

Kind regards, Jan
(Germany)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Latest 1.6 SDK -- 'Hello World' example -- random errors/results

2009-10-20 Thread PeteM

Hello,

Somewhat of a newbie here. Downloaded  installed latest 1.6 SDK, with
Eclipse, on XP Home, Dell netbook (1.6 GHz, 1GB RAM) -- a brand new,
clean install.  All went well until I tried creating  running the
'Hello World' test app. I followed the instructions step-by-step, but
the app never quite manages to run.  The emulator takes forever to
initialize but does eventually boot up all the way to the home screen,
however, there's no sign of the app!  The strange thing is that I see
different errors/results in the Console each time I run it.  Here are
the last two attempts:

(...)
Starting activity com.example.helloandroid.HelloAndroid on device
Activity Manager: - exec, '/system/bin/sh' failed: Bad address (14) -

or...

(...)
Starting activity com.example.helloandroid.HelloAndroid on device
Launch error: device (emulator-5554) request rejected: device not
found

Any ideas?  Thanks!!!

-Pete

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Error early in development

2009-10-20 Thread hawksd20

When I try to set up the AVD I get the error:

Error generating final archive: Unable to get the home directory. Make
sure the user.home property is set up.

Any clues on what I can do to fix this? I get the same error when I
try running the Hello World program. (I'm using eclipse galileo for
development)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Does anyone have working Hello, MapView code to share? I'm beginning to wonder if it's accurate

2009-10-20 Thread Robert Speer

Admittedly I'm not a Java developer, but I do ok following
instructions.  I'm starting to think the tutorial is not valid for the
1.5  1.6 SDK.

Does anyone have working source code to share?

this is the tutorial I'm referring to:
http://developer.android.com/guide/tutorials/views/hello-mapview.html

 - robert

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] images from images.google.com

2009-10-20 Thread pti4ik

Hi everybody!
I need to search web for images by keyword or phrase with
images.google.com and then to show some of the found images in my app.
So does that web site have any API for this? Or what are the ways for
solving this problem?
Thanks!

Andrew

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Activity launch timeout even with wakelock

2009-10-20 Thread Kiran

Hi,
I have the following code in Oncreate of my activity:


static String linkUrl = http://www.google.com/;;

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

PowerManager pm = (PowerManager) getSystemService
(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock
(PowerManager.SCREEN_DIM_WAKE_LOCK, My Tag);
wl.acquire();

try {
URL connectURL = new URL(linkUrl);
HttpURLConnection conn = (HttpURLConnection)
connectURL.openConnection();
DataInputStream dis = new DataInputStream (conn.getInputStream
());
byte[] data = new byte[1024];
int len = dis.read(data, 0, 1024);
dataText = new String(data, 0, len);
}
catch(Exception e)
{
Log.e(TAG, Exception);
return;
}

TextView bodyText = (EditText) findViewById
(R.id.android_fetchtext);
bodyText.setText(dataText);
setContentView(R.layout.notes_fetch);
wl.release();
}


I declared the following permissions in manifest:

uses-permission android:name=android.permission.INTERNET /
uses-permission android:name=android.permission.WAKE_LOCK/

Here is my xml layout file:

?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

ListView android:id=@+id/android:fetchlist
  android:layout_width=wrap_content
android:layout_height=wrap_content/
TextView android:id=@+id/android:fetchtext
  android:layout_width=wrap_content
android:layout_height=wrap_content/
/LinearLayout


Problem is, application goes to force close with following error:

10-19 22:11:49.404: DEBUG/FetchData(715): Entered OnCreate
10-19 22:11:49.413: DEBUG/FetchData(715): Set URL
10-19 22:11:49.435: DEBUG/FetchData(715): HttpURLConnection
10-19 22:11:49.464: DEBUG/FetchData(715): DIS
10-19 22:11:56.013: DEBUG/FetchData(715): Read

10-19 22:11:59.191: WARN/ActivityManager(574): Launch timeout has
expired, giving up wake lock!
--
10-19 22:11:59.307: WARN/ActivityManager(574): Activity idle timeout
for HistoryRecord{438d4478 com.android.demo.notepad3/.FetchData}
---
10-19 22:12:01.455: DEBUG/AndroidRuntime(715): Shutting down VM

10-19 22:12:01.455: WARN/dalvikvm(715): threadid=3: thread exiting
with uncaught exception (group=0x4001aa28)
10-19 22:12:01.465: ERROR/AndroidRuntime(715): Uncaught handler:
thread main exiting due to uncaught exception
10-19 22:12:01.834: ERROR/AndroidRuntime(715):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.android.demo.notepad3/com.android.demo.notepad3.FetchData}:
java.lang.NullPointerException
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2401)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2417)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.app.ActivityThread.access$2100(ActivityThread.java:116)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.os.Handler.dispatchMessage(Handler.java:99)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.os.Looper.loop(Looper.java:123)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
android.app.ActivityThread.main(ActivityThread.java:4203)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
java.lang.reflect.Method.invokeNative(Native Method)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
java.lang.reflect.Method.invoke(Method.java:521)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:791)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
10-19 22:12:01.834: ERROR/AndroidRuntime(715): at
dalvik.system.NativeStart.main(Native Method)
10-19 22:12:01.834: 

[android-beginners] Re: DDMS doesn't show my G1

2009-10-20 Thread Matt

Hi Mark,

I seem to be having the same problem.  I thought I could remedy it by
getting the G1 drivers in there, and I finally figured out how to do
it.  In the device manager, when the G1 is plugged in, it now shows
Android Phone  Android Composite ADB Interface.

I've also installed the Java Development Kit (JDK) as per the
instructions of this site which was recommended to me:
http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-android-based-phone-from-windows/.

This has no effect.  I've also installed Eclipse as per the developer
instructions, and added the Android plugin.  Still nothing in ddms.

No matter what I do, connect, or install in any order, the ddms.bat
will not see my G1.  I'm just looking to get a few screen shots for an
article.  Is there any hope here?

Thanks for any insight.

Matt

On Oct 9, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote:
 heartbraden wrote:
  I've been working at this for hours now, and I can't figure out what's
  going wrong.  I've got USB debugging turned on, I have eclipse, I have
  android-sdk-1.6, but when I clickddms.bat, I get a blank command
  prompt, and Dalvik Debug Monitor comes up, but it doesn't show any
  devices at all.

  I'm on Windows XP 32 bit.  What could I be doing wrong?

 Did you install the G1 driver?

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, $35/Year

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] path to pwd

2009-10-20 Thread T

It seems to me that the moderators deleted my last message. I try
again...

In Android, I can write ls and pwd in the terminal. ls points to /
system/bin/ls. But where does pwd link to?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] How to change application theme at runtime

2009-10-20 Thread kk_Kiran

Hi friends,

I want to know is it possible to change theme of an android
application at runtime, say by clicking a button in application
itself. I want my application to behave in same manner as we see while
changing theme of mobile display.

Any help would be highly appreciated.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: path to pwd

2009-10-20 Thread Jeffrey Blattman




it might be built into the shell.

On 10/19/09 5:30 AM, T wrote:

  
In android, in the terminal i can write ls and pwd. I have found ls
in /system/bin. However, I can't find pwd. Where is the link pwd
pointing to?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

  


-- 





[android-beginners] Re: Using external font in android application

2009-10-20 Thread Mark Murphy

kk_Kiran wrote:
 Does current API level supports
 any way to specify font through xml attribute? 

No.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.1 Available!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: DDMS doesn't show my G1

2009-10-20 Thread Wayne Wenthin
is USB debugging on?

On Mon, Oct 19, 2009 at 8:29 PM, Matt m...@camerashymedia.com wrote:


 Hi Mark,

 I seem to be having the same problem.  I thought I could remedy it by
 getting the G1 drivers in there, and I finally figured out how to do
 it.  In the device manager, when the G1 is plugged in, it now shows
 Android Phone  Android Composite ADB Interface.

 I've also installed the Java Development Kit (JDK) as per the
 instructions of this site which was recommended to me:

 http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-android-based-phone-from-windows/
 .

 This has no effect.  I've also installed Eclipse as per the developer
 instructions, and added the Android plugin.  Still nothing in ddms.

 No matter what I do, connect, or install in any order, the ddms.bat
 will not see my G1.  I'm just looking to get a few screen shots for an
 article.  Is there any hope here?

 Thanks for any insight.

 Matt

 On Oct 9, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote:
  heartbraden wrote:
   I've been working at this for hours now, and I can't figure out what's
   going wrong.  I've got USB debugging turned on, I have eclipse, I have
   android-sdk-1.6, but when I clickddms.bat, I get a blank command
   prompt, and Dalvik Debug Monitor comes up, but it doesn't show any
   devices at all.
 
   I'm on Windows XP 32 bit.  What could I be doing wrong?
 
  Did you install the G1 driver?
 
  --
  Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy
 
  Warescription: Three Android Books, Plus Updates, $35/Year

 



-- 
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is Android GPS more precise than the iPhone GPS?

2009-10-20 Thread RichardC

It is not possible with any GPS system because a raw GPS position at
any instant can be off by less than 1 meter to over 100km due to
dignal noise, reflections interferance etc.

My GPS test app is getting GPS position updates approximatly every
second.  What you need to do with these updates is some form of
windowed averaging (average of last n-fixes throwing away any fix
which is too far away) to give you a more accurate position.  How many
fixes and how big your window should be is up to your application.

--
RichardC

On Oct 19, 10:08 am, jan.rigg...@grabarzundpartner.de
jan.rigg...@grabarzundpartner.de wrote:
 Hello together,

 I want to develop a cellphone app, which heavily relies on the GPS
 function.
 I tried it with the iPhone first, but it wasnt precise enough. It
 seems that the iPhone GPS API updates the position only every 10
 seconds.
 And sometimes the position was off by +25 meters.

 I need it to be down to something like 5 or 10 meters. And to be
 updates as often as possible.

 Is this possible with the Android?

 Kind regards, Jan
 (Germany)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] how to i check if an EditText is empty

2009-10-20 Thread JasonMP

using if(someEditText.getText().toString == null)  doesnt work

im passing information from this editText into a database.  Ive
already limited it to 2 characters and numbers only in the xml file,
but i need to run a check to fill its defaults to 0 if nothing is
entered.  I could set its default to 0, but then my hint text would
show up.  Could someone give me a hand with this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: how to i check if an EditText is empty

2009-10-20 Thread Jeffrey Blattman
toString().length() == 0?

On Oct 20, 2009 1:48 PM, JasonMP hyperje...@gmail.com wrote:


using if(someEditText.getText().toString == null)  doesnt work

im passing information from this editText into a database.  Ive
already limited it to 2 characters and numbers only in the xml file,
but i need to run a check to fill its defaults to 0 if nothing is
entered.  I could set its default to 0, but then my hint text would
show up.  Could someone give me a hand with this?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Dynamic text movement

2009-10-20 Thread Balwinder Kaur (T-Mobile USA)

You can use methods like setGravity. You may have to create an
onKeyListener and  override the onKey method.

Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Oct 18, 5:13 am, vamsee y.vamseekris...@gmail.com wrote:
 hai all,
 I am developing an application which would look like microsoft power
 point application. I had a problem while writing and moving the text
 dynamically. I have tried with edit text box, but was not able to move
 it and can not resize it.
 Can any one help me.

 thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: how to i check if an EditText is empty

2009-10-20 Thread James Yum
FYI, Android has a handy TextUtils library:

http://developer.android.com/reference/android/text/TextUtils.html#isEmpty(java.lang.CharSequence)

http://developer.android.com/reference/android/text/TextUtils.html#isEmpty(java.lang.CharSequence)
Cheers,
James

On Tue, Oct 20, 2009 at 2:18 PM, Jeffrey Blattman 
jeffrey.blatt...@gmail.com wrote:

 toString().length() == 0?

 On Oct 20, 2009 1:48 PM, JasonMP hyperje...@gmail.com wrote:


 using if(someEditText.getText().toString == null)  doesnt work

 im passing information from this editText into a database.  Ive
 already limited it to 2 characters and numbers only in the xml file,
 but i need to run a check to fill its defaults to 0 if nothing is
 entered.  I could set its default to 0, but then my hint text would
 show up.  Could someone give me a hand with this?


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Listner for Click and Touch events:

2009-10-20 Thread James Yum
It's not possible.
Cheers,
James

On Tue, Oct 20, 2009 at 10:26 AM, Prabakar prabhu_mp...@yahoo.com wrote:

 Yes. Oh that is not possible? Palm OS, Windows Mobile has that notification
 facility. Strange! Fine then. Thanks.

 -Martin.

 --- On *Tue, 10/20/09, Balwinder Kaur (T-Mobile USA) 
 balwinder.k...@t-mobile.com* wrote:


 From: Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com
 Subject: [android-beginners] Re: Listner for Click and Touch events:
 To: Android Beginners android-beginners@googlegroups.com
 Date: Tuesday, October 20, 2009, 10:07 PM



 So you want to capture touch and click events that are not meant for
 your application ? I don't believe that is possible using the SDK.

 Balwinder Kaur
 Mobile.Software.Development
 ·T· · ·Mobile· stick together

 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.


 On Oct 20, 4:25 am, Prabakar 
 prabhu_mp...@yahoo.comhttp://mc/compose?to=prabhu_mp...@yahoo.com
 wrote:
  Please note i want to listen touch and click events from my application
 even when the user is outside of my application.
 
  --- On Tue, 10/20/09, Prabakar 
  prabhu_mp...@yahoo.comhttp://mc/compose?to=prabhu_mp...@yahoo.com
 wrote:
 
  From: Prabakar 
  prabhu_mp...@yahoo.comhttp://mc/compose?to=prabhu_mp...@yahoo.com
 
  Subject: [android-beginners] Listner for Click and Touch events:
  To: 
  android-beginners@googlegroups.comhttp://mc/compose?to=android-beginn...@googlegroups.com
  Date: Tuesday, October 20, 2009, 4:24 PM
 
  Hi,
 
  I want to listen touch and click events happening anywhere on the device
 screens from my application. What should i register for this and how can i
 listen from my application? Is there any sample or help provided?
 
  Can some one suggest please?
 
  Thanks.
 
  Martin.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Alternative Dev Guide Formats

2009-10-20 Thread Justin Anderson
You can try DroiDoc, available on the Android Market

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Mon, Oct 19, 2009 at 8:13 AM, Corey corey.l...@gmail.com wrote:


 Group,
  I'm looking for the Developers Guide, and API Reference in a format
 that I can put on my ebook reader. I've been unable to find an
 alternative to the HTML + JavaScript pages supplied in the SDK.

  calibre cannot convert the documents found within the SDK, I'm
 guessing this is due to the use of JavaScript.

  Is there an alternative format available for download, or has anyone
 successfully converted the SDK docs into epub, pdf, or mobi?

 Thanks,
   Corey


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: DDMS doesn't show my G1

2009-10-20 Thread Matt

Hi Wayne.  USB debugging was turned on at the time.

However, it did end up seeing the device after all, though I'm not
sure why.

In reading the installation instructions for the Android SDK, I messed
around with the Environment/System Variables of Win XP.

Changing the PATH to the SDK directory (as instructed) messed up the
computer a bit (a few errors, some programs wouldn't run, including
ddms).

Changing the PATH System Variable back to the default (actually, a
default setting I found online) brought everything back to normal,
and then the ddms began recognizing the G1.

I'm not sure what this change jogged, or why, but I'm happy with the
outcome.

Any thoughts?

Thanks for your help.

Matt

On Oct 20, 3:08 pm, Wayne Wenthin wa...@fuligin.com wrote:
 is USB debugging on?



 On Mon, Oct 19, 2009 at 8:29 PM, Matt m...@camerashymedia.com wrote:

  Hi Mark,

  I seem to be having the same problem.  I thought I could remedy it by
  getting the G1 drivers in there, and I finally figured out how to do
  it.  In the device manager, when the G1 is plugged in, it now shows
  Android Phone  Android Composite ADB Interface.

  I've also installed the Java Development Kit (JDK) as per the
  instructions of this site which was recommended to me:

 http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-...
  .

  This has no effect.  I've also installed Eclipse as per the developer
  instructions, and added the Android plugin.  Still nothing in ddms.

  No matter what I do, connect, or install in any order, the ddms.bat
  will not see my G1.  I'm just looking to get a few screen shots for an
  article.  Is there any hope here?

  Thanks for any insight.

  Matt

  On Oct 9, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote:
   heartbraden wrote:
I've been working at this for hours now, and I can't figure out what's
going wrong.  I've got USB debugging turned on, I have eclipse, I have
android-sdk-1.6, but when I clickddms.bat, I get a blank command
prompt, and Dalvik Debug Monitor comes up, but it doesn't show any
devices at all.

I'm on Windows XP 32 bit.  What could I be doing wrong?

   Did you install the G1 driver?

   --
   Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy

   Warescription: Three Android Books, Plus Updates, $35/Year

 --
 Writing code is one of few things
 that teaches me I don't know everything.

 http://www.fuligin.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: I Need Help Setting Up My ADB On MY Mac

2009-10-20 Thread kevin.hooke

This might be a stupid question, but did you replace sdkfolder with
the full path to where you installed the SDK?

On Oct 20, 12:23 am, AlbertDroid albertle...@gmail.com wrote:
 These are the instructions I followed:

 - Download the Android SDK for Macintosh at:http://developer.android.com/sdk/
 - Extract it
 - Download Fastboot for OSX (If not included with SDK)
 - Extract fastboot and place it in your /tools folder.
 - Open up a terminal window
 - type: pico .bash_profile (this will create a .bash_profile)
 - type the following in the new screen: export PATH=$
 {PATH}:sdkfolder/tools
 - Hit CNTRL + X
 - Hit Y (for yes to save)
 - It will return you to the terminal screen… type: exit
 - Restart terminal.

 Now when i go into terminal i type adb and it says

 -bash: adb: command not found

 what did i do wrong
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] how to set a shortcut key to launch an activity ?

2009-10-20 Thread swapnil kamble
Hello,
  how to set a shortcut key to launch an activity ?  Lets say I have an app
TestApp. I want to set a shortcut key (e.g alt + T ) to launch activity of
TestApp. Is there any way to set such shortcuts to android apps ?

Thanks in advance.

-- 
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare RamaHare Rama   Rama   RamaHare Hare ||

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Can a application developed using Android used on any mobile phone type?

2009-10-20 Thread Roman ( T-Mobile USA)

In general yes  BUT and the BUT is very very big .

Android is an OS which consists of different parts. Android is based
on Linux which can in general run on whatever platform you could think
of (with some more or less efforts). To be able to communicate with
the HW the Linux kernel uses drivers which are normally developed by
the HW vendor. On top of the Linux kernel you have the Android
framework which uses libraries. Libraries are a set of functionalities
bundled together.
Last but not least Android consists of an application layer. On this
layer you find applications written in Java ( there is something
called NDK, but this might be too confusing).

As you can see, the Android platform consists of different layers. To
be able to run an Android application on devices like iPhone,
Blackberry, ... you would have to port these Android layers or parts
of Android to another platform (which is not trivial).

If you want to do Android development on a mobile device try to get a
device which is Android compatible. If you don't want to spend money,
you can still use your PC and do testing using the emulator which
comes with the Android SDK. But the really first step is to get some
understanding in programming.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.





On Oct 19, 11:52 am, SamDP pija2...@gmail.com wrote:
 I have zero knowledge of software so pls bear with my questions b'se
 they might seem to be some stupid questions.

 I want to develop a application which can be used on different cell
 phones like iPhone, Blackberry, Palm. I am aware that it might need
 something different for each one. May be the programming language
 could be different or whatever. Again my software knowledge is zero so
 will appreciate inputs, advice.

 Can a application developed using Android used on any mobile phone
 type?

 Thanks
 Sam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---