[android-beginners] Thread Issues

2009-11-17 Thread Stephen Lebed
I'm having trouble figuring out how to resolve a problem I'm having. I'm writing a game that needs to process moves in another thread. I launch the thread from within the main game loop. I've copied snippets of my code below... Thread _gen = new Thread(new SearchThread()); //This is the same

[android-beginners] Why Android not supporting WAP pages?

2009-11-17 Thread pushkar bandi
Hi, Could some body explain me, why android is not supporting wap pages? Please i need a detailed explanation about this. Thanks. Regards Pushkar Setty -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to a

[android-beginners] Re: Droid doesn't show up as target

2009-11-17 Thread Lance Nanek
I connected a Droid to a Windows laptop yesterday. Development wasn't working until someone pointed out that I needed to update the USB driver that comes with the SDK if I hadn't already. That was an option in Eclipse under the window menu and then picking the Android SDK and AVD Manager option. I

Re: [android-beginners] Re: Regarding People/ContactsContract and compatibility issues

2009-11-17 Thread Ryan Rowland
Apparently People works on Android 2.0, but only searches the default group, meaning contacts inside groups will not be accessible via People. Also, the Android 2.0 emulator doesn't support groups at all, so there's no way to even program for 2.0 unless you have a 2.0 device, which is a huge expens

Re: [android-beginners] Desktop Widget Woes...

2009-11-17 Thread Justin Anderson
Aparently not... Oh well. My workaround will have to suffice. -- There are only 10 types of people in the world... Those who know binary and those who don't. --

Re: [android-beginners] how to start in SDK

2009-11-17 Thread Justin Anderson
http://developer.android.com/guide/topics/fundamentals.html http://developer.android.com/guide/tutorials/hello-world.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

Re: [android-beginners] AlertDialog from AppWidget

2009-11-17 Thread Justin Anderson
You could have the AppWidget start an activity that is styled to look like an AlertDialog I may be wrong, but I don't think it is possible to make it actually display an AlertDialog. Or, you could make the AppWidget start an Activity that does nothing except display a dialog... If you give t

Re: [android-beginners] layout for half screen

2009-11-17 Thread Justin Anderson
You can make it "look" like that is what is happening, but AFAIK you can't actually do that and make the other items clickable... -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Gallery View performance

2009-11-17 Thread Tikoze
Any update as to when this fix will get worked in? On Sep 24, 1:42 pm, Justin Anderson wrote: > Hmm well that's a bummer.  Is there anything that could possibly make it > run smoother?  Perhaps using a different type of adapter? > --

Re: [android-beginners] Re: binding to the search key

2009-11-17 Thread Justin Anderson
Actually, I would ideally like to replace the long-press of the home key but currently the SDK doesn't allow that. As far as I have been able to tell, it doesn't provide the option for capturing the long press of the menu button either... Thanks for supporting development of my app. I am constan

Re: [android-beginners] Show a image when program is loading

2009-11-17 Thread Justin Anderson
I'm sure it is possible, but it might be better to write it so that the download happens as a background service so the user can do other stuff while waiting. -- There are only 10 types of people in the world... Those who know bin

Re: [android-beginners] Re: appwidget query

2009-11-17 Thread Justin Anderson
*> I want to display the appwidget when a button is clicked on the > screen.* Where? In your app or on the "desktop?" If you want to display it in your app then you will need to do something with AppWidgetHost... I have never done anything with this class so I wouldn't be able to help you, but h

Re: [android-beginners] Asynchronous Tasks

2009-11-17 Thread Justin Anderson
Take a look at Android lifecycles... Unless you are using a service, your app stops running when it is no longer in the foreground. http://developer.android.com/guide/topics/fundamentals.html#lcycles Thanks, Justin -- There are

Re: [android-beginners]

2009-11-17 Thread Justin Anderson
Have you read the docs? http://developer.android.com/reference/android/app/PendingIntent.html The very first paragraph on the page explains what it is. It is an intent that doesn't get executed until another time. Typically it is another application that executes the intent, and the PendingInten

[android-beginners] Re: Regarding People/ContactsContract and compatibility issues

2009-11-17 Thread DonB
Did you find a solution? I have the same issue. On Nov 15, 9:29 pm, Ryan Rowland wrote: > Sorry, I didn't proof-read, correcting mistakes... > > I'm implementing a new "import" feature into an app I have that's already > been published, designed to show your current list of contacts with a > che

[android-beginners] Re: Emulator not working properly

2009-11-17 Thread niko20
Hi, It takes a while for the emulator to start up. Until it does, that is the screen you will see. Make sure you have a fast enough machine. You really need Core2Duo type speed to run the emulator (and enough RAM). Once open, you can leave the emulator open, and eclipse will always push the lates

[android-beginners] Re: Description for app update

2009-11-17 Thread niko20
The description replaces all of it. you should have the description of the app and a brief message about what changes were done, if you can fit it. -niko On Nov 13, 9:21 pm, Twin Primes wrote: > Hi, > > When I update an app on the Android Market, does the new description > replace the old or ad

[android-beginners] Re: Button on top of image

2009-11-17 Thread niko20
Hi, You can use the image as the background of a layout. For example, LinearLayout. ..most things have a background drawable as well as a "src" drawable. ImageViews, for example. -niko On Nov 13, 9:23 pm, hepmehepme wrote: > Hello, > > I'm new to Android so I apologize if this is obvious. > > I

[android-beginners] Re: Droid doesn't show up as target

2009-11-17 Thread niko20
Be sure to get the USB driver from motorola for working with the Droid, I don't think the one on the URL you mention works with the Droid. At least it didn't for me. Look for Motorola A855 driver or something to that effect. (Google it). Never mind, here you go http://www.motorola.com/consumers/v

[android-beginners] Re: How can I select or click on an item in a ListView?

2009-11-17 Thread Carmen Lau
Thank you so much. On Nov 16, 8:32 am, nikki wrote: > As far as I know ListView doesn't support setting selection by > clicking under touchmode, but I also remember you can get onItemClick > listener > invoked by turnning the focus of your list item and its children off > > > > lau ka man wrote:

[android-beginners] Re: No internet connection in emulator

2009-11-17 Thread Roman ( T-Mobile USA)
The output of the commands looks fine to me. Do you know whether you need to access the internet over a proxy? If yes, then use also the proxy settings for the emulator. + You could also try to connect to a server which is running locally in your LAN. For example install Tomcat and try to access t

[android-beginners] Re: When to split an application into serveral activities -- and when not to :D

2009-11-17 Thread Roman ( T-Mobile USA)
Dominik, Try to keep the number of views as low as possible especially the hierarchy level of views should be as short as possible. In case of your question I would create a new activity. Find some performance tips from Romain at http://code.google.com/events/io/2009/sessions/TurboChargeUiAndroi

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

2009-11-17 Thread pti4ik
Found a solution myself. You should create an URL with adress "http://ajax.googleapis.com/ajax/ services/search/images?v=1.0&q=" and add after "q=" your keywords for search. Then if you create a reader from this url, you'll get an xml as a responce. Here's an example: URL url = new URL("http://aj

Re: [android-beginners] Mounting sdcard in Emulator

2009-11-17 Thread sreedhar b
Hi Tom, I am also seeing similar issue as you have mentioned below on my hardware platform: Cannot start volume '/ sdcard' (volume is not bound) Please let me know if you were able to resolve this issue? Regards, Sreedhar On Thu, Oct 22, 2009 at 5:16 PM, Tom wrote: > > I cant seem to mount a

Re: [android-beginners] Will Android OS support East-Asian Languages?

2009-11-17 Thread Shawn Brown
> As stated in the title.. Not sure what you mean by support but ... Sure. No problem. My IO conference handset displays Japanese just fine. There are input methods such as simeji (which got good when the Japanese IME maker open sourced it) which run well. On the other hand, I have US numbers