[android-developers] Unable publish app as it is blocked by Alpha testing

2016-03-30 Thread yccheok
Currently, I have a production app, which is using SDK 21. Since it requires a huge engineering work, to port the app to SDK 23, we make another unstable Alpha release, by using SDK 23 Today, I need to make a critical bug fix release, for our production app. However, since we have an Alpha app

[android-developers] Do we need to have our own server (as backup purpose) to store user in-app purchase status

2015-09-27 Thread yccheok
Currently, we are offering non-consumable in-app purchase items to users. We solely rely on Google server, to retrieve user in-app purchase status, via following documentation : http://developer.android.com/training/in-app-billing/purchase-iab-products.html

[android-developers] Should we adhere holo design or material design for app running on Android below 5

2015-05-11 Thread yccheok
Previously, I had an Android app, which built on the top of ActionBarSherlock. The app runs well on Android 2.3 till Android 5.0 Currently, I'm in the process, of migrating my app, from ActionBarSherlock to Google AppCompat. For the app running on Android 5.0, I'm targeting to use Material

Re: [android-developers] Should we adhere holo design or material design for app running on Android below 5

2015-05-11 Thread yccheok
system. On Monday, May 11, 2015 at 11:27:14 PM UTC+8, MagouyaWare wrote: Ideally, you should style it for whatever version of Android the app is running on. If Lollipop, then, Material, 4.x should use Holo, etc... On Mon, May 11, 2015, 11:22 AM yccheok yanchen...@gmail.com javascript: wrote

[android-developers] Confusion on staged rollout

2015-05-06 Thread yccheok
Recently, I did a major changes on 0.9.65. Hence, I made use of Staged Rollout feature, to ensure minimal impact (in case there's any bugs) on my existing users. However, what confused me is that, I saw 0.9.65's status is in Prod (20%), while my old 0.9.63's status is in Prod. This confuses

[android-developers] How to prevent existing user from receiving bad app update

2015-05-05 Thread yccheok
Is it uncommon that, we may make a bad update app release, which causes numerous crashes report received. What I usually do is immediately unpublish the app. However, I realize, unpublish app will only make new user unable to find my app. I still cannot prevent existing users, from receiving

[android-developers] New update on Google Play Services library causes huge increasing number of ANR

2014-12-21 Thread yccheok
I'm using latest Android studio + latest Google Play Services library. After building my signed APK and release to the market, I realize a huge increasing number of ANR, which never happens before the update. Here's my proguard tracing. - pid 31236 at 2014-12-22 09:36:21 - Cmd line:

[android-developers] New Google Play Services Library causes ANR

2014-12-21 Thread yccheok
I get huge number of ANR ANR keyDispatchingTimedOut after using latest Google Play Services Library. The problematic code is com.google.android.gms.analytics.GoogleAnalytics getInstance(android.content.Context) This can be seen in the proguard retrace log - pid 24172 at 2014-12-22

[android-developers] Re: New Google Play Services Library causes ANR

2014-12-21 Thread yccheok
Just found out that I'm not alone :) http://stackoverflow.com/questions/27423218/android-googleanalytics-getinstance -- 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] Google provides 2 different examples of HttpURLConnection usage - Should we call HttpURLConnection's disconnect?

2014-04-17 Thread yccheok
Google is providing 2 different examples of HttpURLConnection usage. Not calling HttpURLConnection's disconnect http://developer.android.com/training/basics/network-ops/connecting.html // Given a URL, establishes an HttpUrlConnection and retrieves// the web page content as a InputStream,

[android-developers] Do we need to consume HttpURLConnection's error stream when IOException thrown

2014-04-17 Thread yccheok
According to technical guide from Oracle Java, we should consume HttpURLConnection's error stream when IOException thrown http://docs.oracle.com/javase/6/docs/technotes/guides/net/http-keepalive.html What can you do to help with Keep-Alive? Do not abandon a connection by ignoring the

[android-developers] Different developer displayed name under 1 developer account

2013-07-18 Thread yccheok
Hi, Currently, we already have our own app, published under our own developer account. Now, for the same product, we tend to create a white-label version for our client. We need to publish the white-label product with different developer displayed name/ different developer contact email/

[android-developers] ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
The following scenario is not uncommon under activity with list view. 1) Long pressed an item to enter multi-selection mode. 2) Select the desired item, then press an action button. For example, delete button. 3) Exit from multi-selection mode (CHOICE_MODE_MULTIPLE) to none-selection mode

[android-developers] ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
The following scenario is not uncommon under activity with list view. 1) Long pressed an item to enter multi-selection mode. 2) Select the desired item, then press an action button. For example, delete button. 3) Exit from multi-selection mode (CHOICE_MODE_MULTIPLE) to none-selection mode

[android-developers] Re: ListView selection remained after exit from action mode

2013-04-24 Thread yccheok
Side Note Using MultiChoiceModeListener couple with CHOICE_MODE_MULTIPLE_MODAL will make this bug gone. However, for device below API level 11 will not able to use this solution. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

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

2012-06-15 Thread yccheok
Hi, in desktop development environment (Java SE), we are encouraged to use Apache HttpClient over HttpURLConnection, as it offers - Higher level API. Hence, easier to use - Richer features Please refer to http://stackoverflow.com/questions/643730/httpclient-vs-httpurlconnection?rq=1 However,

[android-developers] Change action bar to transparent color to work on both Android 2 and Android 3

2011-12-28 Thread yccheok
I get this nice piece of code from http://developer.android.com/resources/samples/ActionBarCompat/index.html, which able to make ActionBar GUI on both Android 2 and Android 3 platform. However, I was wondering, had anyone tried to change the color of ActionBar. Note that, the following code will

[android-developers] Is it possible to lock screen without turning off display

2011-06-01 Thread yccheok
I had came across several apps Lock Screen Widget - Lock screen and turn off display by tapping on screen button. User will need to press hardware power button to make the screen visible again. Tap Tap App - Lock screen and turn off display by tapping on screen button. Proximity sensor still

[android-developers] Re: Is it possible to lock screen without turning off display

2011-06-01 Thread yccheok
activity could have a slide bar to destroy it and your could adjust the screen to a lower level of brightness using the power manager. Hope this helps On Wed, Jun 1, 2011 at 12:24 PM, yccheok yancheng.ch...@gmail.com wrote: I had came across several apps Lock Screen Widget - Lock

[android-developers] How can we only rendering certain regions in SurfaceView

2011-05-25 Thread yccheok
I try to apply the similar technique found in Swing over Android's SurfaceView http://download.oracle.com/javase/tutorial/uiswing/painting/step3.html An important point worth noting is that although we have invoked repaint twice in a row in the same event handler, Swing is smart enough to take