Re: [android-beginners] Issue?

2010-06-17 Thread Pankaj Sharma
This mailbox is overquote its overquota by the way On Thu, Jun 17, 2010 at 10:04 AM, Chi Kit Leung michaelchi...@gmail.comwrote: This mailbox is overquote -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your

[android-beginners] Class Name

2010-06-17 Thread Aviral Shrivastava
We can get the name of the package of a class by using ApplicationInfo class... e.g. in my code I have used { ApplicationInfo abc; String xyz= abc.packageName; } I want to know the *name of the class* which implements the main Activity of the function.or rather the class having main activity

Re: [android-beginners] Issue?

2010-06-17 Thread Chi Kit Leung
Sorry, that is a typo On Thu, Jun 17, 2010 at 4:19 PM, Pankaj Sharma reliablepan...@gmail.comwrote: This mailbox is overquote its overquota by the way On Thu, Jun 17, 2010 at 10:04 AM, Chi Kit Leung michaelchi...@gmail.comwrote: This mailbox is overquote -- You received this

[android-beginners] Gesture Search in your own applications?

2010-06-17 Thread Victor Hooi
Hi, I'm looking at writing my first simple Android App (a book reader sort of application), and I was hoping to implement something similar to Google's Gesture Search (http://gesturesearch.googlelabs.com/), where you can draw letters on the screen, to jump to particular contacts. I'd still like

[android-beginners] Re: How to (properly) get device orientation data?

2010-06-17 Thread lawrizy
Hi, I wanna thank you very much for your explanation. The official documentation was very difficult to understand. And the example in the api sample (the compass) does use a depreciated methods (with sensorlistener). I don't understand what does remapCoordinateSystem and his parameters, could

Re: [android-beginners] Re: How to set onClickListener for elements in a Vector

2010-06-17 Thread Justin Anderson
I have never used FrameLayout... so I'm not sure what the correct way to do this would be. Hopefully someone else out there has some answers... -- There are only 10 types of people in the world... Those who know binary and those

Re: [android-beginners] Class Name

2010-06-17 Thread Justin Anderson
Take a look at the PackageManager class... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Thu, Jun 17,

Re: [android-beginners] Problem with cursors

2010-06-17 Thread Justin Anderson
Did this help? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Jun 16, 2010 at 2:38 PM, Justin

[android-beginners] Problem in stopping thread

2010-06-17 Thread brijesh masrani
Hello, I want to stop currently running thread but -Thread.stop() -Thread.destroy() are DEPRECATED so can any one tell me how to stop the Thread -- Regards, Brijesh Masrani -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

Re: [android-beginners] Problem in stopping thread

2010-06-17 Thread Mark Murphy
On Thu, Jun 17, 2010 at 6:37 AM, brijesh masrani masrani.brij...@gmail.com wrote: I want to stop currently running thread but -Thread.stop()  -Thread.destroy() are DEPRECATED so can any one tell me how to stop the Thread I heartily recommend _Java Concurrency in Practice_:

[android-beginners] Ad-Hoc Networking

2010-06-17 Thread BITS
In Android 2.2 they gave users the ability to tether their phones by turning their phone into a wireless hotspot. Did they not make this feature available for developers to do programmatically? I have searched through the API and have not found anyway to put the phone into ad-hoc mode or set the

[android-beginners] Editext shows Chinese

2010-06-17 Thread Traveler
I created a new activity and xml file for screen input. The edittext box shows what appears to be Chinese when I type. What should I do to default to English? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your

[android-beginners] Re: SOAP complex request

2010-06-17 Thread Milo
any ideas? On Jun 16, 9:44 pm, Milo milesh...@gmail.com wrote: I'm trying to consume the following service ?xml version=1.0 encoding=utf-8? soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://

[android-beginners] playing video from internal media

2010-06-17 Thread Sid
Does anyone have any example code for playing a video (in a videoview) that is stored on the internal media (imagine that my SD card has been removed and it is simply not available for any purpose). There must be some trick to doing this, but all my tests have failed. Has anyone been successful

Re: [android-beginners] Editext shows Chinese

2010-06-17 Thread Garima Srivastava
I also faced same problem. To get text in English go to settings and in that language, where you can disable the Chinese text option. On Jun 17, 2010 10:31 AM, Traveler jadkins...@gmail.com wrote: I created a new activity and xml file for screen input. The edittext box shows what appears to be

[android-beginners] Re: WQVGA not respecting android:layout_height=fill_parent for layout.

2010-06-17 Thread ckloch
Thanks for this inspiring contribtion. I have just ran in to the same problem with a HTC Hero Android 1.5 By using android:layout_width=fill_parent, the screen does only take approximately half of the width of the screen while the rest is black. So, does it mean that I have to dictate the width

[android-beginners] Re: How to set onClickListener for elements in a Vector

2010-06-17 Thread KC
Thanks, Justin. I hope someone can help, because I've spent hours trying things that clearly don't work :( Nothing I try is successfully attaching a click or touch listener to the View I created and added. Thanks for trying to help though. On Jun 17, 5:23 am, Justin Anderson

[android-beginners] Re: Editext shows Chinese

2010-06-17 Thread Traveler
I'm using Eclipse. What settings do you mean? On Jun 17, 2:32 pm, Garima Srivastava garimasrivastava.gar...@gmail.com wrote: I also faced same problem. To get text in English go to settings and in that language, where you can disable the Chinese text option. On Jun 17, 2010 10:31 AM,

Re: [android-beginners] Re: Editext shows Chinese

2010-06-17 Thread Garima Srivastava
Aren't u running it on an emulator? On Jun 17, 2010 5:26 PM, Traveler jadkins...@gmail.com wrote: I'm using Eclipse. What settings do you mean? On Jun 17, 2:32 pm, Garima Srivastava garimasrivastava.gar...@gmail.com wrote: I also faced same problem. To get text in English go to... On Jun

[android-beginners] Re: Problem with cursors

2010-06-17 Thread beka
I always use this method, so far it never crash yet Cursor c; ... //check if there is any cursor if (c.getCount() 0) { //move to the first cursor c.moveToFirst(); do { //retrieve the cursor data here . } while (cur.moveToNext()); //check if next cursor is still valid

[android-beginners] Re: Problem with cursors

2010-06-17 Thread beka
sorry, last line should be while (c.moveToNext()); //check if next cursor is still valid not cur.moveToNext() :p ... On Jun 18, 10:03 am, beka id.b...@gmail.com wrote: I always use this method, so far it never crash yet Cursor c; ... //check if there is any cursor if (c.getCount() 0) {  

[android-beginners] Smooth Image Rotation with Gesture Control, UI Setup, Help

2010-06-17 Thread ocdtrekkie
I'm trying to figure out the best way to make an image rotate along with a user's finger dragging it left or right. I want to try and match the rate a user's finger is moving with the rate the image is rotating. I've got the basic setup for my application going, with the menus and whatnot I want