[android-developers] Google Maps API in a Live Wallpaper

2010-07-10 Thread Hayden
Is there a way to use the Google Maps API in a live wallpaper? From looking at the API, it requires a MapActivity which I'm not sure how can work with a WallpaperService. It's obviously possible since there is the Google Maps live wallpaper included in Google Maps for Android, but wasn't sure if

[android-developers] Re: Google Maps API in a Live Wallpaper

2010-07-10 Thread Hayden
Thanks for the info! Hmmm, static might work, though the image sizes are limited to 640x640. From looking at some of the Google API terms, using static maps or javascript does not allow for commercial use, though the Google Maps API for Android does. So, it appears I need to figure out how to use

[android-developers] Setting the text in the dialog for an EditTextPreference

2010-04-17 Thread Hayden
I have a Preference Activity setup for my app, and am having a problem with the EditTextPreference type. Is there a way to set the text that is displayed within the text field in the popup dialog? I am able to set up to it's initial default value, but once a user changes it at least once, it

[android-developers] How to prevent virtual keyboard from moving and resizing views

2010-04-07 Thread Hayden
Is there a way to prevent the virtual keyboard from moving and resizing views? I have a table with a row of 4 buttons at the bottom of a relative layout that are centered and equally sized, very similar to the 3 buttons that appear at the bottom of the Gmail app when an email is checked. When the

[android-developers] Re: How to prevent virtual keyboard from moving and resizing views

2010-04-07 Thread Hayden
After playing around off and on with this issue for a few months, I finally found the answer if anyone else has this problem: I set android:layout_weight=1 for the table, table row, and all the buttons On Apr 7, 5:39 pm, Hayden hayden.stew...@gmail.com wrote: Is there a way to prevent

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-01-18 Thread Hayden
Eric, Thanks for the response! Sorry for my delay as well, it's been a busy holiday. I'm not exactly sure what I did, but I got it working on 1.5 devices. Thanks for writing your initial message and code, it's much appreciated! Hayden On Dec 30 2009, 8:54 am, Eric Carman ewcarma...@gmail.com

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2009-12-19 Thread Hayden
Thanks, glad you posted this! I used your WrapTTS class exactly as you have it, but nfortunately, running it on the 1.5 emulator still crashes (works great on 1.6 though). Just doing what you did above, declaring the 2 global variables and doing the checkAvailable() check, but the app force

[android-developers] How to access the rest of R.drawable (such as emoticons)?

2009-07-22 Thread Hayden
How can I access the rest of the stuff in the drawable folder, such as the Android emoticons? I can use many of what is in the drawable folder by doing drawable.XXX but not all of them are available when I do that. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Create horizontal progress bar at runtime

2009-07-22 Thread Hayden
OK I finally figured it out. For anyone else that wants to implement a horizontal progress bar with only code, create it like this: ProgressBar pb = new ProgressBar(context, null, android.R.attr.progressBarStyleHorizontal); On Jul 22, 12:23 am, Hayden hayden.stew...@gmail.com wrote: I have

[android-developers] Create horizontal progress bar at runtime

2009-07-21 Thread Hayden
I have been searching forever and have not found a way to create a horizontal progress bar at runtime (I don't want to use XML). How can I set this XML attribute, as seen in this post

[android-developers] Re: Sent email via intent removing newline characters

2009-07-21 Thread Hayden
. On Jul 7, 11:07 pm, Hayden hayden.stew...@gmail.com wrote: No ideas what may be causing this? On Jul 7, 12:36 pm, Hayden hayden.stew...@gmail.com wrote: The quick summary of my problem is after creating an email with an intent, when Gmail actually sends it all newline characters

[android-developers] Re: Sent email via intent removing newline characters

2009-07-09 Thread Hayden
yet. On Jul 7, 11:07 pm, Hayden hayden.stew...@gmail.com wrote: No ideas what may be causing this? On Jul 7, 12:36 pm, Hayden hayden.stew...@gmail.com wrote: The quick summary of my problem is after creating an email with an intent, when Gmail actually sends it all newline characters

[android-developers] Re: Sent email via intent removing newline characters

2009-07-08 Thread Hayden
No ideas what may be causing this? On Jul 7, 12:36 pm, Hayden hayden.stew...@gmail.com wrote: The quick summary of my problem is after creating an email with an intent, when Gmail actually sends it all newline characters are removed. In my app, there is an option to send text via email

[android-developers] Sent email via intent removing newline characters

2009-07-07 Thread Hayden
The quick summary of my problem is after creating an email with an intent, when Gmail actually sends it all newline characters are removed. In my app, there is an option to send text via email to friends using an intent. The text has newline characters to space out the paragraphs, and when the

[android-developers] install unsuccessful on my g1 with 1.5 sdk

2009-05-10 Thread Hayden
Today I tried to install my app with the the apk created with the 1.5 sdk and I keep getting install unsuccessful. It worked fine under the 1.1 sdk. The only thing I can think would cause a problem is the new minsdkversion which I have tried values 1 and 2 (my g1 has US rc33). The 1.5 sdk

[android-developers] Problem updating Eclipse Plugin to 0.9 ADT

2009-04-27 Thread Hayden
I am having trouble updating my Eclipse Plugin to 0.9 ADT. Whenever I try to install, I get the errors: An error occurred while collecting items to be installed No repository found containing: com.android.ide.eclipse.adt/ osgi.bundle/0.9.0.v200904221248-147402 No repository found

[android-developers] Re: Problem updating Eclipse Plugin to 0.9 ADT

2009-04-27 Thread Hayden
the site always seems to take care of the problem. On Apr 27, 7:39 pm, Raphael r...@android.com wrote: I get that too. Investigating. R/ On Mon, Apr 27, 2009 at 4:05 PM, Hayden hayden.stew...@gmail.com wrote: I am having trouble updating my Eclipse Plugin to 0.9 ADT.  Whenever I try

[android-developers] Problem Sending/Receiving data using startActivityForResult

2009-04-21 Thread Hayden
Ok, I have 2 Activities I want to send data between...activity A and B. My problem is that some random code of mine seems to be called between startActivityForResult() and onActivityResult() in Activity A. This doesn't make any sense because there is no code after startActivityForResult() is

[android-developers] Re: Advice for possibly paying someone to port app to iPhone

2009-03-31 Thread Hayden
. You never know in the future when there might be a scuffle because either one of you doesn't remember what was agreed, or one of you claims he never agreed to something. A contract preserves businesses and friendships. On Mar 30, 10:09 am, Hayden hayden.stew...@gmail.com wrote: I am

[android-developers] Advice for possibly paying someone to port app to iPhone

2009-03-30 Thread Hayden
I am looking for advice on paying someone to port my app to the iPhone. I have a friend with some iPhone experience, so I am considering paying him with a percentage of sales for the port he makes. Has anyone had experience with a similar situation? What would be a decent % of sales to offer

[android-developers] Re: Merchant account signup down?

2009-03-13 Thread Hayden
I entered my bank information on the regular Google Checkout page, so I will post once my information is verified to see if that somehow bypasses setting it up specifically for the Market. On Mar 13, 9:36 am, jsdf jasons...@gmail.com wrote: Okay, now we are getting

[android-developers] Using the word Android in a market developer name

2009-03-11 Thread Hayden
Is it against Google's rules to use the word Android in a developer name? I'm leaning towards no. While it is the name of the OS, Google didn't invent the word. For example, could I make my developer name bobTheAndroid? (I'm asking before I make my developer account so I don't somehow lose my

[android-developers] Re: Using the word Android in a market developer name

2009-03-11 Thread Hayden
Ok, I think it's fine. I just searched the Market and there are several developers doing this already On Mar 11, 8:50 pm, Hayden hayden.stew...@gmail.com wrote: Is it against Google's rules to use the word Android in a developer name?  I'm leaning towards no.  While it is the name of the OS

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Hayden
by default (try using the standard applications to see).  You must have done something different, more than the small snippet of code you included. On Tue, Mar 10, 2009 at 8:44 AM, Hayden hayden.stew...@gmail.com wrote: I want my application to resume what it is doing regardless of where I

[android-developers] Re: Keep app from restarting when touching icon from Home screen

2009-03-10 Thread Hayden
, Hayden hayden.stew...@gmail.com wrote: That little bit of code I added was trying to fix the problem, but it obviously didn't work.  Should this issue most likely be coming from the manifest file?  One thing I did notice was that after I left my app alone for a little while (while in class

[android-developers] Accessing raw resource files with the filename as a String

2009-03-09 Thread Hayden
Is there a way to access a raw resource file by having its filename in a String? According Google's documentation, I need to use Resources.openRawResource (R.raw.myDataFile) This requires that I have the file name at compile time, but what if I have 20 or so files and want to do something to