[android-developers] SSLProtocolException on Droid RAZR MAXX HD using Android 4.0.4

2012-10-31 Thread John Lussmyer
I have a customer that is getting an SSLProtocolException in our app. There are thousands of other phones working just fine with this version of our code and server. ( 3416): javax.net.ssl.SSLProtocolException: Read error: ssl=0x10201e8: Failure in SSL library, usually a protocol error (

[android-developers] Re: OS X 10.8 (Mountain Lion) on MacBook Pro: adb devices and adb wait-for-device not working??

2012-10-25 Thread John Lussmyer
Did you ever find a solution? I'm currently seeing the same problem. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] OS/X ADB can't find Android devices?

2012-10-25 Thread John Lussmyer
I'm working on a new MacBook Pro running the latest OS/X 10.8.2. When I plug my Android phone (Pantech) into the USB port - nothing happens. (Well, the phone charges) ADB shows no devices. What step am I missing? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: OS/X ADB can't find Android devices?

2012-10-25 Thread John Lussmyer
Turns out that MacBookPro's have crappy USB ports. I had to use a powered USB hub to connect the phone, then it all worked. On Wednesday, October 24, 2012 9:28:08 AM UTC-7, John Lussmyer wrote: I'm working on a new MacBook Pro running the latest OS/X 10.8.2. When I plug my Android phone

[android-developers] Layouts and Animation

2012-03-18 Thread John Lussmyer
I need to setup an Activity that when a certain button is pressed, a widget will be animated (slide in from bottom) onto the screen. I haven't been able to find an example of how you setup a layout to have the widget off-screen before the animation, and stay on-screen after the animation. Anyone

Re: [android-developers] OEM USB Driver for Pantech

2012-02-29 Thread John Lussmyer
, John Lussmyer johnlussm...@gmail.com wrote: Did you ever figure this out? I'm having the same problem. On Fri, Oct 21, 2011 at 7:26 PM, John Ransom joh...@ncc1701d.net wrote: Hi all, I am trying to put my android game onto my hardware for testing. It is a Pantech. The problem

[android-developers] Debugging on a Pantech Pocket?

2012-02-27 Thread John Lussmyer
Is it possible to debug on a Pantech Pocket phone? The web page for drivers is useless. (it's in korean, and is untranslateable.) -- -- CasaDelGato Sensible Email package: https://sourceforge.net/projects/sensibleemail/ -- You received this message because you are subscribed to the Google

Re: [android-developers] Debugging on a Pantech Pocket?

2012-02-27 Thread John Lussmyer
... see the bottom message. 28.02.2012 3:36 пользователь John Lussmyer johnlussm...@gmail.com написал: Is it possible to debug on a Pantech Pocket phone? The web page for drivers is useless. (it's in korean, and is untranslateable.) -- -- CasaDelGato Sensible Email package: https

Re: [android-developers] OEM USB Driver for Pantech

2012-02-26 Thread John Lussmyer
Did you ever figure this out? I'm having the same problem. On Fri, Oct 21, 2011 at 7:26 PM, John Ransom joh...@ncc1701d.net wrote: Hi all, I am trying to put my android game onto my hardware for testing. It is a Pantech. The problem is I need to get the OEM USB Driver to do this but the

[android-developers] Installation unsuccesfull messages

2011-03-13 Thread John Lussmyer
I've have a few people report that that my app won't install on their phones, and they are just getting an Installation unsuccesful message. That isn't very helpful. I do have ACRA installed, and haven't received any reports from that. Any suggestions on where to look? -- You received this

[android-developers] Bluetooth getting Not able to register SDP record - why?

2011-02-01 Thread John Lussmyer
All of a sudden my little Bluetooth app is getting an IOException: Not able to register SDP record for name name is the name I passed to: tmp = mAdapter.listenUsingRfcommWithServiceRecord(NAME, MY_UUID); This code has been working fine for several days. Now it gets that

[android-developers] TextView - how to make appended text visible?

2011-01-28 Thread John Lussmyer
I have a TextView that frequently has text appended from a service. I can append the text just fine, but how do I make the TextView scroll so the newly appended text is visible? Once the view fills, the new text is below the bottom edge. -- You received this message because you are subscribed to

Re: [android-developers] TextView - how to make appended text visible?

2011-01-28 Thread John Lussmyer
...@tobiah.org wrote: On 01/28/2011 09:50 AM, John Lussmyer wrote: I have a TextView that frequently has text appended from a service. I can append the text just fine, but how do I make the TextView scroll so the newly appended text is visible? Once the view fills, the new text is below the bottom

Re: [android-developers] DDMS Screen Capture won't work for WVGA854?

2011-01-27 Thread John Lussmyer
And with more testing, I've found that it only works intermittently. Also, if there is any animation happening, it often grabs the screen during a refresh, so 1/2 the screen is from the previous frame. Looks pretty crappy. On Sun, Jan 23, 2011 at 2:02 PM, John Lussmyer johnlussm

[android-developers] Package Installation Error from store

2011-01-23 Thread John Lussmyer
I just posted a new app to the store, and I've already received 2 reports that users couldn't download it. One said they got a Package Installation Error, and the other just said it wouldn't download. I've just tried re-downloading again with my phone, and it worked just fine. (CasaDelGato Life -

Re: [android-developers] Package Installation Error from store

2011-01-23 Thread John Lussmyer
I've been chatting with one user with the problem. Droid running 2.2. Uninstalling and Clearing the cache hasn't helped. Still won't successfully download and install. On Sun, Jan 23, 2011 at 7:52 AM, Kostya Vasilyev kmans...@gmail.com wrote: Yes, this happens sometimes. If you can contact

[android-developers] DDMS Screen Capture won't work for WVGA854?

2011-01-23 Thread John Lussmyer
I just build a AVD with the WVGA854 spec. My app runs in it nicely, but DDMS Device Screen Capture just says Screen not available. Is there any way to get this to work? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] DDMS Screen Capture won't work for WVGA854?

2011-01-23 Thread John Lussmyer
Yes. And on the 3rd try, it finally worked. 2011/1/23 Kostya Vasilyev kmans...@gmail.com Did you select the emulator in the list before clicking the capture button? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Package Installation Error from store

2011-01-23 Thread John Lussmyer
Interesting. It's been working fine on Android 2.1 devices. (Several friends, and I, have downloaded it on 2.1 devices with no problem.) This must be a new restriction for 2.2 devices. I'll try changing it. 2011/1/23 Kostya Vasilyev kmans...@gmail.com A follow up - the logcat says: Manifest

[android-developers] Examples of subclassing DialogPreference?

2011-01-19 Thread John Lussmyer
Are there any examples of how to create my own DialogPreference subclass? I have a dialog color chooser, and I'd like to be able to have it set from a Preference menu. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] CheckBox spacing

2011-01-19 Thread John Lussmyer
I have a need to put a row (or column) of 9 checkboxes in a dialog. Each checkbox will only have a 1 character description (0-9) The problem is that the default CheckBox leaves HUGE amounts of space around it, which makes it impossible to fit 9 in the dialog. Is there any way to reduce the space a

[android-developers] Changing Tabs doesn't always update screen

2011-01-17 Thread John Lussmyer
I'm trying to use a relatively simple Tab view. All the tabs are declared in the XML, none using alternate Activities. They appear just fine on screen. When I click on Tab2, it shows up and Tab1 content is hidden. Then when I click back on Tab1, it's displayed overlayed with Tab2. Click back on

Re: [android-developers] Re: writing an Authenticator to use with AccountManager

2011-01-17 Thread John Lussmyer
could find a good description of how the Account system actually works. On Mon, Jan 10, 2011 at 1:24 PM, Kumar Bibek coomar@gmail.com wrote: Which example are you following, and what are your exact problems? On Jan 7, 11:05 pm, John Lussmyer johnlussm...@gmail.com wrote: Is there a tutorial

Re: [android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-14 Thread John Lussmyer
Thanks for the clarification. So the statement Finally, applications can send arbitrary commands to the live wallpaper. is just plain wrong in the documentation at: http://developer.android.com/resources/articles/live-wallpapers.html On Fri, Jan 14, 2011 at 5:38 AM, String

Re: [android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-14 Thread John Lussmyer
Thanks. Another point where the documentation could use some updating. On Fri, Jan 14, 2011 at 9:36 AM, Dianne Hackborn hack...@android.comwrote: No, that is not true. Launcher does not own the wallpaper. It uses Theme.Wallpaper to have itself displayed on top of the wallpaper -- that is,

Re: [android-developers] Re: Live Wallpaper Icon

2011-01-14 Thread John Lussmyer
So, anyone have any ideas why my icon doesn't show up in the list of Live Wallpapers (just the generic icon shows), but DOES show up in the Wallpaper menu, Configure entry after installing the wallpaper? On Thu, Jan 6, 2011 at 1:18 PM, John Lussmyer johnlussm...@gmail.comwrote: Okay, I didn't

[android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-13 Thread John Lussmyer
I just noticed this method, and since I have a Live Wallpaper I've written, I decided it might be fun to use this. So in one of my apps, it checks to see if my Live Wallpaper is the current wallpaper, and sends a command if it is. I get no errors in the log, but the wallpaper never receives the

Re: [android-developers] Re: Sharing data between apps

2011-01-13 Thread John Lussmyer
long as you don't care about what those bytes mean or why they exist. That is, if they're worthless. If they're valuable, on the other hand, it's a whole other story. On Jan 12, 6:29 pm, John Lussmyer johnlussm...@gmail.com wrote: On Wed, Jan 12, 2011 at 6:18 PM, Mark Murphy mmur

[android-developers] Re: Getting phone to work with debugger

2011-01-13 Thread John Lussmyer
I eventually got it to work - mostly. I had to download the HTC Sync app from HTC and install it. (don't try to run the Sync program, it just locks up using most of the system CPU.) After that, DDMS would usually find the phone. On Tue, Jan 11, 2011 at 7:12 PM, John Lussmyer johnlussm

Re: [android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-13 Thread John Lussmyer
My app is the one the user is working with, and the command is sent during the onOptionsItemSelected() processing. On Thu, Jan 13, 2011 at 12:26 PM, Dianne Hackborn hack...@android.comwrote: You must be the current foreground activity sitting on top of the wallpaper to use the command. --

Re: [android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-13 Thread John Lussmyer
Hmm, question on that. By sitting on top of the wallpaper, do you mean an app that leaves the wallpaper partially visible? (like the desktop) On Thu, Jan 13, 2011 at 2:10 PM, John Lussmyer johnlussm...@gmail.comwrote: My app is the one the user is working with, and the command is sent during

Re: [android-developers] WallpaperManager.sendWallpaperCommand() doesn't work?

2011-01-13 Thread John Lussmyer
, Jan 13, 2011 at 4:55 PM, Dianne Hackborn hack...@android.comwrote: Yes you must be showing the wallpaper, such as by settings your theme to Theme.Wallpaper. On Thu, Jan 13, 2011 at 4:39 PM, John Lussmyer johnlussm...@gmail.comwrote: Hmm, question on that. By sitting on top of the wallpaper

Re: [android-developers] Re: Changing price in the Market

2011-01-13 Thread John Lussmyer
Were you trying to lower it below $0.99? That seems to be the lowest price allowed. (Which is kind of annoying. It's slightly above the whim level for purchases.) On Thu, Jan 13, 2011 at 5:34 PM, Russell DuRoss r2s...@gmail.com wrote: I have tried lowering the price of an app and it wouldn't

[android-developers] Making a file world writeable

2011-01-13 Thread John Lussmyer
I have an app that is writing a file that I would like other apps to be able to access. Looking at it in DDMS, I see that it's permissions only let the one user see it. The docs at http://developer.android.com/reference/java/io/File.html#setWritable%28boolean,%20boolean%29 show that the File

Re: [android-developers] Re: Making a file world writeable

2011-01-13 Thread John Lussmyer
So, all the documentation about making things World Writeable is a flat out lie? On Thu, Jan 13, 2011 at 6:37 PM, metal mikey coref...@gmail.com wrote: I have an app that is writing a file that I would like other apps to be able to access. You can't achieve that. For good reason too..

Re: [android-developers] Re: Sharing data between apps

2011-01-13 Thread John Lussmyer
device to another. This may only be possible on the source device. Two different ways that the byte MEANING matters -- both DIRECTLY related to how data is delivered. But to quote Mark: ...but you are certainly welcome to your opinion. On Jan 13, 8:18 am, John Lussmyer johnlussm

[android-developers] Sharing preferences between apps?

2011-01-12 Thread John Lussmyer
I have an app that needs to be able to pass a set of settings to my Live Wallpaper. The Live Wallpaper already saves these in a Shared Preferences file. I did a bunch of searches, and found a possible way for the app to access the wallpapers Shared prefs was: (I've also set both apps to have the

[android-developers] Confusing IllegalArgumentException from openFileOutput

2011-01-12 Thread John Lussmyer
I'm trying to create a new file in my data area, and I'm getting this exception: 01-12 13:59:41.202: ERROR/AndroidRuntime(1437): java.lang.IllegalArgumentException: File /data/data/com.casadelgato.lifewallpaper/files/LifeSettings.ini contains a path separator As far as I can tell, that's a valid

[android-developers] Re: Confusing IllegalArgumentException from openFileOutput

2011-01-12 Thread John Lussmyer
. On Wed, Jan 12, 2011 at 2:04 PM, John Lussmyer johnlussm...@gmail.comwrote: I'm trying to create a new file in my data area, and I'm getting this exception: 01-12 13:59:41.202: ERROR/AndroidRuntime(1437): java.lang.IllegalArgumentException: File /data/data/com.casadelgato.lifewallpaper/files

[android-developers] Can't find Activity error

2011-01-12 Thread John Lussmyer
I'm trying to use an Intent() to send a little data to another app. So far, I've been unable to get the startActivity() to succeed. It always fails with a ActivityNotFound exception. I just haven't been able to figure out WHY my activity isn't being found. invoking code is:

[android-developers] Sharing data between apps

2011-01-12 Thread John Lussmyer
I've been looking to see if there is a relatively simple way for 2 apps to share a tiny bit of data. So far, I haven't found any. 1) SharedPreferences - aren't shared. 2) MemoryFile in Shared Memory - there appears to be no way to share these between apps. 3) Internal Storage - separate apps

Re: [android-developers] Can't find Activity error

2011-01-12 Thread John Lussmyer
So, I modified the manifest to have: intent-filter action android:name=com.casadelgato.lifewallpaper.UPDATEPREFS / category android:name=android.intent.category.CATEGORY_DEFAULT / /intent-filter Made

Re: [android-developers] Can't find Activity error

2011-01-12 Thread John Lussmyer
Didn't help. On Wed, Jan 12, 2011 at 4:59 PM, Mark Murphy mmur...@commonsware.comwrote: I'd get rid of the setPackage() call. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Sharing data between apps

2011-01-12 Thread John Lussmyer
On Wed, Jan 12, 2011 at 4:53 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jan 12, 2011 at 5:58 PM, John Lussmyer johnlussm...@gmail.com wrote: 3) Internal Storage - separate apps can't write to each others area, even if they have the same userid. AFAIK, they can. What proof do you

Re: [android-developers] Can't find Activity error

2011-01-12 Thread John Lussmyer
Should they? And which ones are you talking about? On Wed, Jan 12, 2011 at 5:22 PM, Stephen Jungels sjung...@gmail.com wrote: Unless your android:name elements are fully qualified, they should begin with a period, should they not? -- You received this message because you are subscribed to

Re: [android-developers] Sharing data between apps

2011-01-12 Thread John Lussmyer
On Wed, Jan 12, 2011 at 6:18 PM, Mark Murphy mmur...@commonsware.comwrote: On Wed, Jan 12, 2011 at 8:35 PM, John Lussmyer johnlussm...@gmail.com wrote: 10 bytes of data is 10 bytes of data. Not really, but you are certainly welcome to your opinion. Now this has me curious. What

[android-developers] Getting phone to work with debugger

2011-01-11 Thread John Lussmyer
I've just gotten an HTC Aria. I've been unable to get ADB to recognize that the phone is attached. ADB finds my Motorola Backflip just fine. The Aria does have the USB Debugging enabled. I've tried following the instructions at http://developer.android.com/guide/developing/device.html and

[android-developers] Making 2 buttons the same size

2011-01-10 Thread John Lussmyer
I have an OK and a Cancel button in a dialog, at the bottom in opposite corners. I'd like to make the the same width. Is there any way to do that via settings in the XML? (without making them both 1/2 screen width! :-) -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Making 2 buttons the same size

2011-01-10 Thread John Lussmyer
Is there any way to do this in a RelativeLayout? Or I could probably add a LinearLayout that contains the row the buttons are in... On Mon, Jan 10, 2011 at 5:21 PM, TreKing treking...@gmail.com wrote: On Mon, Jan 10, 2011 at 7:01 PM, John Lussmyer johnlussm...@gmail.comwrote: Is there any

[android-developers] Current state of PUSH notifications for apps?

2011-01-08 Thread John Lussmyer
I'm looking at an app where I will really need to support PUSH notifications. After a bunch of Google searches - I'm generally confused as to the state of PUSH support on Android. IS there a standard way of doing it yet? Preferably on 2.1? -- You received this message because you are subscribed

[android-developers] writing an Authenticator to use with AccountManager

2011-01-07 Thread John Lussmyer
Is there a tutorial on how to write an Account Authenticator? I'm working from the one example I've found, SampleSyncAdapter, and having a lot of trouble understanding what the actual flow of control should be. For one thing, I actually have a separate Authorization Token - which is NOT the

[android-developers] HTTP parameter question

2011-01-07 Thread John Lussmyer
Does one of the HTTP support classes handle building a parameterized URL? i.e one of the sort http://a.com/stuff?a=bc=de=f Yes, I know writing one would be easy, but if there is already one out there... -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] HTTP parameter question

2011-01-07 Thread John Lussmyer
I don't think you understood my question. Given a list of key-value pairs, is there a utility class to build the ?key=valuekey=valuekey=value string. On Fri, Jan 7, 2011 at 3:00 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 5:40 PM, John Lussmyer johnlussm

Re: [android-developers] HTTP parameter question

2011-01-07 Thread John Lussmyer
Except that you can't setEntity() on an HttpGet - which is what I need to use. On Fri, Jan 7, 2011 at 5:27 PM, Brad Gies rbg...@gmail.com wrote: I'm not 100% sure I understand the question either but just in case...this does it for a Post... and switching to a Get will do the same thing.

Re: [android-developers] HTTP parameter question

2011-01-07 Thread John Lussmyer
Quite possibly, but if there is a standard one that comes with the system, i'd rather use. Since it appears that there isn't one, I'll write one. On Fri, Jan 7, 2011 at 7:42 PM, TreKing treking...@gmail.com wrote: On Fri, Jan 7, 2011 at 4:40 PM, John Lussmyer johnlussm...@gmail.comwrote: Yes

[android-developers] odd IOException from MediaPlayer.create()

2011-01-06 Thread John Lussmyer
I had MediaPlayer.creat(resource id) throw an IOException recently. Note that it's signature doesn't say that it's even possible for it to throw an IOException... 01-06 07:14:05.191: DEBUG/MediaPlayer(183): java.io.IOException: Prepare failed.: status=0x1 01-06 07:14:05.191:

[android-developers] Related applications

2011-01-06 Thread John Lussmyer
When you view an app in the Market, there is a section Related which supposedly lists related applications. How is this determined? My Free Demo version of my app doesn't list the Paid full version as related. What do I need to do to have it listed? -- You received this message because you are

Re: [android-developers] Related applications

2011-01-06 Thread John Lussmyer
Guess I'll just have to wait and see. The app descriptions ARE identical, except for 1 added sentence on the Demo version. On Thu, Jan 6, 2011 at 8:02 AM, TreKing treking...@gmail.com wrote: On Thu, Jan 6, 2011 at 9:57 AM, John Lussmyer johnlussm...@gmail.comwrote: How is this determined

[android-developers] Live Wallpaper Icon

2011-01-06 Thread John Lussmyer
I've made a Live Wallpaper, and included a full set of icons for it. The icon isn't used in the Live Wallpaper menu, but is used for the Configure action in the menu after you've added the Live Wallpaper. What do I need to do to get icon to be used for my Live Wallpaper in the selection menu for

Re: [android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-06 Thread John Lussmyer
I gave up and wrote my own that seems to work well. XML Configurable, doesn't create gobs of temp objects. http://casadelgato.com/content/numberpicker On Thu, Jan 6, 2011 at 10:40 AM, Kumar Bibek coomar@gmail.com wrote: Dig in the source code. What do you mean by public here?

Re: [android-developers] Re: Comments lost in the developer console and market app

2011-01-06 Thread John Lussmyer
And I've found that I can't add YouTube video links today. You just get An unexpected error occurred. Please try again later. On Thu, Jan 6, 2011 at 12:22 PM, Gerald gerald.b.n...@gmail.com wrote: Same issue for me for my application OnTrack Diabetes. On Jan 6, 9:37 am, TreKing

Re: [android-developers] Re: Making a video of your app running

2011-01-06 Thread John Lussmyer
Thanks, that seems to work pretty well. On Wed, Jan 5, 2011 at 3:44 PM, jtoolsdev brianjto...@gmail.com wrote: If you have a fast enough PC then you can use CamStudio program to capture a demo on an emulator. Worked great and much better than a previous demo I did pointing a camera at a

Re: [android-developers] Re: Live Wallpaper Icon

2011-01-06 Thread John Lussmyer
Okay, I didn't have the icon specified there. I've added it. Uninstalled from the emulator, and re-installed. The icon still doesn't show up in the Live Wallpapers menu, and no errors are displayed in logcat. (Sure wish my ATT 2.1 phone supported Live Wallpapers!) On Thu, Jan 6, 2011 at 12:26 PM,

Re: [android-developers] java/locationlistener

2011-01-06 Thread John Lussmyer
The old one will stay around, and continue being called. You should remove the old listener. On Thu, Jan 6, 2011 at 6:13 PM, fourhend...@gmail.com fourhend...@gmail.com wrote: Quick question, kind of java related I think, too. If you have a locationlistener mListener, and install it with *

Re: [android-developers] Re: How do you Debug a Live Wallpaper

2011-01-05 Thread John Lussmyer
Thanks! That is USEFUL to know. On Tue, Jan 4, 2011 at 10:27 PM, Peter Webb r.peter.w...@gmail.com wrote: Stick the following in your code: android.os.Debug.waitForDebugger(); Not the easiest thing to find ... -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Problem with application launch on emulator

2011-01-05 Thread John Lussmyer
I noticed this happening for me when I had added the icon after testing the app a few times. I had to uninstall the app from the phone/emulator - then the next time I launched it the icon was correct. On Wed, Jan 5, 2011 at 3:15 AM, Ajay Prabandham parth...@gmail.com wrote: Dear All,

[android-developers] Preference data types

2011-01-05 Thread John Lussmyer
Is there any way to have a Preference be an Integer? I'm using an EditTextPreference, with android:inputType=number, and as far as I can tell, it's still saving the preference value as a String. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Making a video of your app running

2011-01-05 Thread John Lussmyer
Is there some supported way of making a Video of your app running? Seems kind of silly (and low quality) to have to point your camera at the phone... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Testing Live Wallpaper

2011-01-05 Thread John Lussmyer
I've been testing a live Wall Paper on my Emulator set for 2.1. Since my phone runs 2.1 I decided to test it there. The system (adb) is perfectly happy to load it onto my phone - but my phone has no way to select it! Apparently ATT Decided that their customers shouldn't have Live Wallpaper... --

Re: [android-developers] Testing Live Wallpaper

2011-01-05 Thread John Lussmyer
I can't even use a Live Wallpaper if it DOES come from the market. On Wed, Jan 5, 2011 at 4:12 PM, TreKing treking...@gmail.com wrote: On Wed, Jan 5, 2011 at 5:16 PM, John Lussmyer johnlussm...@gmail.comwrote: Apparently ATT Decided that their customers shouldn't have Live Wallpaper

Re: [android-developers] App name

2011-01-05 Thread John Lussmyer
Uninstall it before re-installing it? On Wed, Jan 5, 2011 at 5:05 PM, Hendrik Greving fourhend...@gmail.comwrote: I have an app and changed its name everywhere, Manifest etc. The icon names etc. are correct now, also the widget name from the widget manager and the name which appear when you

Re: [android-developers] Re: Getting a test version of an .apk to a end user

2011-01-04 Thread John Lussmyer
My phone, Motorola Backflip running 2.1, doesn't HAVE an Unknown Sources option in the Applications menu. When I try to install an app from email, I get a Security Warning: This application comes from an unknown source, and for your security only applications from trusted sources can be installed.

Re: [android-developers] Re: Getting a test version of an .apk to a end user

2011-01-04 Thread John Lussmyer
Yeah, ATT is the only one with signal where I live. (and it's marginal at that. The phone often shows 5 bars and 3G - then drops to no signal suddenly.) On Tue, Jan 4, 2011 at 7:53 AM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: On Wed, Jan 5, 2011 at 12:47 AM, John Lussmyer johnlussm

Re: [android-developers] Re: Getting a test version of an .apk to a end user

2011-01-04 Thread John Lussmyer
Nah, It's too hard to find 20 acres of forest where I can own Cougars. On Tue, Jan 4, 2011 at 8:06 AM, TreKing treking...@gmail.com wrote: On Tue, Jan 4, 2011 at 10:00 AM, John Lussmyer johnlussm...@gmail.comwrote: Yeah, ATT is the only one with signal where I live. Goodness, I would move

[android-developers] How do you Debug a Live Wallpaper

2011-01-04 Thread John Lussmyer
I'm trying to write a Live Wallpaper, but have a problem. The debugger won't. Won't attach or debug when launching the wallpaper. I can see from the logcat when I restart the Emulator that my wallpaper is crashing. There is a msg showing it being installed, then uninstalling, then force removing,

[android-developers] Live Wallpaper Preferences Activity launch problem

2011-01-04 Thread John Lussmyer
When I click on the Preferences button for my Live Wallpaper, I get this Exception: 01-04 17:54:23.021: ERROR/AndroidRuntime(534): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.casadelgato.lifewallpaper/LifeSettings}; have you declared this

[android-developers] Re: Live Wallpaper Preferences Activity launch problem

2011-01-04 Thread John Lussmyer
Okay, figured it out. The one in the settingsconfig.xml had to have the full path to the class. android:settingsActivity=com.casadelgato.lifewallpaper.LifeSettings On Tue, Jan 4, 2011 at 5:58 PM, John Lussmyer johnlussm...@gmail.comwrote: the settingsconfig.xml file has: ?xml version=1.0

[android-developers] Re: How do you Debug a Live Wallpaper

2011-01-04 Thread John Lussmyer
, John Lussmyer johnlussm...@gmail.comwrote: I'm trying to write a Live Wallpaper, but have a problem. The debugger won't. Won't attach or debug when launching the wallpaper. I can see from the logcat when I restart the Emulator that my wallpaper is crashing. There is a msg showing it being

[android-developers] DROID sound playing problem

2011-01-04 Thread John Lussmyer
I have a customer with a DROID phone. It's showing a rather odd symptom. I have 2 sounds that play at regular (but different) intervals in my app. One of them plays every time. The other (more frequent) plays every other time. I've put tracing in the code, and I AM calling MediaPlayer.start()

[android-developers] Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
Is there any relatively easy way for me to send a test version of my app.apk file to a user? I may have fixed a problem he's seeing (that doesn't happen on my phone of course), and I'd like to have him test it BEFORE I deploy it to the store. -- You received this message because you are

Re: [android-developers] Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
You mean you put it out on the Android Marketplace? On Mon, Jan 3, 2011 at 2:56 PM, Wayne Wenthin wa...@fuligin.com wrote: I've taken to putting the latest version on the website and letting them download and install from there. On Mon, Jan 3, 2011 at 2:54 PM, John Lussmyer johnlussm

Re: [android-developers] Re: Getting a test version of an .apk to a end user

2011-01-03 Thread John Lussmyer
, the tester will need to uninstall the App first. On Jan 4, 9:58 am, John Lussmyer johnlussm...@gmail.com wrote: You mean you put it out on the Android Marketplace? On Mon, Jan 3, 2011 at 2:56 PM, Wayne Wenthin wa...@fuligin.com wrote: I've taken to putting the latest version on the website

Re: [android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-03 Thread John Lussmyer
Use the xml tab and edit the xml directly. MUCH easier. Also helps if you use ctrl-F to reformat the XML to be legible. (I also change the XML formatting preferences to put each attribute on a new line.) On Mon, Jan 3, 2011 at 5:38 PM, sisko adeod...@gmail.com wrote: Thanks for responding.

[android-developers] Making my app a library, resource problems

2011-01-02 Thread John Lussmyer
Okay, in order to make it easier (I hope) to have both a Licensed full version, and a Demo version of my app, I've converted my App project in Eclipse into an Android Library project. I created a new Library project, the copied all the source and resources over, set the manifest values, etc... I

[android-developers] Re: Making my app a library, resource problems

2011-01-02 Thread John Lussmyer
And I figured it out! Eclipse had created a default main.xml in my App layout directory, and was using that for generated resource ID's instead of the main.xml in my Library project. You really do have to be careful about conflicting resource names between A library and your app. -- You

[android-developers] Unable to run DDMS, failed to get adb version

2011-01-02 Thread John Lussmyer
I'd like to try and run DDMS so I can get some screen captures of my app. When I try to run ddms.bat, I get this error: C:\Projects\android-sdk-windows\toolsddms 05:38:13 E/adb: Failed to get the adb version: Cannot run program adb: CreateP rocess error=2, The system cannot find the file

[android-developers] Problem showing a simple Dialog

2011-01-01 Thread John Lussmyer
I'm trying to learn how to use a Dialog, but I seem to be missing something. (probably obvious to those who've used them before...) Whenever I click on my Menu Item that opens the dialog, I get this: 01-01 08:00:16.214: ERROR/ACRA(259): fatal error : Unable to add window -- token null is not for

Re: [android-developers] Problem showing a simple Dialog

2011-01-01 Thread John Lussmyer
That just causes the call to super(context) in my dialog constructor to throw a NullPointerException. I was working from the examples at http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog and they also use the getApplicationContext(). You need some context to pass to the

Re: [android-developers] Problem showing a simple Dialog

2011-01-01 Thread John Lussmyer
Fixed it! Thanks! I keep forgetting that the Activity is a Context. (Seems like the example Dialog usage might want to show this as well, especially since using getApplicationContext() fails.) On Sat, Jan 1, 2011 at 9:46 AM, Kostya Vasilyev kmans...@gmail.com wrote: Use the Activity: Dialog

[android-developers] AVD file repository?

2011-01-01 Thread John Lussmyer
Is there any place that has collected emulator definition files (AVD) that match various phones? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Re: the new eclipse UI design - absolute frustration and waste of time

2010-12-31 Thread John Lussmyer
I've used the NetBeans and MyEclipse GUI editors extensively. They are very nice. The Android thing in Eclipse is pretty much a waste of time. Bizarre things happen when you try to drag controls or layouts in. Items end up in totally unexpected places, with attributes that you can't seem to

[android-developers] Licensing Verification Library and Demo versions

2010-12-31 Thread John Lussmyer
Is there a relatively easy/good way to have an app that uses LVL, also have a Demo version? It appears that I have to change the Package Name to do this - which changes the Resource file name - so nothing compiles unless I go change the import statement in all my files. Note that I am working from

Re: [android-developers] Re: Animation problem

2010-12-29 Thread John Lussmyer
jerks and jumps in the emulator, or one the phone? I've found that the emulator is VERY bad at running things at a consistent speed. The phone seems to do a much better job of it. On Wed, Dec 29, 2010 at 1:27 PM, iced pascal-h...@t-online.de wrote: Thank you for your answer. I tried all 2^6

Re: [android-developers] How can I cause a RelativeLayout to re-layout it's children?

2010-12-28 Thread John Lussmyer
As I mentioned near the start of this thread, I had already tried that. It doesn't always work. The layout would only display the update after doing something else in the app (like clicking another button). On Tue, Dec 28, 2010 at 2:23 AM, Mark Murphy mmur...@commonsware.comwrote: Try calling

Re: [android-developers] Re: Getting the Android Java source?

2010-12-28 Thread John Lussmyer
Installed and works just fine! It's been REALLY helpful, as I think it just let me find a bug in the Animation class. On Tue, Dec 28, 2010 at 7:54 AM, snpe snp...@gmail.com wrote: John, Could you please tell me if you are install Android sources plugin successfully ? I have tested them,

Re: [android-developers] Re: Timezone picker

2010-12-28 Thread John Lussmyer
Yeah, I just finished building a NumberPicker that actually works, is configurable via XML, and doesn't constantly create new temporary objects. On Tue, Dec 28, 2010 at 8:01 AM, Pent tas...@dinglisch.net wrote: Shame the one from Settings isn't usable programatically actually (like so many

[android-developers] Possible bug when trying to re-use an animation.

2010-12-28 Thread John Lussmyer
I just ran into a problem that I'm pretty sure is a bug in the Animation class. I have a simple Animation that doesn't repeat. I use view.setAnimation() to run it. When it's done, I use view.clearAnimation(); Sometime later, I want to run it again. So I use view.setAnimation() again. The view

Re: [android-developers] Animation problem

2010-12-28 Thread John Lussmyer
You may want to set the setFillBefore and/or setFillAfter values. (one of them defaults to true, the other to false.) On Tue, Dec 28, 2010 at 3:21 PM, iced pascal-h...@t-online.de wrote: Hello, I'm new here and I don't know if this is the right place for my problem. Please excuse me if it's

Re: [android-developers] RelativeLayout problems

2010-12-27 Thread John Lussmyer
I fixed the id problem that was pointed out by the previous reply. It made no difference. On Sun, Dec 26, 2010 at 11:44 PM, Kostya Vasilyev kmans...@gmail.comwrote: John, Two suggestions: 1 - When your app suspends like this, it means it's crashing, but hasn't quite crashed all the way

Re: [android-developers] Getting the Android Java source?

2010-12-27 Thread John Lussmyer
On Mon, Dec 27, 2010 at 3:46 AM, Mark Murphy mmur...@commonsware.comwrote: If you are getting this in Eclipse, then your problem is with Eclipse and the ADT plugin. BridgeXmlBlockParser is related to the layout preview/drag-and-drop stuff, near as I can tell via Google Code Search. If you

  1   2   >