android-2.3-gingerbread

After update the APK supports fewer devices than previously

无人久伴 提交于 2019-12-10 04:21:22
问题 I have a relative simple App that was already in the Play-Store of Google. Now I've made an Update of this App. One Point of this Update was that I include the ZBar-Scanner. The Rest of the changes were minimal and shouldn't have any influence on my problem. I just put the newest verison of my App in the Play-Store and I get following warning: "Warning: Active APKs support fewer devices than previously active APKs. Some users will not receive updates." I've downloaded ZBarAndroidSDK-0.2.zip

Does “Clear Data” also kill the app?

混江龙づ霸主 提交于 2019-12-10 01:42:47
问题 When (in Gingerbread, 2.3.x) I hit “Clear Data” button in Menu => Manage Apps => App, “Force Close” button also becomes disabled. Does it mean that “Clear Data” also kills the app? Also, I noticed that in Ice Cream Sandwich this doesn’t happen. So, the way “Clear Data” works is different between Gingerbread and Ice Cream Sandwich? Update : as MisterSquonk said, Froyo (2.2.x) behaves the same way as ICS (4.x), that is doesn’t disable Force Close after you clear data of the app. Anyone knows

android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

℡╲_俬逩灬. 提交于 2019-12-09 16:57:36
问题 Added ActionBarCompat + NavDrawer to my project, running on 4.3 device is smooth, on 2.3 device I get the following exception: 09-08 15:09:15.229: E/AndroidRuntime(2964): FATAL EXCEPTION: main 09-08 15:09:15.229: E/AndroidRuntime(2964): android.view.InflateException: Binary XML file line #1: Error inflating class <unknown> 09-08 15:09:15.229: E/AndroidRuntime(2964): at android.view.LayoutInflater.createView(LayoutInflater.java:518) 09-08 15:09:15.229: E/AndroidRuntime(2964): at com.android

SMS_RECEIVED onReceive android 2.3.5 not triggering

99封情书 提交于 2019-12-09 06:57:26
I've been puzzling over this one recently, prior to 2.3.5 this seems to work fine (on my colleagues devices). However on mine it now never triggers. I've stripped the code right back and made a very simple test application to see what's going on. Basically the onReceive code doesn't ever appear to trigger, even though adb/logcat does seem to show the register of the BroadcastReveiver does take place. Here's the simple code I've gone for: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.broadcasttech.testsmsreceive" android

Authorization header on 2.3.4 gets 400 bad request

瘦欲@ 提交于 2019-12-08 08:47:56
问题 I'm trying to get my simple app working on Android 2.3.4 - gingerbread. The first request I make to the server is for authentication. For making requests I am using RetroFit. However, I'm getting the error below when trying to make a request from a phone that has gingerbread on it. 05-09 16:21:44.724 4706-4734/com.myapp.mobile D/Retrofit﹕ <--- HTTP 400 https://myserver.com/myservice/user/signin (2318ms) 05-09 16:21:44.740 4706-4734/com.myapp.mobile D/Retrofit﹕ <!DOCTYPE HTML PUBLIC "-//IETF/

GCM stuck on register on 2.3.3 Gingerbread device

泪湿孤枕 提交于 2019-12-08 02:55:39
问题 For some reason, using "GCMRegistrar.register(this, SENDER_ID);" works on 4.0 + devices. However, it stuck at the following message without getting anymore GCM notification from Google. " Registering app (my package) of senders (my api #) " 1) manifest and receiver should be correct since it's working on 4.2.1. 2) I have google play and linked with google account on 2.3.3 device I have searched for several day and couldn't find an answer. Anyone know what's wrong or have the same issue?

Android 2.3: How do I switch from SCO to A2DP for a capable Bluetooth speaker?

心不动则不痛 提交于 2019-12-07 09:51:31
Now I can get it the app to start playing audio over A2DP and successfully switch to SCO, however when I try to switch back it plays over my phone's speaker instead. @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); layout = (RelativeLayout) findViewById(R.id.layout); text = (TextView) findViewById(R.id.editText1); scoSwitch = (ToggleButton) findViewById(R.id.switch1); try { mp1 = MediaPlayer.create(this, R.raw.jc_cm); mp2 = MediaPlayer.create(this, R.raw.rp); amanager = (AudioManager) getSystemService(Context.AUDIO

gradient on Gingerbread

风流意气都作罢 提交于 2019-12-07 07:25:32
问题 Updated I have a problem with gradient bitmaps on android 2.3. I read this great article and decode my bitmaps using next options: BitmapFactory.Options options = new BitmapFactory.Options(); options.inPreferredConfig = Bitmap.Config.ARGB_8888; options.inDither = true; And on android 2.2 everything is great, but on android 2.3 gradient artifacts remain even after that decoding. I run application from article on 2.3 with my bitmaps and all variants are bad: 16/32 bit, (not) dither and RBG_565,

Android notifications: compatibility with APIs

随声附和 提交于 2019-12-07 06:58:10
问题 I'm trying to show notifications in my app along with a progress bar in it. My app specs are that I'm targeting API 15 with minimum SDK set to 8. I'm using the following code to show notifications: NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this); mBuilder.setContentTitle("My Application") .setContentText("Downloading...") .setProgress(0, 0, true)

Can't activate select using Flexslider/SwipeJS on Android/Gingerbread

孤人 提交于 2019-12-06 16:01:46
问题 I've recently finished building a mobile site and discovered a bug that only seems to occur on Android Gingerbread. When a select input is placed on a slide within a JS slider (such as Flexslider or SwipeJS), you can no longer click it or give it focus and select the options. I'm wondering if it has to do with the use of display none/block which both these sliders use - perhaps Gingerbread cannot render the select properly under these circumstances? Interestingly, the first slide using