[android-developers] Re: Navigation Drawer Icon Theme/Color?

2014-05-23 Thread b0b
If you don't want to copy / modify classes: private void setActionBarUpTint(int color) { int upId = getResources().getIdentifier(android:id/up, null, null); if(upId == 0) return ; View view = getWindow().getDecorView().findViewById(upId); if(!(view instanceof

[android-developers] Problem updating app (dev console)

2014-03-21 Thread b0b
I have an issue updating an app to a newer production APK. Although the upload worked fine without error and th dev console indicates that the uploaded version is the latest version in prod. After 15h or so the Google Play store dididn't pick the update and still points to the previous version.

[android-developers] Re: Google Play Services adds nearly 10,000 methods!

2014-02-08 Thread b0b
Yes, the monolithic structure of the Play Service jar sucks for the reasons you mention. However you can generate a new jar from it with jarjar, extracting only the classes you need and their dependencies. I had to do it for a project that otherwise would hit the 64K dex limit. On Friday, 7

Re: [android-developers] Re: Rating Hijacking !

2014-01-07 Thread b0b
On Monday, 6 January 2014 18:24:30 UTC+1, andjarnic wrote: I am wondering why they don't require comments? There should be like a minimum of 2 or 3 words (and checked so that they are real words) before the comment pushes. Also, there should absolutely be a way to contact a commenter..

[android-developers] Re: Rating Hijacking !

2013-12-28 Thread b0b
You are right... A gift from Google to developers for the holiday season maybe ? Seriously, that's lame... More discussion on this: http://forums.makingmoneywithandroid.com/android-development/3898-google-play-bad-rating-after-10th-december-3.html On Saturday, 28 December 2013 11:02:53

[android-developers] Re: Rating Hijacking !

2013-12-27 Thread b0b
I have observed something exactly like you describe in my own app. The graph you posted is similar to mine. I had stable ratings since forever until Dec 11th where unexplained 1-star ratings started to appear until the ratings finally stabilized (flat graph) on Dec 21th. At first I though it was

[android-developers] Re: Immersive mode instructions reappear randomly

2013-11-25 Thread b0b
I use immersive mode and doesn't have the problem you describe. But I'm not calling setSystemUiVisibility() on the decor View but on a subclassed View (a ViewPager in my case) pretty much following the System UI Visibility Kitkat API Demo sample. -- You received this message because you are

[android-developers] Re: Passing the design for tablets checks (dev console optilmization tips)

2013-11-24 Thread b0b
On Sunday, 24 November 2013 01:03:24 UTC+1, Nathan wrote: Where is this appeal form? https://support.google.com/googleplay/android-developer/contact/tabletq -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Passing the design for tablets checks (dev console optilmization tips)

2013-11-23 Thread b0b
On Saturday, 23 November 2013 12:13:15 UTC+1, Adam Ratana wrote: You can also appeal this, without making changes. They may be looking for some kind of split layouts or something. Yes you can appeal it seems. There's a form for that. And it looks some developers having their app badged as

[android-developers] Re: Passing the design for tablets checks (dev console optilmization tips)

2013-11-23 Thread b0b
On Saturday, 23 November 2013 23:34:35 UTC+1, 3c wrote: If you go in your console, select your app, then optimization tips it says this: WHAT YOU SHOULD DOWHEN YOU DID IT *Designed your app for tablets* Hide details *Upload tablet screenshots:* Upload at least one screenshot for

[android-developers] Passing the design for tablets checks (dev console optilmization tips)

2013-11-22 Thread b0b
I have an app that I think is tablet friendly yet the dev console optimization tips report: Your layout should make use of the available space on tablets Great. It point to this page to solve it: http://developer.android.com/distribute/googleplay/quality/tablet.html#use-extra-space The

[android-developers] Re: Detecting the presence of a menu button.

2013-10-21 Thread b0b
You can force the appearance of the Overflow menu when a physical menu key is present with this hack below, calling that function with true for value. Not sure it still works on rcent versions of Android though. And of couse, someone is probably going to say don't do it!. static public void

[android-developers] Re: Detecting the presence of a menu button.

2013-10-21 Thread b0b
EDIT: this function must be called with false for the value param. On Monday, 21 October 2013 10:14:14 UTC+2, b0b wrote: You can force the appearance of the Overflow menu when a physical menu key is present with this hack below, calling that function with true for value. -- You received

[android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-26 Thread b0b
IAP with multiple accounts is in my opinion *broken*, even if I suspect current behaviour is how Google intended it. In my experience, in the presence of multiple accounts, the IAP code will always pickup the first listed account, in the device's Google account list in Settings, which may not

Re: [android-developers] Re: Becoming a Top Developer

2013-09-11 Thread b0b
They state Top Developer is a badge recognizing established, respected developers for their commitment to launching high-quality and innovative apps on Android. That's clearly a statement that non-top developers are unestablished , unrespected and not committing developers with poor

Re: [android-developers] Re: Deposits From Google Wallet Weirdness

2013-07-18 Thread b0b
On Thursday, 18 July 2013 17:38:14 UTC+2, David Erosa García wrote: I'm having the same issue. I received May payment twice, and June payment three times. Not that I regret receiving money, but this things never end well :) So I just called Google Wallet for Business (+1-855-9255386) and

[android-developers] Re: Question for a Google Play employee: is it allowed to release a pro version of my existing app?

2013-07-17 Thread b0b
IAP is the best solution here by far. -- -- 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] Re: Deposits From Google Wallet Weirdness

2013-07-17 Thread b0b
Happened to me and got a You have unapplied payments/credits notification in Wallet to notify cancellation of erroneous payments. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Large amount of orders not complete over this weekend

2013-07-09 Thread b0b
On Tuesday, 9 July 2013 16:19:21 UTC+2, piem...@googlemail.com wrote: Mine are now charging, and I have a 'decent' amount in todays stats, though short of what it should be had the bug not have arisen (my stats are fairly static day-to-day) Will be interesting to see if this recovers and

[android-developers] Re: Large amount of orders not complete over this weekend

2013-07-08 Thread b0b
After verification, all my orders since the 5th are stuck in the chargeable state (orange led). And I don't even speak of orders cancelled by Google... -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Large amount of orders not complete over this weekend

2013-07-07 Thread b0b
On Sunday, 7 July 2013 15:25:43 UTC+2, niko20 wrote: I had over 34 orders yesterday, but most of them are in the non-green state yet for some reason. I only got payout of about 10 of them. Anyone else seeing this issue? Usually they turn full green (both dots are green in the google

[android-developers] Re: What is wow factor about android studio in compare to Eclipse.

2013-05-16 Thread b0b
The wow factor is that it is a v0.1 IDE and that people install it as if it was the second coming, expecting it to be a stable product. WOW. -- -- 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] Re: Replying to user reviews on Google Play

2013-05-14 Thread b0b
On Monday, 13 May 2013 22:33:04 UTC+2, Piren wrote: Finally, everyone can stop complaining about this :) http://android-developers.blogspot.co.uk/2013/05/all-google-play-developers-can-now.html And instead complain about replying too much to users having the perverse effect of

[android-developers] Re: Google Play Services: UserRecoverableAuthException's intent doesn't start

2013-05-09 Thread b0b
On Monday, 11 March 2013 09:05:48 UTC+1, Goddchen wrote: I'm having issues with the Google Drive SDK for Android. Everything works fine except for some devices (on which it used to be working, but now doesn't) the Intent that is returned by `UserRecoverableAuthException.getIntent()`

Re: [android-developers] Running logcat from an application only shows the apps logs.

2013-05-02 Thread b0b
On Wednesday, 1 May 2013 23:13:44 UTC+2, TreKing wrote: On Fri, Apr 19, 2013 at 1:28 PM, Federico Cesari ficoc...@gmail.comjavascript: wrote: I'm developing an application on JB 4.2 that needs to read the logs from all processes running in the device. That is no longer possible as

[android-developers] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-20 Thread b0b
I use...java.util.concurrent.* classes. AsyncTask is just a specific usage of these classes. Avoid creating and managing threads yourself. Use Executors instead. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-12 Thread b0b
Eclipse for life here. I use it for Android, regular Java, C/C++, GWT development. Having it all in the same IDE is nice. Bashing Eclipse is popular. Each time someone bashes Eclipse, it is generally followed by stating how awesome Intellij is. This pattern is 100% predictable, especially on

[android-developers] Re: creating a complex tablet app

2013-02-17 Thread b0b
I have to agree with the OP somewhat. The thing is...that the Fragment API is horrible. Overly complicated and complex and error prone. As if the activity lifecycle wasn't complex enough, a new one on top of that was added. It shows that it was designed in a hurry to get the first version of

Re: [android-developers] UnknownHostException is not logged

2013-02-05 Thread b0b
On Tuesday, 5 February 2013 11:46:42 UTC+1, BoD wrote: FYI there was already an open bug for this: http://code.google.com/p/android/issues/detail?id=21436 I really think this change should be reverted, instead of 'fixing' the javadoc. Seriously, the logger should not decide for the

[android-developers] Re: Knockoff copy of my app on Google Play.

2013-01-29 Thread b0b
That's a good point to add (clever) CRC checks to an app. If app is repackaged = kaboom. Unless the repackager go through the trouble of removing the CRC check of course. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread b0b
On Wednesday, 16 January 2013 10:43:37 UTC+1, Kostya Vasilyev wrote: Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java That change is really stupid.

[android-developers] Re: Using APK Signature to detect .apk tampering (Attn: Dianne??)

2013-01-15 Thread b0b
PackageManager pm = context.getPackageManager(); try { PackageInfo info = pm.getPackageInfo( xxx.xxx.xxx.xxx, PackageManager.GET_SIGNATURES ); Signature[] sig = info.signatures; String sigstring = new String( sig[0].toChars() ); // Compare this

Re: [android-developers] How to specify an IntentFilter that only activates when the Intent comes from within my own app?

2013-01-13 Thread b0b
On Sunday, 13 January 2013 07:52:57 UTC+1, William Ferguson wrote: Thanks Joman, exactly what I was after. @Kristopher the use case is simple: I want to offer clients the ability to share using the standard Android mechanism and I want to provide a sharing end point myself. But for

[android-developers] Re: Best open source ImageView pinch zoom project

2013-01-04 Thread b0b
- ImageViewZoom by sephirot74 ( https://github.com/sephiroth74/ImageViewZoom) I'm using this one and it works great. -- 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] Re: what does it mean? - java.lang.SecurityException: Unable to find app for caller android.app. ApplicationThreadProxy@42b3bcc0 (pid=28461) when publishing content providers

2012-12-19 Thread b0b
This means there was an error communicating with another process handling an Intent. The stack trace here is confusing and doesn't show the real cause of the problem. For example i've seen this error happen sending an intent with intent extras being too big, bigger than max transaction size

[android-developers] Re: Asynchronous Http server in android

2012-12-17 Thread b0b
You probably need to repackage the org.apache.* jars in a new package name with a tool like jarjar, because some clases will be clashing with same class part of Android. You can thank Google for that for putting some Apache classes in the official API while this should have been left separate.

[android-developers] Re: Why oh why did Google let manufacturers take over the getExternalStorageDirectory() API?

2012-12-12 Thread b0b
On Wednesday, 12 December 2012 20:54:10 UTC+1, niko20 wrote: Just what the title says, The getExternalStorageDirectory API is supposed to GET EXTERNAL STORAGE. But manufacturers have all turned it into point to the internal storage on the device. There should have been a

[android-developers] Re: Paid App to in-App purchase: Keeping old users

2012-12-04 Thread b0b
I would just transform the paid app into an unlocker app that is checked by the main app. Anything else seem really complicated. -- 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] Re: When can every developer reply to reviews?

2012-12-03 Thread b0b
On Monday, 3 December 2012 22:52:54 UTC+1, John Coryat wrote: I've also found that a good percentage of users who post poor reviews will revise them if they were confused, didn't understand a feature or were satisfied by the developer reply. It's very satisfying to see this and

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-02 Thread b0b
On Sunday, 2 December 2012 19:53:18 UTC+1, TreKing wrote: On Sun, Dec 2, 2012 at 12:43 PM, Παύλος-Πέτρος Τουρνάρης p.tou...@gmail.com javascript: wrote: What is the link to your blog TreKing? I've got two for the free / paid versions of my app:

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-01 Thread b0b
On Friday, 30 November 2012 18:17:52 UTC+1, TreKing wrote: On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com javascript:wrote: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol Even better: feature X already exists.

[android-developers] Re: When can every developer reply to reviews?

2012-11-30 Thread b0b
On Friday, 30 November 2012 07:31:00 UTC+1, Techni wrote: I am getting some really STUPID comments and it's infuriating that I can do nothing about them Good question. I hope Developer comments will not stay in perpetual beta, with approved developers and second class developers. I also

Re: [android-developers] Re: OOM with heap enough

2012-11-23 Thread b0b
A good way to cut bitmap memory usage in half is to load them with BitmapFactory.Options.inPreferredConfig = Bitmap.Config.RGB_565. Eg 16 bits vs 32 bits. -- 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] Re: HttpURLConnection on Galaxy Nexus 4.2

2012-11-23 Thread b0b
Don't quote me on that but I vaguely remember someone mentionning that POST request must not have a body. So I'd try again with no body. -- 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] Re: HttpURLConnection on Galaxy Nexus 4.2

2012-11-23 Thread b0b
On Friday, 23 November 2012 11:23:45 UTC+1, Ryan Bateman wrote: That's not right You are right. What I said was for DELETE requests. Of course POST requests have a body. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: In search of Nexus 10 ADB drivers

2012-11-23 Thread b0b
Same for me. ADB recognizes Nexus 7 but not Nexus 10. The Nexus 10 ADB dirver is launched since it appear in Windows device list as Android Composite ADB Interface -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: In search of Nexus 10 ADB drivers

2012-11-23 Thread b0b
Fixed: after 1h of uncessuful googling and WTFs, ADB finally recognized the device I change Settings Stogae Menu USB Computer connection to Camera (PTP). The default is Media Device (MTP) and prevent ADB to find the dvice... WTF. -- You received this message because you are subscribed to

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-11-21 Thread b0b
On Wednesday, 21 November 2012 06:45:39 UTC+1, Sean Watkins wrote: Again like I said, it seems silly to break something before providing a better way to do it, then again, i do understand there is a cause for concern. I realise privacy is a huge issue nowadays and allowing anything to

Re: [android-developers] OOM with heap enough

2012-11-21 Thread b0b
Bitmap data is not allocated in the Java heap but in a much smaller area of native memory. So you can have several MB of Java Heap free and still have Bitmap OOM. Bitmaps are a total PITA to manage with Android. But it's doable. Except that when you thnk you are done fixing all OOM, a new

[android-developers] Re: debugging crashes on some systems ( not all )

2012-11-21 Thread b0b
On Wednesday, 21 November 2012 16:31:24 UTC+1, bob wrote: Sounds like you want ACRA. Seconded. It will enlighten with a new world of unsuspected fail. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Re: (Http)URLConnection.setUseCaches(false) isn't working

2012-11-15 Thread b0b
On Friday, 16 November 2012 02:28:34 UTC+1, gt8887b wrote: We are experiencing this problem occasionally on Verizon phones. We don't seem to have this issue on other networks, so it seems to be something on the carrier side. Our server does include Cache-control: no-store, no-cache in

[android-developers] Re: random Resource$NotFoundException reports

2012-11-08 Thread b0b
I see this kind of errors from time to time. Probably due to bad installs or broken systems (custom ROMs) since they do not make any sense. They are in the category of weird platform fails for which there is nothing you can do, so just ignore them. -- You received this message because you

Re: [android-developers] bundle passed via intent coming null

2012-11-07 Thread b0b
On Wednesday, 7 November 2012 12:03:40 UTC+1, Bunty syed wrote: If somebody knows this solution for the problem,please reply Try calling setDataAndType even with dummy parameters -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Want to distribute a application and manage unistallation of it remotely

2012-10-18 Thread b0b
On Thursday, 18 October 2012 14:55:25 UTC+2, Gautam Bisht wrote: Hi All, I want to create a application for my employee which will be distributed from my server. I want a feature that once the employee leave the company i can remotely uninstall the application from his/her mobile. Is it

[android-developers] Re: MediaPlayer.setNextMediaPlayer

2012-10-07 Thread b0b
On Tuesday, July 3, 2012 2:42:57 PM UTC-7, b0b wrote: Related to setNextMediaPlayer it would great to have more info such as: - for which codecs will it handle gapless ? Are there restrictions ? Can't imagine there would be a problem with codecs. The issue is that you want

[android-developers] Re: Google cancelled this order. Reason: Other

2012-09-30 Thread b0b
Since a few days there seem to be a lot more cancelled orders with Reason: Other (describe below) than usual. Do anyone notice this ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-09-30 Thread b0b
On Sunday, 30 September 2012 21:57:30 UTC+2, Kostya Vasilyev wrote: Yes, seeing more than usual too. Tonight it is a cancel fest with 1 purchase out of 3 or 4 cancelled this way...with generally 2 or 3 cancel lines for the same user in the console. -- You received this message because you

[android-developers] ICS, invalidateOptionsMenu() and hardware menu key

2012-09-23 Thread b0b
In an ICS app (targetSdkVersion=15) with an action bar, I'm calling invalidateOptionsMenu() to force recreation of the menu. The behaviour is different whether the Android device has a hardware menu key or not. - if it has a hardware menu key, the overflow menu is not shown. The menu is

Re: [android-developers] Re: Help: My app has violated the spam provisions of the Content Policy

2012-09-23 Thread b0b
Does it mean that making a list with all words of the dictionary that are not synonyms is ok ? On Sunday, 23 September 2012 22:59:14 UTC+2, Harri Smått wrote: Hi, I've never played around with keywords but I have to admit I tend to see huge difference in Google Maps keywords and the

[android-developers] Re: Advertising opt out

2012-09-19 Thread b0b
On Monday, 17 September 2012 18:18:13 UTC+2, John Coryat wrote: Many developers force users to purchase something in order to remove advertisements from their apps. While this may seem to be a good revenue model, it tends to annoy and anger users. It has some other serious consequences

[android-developers] Re: Can I install our app from an APK and then update it with Google Play?

2012-09-15 Thread b0b
On Saturday, 15 September 2012 16:23:21 UTC+2, scadaguru wrote: Yes, if you use same signed package. No, if you use unsigned or different package name. And the versionCode on Google Play has to be higher than the installed test version. In short if you distribute non official test

[android-developers] Re: Help: My app has violated the spam provisions of the Content Policy

2012-08-31 Thread b0b
For your enjoyment here's what can be found in the description of the Google Maps app: Keywords: maps, navigation, places, latitude, directions, indoor maps, local search, Street View, traffic, transit -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] LVL service binding fails on ALLVIEW PC ALLDRO SPEED tablet

2012-08-18 Thread b0b
On Tuesday, 14 August 2012 23:10:38 UTC+2, Acubeware wrote: Thank you for your suggestion. I'll try this out if the user is willing and post my findings. Any news on this ? I have a few users with the same issue on el-cheapo ICS tablets... -- You received this message because you

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-16 Thread b0b
On Thursday, 16 August 2012 03:47:02 UTC+2, MagouyaWare wrote: Then you would need to talk to the makers of the roms that are doing this... Yes after even more digging deeper, it is due to a recent CM commit: http://review.cyanogenmod.com/#/c/18319/1 which is enabled if build type !=

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-16 Thread b0b
It seems that inflating views just isn't very fast, even with the binary XML format and stuff. Yes it can be very slow for complex layouts. It is unfortunate that it is not safe to invoke the layout inflater in a thread to preload the layout while displaying a loading screen , to

[android-developers] App startup with heavy initialization and ANR detection

2012-08-15 Thread b0b
I have an app whose initialization is quite CPU and thread heavy for 3-5s on startup. During that period, the logcat reports several: 08-15 15:33:24.804: I/dalvikvm(8550): threadid=3: reacting to signal 3 08-15 15:33:24.882: I/dalvikvm(8550): Wrote stack traces to '/data/anr/traces.txt' every

[android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-15 Thread b0b
Interesting discussion but how are we supposed to handle setContentView() (which calle the layour inflater, which instantiates views), taking a lot of time for complex layouts ? In ICS+, if the main UI thread is stuck for more than approx 500ms the system great the app with a super

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-15 Thread b0b
On Wednesday, 15 August 2012 22:07:46 UTC+2, Romain Guy (Google) wrote: An ANR is triggered if the UI thread is blocked for 5 seconds, not 500ms. Yes, but until the ANR hapens (or not if the UI thread is blocked fior say...3s), the logcat spams these messages every 500ms (CM9, ICS 4.0.4):

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-15 Thread b0b
My Asus TF101 running stock ICS doesn't display the Wrote stack traces line in the logcat every 500ms the UI thread is not responding, which make me think it could be a CM9 issue or bug ? On Wednesday, 15 August 2012 22:39:09 UTC+2, b0b wrote: On Wednesday, 15 August 2012 22:07:46 UTC+2

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-15 Thread b0b
I'm now convinced it is a CM9 issue as it writes stack traces for almost any app, at startup but also sometimes during normal execution. To prove I am not affabulating, this when starting the camera app (in between lines omitted): 08-15 23:08:57.078: I/dalvikvm(30403): Wrote stack traces to

Re: [android-developers] Re: Instantiating (but not attaching!) a View from a non-UI thread

2012-08-15 Thread b0b
the device even slower, writing stack trace that nobody will ever read ? This feature seems to be only be enabled on some ROMs but doesn't look restricted to CyanogenMod. On Wednesday, 15 August 2012 23:14:40 UTC+2, b0b wrote: I'm now convinced it is a CM9 issue as it writes stack traces for almost

[android-developers] binding to ILicensingService failing on some generic ICS tablets

2012-08-13 Thread b0b
I have some report of LVL check failing on some generic ICS tablets due to bindService failing in the LVL code: boolean bindResult = mContext.bindService( new Intent(ILicensingService.class.getName()), this, // ServiceConnection.

[android-developers] Re: binding to ILicensingService failing on some generic ICS tablets

2012-08-13 Thread b0b
On Monday, 13 August 2012 12:30:10 UTC+2, RichardC wrote: Was Play provided with the device or side-loaded? I've just asked the user about this. All I know about this device is that it is a ICS 4.0.3, Unbranded 7 inch tablet from Amazon. -- You received this message because you are

Re: [android-developers] LVL service binding fails on ALLVIEW PC ALLDRO SPEED tablet

2012-08-13 Thread b0b
I've posted a topic today with another noname tablet showing exactly the same issue. That's annoying because some user are able to buy apps, but LVL will always fails binding the service. Somewhat the Google play should not allow that and deny selling paid apps if binding to the

[android-developers] Audio Focus, ICS lockscreen controls (RemoteControlClient) and foreground app

2012-08-02 Thread b0b
I've noticed a weird behaviour with music lock screen appearance and I'm curious to learn if it is a bug or something intended. An app can show music lock screen control if it has the Audio focus and has registered a RemoteControlClient instance with AudioManager.registerRemoteControlClient().

[android-developers] Re: Does this licensing policy have weaknesses?

2012-07-29 Thread b0b
The thing is that regardless how complex your policy is, if your app is popular, it will be cracked no matter what at the LVL level. My advice is to use a forgiving policy like the LenientPolicy that deny access to the app only if it is 100% sure that the app is unlicensed (eg: Google Play

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread b0b
I have some amazing numbers for my app with ICS+ adoption rate. This is an app that catters to users more likely to be technical thus having high-end phones or tablets Free version: Android 4.0.3- 4.0.444.62% Android 2.3.3- 2.3.729.46% Android 3.211.66%

[android-developers] Re: ICS/JB adaptation rate

2012-07-27 Thread b0b
On Friday, 27 July 2012 15:28:34 UTC+2, Zsolt Vasvari wrote: Is yours (and Pent's) app new to the Market? No, 1 year. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] HtcLinkifyDispatcher.apk messing default app association

2012-07-23 Thread b0b
On Monday, 23 July 2012 14:40:04 UTC+2, Mark Murphy (a Commons Guy) wrote: Also, you should not be getting a chooser at all -- HtcLinkifyDispatcher specifically does *not* show a chooser, but rather ensures that control proceeds to a preferred activity even if there are multiple

[android-developers] HtcLinkifyDispatcher.apk messing default app association

2012-07-22 Thread b0b
Thanks to the geniuses of this world, on some HTC phones (in the US only it seems), HTC has modified the default Intent Chooser to comply with some Apple absurd patents: http://www.theverge.com/2012/5/16/3024889/htc-one-x-evo-4g-lte-custom-android-build-apple-patent-linkify The consequence is

Re: [android-developers] Re: Jelly Bean and Strict Mode

2012-07-20 Thread b0b
On Friday, 20 July 2012 10:33:46 UTC+2, BoD wrote: Wait, I'm not sure I understand. Are you saying StrictMode configuration calls (setThreadPolicy, setVmPolicy) no longer work if made in Application.onCreate? (We can expect most apps make the calls there.) -- BoD Exactly.

[android-developers] Re: Maximum number of thread created by an Android activity

2012-07-17 Thread b0b
On Tuesday, 17 July 2012 23:42:41 UTC+2, michael s wrote: Hi, Is there a limit for the number of thread created by an Android activity runs on a phone? If yes, how can I find out such limit? Thank you. It depends on devices but on most of them this limit is set to 42 threads. --

[android-developers] Re: Jelly Bean and Strict Mode

2012-07-16 Thread b0b
Thank you for your in-depth analysis. I've ended up with this, call in the Application derived class onCreate(): private void setLaxStrictMode() { if(Build.VERSION.SDK_INT Build.VERSION_CODES.GINGERBREAD) return ; if(Build.VERSION.SDK_INT Build.VERSION_CODES.JELLY_BEAN) {

[android-developers] Re: Jelly Bean and Strict Mode

2012-07-16 Thread b0b
On Monday, 16 July 2012 22:25:49 UTC+2, Ievgenii Nazaruk wrote: Just curious, how did this influence your application? Do you access network layer from UI thread? Yes. I use a large external library that calls InetAddress.getHostName() as part of its init, on LAN ip addresses only. This

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread b0b
On Sunday, 15 July 2012 11:08:13 UTC+2, Ran wrote: I was definitely running the JB emulator. So if you install aLogcat on the emulator, you can see only your own app logs? and nothing else? using aLogcat in the JB emulator I could see all system logs. -- You received this message

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-15 Thread b0b
in JB, a useful debug app like aLogcat becomes useless as it i unable to retrive the full log. I've had the perfect example a few mins ago. A JB user contacting me for an issue with my app and requiring that he send me a full log to troubleshoot WTF MediaPlayer is doing. Impossible easily on

[android-developers] Re: Jelly Bean and Strict Mode

2012-07-15 Thread b0b
Ok found the cause of StrictMode.setThreadPolicy() not working. I was making this call in the onCreate() of a subclass of the Application class. This worked prior to Jelly Bean. Now in JB, it must be called after an Activity's onCreate() to take effect. Looks like the default StrictMode

[android-developers] Jelly Bean and Strict Mode

2012-07-14 Thread b0b
It seems that in the JB emulator and the JB developer preview, that StrictMode checks are always enabled regardless of what the app sets as a policy with StrictMode.setThreadPolicy(). In particular ThreadPolicy.LAX seems to be ignored. It is not the case in the 4.0.3 emulator. Can anyone

Re: [android-developers] Re: Showing Overflow menu button on ICS.

2012-07-12 Thread b0b
On Wednesday, 11 July 2012 18:12:59 UTC+2, Dianne Hackborn wrote: It's a bug in the app; the app isn't using the standard action bar. Btw what is the rationale for the system to never display the overflow menu on ICS phones having a hardware menu key ? Isn't that bad for discoverability,

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread b0b
The thing is that it is better to not rely on READ_LOGS to (for example) provide logs to ACRA. The bonus is that your app will not need that permission which is kind of scary. How can it be done ? - wrap all your logging calls into functions adding your log message + any other metadata (like

Re: [android-developers] Re: Showing Overflow menu button on ICS.

2012-07-12 Thread b0b
On Thursday, 12 July 2012 19:01:26 UTC+2, Dianne Hackborn wrote: On Thu, Jul 12, 2012 at 2:54 AM, b0b wrote: Btw what is the rationale for the system to never display the overflow menu on ICS phones having a hardware menu key ? Isn't that bad for discoverability, one of the benefits

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-12 Thread b0b
Yes reading logs other than you app's has legitimates uses: how many times have I asked a user to send me a log saved with aLogcat, to troubleshoot possible issues related to the platform itself (damn you MediaPlayer!) -- You received this message because you are subscribed to the Google

[android-developers] Re: Easy and fast String obfuscation?

2012-07-06 Thread b0b
On Friday, 6 July 2012 12:47:03 UTC+2, Fran wrote: Hi there, I am looking for a way to obfuscate some strings in a way that they may be unobfuscated later. The point is that my app -a casual game- will take some lines from a file on an http server, and I do not want to have it as

[android-developers] Help with intent-filter

2012-07-05 Thread b0b
I've written an intent-filter to receive Picasa images shared from the Gallery app on Android 2.x (on 3+ it is not the same intent but this is a different topic): intent-filter action android:name=android.intent.action.SEND / category

[android-developers] Re: MediaPlayer.setNextMediaPlayer

2012-07-03 Thread b0b
Related to setNextMediaPlayer it would great to have more info such as: - for which codecs will it handle gapless ? Are there restrictions ? - does it work with http URIs passed to setDataSource() ? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Renderscript Deprecated

2012-06-30 Thread b0b
The cool APIs of today are the deprecated APIs of tomorrow ! -- 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] Re: new look for the android app developers website

2012-06-28 Thread b0b
Old pages were better, in particular they were more readable. Ah changing stuff for the sake of changing stuff... -- 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

[android-developers] Re: Using HttpClient in Desktop and HttpURLConnection in Android

2012-06-15 Thread b0b
If you are happy and familiar with HttpClient, use it. But the Android HttpClient client version is old and buggy and unmaintained and I wouldn't use it as is. Hopefully you can use the latest jars from the Apache HttpComponents site, but you will have to repackage them in another package root

[android-developers] Re: Showing Overflow menu button on ICS.

2012-06-05 Thread b0b
Unless I missed something in the previous discussions, or there has been a breakthrough since, there is NO possible way to make the overflow button show up if there is a physical hardware key. There is. With hack below you can force the appearance of the overflow menu even if there is

Re: [android-developers] Re: BitmapFactory.decodeByteArray *not* failing on a corrupt jpg file

2012-05-31 Thread b0b
On some 2.3.x version it was worse: a corrupted image could make native decoding functiond block forever -- 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

  1   2   >