android-4.0-ice-cream-sandwich Questions

6

I recently upgraded my application to use ActionBarSherlock 4.1. Since the upgrade users running the app on Honeycomb experiance a force close due to a null pointer exception when setting a custom ...

2

In my project there are two WebViews and I am switching these WebViews alternatively to get a smooth animation while loading my url. When I am using Webview.loadUrl() method, it works fine in all d...

2

I'm working to ensure my app is getting tested on ICS properly using the popular Galaxy Nexus as a basis. I'd like to emulate it as faithfully as possible. I've created an AVD with the following p...

4

Solved

I've come across a bit of a weird issue with activities using the Holo Dialog theme (@android:style/Theme.Holo.Dialog) in Ice Cream Sandwich. It seems like they ignore their layouts and fill the e...

1

I have been playing with TextureView on some Android 4.0 devices. For example, I tried to develop a simple app, which can record the video and uses TextureView for its preview. However, as far as I...
Henslowe asked 20/3, 2012 at 17:33

2

I had with an issue that has plagued me for days. It turned out that it was an Android glitch and has been submitted, confirmed, and hopefully will be fixed in a future release. Now I have found a ...

6

Solved

I am developing a very simple app in here. It's for my Cerebral Palsy daughter. It's just a big YES and NO buttons, so she can press them when requested. Well... I am using SVOX Classic TTS Engine...
Posthorse asked 26/2, 2012 at 3:44

2

I am getting a NPE when trying to play embeded video in webview in FULLSCREEN. It is working fine with 3.0 honeycomb but not with ICS 4.0+. Any idea how this can be resolved? java.lang.NullPointer...
Dulciana asked 2/2, 2012 at 7:23

7

Solved

Whilst testing on the Android Emulator running Android 4.0 (Ice Cream Sandwich), I have noticed that the Edittext does some quite strange things. Firstly, it underlines every word identified as &qu...

2

Solved

I've been trying to use the setActionView from the ActionBar in ICS Seems like it should be straight forward but somehow I'm not getting the layout alignment that I would hope for. As you can see ...
Boulware asked 18/5, 2012 at 2:58

3

Solved

So I've created an android app that plays video from blip.tv and various other flash-enabled websites. I use a Webview to display the video. Here is my code: try{ requestWindowFeature(Window.FEAT...
Chaldron asked 28/12, 2011 at 20:25

1

Solved

I am getting crazy with switch buttons in Android 4. First of all, I have set a selector as background with two different PNG files selected from drawable folder: <?xml version="1.0" encoding=...
Solidify asked 31/3, 2013 at 12:46

3

Solved

I'm creating an application which uses Android 4.0. I'm wondering if it is possible to change the text color of the text in a switch. I've tried setting the text color, but it doesn't work. Any i...
Benilda asked 3/10, 2012 at 10:46

2

I discovered my Activity is leaking on the ICS emulator. HProf seemed to show SpellCheckerSession keeping a reference to my Activity around, and there appears to have been a fix: https://github.co...
Christner asked 29/1, 2012 at 20:9

0

I am getting multiple reports from users that they can't get GPS or location services in my app until they restart their phone, and then everything works no problem. I only get a limited sample of...

1

Solved

I wanted to know if there was a way to detect if the device have "on screen buttons" (like the Galaxy Nexus or ICS tablets) My issue is that in devices with on screen button, on the action, bar th...
Anthracoid asked 2/2, 2012 at 0:12

2

My app intercepts the search button to deliver something more relevant to the app itself: @Override public boolean onSearchRequested() { if (isOkToSearchWithinTheApp()) doRelevantOwnSearch(); ...
Celestaceleste asked 23/12, 2012 at 20:2

6

Solved

I'm working in a launcher for Android ICS but I have a problem with tablets. I can't hide the status bar. I have try it in Android 2.3.X and it's ok. The problem appears only with Android 4.0. Ho...
Aesop asked 15/3, 2012 at 22:59

5

Solved

So I'm working on an update for my application from 3.0 to 4.0 and I'm having issues with the emulator. Specifically, the software buttons do not appear when using the Galaxy Nexus~ish skin (I'm no...

1

I have an application that targets SDK 15, ICS 4.0.3. I just updated it to point at 4.1 it broke my user interface, and makes it pretty ugly: Here's what it looks like normally on API 15: And here...

2

Solved

I can disable home button for Android 2.2, 3.0 etc. But same code does not work for 4.0. Is there any solution to disable home button? @Override public void onAttachedToWindow() { super.onAtta...
Kp asked 9/7, 2012 at 12:16

2

Solved

In Honeycomb I was able to create a system overlay with TYPE_SYSTEM_OVERLAY and receive touches with FLAG_WATCH_OUTSIDE_TOUCH. Now ICS has changed something. I can still create the system overlay,...

4

I want to display webView on static image on imageView. I set transparent color to webView like this webview.setBackground(0); I set background-color as transparent <html> <head> &...
Madness asked 17/1, 2012 at 13:19

2

I want to draw a Picture on a Canvas by mCanvas.drawpicture(mPicture, mRect) Using target API 7 <uses-sdk android:minSdkVersion="7"/>, it works perfectly in devices with API<14, but in ...

1

Hi I have searched everywhere here and on Google, without getting a correct answer. So I post a new question: I have several Android Apps that were working perfectly with 1.6 up to 2.3... BUT now...

© 2022 - 2024 — McMap. All rights reserved.