[android-developers] Browser Download Manager - GETs, but doesn't POST

2009-05-15 Thread brian
get the file. Thanks, -brian --~--~-~--~~~---~--~~ 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

[android-developers] Smarter Monkey Needed

2009-05-05 Thread Brian Conrad
. This will also happen with any of the edit dialogs that the SoftKeyboard pops up during entry. Soemtimes it will manage to dismiss a dialog. I don't see anything in the options to prevent this. Brian Conrad JyotishTools.com --~--~-~--~~~---~--~~ You received

[android-developers] Search context with type-to-search?

2009-05-01 Thread Brian Smith
When implementing search in my application, I'm including some search context info depending on the activity where search is invoked. In one of those, I'd like to implement type-to-search as well, but the standard method of adding search context info doesn't work in that case... the

[android-developers] Suggestion to Document Eclipse Launcher Differences

2009-04-30 Thread Brian
When an app is launched from Eclipse, the Activity Life Cycle is different than when launched from the Launcher. I'm just throwing out there that it'd be nice if this difference is documented (if it hasn't been already, though I couldn't find it) perhaps right on the Activity Life Cycle page:

[android-developers] Re: Missing avds

2009-04-30 Thread Brian Conrad
When I installed 1.5 pre there were no default avds and there were instructions on how to create them. You most likely have to do that again with the 1.5 release but to date I haven't seen any special instruction for moving from 1.5 pre to 1.5 release despite my question and someone else's

[android-developers] Re: TabHost launching Intent multiple times

2009-04-28 Thread Brian
I got the same behavior with the Tabs2 APIDemo source, which doesn't use Intents, but rather a TabContentFactory. Until the app gets an onDestroy, it seems to add new instances into the call stack, instead of reactivating the current one. After it gets an onDestroy, future launches work fine.

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-28 Thread Brian
Wow reading this first would have saved me a many, many hours. It's not just WebView apps, but can be as simple as Hello,World. I had a pretty complex app with intents in a tabhost that I thought was the problem, whittled down to a simple tabhost app with Intents, down to a tabhost with a view

[android-developers] Re: Webview Question: onCreate always get called when activity comes to foreground

2009-04-28 Thread Brian
A quick workaround for this in Eclipse, is to set your application's Run Configuration's Launch Action to Do Nothing. Now when you press the play icon to launch, it seems to just push the apk to the emulator and not launch it. Then you go in and click your app icon, and launch/relaunch behavior

[android-developers] Updating from Android 1.5 Pre to 1.5 Release

2009-04-28 Thread Brian Conrad
Pardon me if this has been asked but is there anything specific about updating from Android 1.5 Pre to 1.5 Release? Or is it just like updating from any other update? Brian Conrad JyotishTools.com --~--~-~--~~~---~--~~ You received this message because you

[android-developers] TabHost launching Intent multiple times

2009-04-27 Thread Brian
I'm seeing a strange behavior with a TabHost that creates a tab as a new Intent. Is this just the way it is, and I'll have to work with it? The tab intent is created twice, instead of once. I'm on the emulator, sdk 1.1. The behavior to get this is: Launch tab host app, and note the state (call

[android-developers] Re: Copy protection License key management

2009-04-26 Thread Brian Conrad
One thing I've learned over the years of selling products on the net is to do unlockable demos. The unlockable ones were quickly hacked and wound up as warez. The ones where I provided a crippled demo and the real version was only available for purchase did not wind up as warez. Pirates

[android-developers] Re: Cross process cursor using AbstractWindowedCursor

2009-04-25 Thread Brian Smith
Never mind... I found a way to do it that 1) avoids messing around with custom cursors across process boundaries and 2) is likely more efficient anyway for large numbers of exported records. Setup: - Add export flag to table containing potentially exported records At export time: - Set export

[android-developers] Next Focus and the Soft Keyboard

2009-04-24 Thread Brian Conrad
. - Brian --~--~-~--~~~---~--~~ 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

[android-developers] Re: Next Focus and the Soft Keyboard

2009-04-24 Thread Brian Conrad
Thanks, that was exactly what I was looking for. Dianne Hackborn wrote: You may not have seen the blog post: http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html On Fri, Apr 24, 2009 at 12:40 PM, Brian Conrad brianjto...@gmail.comwrote: I have a form

[android-developers] Re: distributing an app packaged with just emulator

2009-04-23 Thread Brian
You can put your app on the emulator, then package up the emulator and lib directories, along with your image, and send that around. They won't have to install the dev environment, but you may want to make a script file to launch the emulator with your image. Check out emulator

[android-developers] Cross process cursor using AbstractWindowedCursor

2009-04-22 Thread Brian Smith
I know that the MatrixCursor and SQLiteCursor classes work across processes, but has anyone tried implementing a cross-process cursor based directly on AbstractWindowedCursor? The situation is that I'm working on an app with pluggable import/ export functions for its database, using a content

[android-developers] Of Progress Bars and Wait Dialogs

2009-04-21 Thread Brian Conrad
that is causing the delay. What workarounds are there? I've not seen any examples that deal with this so far. - Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Of Progress Bars and Wait Dialogs

2009-04-21 Thread Brian Conrad
Mark Murphy wrote: Brian Conrad wrote: I have an application that initializes a bunch of strings on startup. Hopefully, in a background thread. Apparently none of these things will work until the layout is displayed? More precisely, none of these things

[android-developers] EditView inputType

2009-04-18 Thread Brian Conrad
yet? - Brian --~--~-~--~~~---~--~~ 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

[android-developers] Re: 1.5 SDK: android list target failed

2009-04-17 Thread Brian Conrad
He will probably want --target 2 to use the 1.5 SDK if not the --target 3 which includes 1.5 SDK and Google SDK for things like MapView etc. Just went through this myself. There are also some deprecated settings in the layouts one might want to check such as for single line text entry.

[android-developers] Interested In Speaking At Android Meetup At Palo alto?

2009-04-12 Thread Brian
forward to hearing from you. Best regards, Brian Zhou --~--~-~--~~~---~--~~ 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

[android-developers] LocationManager - issue with setting distance/time filter

2009-03-31 Thread Brian Gyss
After re-reading the summaries for the various dev groups, re-posting this to android-developers because it's probably a better fit... I'm encountering what appears to be inconsistencies with how the distance and time filter settings for the LocationManager are currently working when I attempt

[android-developers] Re: How to add radiobuttons in menu structure

2009-03-28 Thread Brian Smith
The key is to use group/item elements, not RadioGroup/RadioButton, as documented here: http://developer.android.com/guide/topics/resources/available-resources.html#menus Wrapping the radio button menu items in a group, giving that group an ID, and setting its checkableBehavior attribute to

[android-developers] Launch / Re-Launch flow

2009-03-25 Thread Brian
I'm trying to get a handle on the onXXX() flow, but am not sure if what I'm seeing is by-design, or is an artifact of repeated debugging sessions on the emulator. android:launchMode=singleInstance The app extends TabActivity, has a few tabs whose content is set via new Intent, but no heavy

[android-developers] Re: Singed App on Emulator

2009-02-20 Thread Brian Conrad
instructions? Thanks, Brian Have you first uninstalled your android debug keys-signed app before installing your-release keys-signed one? Yes, the debug version was uninstalled. I did a search again last night on the error and another thread on this group with the problem was listed

[android-developers] Re: Signing an application on Linux

2009-02-20 Thread Brian Conrad
The problem with that guide is that it assumes some knowledge of Linux commands that not everyone is going to be familiar with or uses so seldom they forget how they work. Here's a tutorial on how to set the environment variables (something I've had to do rarely on Linux):

[android-developers] another round of emulator DNS problems

2009-02-12 Thread Brian Smith
. -brian Here is the output of my configurations: C:\export\android-sdk-windows-1.0_r2\toolsipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : ODIN Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled

[android-developers] Please Help! Service seems to sleep when phone is inactive

2009-02-07 Thread Brian
Hi everybody, I'm new to android, but I am picking up speed quickly. I've spent the last several years writing Windows services. So I am not a complete newbie in this area. I've written a test service to understand how android implements a service. I believe I understand the difference between

[android-developers] Re: Can we start a new activity or at least display a Toast in TimerTask.run()?

2009-02-07 Thread Brian
From my experience, timers are a finicky thing in android. I have always had much better luck using a postDelayed to a handler. public class MyClass extends Activity { private Handler objHandler = new Handler(); public void MyFunction() { //Or put this in

[android-developers] Context.startService - The service does not stay running...

2009-02-07 Thread Brian
I rarely post to groups, because I can usually find the answer somewhere on the web. So I apologize in advance if I have violated any ettiquette. But this time I am truly stumped, and would appreciate any help, insight, or suggestion from a more experienced Android developer. I've written a test

[android-developers] Re: How to retrive device log

2009-01-21 Thread Brian Abbott
and exploration tool which is what I've been using logcat as to date. Does anyone have any insight on this? Thanks, Brian Abbott On Dec 21 2008, 3:50 pm, Bill Napier nap...@google.com wrote: http://code.google.com/android/reference/adb.html#forwardports You can use adb to do some amount of port

[android-developers] How to get Content Resolver?

2009-01-20 Thread Brian 1143
I want to access android.provider.Settings so I need to have a Content Resolver. Does anyone know how to get a Content Resolver in frameworks/base/core/ java/android/os/Environment.java. Thanks. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Can not access to the system properties store?

2009-01-20 Thread Brian 1143
I am modifying the Settings application, and needing to access the system properties. By using android.os.SystemProperties.get, I can read the system properties. However, I can not set the system properties back with android.os.SystemProperties.set. This function has no return and the system

[android-developers] Re: Can not access to the system properties store?

2009-01-20 Thread Brian 1143
that normal apps can't, and this is probably one of them. We generally consider settings to be part of the system, not an application. On Tue, Jan 20, 2009 at 6:34 PM, Brian 1143 brian1...@gmail.com wrote: I am modifying the Settings application, and needing to access the system properties

[android-developers] Re: Detect TAB key?

2008-12-19 Thread Brian Beattie
in which people normally read text. Q: Why is top-posting a bad thing? Brian Beattie LFS12947 | Honor isn't about making the right choices. beat...@beattie-home.net | It's about dealing with the consequences. www.beattie-home.net | -- Midori Koto

[android-developers] Re: Detect TAB key?

2008-12-17 Thread Brian Beattie
have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? Brian Beattie LFS12947 | Honor isn't about

[android-developers] Problems with onKeyDown after resume

2008-12-16 Thread Brian Durney
is an Activity that has a very simple onCreate method to create an instance of this view and call setContentView(). Thanks, Brian Durney public class DrawView extends View { Bitmap img; Drawable botDraw; float x = 35, y = 100; public DrawView(Context context

[android-developers] Re: Astronomical Android Dev Phone 1 shipping free

2008-12-08 Thread Brian Manning
is open 24 hours a day, eh? Enjoy, Brian --~--~-~--~~~---~--~~ 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

[android-developers] Re: Kalman Filters for the GPS data

2008-12-08 Thread Brian Abbott
to be tracked but, down to the foot, especially in heavily populated environments.. in say 5 years? Cheers, Brian A. On Dec 7, 2:12 pm, [EMAIL PROTECTED] wrote: hi all, so i understand that there are lots of smart people at google, so maybe maybe this is already in shipping libraries :) My guess

[android-developers] Re: Network access problem on ubuntu

2008-12-05 Thread Brian
Are they both have the APN record configured? If yes, then I have no idea so far. Maybe someone else could help on this... Regards On 12月5日, 上午11時33分, taosinker [EMAIL PROTECTED] wrote: Brian: Thanks for your response. After I double check the issue, I found more strange things. If I lunch

[android-developers] Re: Network access problem on ubuntu

2008-12-04 Thread Brian
Probably you forgot to configure APNs. Go to Settings - Wireless controls - Mobile networks - Access Point Names Press Menu to configure a new APN. On 12月4日, 下午5時01分, taosinker [EMAIL PROTECTED] wrote: Hi all: Now I build the android code on ubuntu, in the build I can launch the emulator on

[android-developers] Storing pictures in internal storage.

2008-12-04 Thread Brian
Hi all, The default behavior seems to store the pictures captured by camera into the external storage (the SD card). Besides, the Camera application won't even work if there is no SD card inserted. Why? Is there any possibility for users to store the captured pictures in the internal storage?

[android-developers] Re: Play Video Files in Android

2008-12-04 Thread brian
Do this: MediaPlayer mp = new MediaPlayer(); mp.setDataSource(PATH_TO_FILE); mp.prepare(); mp.start(); Brian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Clear my understanding of RIL.java and RIL daemon

2008-12-04 Thread Brian
JNI is the general interface between any Java code and native C library. My understanding is that RIL.java communicate with RIL daemon via unix socket. You can check development/pdk/docs/telephony.html for more details. Regards, On 12月4日, 下午5時42分, suneelkumar d [EMAIL PROTECTED] wrote: Hi ,

[android-developers] Re: Storing pictures in internal storage.

2008-12-04 Thread Brian
Jean-Baptiste Queru [EMAIL PROTECTED] wrote: Soldering the SD card in the G1 sounds like an elegant way to solve the issue about the lack of internal storage :) Might be right. But, consider a situation that T-Mobile may want to provide some value added software pre-installed in the phone. An

[android-developers] Re: Media Player Error -38,0

2008-12-03 Thread Brian
I am also getting the Error (-17,0) when trying to play a video file...here's my code. I cannot see anything in here that would cause a problem. Any insight? The video file *should* play fine. public class VideoActivity extends Activity { private String _videoPath; private

[android-developers] How to force portrait mode?

2008-11-20 Thread Brian Doyle
not the UI designer nor the person that approved the layout. I'm a humble coder so if you feel the urge to ignore the above question and address the bad design please move along. I already know. Thank you! Brian --~--~-~--~~~---~--~~ You received

[android-developers] Re: Question about ServerSocket

2008-11-18 Thread Brian Manning
convention of only allowing the root user to bind to ports 1-1024? I'm not seeing anything in the socket classes that is saying different, so I'm assuming this is the case. You might want to try binding your socket to a port above 1024 to see if that changes things. Thanks, Brian

[android-developers] Re: whoever wrote the email app for the G1.....

2008-11-11 Thread Brian Beattie
thing? Brian Beattie LFS12947 | Honor isn't about making the right choices. [EMAIL PROTECTED] | It's about dealing with the consequences. www.beattie-home.net | -- Midori Koto --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: EditTextPreference mask passwords

2008-11-11 Thread Brian Yarger
Thanks! I don't know why I didn't just try that, works great! Brian On Nov 11, 5:47 am, Christine [EMAIL PROTECTED] wrote: There's a password attribute you can use in the xml file. On Nov 11, 5:25 am, Brian Yarger [EMAIL PROTECTED] wrote: I've got a userpreferencethat is apassword

[android-developers] EditTextPreference mask passwords

2008-11-10 Thread Brian Yarger
I've got a user preference that is a password. Is there a way to mask the input like there is with an EditText component? Or do I need to subclass EditTextPreference to get this behavior? Brian --~--~-~--~~~---~--~~ You received this message because you

[android-developers] newb question about layout xml and view class

2008-11-07 Thread Brian
just changing subject to be more accurate On Nov 7, 9:37 am, Brian [EMAIL PROTECTED] wrote: late reply, but wanted to say thanks, this fixed it. On to my next problem: I'm trying to write my own View class to handle various events, using LunarLander as an example. Here's my simple layout

[android-developers] Re: Android Password Management Root Passwords

2008-11-05 Thread Brian Beattie
-posting a bad thing? Brian Beattie LFS12947 | Honor isn't about making the right choices. [EMAIL PROTECTED] | It's about dealing with the consequences. www.beattie-home.net | -- Midori Koto --~--~-~--~~~---~--~~ You received this message because you

[android-developers] newb layout problem

2008-11-03 Thread Brian
I've gone through the Notepad tutorials and thought I had a grasp of the basics, but apparently not. I'm trying to create a screen with a TextView on top with a row of buttons beneath it, but only the TextView is displaying. The buttons are not. What am I missing? Here's my layout.xml

[android-developers] Check network connection status.

2008-10-30 Thread Brian
How do I check the status of the phones current network connection? I can not find this in the android in the documentation. Can i figure out if the network is down completely? or its operating over any particular data network like 3G or wi-fi? I want to avoid waiting for the network

[android-developers] Re: first Map app getting stopped unexpectedly error - how to get more info? - resolved

2008-10-29 Thread Brian
manifest tag and uses-library under application tag..) in AndroidManifest.xml, - check the log output to get more details on your error:http://code.google.com/android/reference/adb.html#logcat 2008/10/28 Brian [EMAIL PROTECTED] I finally got my Map APIKey and added it to the MapView

[android-developers] Re: give-up screen (going to sleep)

2008-10-28 Thread Brian
I see... I guess more specifically.. if I use Thread.sleep(100); will the thread wake up 1000 seconds later if the phone is asleep? or must I use the AlarmManager to do something like this? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: keytool usage different, can't generate debug MD5 fingerprint

2008-10-28 Thread Brian
actual path tokeytooland your local folder where keystore lives. Please let me know whether it helps. On Oct 27, 12:21 pm, Brian [EMAIL PROTECTED] wrote: I'm following the directions here: http://code.google.com/android/toolbox/apis/mapkey.html#getfingerprint but it appears mykeytoolusage

[android-developers] Re: keytool usage different, can't generate debug MD5 fingerprint - resolved

2008-10-28 Thread Brian
I added double-quotes around the path to the keystore and got it to work. On Oct 28, 1:32 pm, Brian [EMAIL PROTECTED] wrote: Thanks for your reply. I keep getting 'Usage error, and is not a legal command'. I've looked at my command several times and don't see anything wrong. Here

[android-developers] first Map app getting stopped unexpectedly error - how to get more info?

2008-10-28 Thread Brian
I finally got my Map APIKey and added it to the MapView properties in the layout xml I've added the uses-library android:name=com.google.android.maps / to the manifest xml. I'm developing with Eclipse/ADT and from the Signing and Publishing reference doc, I think I've got the basic setup for

[android-developers] keytool usage different, can't generate debug MD5 fingerprint

2008-10-27 Thread Brian
I'm following the directions here: http://code.google.com/android/toolbox/apis/mapkey.html#getfingerprint but it appears my keytool usage is different: -list[-v | -rfc] [-alias alias] [-keystore keystore] [-storepass storepass] [-storetype storetype]

[android-developers] Re: give-up screen (going to sleep)

2008-10-27 Thread Brian
I am very confused..if the CPU shuts off when the device goes to sleep does that mean that any thread running will also be shut down? I am confused..how can one have a process run in the background if the CPU is off most of the time? --~--~-~--~~~---~--~~ You

[android-developers] how to get redirect url from response with HttpClient?

2008-10-24 Thread Brian
Sorry if this ends up duplicating, I haven't seen my first msg in the discussions after posting it 20 minutes ago I've got a basic connection and request/response working with HttpClient. But it appears to be redirecting, and I need that redirected url because I need to post to it. Where/how

[android-developers] how to get redirect url from response with HttpClient?

2008-10-24 Thread Brian
I've got a basic connection and request/response working with HttpClient. But it appears to be redirecting, and I need that redirected url because I need to post to it. Where/how can I get that with the org.apache.http.foo classes? I've been digging around in the docs for awhile and can't find

[android-developers] how to get redirect url from response with HttpClient?

2008-10-24 Thread Brian Preston
I've got a basic connection and request/response working with HttpClient. But it appears to be redirecting, and I need that redirected url because I need to post to it. Where/how can I get that with the org.apache.http.foo classes? I've been digging around in the docs for awhile and can't find

[android-developers] Re: how to get redirect url from response with HttpClient?

2008-10-24 Thread Brian
appreciate any help on the original issue with HttpClient. Thanks On Oct 24, 2:18 pm, Brian [EMAIL PROTECTED] wrote: I've got a basic connection and request/response working with HttpClient. But it appears to be redirecting, and I need that redirected url because I need to post to it. Where

[android-developers] Multiple notifications difficulties...

2008-10-24 Thread Brian
Is there something special one needs to do, if you want to have multiple notices. I am getting really strange behavior. When I post multiple notices..each notices results in additional icon in the status bar. And when I click on any of those icons it list all the notices that have been posted.

[android-developers] Re: User Alarm Interaction when Sleeping

2008-10-15 Thread Brian
Shailesh, I've built this using Eclipse, it has nothing to do with the editor. It's core Android interactions. I'll look at droidDraw. Are you sure it actually has a nicer sleep/alarm interaction? Thanks, Brian On Oct 14, 11:34 pm, shailesh prakash [EMAIL PROTECTED] wrote: Try droidDraw

[android-developers] Contacts.Phones.getDisplayName

2008-10-15 Thread Brian
Hello does anybody know what the following method actually does Contacts.Phones.getDisplayLabel public static final CharSequence getDisplayLabel(Context context, int type, CharSequence label) the documentation does not really say?

[android-developers] Re: Intermediate server Problem

2008-09-29 Thread Brian Beattie
need to store the username and password to send each time. Please i need suggestions from u guys to create this application. Thanks in advance. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? Brian Beattie LFS12947 | Honor isn't

[android-developers] Re: ThumbKeyboard.com / Alternative Input for Android

2008-09-27 Thread Brian Beattie
the order in which people normally read text. Q: Why is top-posting a bad thing? Brian Beattie LFS12947 | Honor isn't about making the right choices. [EMAIL PROTECTED] | It's about dealing with the consequences. www.beattie-home.net | -- Midori Koto

<    1   2   3   4