android-4.0-ice-cream-sandwich Questions

5

When using my app on ics, after I change my wifi network from networkA to networkB all the requests for images start coming back with an exception. failed with exception > org.apache.http.conn...
Assibilate asked 9/1, 2012 at 10:53

6

I'm trying to create a custom dialog, basically I'm using DatePickerDialog.THEME_HOLO_DARK but I want to change the "divider" color and the text color. I want to change the blue lines and the te...
Lomasi asked 3/10, 2012 at 14:58

10

Solved

I have a method in JNI C/C++ which takes jstring and returns back jstring some thing like as below, NATIVE_CALL(jstring, method)(JNIEnv * env, jobject obj, jstring filename) { // Get jstring i...

8

I'm doing my first Android app, and wanted to get straight into the ICS API. I have so far created an app using an ActionBar, with swipeable tabs using Viewpager and Fragments. I do however experie...

6

Solved

I have a CSV-file with all my contacts (exported from Thunderbird). On my Phone I have Android 4 ice cream sandwich installed. How can I import the contacts from the CSV-File into my Android cell...
Sastruga asked 2/7, 2012 at 19:51

4

Solved

I wanted to know the difference between android-support-v4.jar and android-support-v7-appcompat.jar. If I want to add appcompat Action Bar in my application do I need to add both android-support-v7...

3

Solved

Hi I am facing the problem on ICS like dialog is dismissed when we click outside dialog window, due to which I am getting problem like I don't get any confirmation from user. Please help.
Lied asked 22/3, 2012 at 19:49

6

Solved

I found that I can start a YouTube video in stock YouTube player this way: Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("vnd.youtube:U79wVTdnMpw")); startActivity(i); But it doesn't wor...

3

Solved

The source HTML string (including the symbol) is coming from the strings.xml resource file, and is destined to be displayed in a WebView. I've tested with this in the resources: <string name="M...
Prevention asked 11/4, 2012 at 12:52

3

Solved

I'm using the new Wi-Fi Direct API from google on Android 4.0 and in Sample code they send the User to Settings, to activate WiFi -Direct Mode. Is there a way to Start it by code??? all they of...
Skell asked 20/12, 2011 at 6:28

19

How to disable/hide three-dot indicator(Option menu indicator) on ICS handsets which does't have menu button. ? I am running application as <uses-sdk android:minSdkVersion="5"/> in Manifest,...

7

I am trying to flash different colours onto the screen at regular intervals (a few times per second). To change the colours, I use Drawable.setColorFilter(int color, Mode mode) on the background o...

3

Solved

I'm developing an android app using bluetooth communication (using a propetary protocol) and I need to catch the moment when the app is killed. I wanted to use the "onDestroy()" method but it isn'...
Munshi asked 13/7, 2012 at 15:45

2

Solved

I have two Galaxy Nexus phones. The phones are the same firmware version 4.0.2, same build number, same kernel version. When I deploy the same exact app to both of the phones using Eclipse, I see d...

4

Solved

When I try to create a new AVD in Eclipse, I have the image installed but that's not the problem. I get the message failed to parse properties from /home/kevin/.android/avd/icecream.avd/config.ini...

5

Solved

I have a menu for my main activity (res/menu/main_menu.xml) and I want only one item on the Actionbar and the rest shall be hidden under three dots menu. The problem is, I never see the three dot...
Guinevere asked 23/12, 2014 at 20:38

6

Solved

We are trying to show user the Ice cream Sandwich calendar view, when they want to add a new event. We can only test this in emulator. The other problem is that we can't find any examples how to u...
Yarborough asked 22/10, 2011 at 10:59

2

With ICS, we now have APIs for the Calendar! :) My question is, how do we determine if an event has been updated. Ideally this could be done with a BroadcastReceiver, but I don't think there is on...
Inutility asked 7/2, 2012 at 4:11

3

Solved

I've been trying to create a custom view which has blurred shapes under text. The problem is that the BlurMaskFilter has no effect on any shape that I draw on the canvas. Here is how I'm initialisi...
Elisavetpol asked 1/7, 2012 at 11:2

6

Solved

I have a working tablet application which I am now trying to make work on phones too. On a table there is two fragments on the screen a list fragment and a details fragment. When on a phone the lis...

3

Solved

My Activity contains this code to get all images on the SD card: String[] projection = {MediaStore.Images.Media._ID, MediaStore.Images.Media.DATA, MediaStore.Images.ImageColumns.DATA}; Cursor c...
Neuritis asked 14/3, 2012 at 6:16

9

I've been having this problem for almost 2 months now and can't figure it out. The problem is that if my application is running and I run (reinstall) my application from Eclipse, I get an error mes...

2

I'm using OpenVPN and the new VpnService API that comes with ICS (Android 4.X) Is there a way to define an exclusion of an IP address from the VPN tunnel? (so that traffic which is destined t...

3

Currently I am working on one of my first applications. In this application I have a TimePicker and a DatePicker. My current Activity has a dark background. Now I want a white textcolor in my TimeP...

6

Solved

I'm trying to use android.provider.Telephony.SMS_RECEIVED to catch incoming SMS's. I built a simple app, which works on 2.x, but when I try it on my 4.0 emulator or device, it doesn't work. Any i...
Eachelle asked 30/11, 2011 at 1:15

© 2022 - 2024 — McMap. All rights reserved.