[android-developers] Re: AlarmManager ANRs
Figured this one out. A connectivity change intent was causing other apps and system services (notably maps) to increase system load dramatically. One of my own responses to a connectivity change was to cancel/set several alarms. Seems that when a device is under high load, alarm manager set/cancel calls can take around half a second so the chances were that when the ANR occurred it would be there i.e. the ANRs weren't caused by AlarmManager code hanging but by it taking so long. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Geofence not working over 3G/WiFi in Android 4.4+(KitKat) versions
There are some serious problems with the Google Play geofencing api. Most notably - not detecting fence transitions. Wrote my own. Havn't used geofencing, but it was the same with location manager area trigger back in 2009 coincidentally (want reliability, write own). Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] AlarmManager ANRs
In the dev console I'm getting ANRs on various 4.x Android versions apparently due to AlarmManager calls (set, cancel) from the UI thread hanging. Here's my app trace from the console, triggered by a location listener change: main prio=5 tid=1 NATIVE | group=main sCount=1 dsCount=0 obj=0x41667e40 self=0x4158a510 | sysTid=23105 nice=0 sched=0/0 cgrp=apps handle=1074155860 | state=S schedstat=( 0 0 0 ) utm=265 stm=70 core=0 #00 pc 00020660 /system/lib/libc.so (__ioctl+8) #01 pc 0002cf77 /system/lib/libc.so (ioctl+14) #02 pc 0001d3ed /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140) at android.app.IAlarmManager$Stub$Proxy.set(IAlarmManager.java:154) at android.app.AlarmManager.setImpl(AlarmManager.java:363) at android.app.AlarmManager.set(AlarmManager.java:191) at net.dinglisch.android.taskerm.ahu.b((null):-1) at net.dinglisch.android.taskerm.ahu.a((null):-1) at net.dinglisch.android.taskerm.ahu.a((null):-1) at net.dinglisch.android.taskerm.ahu.a((null):-1) at net.dinglisch.android.taskerm.MonitorService.a((null):-1) at net.dinglisch.android.taskerm.MonitorService.b((null):-1) at net.dinglisch.android.taskerm.ahr.a((null):-1) at net.dinglisch.android.taskerm.ahr.d((null):-1) at net.dinglisch.android.taskerm.ahr.d((null):-1) at net.dinglisch.android.taskerm.ea.onLocationChanged((null):-1) ... I'm not sure the difference between a 'MONITOR' and a 'NATIVE' thread, but in the traces below it looks like the UI thread and several Android services are all hanging waiting for a lock held by Binder_2, which is SUSPENDED (bottom of list). Anyone seeing similar traces ? I think maybe a common 'thread' is that there's a high load on the system at the time caused by background services. But surely that wouldn't delay the AlarmManager calls for 10 seconds !? TIA, Pent main prio=5 tid=1 MONITOR | group=main sCount=1 dsCount=0 obj=0x41667e40 self=0x4158a510 | sysTid=924 nice=-2 sched=0/0 cgrp=apps handle=1074155860 | state=S schedstat=( 0 0 0 ) utm=9864 stm=2174 core=1 at com.android.server.AlarmManagerService.remove(AlarmManagerService.java:~725) - waiting to lock 0x42723dd8 (a java.lang.Object) held by tid=9 (Binder_2) at android.app.AlarmManager.cancel(AlarmManager.java:479) at com.android.server.IdleMaintenanceService.unscheduleUpdateIdleMaintenanceState(IdleMaintenanceService.java:159) at com.android.server.IdleMaintenanceService.onReceive(IdleMaintenanceService.java:302) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at com.android.server.ServerThread.initAndLoop(SystemServer.java:1320) at com.android.server.SystemServer.main(SystemServer.java:1485) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) ` WifiService prio=5 tid=38 MONITOR | group=main sCount=1 dsCount=0 obj=0x42b65dd0 self=0x63cac3e0 | sysTid=1041 nice=0 sched=0/0 cgrp=apps handle=1674233912 | state=S schedstat=( 0 0 0 ) utm=267 stm=48 core=0 at com.android.server.AlarmManagerService.remove(AlarmManagerService.java:~725) - waiting to lock 0x42723dd8 (a java.lang.Object) held by tid=9 (Binder_2) at android.app.AlarmManager.cancel(AlarmManager.java:479) at com.android.server.wifi.WifiController$DefaultState.processMessage(WifiController.java:324) ... Binder_3 prio=5 tid=47 MONITOR | group=main sCount=1 dsCount=0 obj=0x42942c48 self=0x620c89f0 | sysTid=1204 nice=0 sched=0/0 cgrp=apps handle=1644379440 | state=S schedstat=( 0 0 0 ) utm=53871 stm=3892 core=1 at com.android.server.AlarmManagerService.set(AlarmManagerService.java:~561) - waiting to lock 0x42723dd8 (a java.lang.Object) held by tid=9 (Binder_2) at com.android.server.AlarmManagerService.set(AlarmManagerService.java:520) at android.app.IAlarmManager$Stub.onTransact(IAlarmManager.java:75) at android.os.Binder.execTransact(Binder.java:404) at dalvik.system.NativeStart.run(Native Method) Binder_2 prio=5 tid=9 SUSPENDED | group=main sCount=1 dsCount=0 obj=0x41f24d00 self=0x5b45a250 | sysTid=935 nice=0 sched=0/0 cgrp=apps handle=1531289608 | state=S schedstat=( 0 0 0 ) utm=53511 stm=3877 core=1 at java.util.ArrayList.size(ArrayList.java:~319) at com.android.server.AlarmManagerService$Batch.remove(AlarmManagerService.java:190) at com.android.server.AlarmManagerService.removeLocked(AlarmManagerService.java:734) at com.android.server.AlarmManagerService.setImplLocked(AlarmManagerService.java:578) at com.android.server.AlarmManagerService.rebatchAllAlarmsLocked(AlarmManagerService.java:400) at com.android.server.AlarmManagerService.removeLocked(AlarmManagerService.java:744
[android-developers] Re: SMS related API
Have a look at Telephony.Sms in the docs. To detect changes in the DB you can use ContentObserver. New messages can be detected also with Telephony.Sms.Intents.SMS_RECEIVED_ACTION, there's a lot of code on the internet for that. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Regarding SlidingDrawer
It's been deprecated and you should use this: http://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html Since the thread has moved into the neighbourhood of DrawerLayout, can anyone tell me why it's in the support library ? Does it not have the same hallowed status as Button ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Regarding SlidingDrawer
If they're in the support library, they are extras and can more easily be phased out when the time comes. Thanks for the background. That was my own interpretation, which is why I didn't use it last time I did a major UI refresh. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: Issues with KitKat 4.4.2, the recent apps list, and startForeground(): What criteria does KitKat use to kill an app when swiped away from the recent apps list?
Try a search of the forum. There are some long threads on this issue. It's also on the Android issues list in various guises. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible
What does key.getAlgorithm() return on 4.4 and previous versions? PBEWithSHA256And256BitAES-CBC-BC on both. What does ecipher.getProvider().getName() return on 4.4 and previous versions? BC on both (bouncy castle I guess) Note that Using Cipher.getInstance() without specifying explicitly the algorithm, mode and padding is a recipe for disaster. I thought mode was CBC, padding BC (whatever that is). I was under major time pressure when I implemented encryption :-) AlgorithmParameterSpec paramSpec = new IvParameterSpec( initVector ); Where does initVector come frome and how was it generated? An array of 8 random bytes, fixed. As is the salt. Most importantly, what encryption algorithm are you trying to use? AES. AES's block size is 16 bytes (128 bits) so there is no way it can work 8 byte (56 bit) IVs. Right, that matches with on old devices the cipher reporting the block size as 16 also. However, it's worked since 2010 on a huge variety of devices, which leads us to the conclusion that the previous implementation was doing something to adapt to the too-short IV instead of complaining, right ? So I need to find out what that something is. I'll start with filling the IV up to 16 bytes with 0s or 1s though :-) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
I forgot: if I pad initVector up to 16 bytes, and using the code I posted in the first post, I get this from the cipher init() call: java.security.InvalidKeyException: invalid parameter passed to AES init - com.android.org.bouncycastle.crypto.params.ParametersWithIV So it seems that PBEWITHSHA-256AND256BITAES-CBC-BC in the BC provider is not usable at all now ?! Or something else has also changed to make my code no longer valid. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
The reason it worked before is that it was probably falling back to using the IV included with the key (Cf. the class name). PBE algorithms can derive both the key and the IV from the password. Bingo! Changing the IV on an older device doesn't affect decryption :-) Convert your key to a 'plain' key with something like this and is should work SecretKey sk1 = new SecretKeySpec(sk.getEncoded(), AES); Yep, that fixes that error, but now the decryption fails (doFinal). I'm way out of my depth here, but does it make sense to use getIV() on the cipher on the old device and then set that as the IV on the new one ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
. no, because it's different for each passphrase. So the problem is that I'm specifying an IV at all now, so it's not doing it's internal derivation from the password ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
Yep, that's it, if I pass a null parameter spec it can decode the old files on 4.4. Can't thank you enough for your help! Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
Or just use the Cipher.init() version that takes only two parameters: ecipher.init( Cipher.ENCRYPT_MODE, key) This experience has taught me to specify all possible parameters when dealing with encryption :-) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android 4.4 Encryption Code Not Backwards Compatible
Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code: String passphrase = pass; String alg = PBEWITHSHA-256AND256BITAES-CBC-BC; PBEKeySpec keySpec = new PBEKeySpec( passphrase.toCharArray(), salt, 2001 ); SecretKey key = SecretKeyFactory.getInstance( alg ).generateSecret( keySpec ); Cipher ecipher = Cipher.getInstance( key.getAlgorithm() ); AlgorithmParameterSpec paramSpec = new IvParameterSpec( initVector ); ecipher.init( Cipher.ENCRYPT_MODE, key, paramSpec ); initVector and salt are both 8 byte arrays. ecipher.getBlockSize() reports 16, so yes, it doesn't match the initialization vector. Presumably some default has changed somewhere. This leaves all my users who used encryption in any way completely stuck. I've tried to arrange without success that the cipher block size is set to 8. For instance: Cipher.getInstance( AES/CBC8/PKCS5Padding ); Gives: java.security.NoSuchAlgorithmException: can't support mode CBC8 On the other hand, making initVector a 16 byte array causes init() to throw: java.security.InvalidKeyException: invalid parameter passed to AES init - com.android.org.bouncycastle.crypto.params.ParametersWithIV Any ideas ? TIA, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible
Correction: this one: Cipher ecipher = Cipher.getInstance(AES/CBC/PKCS5Padding); Works with a 16 byte initVector. That doesn't help me recover old users data though. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] 4.3, AccessibilityService, onKeyEvent
This doesn't seem to work at all. Android shows the 'user can read things you type' warning when I enable the Accessibility Service in Android settings, but no KeyEvents are received. At least with a soft (system) keyboard. Anyone tested with a hard keyboard ? Or have success with soft ? Thanks, Pent Manifest: service android:label=Tasker - JB android:name=.MyAccessibilityService android:permission=android.permission.BIND_ACCESSIBILITY_SERVICE intent-filter action android:name=android.accessibilityservice.AccessibilityService / /intent-filter meta-data android:name=android.accessibilityservice android:resource=@xml/accessibilityservice / /service xml/accessibilityservice: accessibility-service xmlns:android=http://schemas.android.com/apk/res/android; android:accessibilityEventTypes=typeViewClicked|typeViewLongClicked|typeWindowStateChanged|typeNotificationStateChanged android:accessibilityFeedbackType=feedbackGeneric android:accessibilityFlags=flagDefault android:canRequestFilterKeyEvents=true / Set event info: AccessibilityServiceInfo i = new AccessibilityServiceInfo(); i.eventTypes = eventFilter; i.flags = AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS | AccessibilityServiceInfo.FLAG_REQUEST_FILTER_KEY_EVENTS | AccessibilityServiceInfo.DEFAULT; i.feedbackType = AccessibilityServiceInfo.FEEDBACK_GENERIC; i.packageNames = null; service.setServiceInfo( i ); Various combinations of flags tried of course. Confirmed that the info is being set via log. Receiving events: @Override public boolean onKeyEvent( KeyEvent event ) { Log.d( TAG, got one ); return true; } -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Deposits From Google Wallet Weirdness
Note to Google: Our accountants hate you. Mine too. Hopefully they will unite into the Google Accounts Union (GAU - word for total disaster in German) and demand improvements. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to catch android.intent.action.MEDIA_MOUNTED
I tried that. It didn't seem to work. Have you ever registered for this dynamically? I only use it dynamically. If it works for you, what other problem do you think it could be? Maybe another app is setting higher priority on it and aborting ? Can't remember whether MEDIA_MOUNTED is an ordered broadcast or not. I am registering from a Service so perhaps it doesn't work the same as registering from within an Activity? I only use it from a Service too. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to catch android.intent.action.MEDIA_MOUNTED
The problem I have is that I cannot seem to catch android.intent.action.MEDIA_MOUNTED via a dynamically-registered receiver. You might need to do this: intentFilter.addDataScheme( file ); Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: plz suggest some way ??
Put the image in a framelayout. Add a textview. The textview will show over the image. Use onTouchListener on the imageview to get the tap coords. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: plz suggest some way ??
p.s. for multiple clicks, you'll need to add TextViews to the FrameLayout dynamically. Alternatively, create a class that extends ImageView and in onDraw draw the texts with the canvas text functions. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Top Developer?
The funny thing about this is that the makers of Locale, Two FortyFour Am, are top developer with only 4 apps, 3 of them having 1k-5k downloads (probably a total of 5K for the 3 of them) and Locale being 50-100k paid app, not being the first result on the search for Locale. Which will get a total revenue of around 350K judging by the numbers ( guessing even less, probably around 200K) and total downloads around 70k. Which is ok, but nothing special, Locale is not even the first app to show up in the search and we beat them in almost every category. Maybe because they won ADC1. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Google Wallet spam
They changed the sender field of cancelled messages, so if you were filtering on that then suddenly you're not. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Haven't received a payment since January 2013
This is seriously disheartening and I am greatly disappointed in the way Google handles this! Ah, reminds me of my early Android Market days. With a bit more 'Google experience' you'll become disillusioned and resigned instead. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Monthly Payout Reports late... and missing 50% of entries
This is getting ridiculous. I'm going to be fined by my tax authority in a few days for not being able to submit tax data. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Monthly Payout Reports late... and missing 50% of entries
Just got a link to the report for February, about 2 weeks late I believe. Only about half of the entries are there. There's a 'Known Issue' with Play Store support about 'Mismatches in Monthly Payout Reports', I guess that's the 50% missing entries issue. Does anyone know how long that 'Known Issue' has been there ? Thanks, Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: SlidingDrawer
I mean allowing the user to dynamically change the size of the open drawer. Right now, when you let go, it either springs open or shut. Ah, misunderstood you then. Since there's no 'amount open' callback in the API I guess it's not intended to remain in a partial state, you would have to change the source. As a side note, SlidingDrawer is deprecated in 17 and they advise to copy the source into your project anyway :-) Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: SlidingDrawer
Has anyone figured out how to make it open partially - ie not snap open all the way? I implemented that a few years ago, looking at the layout seems like the height of the SlidingDrawer view is the limited. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Unsubscribe
I created a bug report and added a workaround to it. https://code.google.com/p/android/issues/detail?id=53313 Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Unsubscribe
For those still encountering this issue, I resolved it adding the flaghttp://developer.android.com/reference/android/content/Intent.html#FL... to the broadcast pending intent, this doesn't force the service to get restarted. Could you explain which Pending Intent you added this to ? To one from the Alarm Manager ? Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Unsubscribe
Was this ever resolved? I've noticed a similar issue with my app. My users are also reporting this, though I can't reproduce it. It's not clear to me yet exactly what they've configured in the app which triggers it. My service is permanently foreground. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Dynamic Application Theme
No, I finish() the startup activity in onCreate() in which case it is never made visible. This is documented somewhere. Sure, but I couldn't manage to set the theme for the next activity that way. No idea why it works for you. Current (working) solution is to set the startup activity with the same AB settings as the main activity, wait 350ms after layout then start the main activity, but it has a nasty hacky feel to it, I'd much rather hook off an OS event. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Dynamic Application Theme
I have a StartUp Activity, which, based on user preference, can start the app in various real activity. So, I guess, I effectively disabled the preview screen, by doing this? If animations are enabled in system prefs, you should get an animation between the startup activity and the subactivity. Do you not ? I couldn't disable that. Intent.FLAG_ACTIVITY_NO_ANIMATION in the intent to startActivity() is apparently just ignored. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Dynamic Application Theme
Chrome (and Contacts) prevents its activity from being destroyed when he user presses Back (the normal code, in the framework, is to call finish then). If you did the same, the mismatched animation won't happen so often, since when resuming an existing activity, the system will animate its actual content. Ah, that's what you meant. A small improvement I guess, but not very satisfying somehow :-) Thanks anyway! Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Dynamic Application Theme
Progress! Don't know what I changed but managed to prevent the between startup and main activity animation. So a startup activity works, but only if there's a delay before I call the main activity. Here's the code: public class FrontDoor extends MyActivity { @Override public void onCreate( Bundle icicle ) { super.onCreate( icicle ); MyFrameLayout v = new MyFrameLayout(this); v.setLayoutParams( new ViewGroup.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT ) ); setContentView( v ); v.setOnLayoutCallback( new MyFrameLayout.OnLayoutCallback() { @Override public void onLayout(int width, int height) { new Handler() { public void handleMessage( Message m ) { startActivity( new Intent( FrontDoor.this, Tasker.class ). setFlags( Intent.FLAG_ACTIVITY_NO_ANIMATION ) ); } }.sendEmptyMessageDelayed( 0, 500 ); } }); } (the theme-setting stuff is in MyActivity) If there's no delay, the startup activity disappears immediately and is not there while the main activity is loading. I put it in a layout handler because that's the latest hook I can find into the activity creation process so the time from there till the next activity is most constant. Anyone have a better hook where the activity has finished displaying and I can safely start the sub-activity ? onResume() and onPostResume() are not late enough. Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Dynamic Application Theme
Tearing my hair out over this one. I'm offering the user a choice of several dark or light themes. Setting with getApplication().setTheme() and setTheme() in onCreate of activity (as the first thing in that function). There's a period while the app loads when the screen goes black. If you have a light desktop, it's very disconcerting (flashes). Of course I could set a fixed white theme in the manifest, but then the inverse problem occurs when user selects a dark theme. Tried everything I can think of e.g. overrode Application, set in Application:onCreate, created a FrontDoor activity that just sets the theme then loads the relevant dedicated Light or Dark activity. It appears Application:setTheme is completely ignored. The current best solution I have is to set a manifest theme with a grey background. Could create dedicated Dark and Light launcher icons, but Any tips ? Pent p.s. tried setting a transparent application theme in the manifest, then you can get a huge delay while data loads. And if Android is short of memory the user keeps seeing the desktop in-between activities. -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Dynamic Application Theme
http://android.cyrilmottier.com/?p=873 Good link, thanks. Unfortunately it only helps with static configuration, which is not the problem. The comments show that Romain also doesn't have a solution for user-preference-based theming. @Kostya: I know how to control the launch theme, the problem is doing it dependent on user theme. If I misunderstood how the Chrome setup might help, could you please let me know ? Pent -- -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Send bug report from 4.1
Other than POWER + VOLUME UP + VOLUME DOWN, I am unaware of a way to collect the bug report on 4.1 without a copy of the Android SDK installed. If anyone from Google is reading: for the love of God, please put a toast or audible notation or similar in when this key combination is registered. Since it takes about 10 seconds to do anything you have no idea if you've hit the right key combination or not. You've just made debugging super-hard by reducing the system logging access, please at least make the workarounds usable. Trying to get the users to use this key combo or attempt to unlock the secret developer options (after you've found out if they're on 4.2 or not) is just embarrassing. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Why oh why did Google let manufacturers take over the getExternalStorageDirectory() API?
A user should be able to move an SD card from one device to the next and have all of there data in the expected location and be ready to go from an app standpoint without jumping through these hoops. This is so broken it's pathetic. Yeah, this is where the pain comes. And when your app is installed on the phone and tablet, and they want to copy the config across with the SD card. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: 2012 october payout report
Don't see mine. Then again, you start expecting them to be late after a while. Finally, you remember it's the same company that runs Play Store and everything just kindof fits. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Develop 'Personal Call Assistant' or 'Answering machine' type application
Hi to all it is possible to make 'Personal Call Assistant' or 'Answering machine' type application in android Unfortunately not, you can't send audio 'back down the wire'. If most of your customers are FCUs (Fully Compliant Users) you could instruct them to always have a headset inserted with one half glued to the phone's microphone, however. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Google cancelled this order. Reason: Other
Isn't 'Other' a terrific choice of word ? So much better than 'Unknown', which sounds like things might be out of control. 'No, we definitely know what the reason is, it's Other' Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: R Can Not be Resolved
As previous posters have said, check your resource files in the eclipse package exporer for red xs. It's usually layouts with me. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: [Android LVL] Sporadic false negatives on client devices
To bring this back on topic, has anyone who has experience with LVL, in a NON in-app purchase way, just felt it was a waste of time and stopped using it? Yes, used it for 2 years but gave up in the summer due to problems since spring. I am starting to feel this way as one of the most frequent emails I get regarding support is that the LVL check failed when they just purchased the app. Yep, plus it's just too embarrassing new customers having to deal with licensing problems. No response from Google (naturally). Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL suddently stopped working - returns only timeouts
You have to realize they have hundreds of thousands apps in Google Play, with probably many tens of thousands developers. It's impossible to support everyone effectively. Don't make excuses for them. I have around 300k users and my app is pretty complicated, but I can still support them effectively. Not everyone has problems all the time. As well as support for Play-Store-related issues being more than useless, queries to Checkout (or Wallet, whatever it's called these days) also results in no-response or no-info standard answers for the whole time I've had to use it. I blame the monopoly position. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] UMS_CONNECTED, deprecated, replacement MIA
The UMS_CONNECTED action is deprecated according to the docs for Intent.java. It says: This constant is deprecated. replaced by android.os.storage.StorageEventListener StorageEventListener doesn't exist as far as I can tell. A user reports it stopped working on a Samsung Note, maybe due to the deprecation. Anyone have any info about this ? Thanks, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Google cancelled this order. Reason: Other
One of my users thought to try ordering via the Google Play website, and it succeeded after 2 previous fails via the app. Might be coincidence. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: display TYPE_SYSTEM_DIALOG
Does anybody know this ? thanks. The police will be here soon with 'it has SYSTEM in the name, why are you trying to use it ?' Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL suddently stopped working - returns only timeouts
The official developer forum is supported by people who 'donate' their time to do it, despite Google making other-worldly profits and Android being one of their main projects. The people who are supposed to answer questions are on a different, unmentioned in any guide or documentation that I'm aware of, forum because they like it better. I'm sure that's approximately what you just wrote but I can't quite get my head around it. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL suddently stopped working - returns only timeouts
You won't find any answers to Google Play account issues on the android-* forums. What a nice supportive post. 'I have a problem' 'You won't find any answers here' Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: LVL suddently stopped working - returns only timeouts
My app only required a single positive response and then would never query again. I had a few people every day with OK orders who couldn't validate, starting around May I guess, as you say. I don't know what the cause was. The only thing that helped was uninstall-reinstall. After giving Google a few months to fix it I gave up and removed the LVL, I was just too embarrassed to ask brand new customers to uninstall-reinstall anymore. Ideally the situation would have been: - see problem - investigate - report as much details as possible to Google - wait for fix But since they don't respond to any messages about Market I didn't see the point of wasting my time and increasing my blood pressure. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to initialize MediaRecorder in the background?
I have the same problem now... Ditto, except a year ago. We know you have the answer. Spill the beans Robert :-) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Status Bar Notification sometimes disappears with Android 4?
According to the link you provided, this seems to be an issue with early Android 4 versions. Hopefully, it will be fixed in Jelly Beans. Seems we have to live with it until then. Seems OK on a Nexus S / 4.1.1. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Interview Question For 1yr Expirance in Android Application Development
Explain how to create a ListView and populate it. ... lazily with thumbnails from a remote hires photo collection. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to detect the launch of another application?
There are at least three recent threads on this, try a search. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility
I've setup a new accessibility service with the BIND permission: service android:label=Tasker - JB android:name=.MyAccessibilityService android:enabled=@bool/is_jellybean_or_higher android:permission=android.permission.BIND_ACCESSIBILITY_SERVICE intent-filter action android:name=android.accessibilityservice.AccessibilityService / /intent-filter /service I can see that this service is being used since the name in Android accessibility settings is correct. However, I'm still getting the problem described here: http://code.google.com/p/android/issues/detail?id=33934 Don't see any security exceptions in the log. Are others still getting this 'must turn accessibility off and on after a reboot' problem with the BIND permission specified ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility
I find it works, but only if declaring the settings in xml and not in code. Oh no... the user needs to be able to specify the settings... Thanks for the info in any case. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
Great to see you in the Android world Alex. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'
How about a broadcast to DeviceAdminReceiver. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'
Note that app-locking is not the only use-case for running-app- detection. My app does app-specific actions like 'if in Browser turn on wifi', 'if in Reader AND (if device orientation is vertical brightness high else brightness low)' However, Dianne has stated in another thread along the lines of the potential for abuse in app detection being too high, so don't be confident of a replacement for READ_LOGS. Pent p.s. I don't use READ_LOGS -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS/JB adaptation rate
Just had a look, shocked to find I have 7.18% JB installs already. 38.5% ICS. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'
Generally if you can do this, it's kind of considered a security hole, By whom and for what reason ? while these chinese wall policies are implementable, I'm a little skeptical as to their real utility... Luckily my customers aren't. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS/JB adaptation rate
Mine's been out a couple of years. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly Bean, READ_LOGS and 'Application Lockers'
By the way, I think anyone at Google would argue this is a security hole, so I'm not alone They seem to allow services to do virtually anything that an activity can do at virtually any time. Doesn't seem to me they consider it a security hole. My app is called Tasker. It uses ActivityManager polling, which I detest. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Lock app
This is kindof frowned upon in official circles here so I'm wearing a big sombrero to hide my identity as I post this. Several solutions have been discussed in previous threads, you just need to search a little. - accessibility service (needs server enabled by user) - system log (needs polling, beware: permission going away with JellyBean) - ActivityManager (needs polling) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility
Another alternative would be to set up a pair of boolean resources (bools.xml). One, is_jelly_bean, would be set to true in -v16 and false in the default set. The other, is_not_jelly_bean, would be set to false in -v16 and true in the default set. Then, have two service elements in the manifest. One would have your android:permission=android.permission.BIND_ACCESSIBILITY_SERVICE and android:enabled=@bool/is_jelly_bean. The other service would not have your android:permission attribute and would have android:enabled=@bool/is_not_jelly_bean Great tip Mark, thanks. Expect it will be useful in the future too. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] TTS / Jellybean
On my Nexus S European GSM 4.1, if not all possible languages are installed for the 'Google Text-to-speech Engine' then checking TTS data with this action... TestToSpeech.Engine.ACTION_CHECK_TTS_DATA ...results in immediate return in onActivityResult of result code CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the languages that *are* installed. In other words, it's apparently impossible to get a list of available voices for the engine until *all* of the possible voices are installed. Users aren't going to be impressed at having to download e.g. Italian, Spanish, French etc before being able to say something in e.g. English. Logic lapse there somewhere ? In 4.0.4 and prior the installed voices were returned. Other voices could be downloaded via the TTS config in settings. Did I miss some extra API part ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean swiping task away from task list kills service
Oh boy, I very much don't like the sound of that. Not particularly looking forward to getting a JB OTA update anymore after all the other backwards compat problems already reported by users. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView / JavaScriptInterface / String []
Oddly enough, String [] is accepted as a parameter without problem, just not a return value. Feels a bit buggy or forgotten. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility
Now if I could only find out the reason why since ice cream sandwich accessibility has caused some phones to start talking to them as soon as the accessibility service of my app is enabled even though talkback is off and I don't use any TTS in the app. In case you didn't see it: http://code.google.com/p/android/issues/detail?id=23105 Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Jelly bean accessibility service needing android.permission.BIND_ACCESSIBILITY_SERVICE. Backwards compatibility
Ah, you were subtly side-promoting, very good :-) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)
Phew, something I *don't* use is disappearing for a change :-) If you want the user to give you debugging information, you can have them generate a bug report with power + volume down + volume up which includes It's just power and vol down on my Nexus S 4.0.4. Could you mention since which OS version this is available ? It's already pretty fiddly with being different buttons and taking ages to show a sign of life, would be preferable if I don't ask users to try it when it's never going to work. Thanks, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] WebView / JavaScriptInterface / String []
I'm trying to return a String [] from a function call in my JavaScriptInterface object: public String [] test() { return new String [] { 'flowers' }; } When I call this in the WebView javascript, it just stops at that point. Is this just not supported ? Has anyone managed to get it working ? Thanks, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView / JavaScriptInterface / String []
I thought that might turn out to be necessary, thanks for confirming. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView in Andoird 3.x and 4.x does not load JavaScript files
Are you seeing any lines written in the LogCat (generated by the browser) that could indicate what is going on? Also, try set a WebChromeClient on the WebView and override onConsoleMessage. On the other hand, I've been working with WebView and JS for the last few weeks and it's often annoyingly quiet when something goes wrong. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: DevicePolicyManager.locknow() problem on Android 4.0.4
My application is using DevicePolicyManager.locknow() but it is not working (the screen will on again after the screen is off by the locknow() ) on Android 4.0.4 (but works fine in other version). I found that there are some applications that can make the screen lock/off works on Android 4.0.4. I sent email to them for help but none respond. :'( Anybody knows how to overcome DevicePolicyManager.locknow() problem in Android 4.0.4 or is there any workaround ? One of my users reported the same problem. The workaround was to do it again a short time later. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Easy and fast String obfuscation?
Just use a 3rd party base64 library, it's a very small piece of code. e.g. http://www.source-code.biz/base64coder/java/ Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Localization of large amount of resources, updates and design
If you want the user downloading only one language, you have to handle that yourself i.e. the apk downloads the language it needs post- install from some servers somewhere onto external storage. For some critera (e.g. SDK supported) you can upload different APKs to Market and Market gives the user the relevant APK, but I don't think language is a possible criteria, would be happy to be corrected. The other question is, when you have large application, and you detect a bug, fix it and then republish it, what does user get as an application update, whole .apk or only classes thet are changed? Currently the whole apk. I notice in JellyBean (newest Android version) they're starting with incremental updates however. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: detect if an app is launched
The platform deliberately does not provide easy mechanisms to do this, because monitoring what the user is doing is not something to encourage. If someone wants to do it for 'bad' reasons, they're not going to be discouraged by a little extra time and extra resource usage of having to poll for it! Not providing an event for this just penalizes devs/users with a 'legitimate' need for the info. You haven't said why you want to do this, but I would discourage you from whatever path you are going down here. Users like to do different things depending on which app they are using (different screen brightness, timeout, turn on/off wifi for Internet etc). Automation apps are reduced to battery-expensive polling to provide this currently. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: new look for the android app developers website
Bear in mind that a new statue appeared at the Googleplex, and today is the first day of the Google I|O conference, meaning that we are probably just a few hours from a new Android SDK release, whose docs will only show up in the new site layout. N! Not another one already! Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: startForeground icon not showing on Galaxy Nexus
Are you changing the state of a component sometimes ? If so, probably this: http://code.google.com/p/android/issues/detail?id=21635 Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to use ProGuard ?
Try setting an absolute path to the proguard config to make sure it's being picked up. Also make sure you have the latest SDK. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Destroy WebView without leaking window
Thanks for your response. accomplish? I'm asking because these dialogs are modal. All interaction and app reactions are meant to take place within the scope of that dialog until *the user* makes it disappear by pressing a button. It is pretty unusual that the activity wants to finish while a dialog is still open. The user pre-configures a timeout by which he wants the javascript execution to have ended, that's what I'm trying to implement. Another thing comes to my mind. The last time I had to play around with WebView (about a year ago) there was actually no alert popup support out of the box. It's definitely there now. I don't know whether the latest API versions changed something about that but you must be using a WebView which has an overridden, customized WebChromeClient that is responsible for creating these JavaScript alert dialogs in the first place. No, you can just put an alert('hello') in, at least on my Nexus S 4.0.4. So whatever code you are using there must be custom WebChromeClient that creates the dialog. Look for that code and change it in a way so you can dispose the dialog prior finishing the activity. I'd prefer to use the default implementation, but I guess if I can't solve the problem I could implement the dialogs myself, thanks for the tip. I tried putting a JS setTimeout() at the start of the script BTW but alerts seem to take over the timer. Pent p.s. I'm not a JS programmer if that's not obvious :-) -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Destroy WebView without leaking window
I decided to implement the three dialog functions so I can cleanly remove the dialog if necessary, it's not particularly complicated it seems. Probably better backwards compatibility too. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Destroy WebView without leaking window
If I have a WebView showing a javascript alert dialog, I can't find a way to leave the current activity (the one with the WebView) without getting the dreaded activity blah has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41463258 that was originally added here because the dialog is still showing. Anyone any tips ? I tried everything I could think of to get rid of the dialog first. TIA, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Destroy WebView without leaking window
Have you tried subclassing WebView and calling super.destroy() from onDetachedFromWindow()? Calling webView.destroy() is not a problem, I do that before calling finish() on the activity. Nevertheless I tried what you suggest with the same result, unfortunately. Even after the webView.destroy() call, and confirmation in the system log: D/webviewglue(17480): nativeDestroy view: 0x739ae8 The javascript dialog is still visible. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can't able to install google play billing
Hah, lured you in with a vaguely technical question then throws in the career development query which didn't work as a thread starter previously :-) Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Long press on the Google map secret?
Thank, but i this saw. I think this method does not correct. Engineers tell in what direction think :) I used onTouchEvent for long-click for the last couple of years without problems. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Contacting Google - how things are done... by Google
I'm following up on this. Hilarious :-) To get a response from Google you have to publish a large document detailing multiple contact attempts and spread the URL around the web. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Packaging On-Device With Aapt
I'm trying to (on-device) unzip my apk, decode the manifest to plain xml, remove some permissions from the manifest, and then package it again. The problem is at the repackaging stage (aapt p -M AndroidManifest.xml...) because one or two resource references in the manifest, most importantly the application icon, are not resolvable. If I provide the relevant drawable in a separate directory and refer to it with -S then the icon shows up OK in the launcher but it seems that aapt somehow messes with the existing resource IDs in resources.arsc and so all the resource IDs referenced by classes.dex are no longer valid. If I remove all resource references from (the decoded) AndroidManifest.xml before repackaging then it all works fine. But I would quite like to have an application icon showing in the launcher Any tips, suggestions etc that don't involve me hacking around in the aapt C code ? Thanks, Pent p.s. apktool is not available on-device -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: [Android LVL] Sporadic false negatives on client devices
Lots of failed validation complaints the last few weeks here, none previously since LVL launched. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to accept a phone call programmitically
Use the below code in the same package as specified and save as * ITelephony.aidl* That's the method I had been using, but the needed permissions aren't granted for most of the functions anymore. // Simulate a press of the headset button to pick up the I'll give that a go, thanks. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Banned For title Of App(hungry Hippo's)
It's not that they don't want to, it's just that the Play team seems pretty backlogged / doesn't really ever respond to such requests.. In my experience they don't respond to any requests or queries since the support forum was taken down. It's just a sham front-end to give the impression of support. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to accept a phone call programmitically
okay friends, I got it. Its working now. Any tips ? As far as I know that API needs a permission these days. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to accept a phone call programmitically
As far as I know that API needs a permission these days. Sorry, I meant 'needs a permission which isn't granted'. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging code that cause's a hardware restart of the phone :?
I've only ever (in over two years) seen reboots caused by changes made via the wifi manager API. If you're using it, I would start there. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to screen capture through fb0?
shot, and as of 3.0 the command for taking a screen shot and internal Java implementation use a different mechanism that always qworks. What is the 'command for taking a screen shot' ? Thanks, Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android permission denial when installed in wrong order
http://code.google.com/p/android/issues/detail?id=25906 Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Google Play
This may be obvious but someone has to say it Play ? In what sense am I 'playing' while reading a book about quantum physics, listening to Bach or using a calendar app ? Play ? Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Closing system dialogs (ACTION_CLOSE_SYSTEM_DIALOGS?)
It must be possible somehow because the Tasker app is able to close system dialogs. I guess they use some black magic though. No, just the same code as you. Maybe there's a permission you missed. Maybe it doesn't work in Tasker anymore either, I havn't tested it for at least 18 months. Pent -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en