[android-beginners] paused activities' state

2009-05-05 Thread asymmetric
hi! i have a question: when an activity is paused (because of its window being partially covered by another activitiy's), does it still get scheduled? i.e. is there multitasking between activities? thanks a lot! asy --~--~-~--~~~---~--~~ You received this message

[android-beginners] How to get last added TextView of a ListView after ArrayAdapter.add()

2009-05-05 Thread JackMaster
Hi all! I'm doing the following inside a handleMessage() method of an Handler object: arrayAdapter.add(myMessage); System.out.println(listView.getChildCount()); I always get the expected numer (i.e. 1 after the first add() call) minus 1. I supposed it happens because the UI is not yet refreshed.

[android-beginners] Re: What is causing this error?

2009-05-05 Thread Mark Murphy
Kevin J. Brooks wrote: > When I try to bring this one screen up I get the Application has stopped > unexpectedly. > 05-04 20:53:27.324: ERROR/AndroidRuntime(237): > java.lang.RuntimeException: Unable to start activity > ComponentInfo{com.parisj13.trackmydrinks/com.parisj13.trackmydrinks.BeerScr

[android-beginners] WebView Issue

2009-05-05 Thread glory
Hi , Does loadDataWithBaseURL is depricated in version 1.5 ? This method was working well in Android version 1.1 Does there is any other method available Thanks in advace Glory --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] code for sending email using a android application

2009-05-05 Thread Salman Wahid
Can anyone provide me code for sending email using a android application --~--~-~--~~~---~--~~ 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.c

[android-beginners] Cube Runner for Android

2009-05-05 Thread g1port.com
Hi Guys, Here is a iPhone classic Cube Runner game for Android! http://www.youtube.com/watch?v=GHzZOcEZOWY Some screen shots: http://www.g1port.com Enjoy! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android B

[android-beginners] Re: How to start the code? what should I do?

2009-05-05 Thread ja...@work
Hi. Actually I don't want to develop an application. I would like to work on the source code... that's the reason i didn't use eclipse. But i'm a beginner so maybe I did something wrong :( On Apr 28, 4:04 pm, Arnaud Weber wrote: > Why did you modified buildspec.mk??? > If you have ADT plug-in an

[android-beginners] Re: problem installing ADT 0.9.0

2009-05-05 Thread Ragavendra
Hi Raphael, Thanks for your reply. I am using the / Fedora Eclipse Platform Version: 3.4.1 Based on build id: 20080911-1700 (c) Copyright Eclipse contributors and others 2000, 2008. All rights reserved. Visit http://sources.redhat.com/eclipse // This came with Fedora10 and ca

[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk

2009-05-05 Thread David Turner
thanks for posting the details, they are helpful. Which exact version of Windows are you running ? XP or Vista, 32 or 64 bit ? thanks in advance On Mon, May 4, 2009 at 12:05 PM, stevensli wrote: > > The -http-proxy works fine for emulator with 1.1r1 sdk, but not work > for emulator with 1.5r1 s

[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk

2009-05-05 Thread stevensli
The version of Windows I am running is XP SP3, 32bit. Can this problem be solved by adjusting the configuation of the emulator? Thanks! On May 5, 11:50 pm, David Turner wrote: > thanks for posting the details, they are helpful. Which exact version of > Windows are you running ? XP or Vista, 32

[android-beginners] Ports used by android emulator

2009-05-05 Thread Meryl Silverburgh
Can you please tell me what are the ports opened by android emulator? And how can I configure those ports to use different numbers? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group

[android-beginners] Re: -http-proxy can't work in emulator with 1.5 sdk

2009-05-05 Thread David Turner
2009/5/5 stevensli > > The version of Windows I am running is XP SP3, 32bit. Can this > problem be solved by adjusting the configuation of the emulator? > Thanks! > I'm just speculating at the moment, but I doubt it's related to the emulator's configuration. Essentially, the emulator doesn't d

[android-beginners] Re: Ports used by android emulator

2009-05-05 Thread David Turner
"emulator -help-port" will answer the question :-) On Tue, May 5, 2009 at 6:03 PM, Meryl Silverburgh < silverburgh.me...@gmail.com> wrote: > > Can you please tell me what are the ports opened by android emulator? > And how can I configure those ports to use different numbers? > > Thank you. > > >

[android-beginners] Re: Ports used by android emulator

2009-05-05 Thread Meryl Silverburgh
Thank you. But how can I run 'adb logcat' to that emulator running on that port? I would like to run 2 emulators on my machine and have 2 terminals hook up to each 'adb logcat'. Is that possible? I have looked at 'adb -help' , I cant' find anything. On Tue, May 5, 2009 at 9:54 AM, David Turner

[android-beginners] Imageview / Event problem

2009-05-05 Thread Oliver M. Batista
Hi guys, i have a class that dinamically create one imageview and a event listener to make a change on the imageview. When I create 2 instances of this class using the same drawable (from R) and click on one of the imageviews both imageviews are been changed AND when I use different drawables the e

[android-beginners] Re: How to get last added TextView of a ListView after ArrayAdapter.add()

2009-05-05 Thread Romain Guy
What you want to do is usually done in the adapter. It's especially important to do it in the adapter's getView() method because there's no guarantee in the order in which the views are created. On Tue, May 5, 2009 at 1:27 AM, JackMaster wrote: > > Hi all! > I'm doing the following inside a hand

[android-beginners] Re: Ports used by android emulator

2009-05-05 Thread swarup
you will have 2 different serial numbers for 2 different emulators, check it by 'adb devices' $ adb devices List of devices attached emulator-5554 device emulator-5556 device use the serial number to get separate logs by 'adb -s logcat $ adb -s emulator-5554 logcat # at terminal 1 $ adb -

[android-beginners] Re: Hello World Tutorial Error Message

2009-05-05 Thread dragli
Do you have further more information with this error? Just some guesses: 1. what version of SDK do you use? 1.5? or still 1.1? did you set the right path in the eclipse setting? 2. did you create the virtual device for the simulation? (command like this: tools\android.bat create avd --name your_a

[android-beginners] Basic Gps application

2009-05-05 Thread Flow
Hello world. I'm looking for a basic Gps code (initialize, get Gps location, ...). I'm not very very good at Java and Android so i'd like some examples to understand the concepts. Thank you. Florent --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners]

2009-05-05 Thread Steph
--~--~-~--~~~---~--~~ 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-unsubs

[android-beginners] Re: New Android SDK

2009-05-05 Thread dragli
Try to create an AVD. Please follow the page below: http://developer.android.com/guide/tutorials/hello-world.html On 5月1日, 上午3時07分, "sbaye...@gmail.com" wrote: > Im just now switching to the new SDK and trying to run my project and > this is the error I get > > [2009-04-30 15:03:07 - Surface] An

[android-beginners] Eclipse Error: SWT on ubuntu (amd turion )64 bit

2009-05-05 Thread Lorenz
Hi i've just tried to install SDK 1.5 and I have a big problem, when I try to point the sdk directory(in Eclipse 3.3.2) from "Windows- >Preferences->Android" two windows appear: in the first is written "...pingUsageServerfailed" in the second "An SWT erro has occured.We are reccomended to exit the

[android-beginners] f/w 1.5 Input Method

2009-05-05 Thread Menny
Hi, I want to create a new on-screen-keyboard, and I thought that a good start point will be to see how the SoftKeyboard sample in the SDK (under the SDK folder: android-sdk-windows-1.5_r1\platforms \android-1.5\samples\SoftKeyboard) works. But it doesn't! I run it in Eclipse. So, it compile, then

[android-beginners] How to make a Button repeat

2009-05-05 Thread Colin
Hi, Pretty new to Android, I am just wondering how to make a button 'repeat'. For example, if I touch and hold the button down, I would like an event to fire for the initial 'down' then, preferably after a little delay, I would like to get further 'down' or 'still down' events. The behavior I a

[android-beginners] Re: Installing the android SDK on my new PC

2009-05-05 Thread TheSamurai
Where do we choose the SDK target? I'm new to Eclipse... IDE's are a PITA 'til you get used to them. Thanks in advance. On May 4, 1:29 am, swarup wrote: > SDK 1.5 supports 3 different targets: 1.1, 1.5, Google APIs. you need > to choose one for creating a project, based on the target selected,

[android-beginners] Use external component of the phone list.

2009-05-05 Thread rinia
I am using android first time.I have done some initial learning.So,I like to prepare one component.I like to fetch the same the contact detail of the phone using external provider like contact Provider.How can I do that?Please help me. --~--~-~--~~~---~--~~ You rec

[android-beginners] Hide address bar in Webview

2009-05-05 Thread Josiah
I am creating an app that loads a URL in Webview at launch. No address bar is present on the first screen. After I follow a link on the page to a second screen, a new window launches and an address bar appears on the screen. I would like to know how to disable that address bar in the Webview. An

[android-beginners] Re: Snake on Image

2009-05-05 Thread Wujo
On May 4, 9:45 am, vineeth Desai wrote: > Raphael, >  This already I tried. It didnt work for me. I am trying this for smaple > game snake in Android SDK. Please let us know the solution. I am blocked > with other developments. > > Warm Regards, > Sunil > There is no way it doesn't work. Just si

[android-beginners] Andriod Development

2009-05-05 Thread RS.Giridaran
Hi All, i am very new to android development. i have one question in my mind 1. Which is better approach programming android. i mean using main.xml or coding? Please help me on this Thanks, Giridaran --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: Android 1.5 SDK now available

2009-05-05 Thread gritty
I am also having this problem and I don't have a clue what to do about it. On May 2, 4:27 pm, "david.lygagnon" wrote: > Hi, > > I am having the same problem as Javier with ubuntu 9.04 Jaunty, x64 > and eclipse version: 3.4.2. > > On launching eclipse after installing the Android plugin, I get t

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Mark Murphy
> I am creating an app that loads a URL in Webview at launch. No address > bar is present on the first screen. After I follow a link on the page > to a second screen, a new window launches and an address bar appears > on the screen. That is because clicking on the link in your WebView is launchi

[android-beginners] Re: Andriod Development

2009-05-05 Thread Mark Murphy
> i am very new to android development. i have one question in my mind > > 1. Which is better approach programming android. i mean using main.xml > or coding? > > Please help me on this XML is typically easier, unless you don't like XML. But, that's just me. -- Mark Murphy (a Commons Guy) http:

[android-beginners] How to create and open an SQLite database? (Based on NotePad tutorial)

2009-05-05 Thread AJ
Hello - our dev team is looking into utilizing an SQLite DB as a means to store data within our application. We've been following the official dev guide's NotePad tutorial (http://d.android.com/guide/ tutorials/notepad/notepad-ex1.html) to accomplish this, but we're stuck on Step 2: the prelimina

[android-beginners] Re: Hello World Tutorial Error Message

2009-05-05 Thread Dennis Christy
The example in the documentation for setting the path apparently refers to Windows XP, I am using Windows Vista, so I had to do it differently. I did: ControlPanel\System\AdvancedSystemSettings\EnvironmentVariable\Path in the dialog box for Path I entered: c:\android-sdk-windows-1.1_r1\tool

[android-beginners] HTC Magic

2009-05-05 Thread moa
Anyone got an HTC Magic? http://groups.google.co.uk/group/htc-magic --~--~-~--~~~---~--~~ 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

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Josiah
Thanks for reply. I admit I'm pretty new to Java. You wouldn't be itchin' to show some code, would you? I figure since this seems to influence everyone who uses PhoneGap Android this way, it may be of benefit to more than just me. Where Android gives away the URL of the webapp, it seems to und

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Josiah
Uh, never mind the PhoneGap part. I have too many Google Groups open right now... Sorry. On May 5, 4:01 pm, Josiah wrote: > Thanks for reply. > > I admit I'm pretty new to Java.  You wouldn't be itchin' to show some > code, would you? > > I figure since this seems to influence everyone who uses

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Mark Murphy
Josiah wrote: > I admit I'm pretty new to Java. You wouldn't be itchin' to show some > code, would you? Well, you can grab the source code to my introductory book: http://commonsware.com/Android/ The WebKit/Browser3 application should have a WebViewClient in it. The Hello, WebView tutorial on

[android-beginners] Re: Hide address bar in Webview

2009-05-05 Thread Josiah
Thanks, I appreciate it! On May 5, 4:15 pm, Mark Murphy wrote: > Josiah wrote: > > I admit I'm pretty new to Java.  You wouldn't be itchin' to show some > > code, would you? > > Well, you can grab the source code to my introductory book: > > http://commonsware.com/Android/ > > The WebKit/Browser

[android-beginners] Re: WebView Issue

2009-05-05 Thread Mark Murphy
glory wrote: > Does loadDataWithBaseURL is depricated in version 1.5 ? Where do you see this? Looking at the 1.5 API differences report, I do not see anything mentioning loadDataWithBaseURL(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Dev

[android-beginners] Contradiction in Dev Guide

2009-05-05 Thread jtaylor
This is just a little confusing. "Similarly, the Maps external library is not included in the standard Android library provided in the SDK...the Maps external library is made available to you as part of the Google APIs add-on" Then it says: "For your convenience, the Google APIs add-on is also i

[android-beginners] Re: Contradiction in Dev Guide

2009-05-05 Thread jtaylor
On May 5, 7:46 pm, jtaylor wrote: > This is just a little confusing. > > "Similarly, the Maps external library is not included in the standard > Android library provided in the SDK...the Maps external library is > made available to you as part of the Google APIs add-on" > > Then it says: > "For

[android-beginners] Re: What is causing this error?

2009-05-05 Thread Kevin J. Brooks
That is solved, but when I use the emulator and click on an item in the list, I the item does not stay clicked. What do I need to do? On Tue, 2009-05-05 at 06:10 -0400, Mark Murphy wrote: > Kevin J. Brooks wrote: > > When I try to bring this one screen up I get the Application has stopped > > une

[android-beginners] Re: What is causing this error?

2009-05-05 Thread Mark Murphy
Kevin J. Brooks wrote: > That is solved, but when I use the emulator and click on an item in the > list, I the item does not stay clicked. What do I need to do? Rethink your perceptions of UIs. Android operates in two modes: touch mode and...ummm...non-touch mode. Non-touch mode is when you us

[android-beginners] Re: Hello World Tutorial Error Message

2009-05-05 Thread dragli
seems you are using the Android SDK version1.1...What version of ADT do you use? It should be 0.8 (eclipse-->help-->SW update-->installed SW list) If you are using the ADT ver.0.9, you need to upgrade to the Android SDK 1.5 for compatibility. I am not a Vista user, but the android.bat exist in the

[android-beginners] Re: distributing an app packaged with just emulator

2009-05-05 Thread tansaku
Hi Raphael, Thanks - yes, actually I just upgraded to the latest SDK and was able to do the install over the browser. That also allowed me to create the bundle I needed. Many thanks CHEERS> SAM On May 2, 8:41 am, Raphael wrote: > Are you using the final 1.5 SDK or the 1.5 preview one? > I jus

[android-beginners] Re: Basic Gps application

2009-05-05 Thread amit saini
Hello Florent, For starting GPS related application, you can refer following useful link - - http://www.devx.com/wireless/Article/39239/0/page/1 Regards, Amit Saini On Tue, May 5, 2009 at 1:02 AM, Flow wrote: > > Hello world. > > I'm looking for a basic Gps code (initialize, get Gps loca

[android-beginners] Re: Use external component of the phone list.

2009-05-05 Thread swarup
look at API demos example @ http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/AutoComplete4.html http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/AutoComplete5.html On May 5, 6:31 pm, rinia wrote: > I am using android firs

[android-beginners] Re: WebView Issue

2009-05-05 Thread glory
hi, loadDataWithBaseURL() method was woking well in the previous version i.e 1.1 but when I migrated to 1.5, in webview it showed only blank screen. Also in the API doc it is mentioned that WebView is depricated. I am really confused over this. Please help me out Thanks, Glory On May 6, 3:23 am