[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Lee
there's a power warning. Power to the user! Lee --~--~-~--~~~---~--~~ 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: Deep sleep behaviour

2009-09-10 Thread Lee
bristling about your blanket- ban (without an alternative given) as opposed to warning. Could be I bristle too easy :-) Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Scaled down image + bottom buttons in dialog

2009-09-10 Thread Lee
into account the aspect ratio) there are big loads of blank space left. I've tried every variation of layout_width, gravity, weight, image scaleType, container etc I can think of. Thanks for any tips to save my remaining hair, Lee --~--~-~--~~~---~--~~ You received

[android-developers] Re: Release screen on wake lock problem

2009-09-16 Thread Lee
, is described as being 'for a short period' (or something like that, we're probably talking ms). If there is a way to programatically give the device a 'hey you, wake up' kick I would also be interested in that, but my previous investigation didn't turn up a way. Lee p.s. just kidding Dianne. When I use

[android-developers] Re: Image in RemoteView disappearing or changing

2009-09-17 Thread Lee
I had/have the/a disappearing widget image problem too, and mine wasn't related to orientation changes. My post is back 10 pages or so. I also posted how I got round it: keeping the image cached in device memory and then setting the removeview image with views.setImageViewUri. Good luck, Lee

[android-developers] HTC Magic Keyboard compatibility issue

2009-09-22 Thread Lee
with the keyboard state. In general is there a way to detect software keyboard hide / show events in a non-vendor specific manner? This would be highly useful for any application that is implementing custom views. Thanks Lee --~--~-~--~~~---~--~~ You received

[android-developers] Re: HTC Magic Keyboard compatibility issue

2009-09-23 Thread Lee
for the system keyboard to be shown then there should be a way of being told when it's later hidden. Thanks Lee On Sep 24, 12:06 pm, Chris Stratton cs07...@gmail.com wrote: Or to put it real simply, how come we can easily toggle the showing of the keyboard, but not query or set it? I do see

[android-developers] Re: How to display Dialog Box without showing the Activity!

2009-09-24 Thread Lee
behind the dialog though. Guess you could fiddle with your activity background (e.g. transparent) to avoid this. Lee On Sep 24, 10:33 am, Abdul Mateen abmat...@gmail.com wrote: Hi, I want to display Dialog Box when the application is launched before loading and launching the activity. or you can

[android-developers] Re: How to display Dialog Box without showing the Activity!

2009-09-24 Thread Lee
You could have a look at different themes e.g. android:theme=@android:style/Theme.Light.Panel (but that one doesn't have a title bar) You could try switching back to a normal theme afterwards, think it's Context.setTheme. Lee On Sep 24, 11:54 am, Abdul Mateen abmat...@gmail.com wrote

[android-developers] ACTION_NEW_OUTGOING_CALL, abort

2009-09-25 Thread Lee
. Blocking calls using this method seems to work fine, are there ill- effects to be expected ? And if you don't abort the broadcast, what action is the parental control application mentioned first supposed to take ? Thanks for any hints, Lee

[android-developers] Re: ACTION_NEW_OUTGOING_CALL, abort

2009-09-25 Thread Lee
Don't know how I missed that, sorry for wasting your time. Lee On Sep 25, 5:52 pm, Dianne Hackborn hack...@android.com wrote: Er the documentation right above and below what you quoted talks about canceling calls: Once the broadcast is finished, the resultData is used as the actual number

[android-developers] Re: Intent.putExtra (String name, String[] value) caching old value

2009-09-26 Thread Lee
Try using setData() to store your message instead of extras: that forces the Intent to be seen as a new one. Or you can keep using extras and create some other unique token every time for setData(). Lee p.s. also see the flags you can use at the end of the getService call (read

[android-developers] Re: Intent.putExtra (String name, String[] value) caching old value

2009-09-26 Thread Lee
Try using setData() to store your message instead of extras: that forces the Intent to be seen as a new one. Or you can keep using extras and create some other unique token every time for setData(). Lee p.s. you can also try FLAG_CANCEL_CURRENT at the end of your getService call (read

[android-developers] Re: Anyone used performHapticFeedback()?

2009-09-28 Thread Lee
. If really want to be hauled in front of a judge you can use the Vibrator service directly. Lee On Sep 28, 2:33 pm, James W jpbwebs...@gmail.com wrote: I want to invoke the haptic feedback buzz when my ImageButton is pressed, but I am not sure the best way to do it. I first checked that my

[android-developers] REGRESSION - trap in android 1.6 SDK inflating DialogPreference from XML

2009-09-28 Thread Lee
Code that was working fine on 1.5 is now trapping on 1.6 while inflating a DialogPreference. I've got a tab host and one of the tabs is hosting a PreferenceActivity. In the onCreate of the preference activity the preferences are loaded from XML using the following call: public void

[android-developers] Re: REGRESSION - trap in android 1.6 SDK inflating DialogPreference from XML

2009-09-28 Thread Lee
Ok thanks that's great information I'll look into it. Lee On Sep 29, 10:38 am, Romain Guy romain...@google.com wrote: DialogPreference is an abstract class and cannot be instantiated. There was a bug in the VM in 1.5 that would allow abstract classes to be instantiated through reflection

[android-developers] RecognizerIntent available languages ?

2009-10-01 Thread Lee
Does anyone have an inkling how I could find out the available languages for speech recognition (relating to the LANGUAGES extra on the ACTION_RECOGNIZE_SPEECH action). (so that I can offer them to the user) Thanks, Lee --~--~-~--~~~---~--~~ You received

[android-developers] GestureLibrary question/suggestion

2009-10-23 Thread Lee
button presses OK, bit late maybe :-) Lee --~--~-~--~~~---~--~~ 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

[android-developers] Determining keyboard vibrate setting

2009-10-26 Thread Lee
Is there any way that the setting Vibrate on keypress located at settings -- Locale text -- Android keyboard -- Vibrate on keypress can be queried by an application? Thanks Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Starting activity from service/receiver ? Bugged in 1.6 ?

2009-10-27 Thread Lee
know if the delay was there in 1.5, but I'm assuming not since I can't find the error message in the 1.5 source code. Launch code is below. A 5 second delay is really ruinous for my application, a hint, solution or workaround would be great if anyone has ideas. TIA, Lee Intent intent = new

[android-developers] Android tasks and activities

2009-10-27 Thread Lee
that pressing back on activity B at step 5 above shows the home screen again rather than activity A Thanks Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: T2S OnUtteranceCompletedListener not working

2009-10-28 Thread Lee
I had this problem too. I used tts.isSpeaking() as a workaround. Lee On Oct 28, 5:12 pm, Markus Gursch swordia...@gmail.com wrote: other hints i need to know when the speak is over On 28 Okt., 14:52, Markus Gursch swordia...@gmail.com wrote: Thanks, i saw this entries

[android-developers] TabHost NullPointerException

2009-10-28 Thread Lee
/AndroidRuntime(1078): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549) 10-28 22:10:18.849: ERROR/AndroidRuntime(1078): at dalvik.system.NativeStart.main(Native Method) But with no word from the Android team. Is this a framework issue? Thanks Lee

[android-developers] Re: Starting activity from service/receiver ? Bugged in 1.6 ?

2009-11-06 Thread Lee
Thanks for the confirmation, I'll put in a bug report. Lee On Nov 5, 3:48 am, wsgfz...@gmail.com wsgfz...@gmail.com wrote: same problem here. But it works fine in 1.5. It will delay a few seconds to launch a new activity both in 1.6 2.0. any ideas? On Oct 27, 7:07 pm, Lee lee.wil

[android-developers] Archos/Android development

2009-11-14 Thread Lee
or *anything* except that single page on appslib.com ? - any idea where to download AppsLib.apk to try it on the emulator ? The link on appslib.com gives me 404. I'm sure these questions will come up a lot in the next days as people port over for their Christmas gift. TIA! Lee -- You received

[android-developers] Re: Archos/Android development

2009-11-15 Thread Lee
space under it ? Lee -- 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+unsubscr...@googlegroups.com For more

[android-developers] Re: Archos/Android development

2009-11-15 Thread Lee
Sorry, just to check: the extended status bar doesn't show up in your emulator, right ? I just get the normal status bar even with the a5_horiz skin. Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: ADC2 Results?

2009-12-01 Thread Lee
similar feelings. I havn't tested the overall winner, but from the description my app (tasker.dinglisch.net, 3rd place utilities) can do the same and around %1 more. I would definitely focus on simplicity and polish if there's another ADC. Lee -- You received this message because you

[android-developers] setImageViewUri / higher density screens

2010-02-11 Thread Lee
on the homescreen. In both cases, the icons are 48x48, and use exactly the same layout. Anyone any idea why one scales up and the other doesn't, and what can be done ? Thanks, Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] AppWidget bitmaps disappear after a few minutes

2009-09-01 Thread Lee
Hello, I thought this one was funny until it kept me up for 5 hours last night trying to beat the ADC deadline! I have an appwidget with an image view in a linear layout. I set the bitmap to be the icon of an application: Drawable d = packageManager.getActivityIcon( new ComponentName (

[android-developers] Re: App Widget and Orientation Changes

2009-09-01 Thread Lee
is disappearing while the rest of the layout remains, though no update is being done (I don't update my widgets at all). How are you setting the ImageView image ? In my case, if I use views.setImageViewResource it persists, if I use views.setImageViewBitmap it doesn't. Lee

[android-developers] AppWidget bitmaps disappear after a few minutes

2009-09-01 Thread Lee
Hello all, pleased to join the community after moving over from PalmOS recently. I thought this problem was funny till it kept me awake all night trying to beat the ADC deadline... I have an ImageView in a LinearLayout of my widget. I set the ImageView drawable from an application icon like

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread Lee
was also worried about catching something in the last few weeks, would have been a nightmare! Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: what could disable the back button...

2009-09-02 Thread Lee
I also highly recommend logging in onpause,onstop,ondestroy,onresume,onstart,oncreate,onsaveinstancestate,onrestoreinstancestate,onuserleavehint so you can see what is happening when. Lee On Sep 2, 3:00 am, sdphil phil.pellouch...@gmail.com wrote: I have a bunch of activities

[android-developers] Re: App Widget and Orientation Changes

2009-09-02 Thread Lee
your aren't configuring an update at all (e.g. just a static widget) via the widget configuration or manually? Yes, my widgets aren't for display purposes, they're just for clicking on so the user can initiate a pre-configured set of actions. They look like application icons. Lee

[android-developers] Re: App Widget and Orientation Changes

2009-09-05 Thread Lee
. The icon is still not visible after a device reboot but you can't have everything can you :-) Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: App Widget and Orientation Changes

2009-09-05 Thread Lee
, fileName, Activity.MODE_WORLD_READABLE ); } views.setImageViewUri( R.id.icon, Uri.parse( cachePath.toString() ) ); (you should delete the cache file when the widget is deleted of course) Lee --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Junk AppWidgets after App Uninstall

2009-09-05 Thread Lee
When my app is uninstalled, it's app widgets get left behind with a lovely white error message on a black background. Is it expected that the user has to clean these things up when an app is uninstalled, or am I missing some notification ? (or option 3) Thanks, Lee

[android-developers] Re: App Widget and Orientation Changes

2009-09-07 Thread Lee
On my G1 it's not possible. The standard G1's home screen rotates when you slide out the keyboard. Right, thanks. lilbyrdie, I can confirm that my caching solution also works when the screen is rotated. Lee --~--~-~--~~~---~--~~ You received this message

[android-developers] apk validation by file size

2009-09-07 Thread Lee
I had the thought of checking for tampering with the apk by embedding a couple of checks against it's size once installed on the device. I was just a bit concerned that maybe the size would change dependent on the device (e.g. different FS format or whatever). Thanks, Lee p.s. no debates

[android-developers] Re: apk validation by file size

2009-09-07 Thread Lee
code that I can call for that ? Any keywords you could throw in ? My original question, is the APK size the same on any device once created ? Thanks again, Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: apk validation by file size

2009-09-08 Thread Lee
easy to test it's size. Lee --~--~-~--~~~---~--~~ 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

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-08 Thread Lee
I posted earlier in this thread about my app Tasker. I've since had a chance to put up some material about it: http://tasker.dinglisch.net/ And yes, it's in the Productivity/Tools category. Lee --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-08 Thread Lee
Hey Paul, I'm 10 minutes down the A690 from you, small world. Registered Office Address: 12 Sancroft Drive, Houghton-le-Spring, Tyne Wear, DH5 8NE. Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Disabling spelling suggestions in EditText

2009-09-08 Thread Lee
to be none however that doesn't help either. What's the correct way to disable this functionality (in XML or in code) so that no spelling suggestions are provided? Thanks Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Lee
You can detect screen off and set an alarm every 5 seconds to poke the service if you want to keep it doing something. While the service is busy, make sure you hold a partial wake lock. Have a look at the SMSPopup for an example of wakelock management. Lee

[android-developers] Re: DatePicker and TimePicker CAN NOT be skined/themed !!

2009-09-09 Thread Lee
Really annoying that Date/Time are final classes as well so you can't extend them. Lee On Sep 8, 8:46 pm, Armond Avanes armond...@yahoo.com wrote: Thanks for your answer... Yes, copying the source code will be the worse case but how about the future changes and improvements

[android-developers] Re: DatePicker and TimePicker CAN NOT be skined/themed !!

2009-09-09 Thread Lee
carping that they weren't even extendable anyway (I would have liked to change the functionallity a little for my own purposes). Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Lee
from an alarm every 5 seconds is going to cause a noticeable drain on the battery. Following that philosophy to the end, the user should never turn the device on. Is there an alternative to an alarm, on the assumption that the application requires every-5-second processing ? Lee

[android-developers] Setting empty text on listView that does not have @+android:list as its ID?

2009-09-09 Thread Lee
the assumption that the list will have an id of @+id/android:list and the empty text @+id/android:empty Thanks Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Make SectionIndexer pick up new dataset

2009-12-08 Thread Lee
, but then, when I use the thumb control, the index position appears almost invisible in the top left corner of the grid! Thanks for any suggestion to fix either of these, Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Make SectionIndexer pick up new dataset

2009-12-08 Thread Lee
this: grid.setFastScrollEnabled( true ); Lee -- 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+unsubscr

[android-developers] Re: Make SectionIndexer pick up new dataset

2009-12-08 Thread Lee
Problem worked-around. If I change the height of the grid by 1 pixel after the data set changes, the SectionIndexer draws in the correct place too. Sure there's a more elegant way :-) Lee -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Lazy Loading Images in a ListView

2009-12-10 Thread Lee
from getView()) because otherwise I found scrolling getting sluggish as the image cache got busy filling the cache while scrolling was still ongoing. Lee On Dec 10, 2:21 pm, Samuh samuh.va...@gmail.com wrote: On Dec 9, 1:07 pm, Romain Guy romain...@android.com wrote: You can check out

[android-developers] Re: Lazy Loading Images in a ListView

2009-12-10 Thread Lee
Oh nevermind, I saw you realised the scroll problem already :-) Lee -- 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

[android-developers] Re: Alarms, Receivers and Wakelocks...oh my!

2009-12-11 Thread Lee
); context.startService( intent ); } } Call it from onReceive(). Use MyWakeLockManager to store/synchronize/ debug the WakeLock manipulations coming from different points in your code. Works well for me, anyway. The idea came from the SMSPopup code, thanks to the author. Lee -- You received

[android-developers] Re: Sending especial caracters (pause = ,) when calling with ACTION_CALL

2010-04-25 Thread Lee
-dialling. Any other workarounds or does this need reporting ? Lee On Apr 13, 2:38 pm, Mark Murphy mmur...@commonsware.com wrote: Gustavo wrote: I'm trying to place a call with Intent.ACTION_CALLand a tel uri including pauses and dtmf codes to be sent when the call is established (i.e. tel

[android-developers] Re: I've found a way to stop piracy of my apps

2010-05-07 Thread Lee
to be hacked in order to install it on a non-rooted phone, instead of the current 'just copy it over, it'll work fine' situation. I don't need 100% security. Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Positioning an animation at an arbitrary location on screen

2010-07-20 Thread Lee
I'm trying to make it so that an AnimationDrawable is drawn at the point on the screen where the user taps. Is there an easier way to accomplish this than redeclaring the layout parameters for the RelativeLayout? Thanks Lee -- You received this message because you are subscribed to the Google

[android-developers] Change in behavior in X509TrustManager callback on Android 2.3

2010-12-15 Thread Lee
by the X509TrustManager is handled by the framework. I'm seeing a major change in the interaction between my application and the framework that I can reproduce using the Android browser. Thanks Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] inputType: numeric on SGS phones

2010-11-05 Thread Lee
Is the inputType:numeric treated differently on different phones? And will numberDecimal allow multiple decimal places? I have it configured for an editText, and can enter a period. However, there are two people which rated my app 1 star due to not being able to enter a period. One of which

[android-developers] Killing Activity / onPause() / isFinishing()

2010-05-13 Thread Lee
guaranteed to be called by the system according to the lifecycle doc. Thanks, Lee -- 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] Re: Killing Activity / onPause() / isFinishing()

2010-05-14 Thread Lee
. However, if isFinishing() is not set that doesn't help me. Lee On May 13, 8:43 pm, Moto medicalsou...@gmail.com wrote: What exactly are you trying to do? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Killing Activity / onPause() / isFinishing()

2010-05-14 Thread Lee
The activity is started from a service: you can't use startActivityForResult. Previously I had the service checking via the ActivityManager whether the activity was still running but it's not reliable enough. Lee On May 14, 11:04 am, Kostya Vasilyev kmans...@gmail.com wrote: You can do

[android-developers] ServerSocket issues

2010-05-22 Thread Lee
) ? Thanks, Lee -- 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+unsubscr...@googlegroups.com For more

[android-developers] Re: API 8 (Froyo) changed lockpattern setting

2010-05-25 Thread Lee
Thirded, I only just 2 weeks ago started using this functionality. Lee On May 25, 10:08 am, Bonifaz bonifaz.kaufm...@gmail.com wrote: It is really a shame, two of my apps are also relying on the LOCK_PATTERN_ENABLED setting not to be a secure settings (which clearly wasn't before). How can I

[android-developers] Re: Froyo-Problem: Calendar access

2010-05-25 Thread Lee
not to have changed. Lee On May 25, 8:34 am, Andreas Streim andreas.str...@googlemail.com wrote: Hi everybody, my app uses the internal calendar via the not officially, but in some articles on the web mentioned methods. So I have some lines to read all available calendars: String

[android-developers] Re: Froyo-Problem: Calendar access

2010-05-25 Thread Lee
The 'calendar' in your Uri is the problem, it's unrecognized so you get a null cursor back. Lee On May 25, 11:33 am, andreas andreas.str...@googlemail.com wrote: On 25 Mai, 11:44, Lee lee.wil...@googlemail.com wrote: Whether or not it's wise to use unpublished Uri's, Well, I would prefer

[android-developers] Re: Any guidelines for handling the Headset and Bluetooth AVRC buttons in Froyo?

2010-05-25 Thread Lee
to be able to grab ownership. Lee On May 25, 2:41 am, Stefan skyntc...@gmail.com wrote: I am trying to figure out what is the correct (new) approach for handling of Intent.ACTION_MEDIA_BUTTON in Froyo. In pre 2.2 days we had to register a BroadcastReceiver (either permanently or at run- time

[android-developers] Re: Froyo-Problem: Calendar access

2010-05-26 Thread Lee
Where do you see the 2.2 source?  I only see the 2.1 source. Ooops, sorry, forgot to check whether they updated. Then I guess there's a good chance it's just the URI. Lee -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Key repeat delay

2010-05-27 Thread Lee
Quickie: anyone know if the key repeat delay is accessible (readable) anywhere ? Thanks, Lee -- 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] 2.2: wifi startScan never produces SCAN_RESULTS_AVAILABLE_ACTION

2010-05-28 Thread Lee
if there are no APs around. Can anyone confirm ? Lee -- 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: Scan wireless networks periodically

2010-05-29 Thread Lee
Also note that on Froyo you never get SCAN_RESULTS_AVAILABLE (or, after a longer timeout than I wanted to hang around for) if there are no APs nearby whereas previously you did. Lee On May 29, 11:27 am, Kostya Vasilyev kmans...@gmail.com wrote: Note that sometimes Android initiates a scan

[android-developers] SectionIndexer Tweak

2010-06-01 Thread Lee
( l ); toggleFlag( FLAG_THUMB_PLUS ); } flag() and toggleFlag() are my own functions. Lee -- 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] Test if ContentProvider exists ?

2010-06-01 Thread Lee
How can I test if there's a ContentProvider for a Uri ? I'm currently doing a query on it and checking for a null cursor, but that generates an error in the system log each time, which I don't like to do. Pent -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Test if ContentProvider exists ?

2010-06-01 Thread Lee
Looks promising, thanks. Lee On Jun 1, 5:40 pm, Mark Murphy mmur...@commonsware.com wrote: Lee wrote: How can I test if there's a ContentProvider for a Uri ? You should be able to use methods on PackageManager for that. -- You received this message because you are subscribed to the Google

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-06-02 Thread Lee
killBackgroundProcesses works (you need a permission for it), but it merely restarts the background services, so it's a little poorly named. Lee On Jun 1, 4:26 pm, Mats matshof...@gmail.com wrote: Hi, I have an app killing feature in one of my apps but up to API 7 i always worked

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-06-03 Thread Lee
specifically. Probably I should move to the beginners board for a period :) Lee On Jun 2, 11:41 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Jun 2, 2010 at 1:18 AM, Lee lee.wil...@googlemail.com wrote: killBackgroundProcesses works (you need a permission for it), but it merely restarts

[android-developers] SurfaceView scrolling

2009-07-08 Thread Lee
in terms of having a SurfaveView scroll around to display the visible part of the underlying bitmap. Regards Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Resizing a SurfaceView when soft keyboard shown or hidden

2009-07-09 Thread Lee
Any feedback about: 1) Cause the size of the surface view to have its size changed when the on screen keyboard is shown and 2) Detect the size of the surface view size change (if the above methods are incorrect) Would be greatly appreciated. Thanks Lee

[android-developers] Re: Resizing a SurfaceView when soft keyboard shown or hidden

2009-07-10 Thread Lee
a container that can resize to accommodate the IME. In my case I don't have anything in the SurfaceView that fixes its size. Is there a trick with the gravity field, or another attribute that I might be missing? Thanks Lee On Jul 10, 2:30 pm, Dianne Hackborn hack...@android.com wrote: Did you

[android-developers] Re: Resizing a SurfaceView when soft keyboard shown or hidden

2009-07-10 Thread Lee
be resized? Thanks again, Lee On Jul 10, 4:14 pm, Lee labor...@gmail.com wrote: Thanks, There is nothing obvious that I can see. In another posting that I found by you I found the following: (http://groups.google.com/group/android-developers/browse_thread/ thread/5197932c3d691566/550605083fe8fda7

[android-developers] Detecting hiding of android keyboard

2009-07-13 Thread Lee
to determine whether there is an easier way to detect the keyboard being hidden (so that I can redisplay the button) other than looking for size changes in the SurfaceView. Looking for size changes and then searching for the keyboard is clunky. Thanks Lee

[android-developers] surfaceChanged callback takes a long time to arrive (SurfaceFlinger issue?)

2009-07-20 Thread Lee
by making calls to both invalidate() and postInvalidate(). Many thanks for any help you can provide. Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] using google map search API

2010-03-24 Thread lee
Is it possible to use google map search API in android? -- 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] HttpsUrlConnection and OpenSSL freeing session

2010-03-30 Thread Lee
file from the server after the first request 3) I always close the InputStream in the event that I get an InputStream on the first connection Any information or advice about how to prevent the OpenSSL session from being freed is much appreciated. Thanks Lee -- You received this message because

[android-developers] Getting invalid region in onDraw callback

2011-06-03 Thread Lee
of the view. Is the getClipBounds function the correct way to get hold of the invalid region? Are there some special flags that need to be set on a view so that an invalid region actually is respected? Thanks Lee -- You received this message because you are subscribed to the Google Groups Android

[android-developers] New to developing

2012-08-29 Thread Lee
As such I took your advice and started with the Hello World tutorial, and surprise! Errors errors and an error. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:tools=http://schemas.android.com/tools;

[android-developers] Re: Java and Eclipse issues on Win 7 64bit

2012-03-14 Thread Lee
I do not know if this is your issue or not, but I had to add the following to the eclipse.ini file since my JDK/bin was not in my PATH. -vm C:/Program Files/Java/jdk1.6.0_29/bin/javaw.exe On Monday, March 12, 2012 1:13:11 AM UTC-7, MikeDaPsyke wrote: I have downloaded JDK 7u3 with NetBeans

[android-developers] Re: Bug in connectivityManager?

2011-08-22 Thread Lee
It would be nice if the documentation at least described that it can return null On Aug 16, 1:17 pm, darrinps darri...@gmail.com wrote: Does anyone know why when you advance your phone's date, say three months, into the future that the connectivityManager.getActiveNetworkInfo() returns null?

[android-developers] onKeyUp, onKeyDown no longer being sent to Views?

2012-12-13 Thread Lee
We have hit a serious roadblock in our application, which provides remote connectivity to Windows desktops. We have a view that renders a remote server desktop and allows the user to interact with the server desktop using the software keyboard and by tapping on the screen. With the recent

[android-developers] Unable to authorize adb on Windows 7 after set of 10/8/13 Microsoft patches applied

2013-10-12 Thread Lee
, but doesn't know it doesn't know, so when it sends the 'do you authorize me' command to the N4, it's sending an invalid fingerprint, and the N4 silently ignores it. Anyway, thank you for any help. Lee -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Unable to authorize adb on Windows 7 after set of 10/8/13 Microsoft patches applied

2013-10-14 Thread Lee
that the root bug is Microsoft's. I could easily believe that they fixed some security related hole and that exposed a bug in adb, bash, or something in my setup. Anyway, maybe this will help someone someday. :-) Lee On Saturday, October 12, 2013 6:16:04 PM UTC-7, Lee wrote: I have a new

[android-developers] Re: Regarding .apk file converting to .java file

2008-12-26 Thread Lee ligoden
Good idea! 2008/12/24, Naina kna...@gmail.com: Hello, If I have an .apk file for android application, I would like to know how can I convert this .apk file to .java file so that I can see the code in that application. I have tried using dexdump to get the .dex file, but I am not getting

[android-developers] Re: Merry Christmas and a Happy New Year!

2008-12-26 Thread Lee ligoden
Hi, Thank you! Merry Christmas and Happy New Year,everyone! ligoden Lee 2008/12/24, Teo teomina...@gmail.com: Hi, just wanted to wish all the devs in this group a Merry Christmas and a Happy New Year, and special thanks to the Android team who made this all possible! Best wishes

回复: [android-developers] Re: Android D ev Phone Battery life

2009-01-01 Thread mark lee
• •It needs improve the WIFI power management, actually the Android hasn't a good strategy for WIFI power management. --- 08年12月29日,周一, Steve steveoliv...@gmail.com 写道: 发件人: Steve steveoliv...@gmail.com 主题: [android-developers] Re: Android Dev Phone Battery life 收件人: Android Developers

回复: [android-developers] Re: native C+ + SIP stack on Android

2009-01-09 Thread mark lee
Should be.the JSR180 or JSR 281 inteface given out as JNI native interface, and the higher layer runs in JAVA space. --- 09年1月9日,周五, David Turner di...@android.com 写道: 发件人: David Turner di...@android.com 主题: [android-developers] Re: native C++ SIP stack on Android 收件人:

[android-developers] Internet Permission issue and HTTP Requests

2009-10-11 Thread Lee Jarvis
manifest. Here is my example code.. http://pastie.org/649368 Thanks for any replies. Regards, Lee --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] HTTP GET and ProgressDialog

2009-10-11 Thread Lee Jarvis
the GET request is in action. I understand this would require threads, and I have attempted to implement this, but to no avail. Could anyone assist in this matter? My code is here: http://pastie.org/650756 Thanks for any reply Regards, Lee --~--~-~--~~~---~--~~ You

[android-developers] Re: HTTP GET and ProgressDialog

2009-10-11 Thread Lee Jarvis
Thanks, I'll give it a go. What's with the (ick)? AlertDialog? On 11 Oct, 22:08, Mark Murphy mmur...@commonsware.com wrote: Lee Jarvis wrote: Hi guys, I have a small test application that simply grabs a URL from an EditText box, before downloading the page source for the URL, prompting

  1   2   3   >