[android-beginners] Re: Emulator Unable to Access Location

2010-06-18 Thread davemac
So your app is getting the lat/long from DDMS, but you're not seeing any maps displayed? Maps come from the Google API over the Internet. Is there a chance that you don't have networking available to your emulator? Other than location, does the browser function correctly? I'm also at a loss as to

[android-beginners] Re: building the entirety of android 2.2 on ubuntu 10.04

2010-05-26 Thread davemac
I don't want to rain on your parade, but the output header says 2.1- update1 and ECLAIR. There's no mention of Froyo or 2.2 anywhere in your output. You sure you're working with Froyo? - dave On May 26, 3:10 pm, Robert P. J. Day rpj...@crashcourse.ca wrote: On Wed, 26 May 2010, Indicator

[android-beginners] Re: changing the icon for an app?

2010-05-23 Thread davemac
Yup. That's what it takes. PNG is the icon format. Here's a web page: http://developer.android.com/guide/practices/ui_guidelines/icon_design_1.html - dave http://www.androidbook.com On May 23, 12:26 pm, Robert P. J. Day rpj...@crashcourse.ca wrote:   could someone verify that this is the

[android-beginners] Re: why can't i build an AVD with a 2G SD card?

2010-05-23 Thread davemac
Is there any chance that you don't have enough space on the filesystem for a 2G image file? - dave http://www.androidbook.com On May 23, 5:39 am, Robert P. J. Day rpj...@crashcourse.ca wrote: On Sun, 23 May 2010, Xavier Ducrohet wrote: Are you using SDK tools revision 6? There was a bug in

[android-beginners] Re: Problems with Google Map View tutorial

2010-05-20 Thread davemac
An installed app won't show up on the Home screen, but it should show up in the sliding drawer of applications. Did you look there? As to why it doesn't seem to launch in the emulator when you started it, it's hard to tell. I recommend looking in the LogCat window to see what's reported there.

[android-beginners] Re: eclipse problem

2010-04-07 Thread davemac
Did you install the JDK? Did you modify your PATH to include not only the JDK bin directory but also the Android SDK tools directory? I'm assuming you've installed the Android ADT into Eclipse. Our new book Pro Android 2 covers setup of Eclipse for Android development in chapter 2 and goes over

[android-beginners] Re: How can I find out if I read the GPS signal

2010-04-07 Thread davemac
The call to requestLocationUpdates is where you've got trouble. The first argument should be the name of the provider sending you updates (GPS or cell network). To get regular updates from GPS, you want something like the following: LocationManager locMgr = (LocationManager)

[android-beginners] Re: Can't arrange radio-buttons in a Radio group.

2010-04-07 Thread davemac
When you say customized what are you trying to do? Are you looking for a custom design with scrollbars? Or would a listview meet your needs? - dave www.androidbook.com On Apr 6, 8:33 pm, Aadi addy@gmail.com wrote: Hi,     I'm unable to find any sound solution to the problem of arranging

[android-beginners] Re: About Android and Java?

2010-04-07 Thread davemac
You are free to use anything in the Android SDK without having to pay license fees to anyone. Between the Android SDK, the JDK and Dalvik you've got a lot of features at your disposal. This makes Android a very attractive platform to develop for. There are commercial Java packages out there that

[android-beginners] Re: Slowing down gesture builder?

2010-03-20 Thread davemac
didn't do that earlier) just to make sure that it is actually running my new config but that's the behavior that I was seeing. On Sat, Mar 13, 2010 at 9:22 PM, davemac davemac...@gmail.com wrote: I can't tell from your description exactly how you're trying to set the option, but here's what

[android-beginners] Re: Having trouble with the first hurdle: new AVDs

2010-03-17 Thread davemac
Are you sure that the Java JDK is installed? Go here to get it if you need to: http://developer.apple.com/java/download/ It's a good idea to set JAVA_HOME in your .profile (or .bashrc) as well as add $JAVA_HOME/bin and the Android SDK tools folder to your PATH. Something like this: export

[android-beginners] Re: Android SDK Setup.exe error - GetTempFileName failed. The directory name is invalid

2010-03-17 Thread davemac
Just a guess here, but did you unzip your files into the top-level directory of your C: drive? Try creating a C:\android_install folder, or something like that to hold your files. Then try it again. - dave On Mar 10, 2:51 pm, dmagnum dsnyde...@yahoo.com wrote: I downloaded

[android-beginners] Re: What phone to buy for development?

2010-03-16 Thread davemac
But keep in mind that Android comes in different versions, and some phones are only on version 1.5 (like the HTC Eris) while other phones are using a much newer version (like the Motorola Droid which is on 2.0.1). The Android Virtual Device (AVD) emulator that comes with the development

[android-beginners] Re: Do I have to mount the SD card?

2010-03-16 Thread davemac
What you propose is fine. - dave www.androidbook.com On Mar 11, 3:48 pm, Stormtap Studios r...@stormtapstudios.com wrote: Hey folks, I plan on using the following code to write to the SD card: try {     File root = Environment.getExternalStorageDirectory();     File outFile = new

[android-beginners] Re: Slowing down gesture builder?

2010-03-16 Thread davemac
You want to increase the value of fadeOffset. The default is 420 which represents milliseconds. - dave On Mar 9, 1:45 am, Tim che...@gmail.com wrote: Is there a way to slow down gesture builder? I tried overriding the fadeXXX options of GestureOverlayView but no luck. My problem right now is

[android-beginners] Re: Slowing down gesture builder?

2010-03-16 Thread davemac
I can't tell from your description exactly how you're trying to set the option, but here's what worked for me: If you’re having trouble getting Gestures Builder in the emulator to accept a multi-stroke gesture, you can create your own version of Gestures Builder and modify the default value of

[android-beginners] Re: What phone to buy for development?

2010-03-16 Thread davemac
Note however that the Eris is running Android 1.5, so anything written for a newer version of Android can't be tested on the Eris. The emulators do a decent job of testing apps, although anything that uses the sensors, camera or multitouch usually require a real device. - dave www.androidbook.com

[android-beginners] Re: Accessing Market through ACTION_VIEW Intent

2009-11-02 Thread davemac
The problem is the emulator. It doesn't come with Market. And you can't access Market over the Internet either. Not like you want for testing purposes. Some time ago there were some versions of Market floating around that could be installed onto the emulator. I tried one this morning on the Eclair