[android-beginners] Re: Understanding onKeyDown

2009-04-22 Thread gganesh
hi Mark , Thanks for your reply , but still I'm not aware why, only when the "press()" is commented out from "onKeyDown()" method (i can say from logcat) ,the onKeyDown is invoked for every hit of the appropriate key .When I run the program without commenting press() from onKeyDown ,the call back

[android-beginners] Re: get speed

2009-04-22 Thread Raphael
On Wed, Apr 22, 2009 at 11:24 PM, Raphael wrote: > On Wed, Apr 22, 2009 at 10:56 PM, gandor wrote: >> >> If I want to simulate getspeed using emulator how do I do it. >> >> I used the  following code >> and it gives me >> 04-23 05:39:18.485: ERROR/AndroidRuntime(292): Caused by: >> java.lang.Sec

[android-beginners] Re: get speed

2009-04-22 Thread Raphael
Actually I think the GPS uses the net to initialize data to find satellites, to provide faster start times. R/ On Wed, Apr 22, 2009 at 6:22 PM, Mark Murphy wrote: > > gandor wrote: >> Hi, >> >> I want to getspeed of android device through Gps receiver. Not rely on >> triangulation. >> Does tmob

[android-beginners] Re: get speed

2009-04-22 Thread Raphael
On Wed, Apr 22, 2009 at 10:56 PM, gandor wrote: > > If I want to simulate getspeed using emulator how do I do it. > > I used the  following code > and it gives me > 04-23 05:39:18.485: ERROR/AndroidRuntime(292): Caused by: > java.lang.SecurityException: Requires ACCESS_FINE_LOCATION permission Y

[android-beginners] Re: get speed

2009-04-22 Thread gandor
If I want to simulate getspeed using emulator how do I do it. I used the following code and it gives me 04-23 05:39:18.485: ERROR/AndroidRuntime(292): Caused by: java.lang.SecurityException: Requires ACCESS_FINE_LOCATION permission --- package gd.Speedometer; import android.a

[android-beginners] Re: error inflating xml layout file

2009-04-22 Thread IronLion
I think you have to have provide the following constructor public TracciaView(Context context, AttributeSet attrs) { super(context, attrs); ... } good luck. On Apr 22, 3:35 am, Pierpa wrote: > Hello, I am new to android programming...so please be patient.. > > I am t

[android-beginners] Re: get speed

2009-04-22 Thread Mark Murphy
gandor wrote: > Hi, > > I want to getspeed of android device through Gps receiver. Not rely on > triangulation. > Does tmobile G1 provide this functionality if somebody dosent have the > 3G plan. Neither the carrier nor 3G has anything to do with GPS, AFAIK. -- Mark Murphy (a Commons Guy) http

[android-beginners] get speed

2009-04-22 Thread gandor
Hi, I want to getspeed of android device through Gps receiver. Not rely on triangulation. Does tmobile G1 provide this functionality if somebody dosent have the 3G plan. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[android-beginners] Re: [android-beginners]Logs in a File

2009-04-22 Thread Mark Murphy
Ashish Dhiman wrote: > Hi All, > > Iam Writing an Application in which i need to put all the system.out or > log.e logs into a file which will be generated in the phone system. > > Please let me know how to do that ? > I would really appreciate that? The following snippet was recently added to

[android-beginners] [android-beginners]Logs in a File

2009-04-22 Thread Ashish Dhiman
Hi All, Iam Writing an Application in which i need to put all the system.out or log.e logs into a file which will be generated in the phone system. Please let me know how to do that ? I would really appreciate that? thanks and regards #Ashish Dhiman# --~--~-~--~~~---

[android-beginners] Re: Threading memory leak

2009-04-22 Thread fadden
On Apr 20, 11:23 am, Terry Heatlie wrote: > Yes.  I don't think I have any static references to drawables... unless I'm > missing something? Next step is to get an hprof dump and dig through it. Some instructions here (and elsewhere in the threads): http://groups.google.com/group/android-de

[android-beginners] Re: error while running simple SOAP application

2009-04-22 Thread Mark Murphy
aditya kulkarni wrote: > please somebody reply... Did you look at your error log? What did it tell you? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~---

[android-beginners] Re: error while running simple SOAP application

2009-04-22 Thread aditya kulkarni
please somebody reply... On Sat, Apr 18, 2009 at 11:41 PM, aditya.kulkarni wrote: > > hi, > i want to develop an application which access web services using > ksoap2. i have simple .net web services running with single method > Add the following is code.. > package com.Test; > > impo

[android-beginners] HelloGallery Example!!

2009-04-22 Thread weird0
I am implementing some of the examples given in the Dev Guide. I have some generic issues in getting started and getting the code to work. In the code given, Eclipse does not recognize **R.id.gallery*** Upon clicking the bulb on the left side for resolution, i get two options

[android-beginners] Android Kill switch

2009-04-22 Thread auj012
I am looking for any information on the Android Kill switch ? Is this a application ? is it a service ? is it part of Cupcake ? What is the path in the source code for kill switch ? Please help --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-beginners] Re: error inflating xml layout file

2009-04-22 Thread Mark Murphy
Pierpa wrote: > Hello, I am new to android programming...so please be patient.. > > I am trying to load a custom view (TracciaView) into an activity > (Activitygps), where my custom view in defined as a subclass of an > activty class. I created the following xml layout file for the > activity co

[android-beginners] Drawing problem with custom view

2009-04-22 Thread Ah-Hsin
Hi, I have a LinearLayout with two views inside, the inside view is a custom view. Drawing problem I am facing, my custom view just draws six rects on itself, please see RecView.java (shown as bellow). It is only one view can be drawn on screen, why? I aslo used hierarchy viewer to check layout c

[android-beginners] eclipse plugin repository not available

2009-04-22 Thread Sonny
following directions at http://developer.android.com/sdk/1.1_r1/installing.html I cannot install the eclipse plugin at http://dl-ssl.google.com/android/eclipse/ https doesn't work either eclipse gives the following error: No repository found at https://dl-ssl.google.com/android/eclipse/ Error

[android-beginners] How could I run my program by Dalvik vm?

2009-04-22 Thread Mod
Hi, As the title, I want to run my program("file.dex" is already added into "file.jar"). My emulator works, too. Also, "file.jar" is pushed into the emulator. I know what step I should take next is using adb shell command,but that's all I know. So, is there anyone could give my some direction

[android-beginners] Re: ADT download links all dead

2009-04-22 Thread Rakesh Sharma
I also faced the same problem ,than i used older one(1_0-r1) like. and i installed successfully.ADT facility shows some problem in newer SDKs. On 4/19/09, jason wrote: > > > I have been using eclipse for years. The update sites fail for me > (getting the ADT plugin, even with fresh eclipse) and t

[android-beginners] Re: Failed to prepare partial IU? Can't install Eclipse plugin.

2009-04-22 Thread Rafael Fernandes
I`m also having this problem... Last week I've installed using the same versions and files (everything worked out great)... now I'm using a Vista-64... at first i though that this was the problem... but i don't know... everything is too weird... I've also tried to download the ADT 0.8 directly (

[android-beginners] error inflating xml layout file

2009-04-22 Thread Pierpa
Hello, I am new to android programming...so please be patient.. I am trying to load a custom view (TracciaView) into an activity (Activitygps), where my custom view in defined as a subclass of an activty class. I created the following xml layout file for the activity containing the custom view:

[android-beginners] Android running on Classmate PC

2009-04-22 Thread kronoxmai...@gmail.com
Android running on Classmate PC http://kronox.org/?p=31 --~--~-~--~~~---~--~~ 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 unsubscrib

[android-beginners] Re: "Android Developers Group for Singapore and South East Asia" IRC channel is up

2009-04-22 Thread Nishantha Pradeep
That is great and I think we will have some good conversations. Is there any other developers from Sri Lanka ? cheers Nishantha On Wed, Apr 22, 2009 at 11:05 AM, Zi Yong Chua wrote: > > Dear developers from Singapore and from our neighboring countries, > > We have set up our IRC channel at #Co

[android-beginners] manipulating parts of an image selectively

2009-04-22 Thread Gaurav
How can we manipulate parts of an image selectively. For example, I have a canvas based on bitmap of image I am working on. I would like to change a circular region on this image to black & white while the rest of the image remains the same. I am able to get the complete image in black & white by

[android-beginners] Re: Proximity alerts and pending intents

2009-04-22 Thread Fuzzmonkey
I've fixed the original problem, but it seems my intents aren't unique and flag_cancel_current is canceling the proximity alert intents leaving only the last intent saved. This means when a proximity alert is firing, it triggers the intent for the last proximity alert entered into the location man

[android-beginners] How can I use mp3 file's cover image?

2009-04-22 Thread Kunny
hello, I' making kinda music player. and i'm going to show music file's own cover image. how can i get file's cover image and show that image to screen? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginn

[android-beginners] Re: Bad doc links in 1.5_pre documentation?

2009-04-22 Thread Mark Bl
C'mon guys, these link errors in the 1.5 preview release documentation are simply blatant. Surely I can't be the only one who has experienced this? Or don't people RTFM anymore? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-beginners] Re: Understanding onKeyDown

2009-04-22 Thread Mark Murphy
gganesh wrote: > I wrote a simple program using SimpleAdapter to populate list view .To > do this i modified the existing notepad example and try using > onKeyDown instead of onCreateOptionMenu .Here i can activate the > onKeyDown method for first time only,for the second press, on the > appropria

[android-beginners] Understanding onKeyDown

2009-04-22 Thread gganesh
hi, I wrote a simple program using SimpleAdapter to populate list view .To do this i modified the existing notepad example and try using onKeyDown instead of onCreateOptionMenu .Here i can activate the onKeyDown method for first time only,for the second press, on the appropriate key, the onKeyDown

[android-beginners] Re: Having a lot of problems finding the documentation (e.g. about sendevent)

2009-04-22 Thread a druid
Just a tiny comment. getevent outputs the event values in hexadecimal. sendevent on the other hand seems to expect decimal values. In my first tests this was, where I stumbled. On Apr 21, 10:02 pm, Kent Yip wrote: > thank swarup for the insight > > i was able to look at the events from emulat