Questions tagged [android-sdk-1.6]

For issues relating to developing with the android SDK, version 1.6.

Android 1.6 is a minor platform release deployable to Android-powered handsets since October 2009. The platform includes new features for users and developers, as well as changes in the Android framework API.

Read more about : Android 1.6

35 questions
1
vote
0 answers

Error while issuing ping command inside monkeyrunner script

i am facing some issues in device.shell('ping -c 2 192.168.1.1') inside a monkeyrunner script. Its throwing below error:- 120202 20:12:17.192:S [main] [com.android.chimpchat.adb.AdbChimpDevice] Error executing command: ping -c 2 192.168.1.1 while…
Rilwan
  • 2,251
  • 2
  • 19
  • 28
1
vote
3 answers

how do i fix the error "conversion to dalvik format failed with error 1"?

I did search the site for help and one mentioned to try it with out any thing on the build path except for the android code itself. and that is all that I have on it! I built this with out using any external files. (infact a differnt one that I did…
Kit Ramos
  • 1,533
  • 1
  • 15
  • 32
1
vote
1 answer

Android localization and SDK support differences

The localization language support in Android 1.6 is a lot less than the languages that are supported in more recent versions. And I know that Google is making a concerted effort to expand their reach in more languages and countries. I've looked…
Salx
  • 579
  • 5
  • 21
1
vote
1 answer

How to build parameterized custom layout?

My app is all about manipulating and showing different views of a particular entity. I have a class called Item that defines an entity in my app. I have created a custom layout that knows how to render a particular version of Items: public class…
i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
1
vote
1 answer

How to detect Multi-touch event?

I am developing an application on Android SDK 1.5. Is there an event to detect multi-touch ? How can I catch this event ? Actually i am trying to zoom a picture by 2 fingers. Thanks in advance.
Ferdinand
  • 1,193
  • 4
  • 23
  • 43
1
vote
3 answers

Huh? Android Preferences page refuses to load after adding SDK 1.6

This one is really weird. I had a perfectly working Eclipse + Android 2.2 SDK working in both Administrator account and LUA (Limited User Account) under Windows XP. Then I decided to add the Android 1.6 SDK (I could do it from an Administrator…
Android Eve
  • 14,864
  • 26
  • 71
  • 96
1
vote
0 answers

Is there a generic way to activate led flash light on android 1.6

I am trying to implement a code that uses the camera LED (Flash). It is similar to the torch applications that are available on the market. I guess in android 2.1 and above this can be achieved by using FLASH_MODE_TORCH. Is there a generic way to…
Arvind
  • 25
  • 4
1
vote
1 answer

Test android app with api diffrent than available on device

I want to ensure that my app is compatible with api ver. 4 ( android 1.6). Is it enough to set build target on my IDE at ver. 4? I don't have device with such low api.
dzakens
  • 337
  • 3
  • 14
1
vote
1 answer

Android Center Layout Hiding Button

I am working on a fairly basic screen layout for my first Android application and running into some issues. My goal is to have a TextView in the top left and top right corner, a large "hello world" TextView in the exact middle of the screen, and…
Blather
  • 1,118
  • 5
  • 15
  • 25
1
vote
1 answer

Invalid column _count when using Contacts.Groups._COUNT to get Contacts Groups?

Problem 1. I have this class: public class ContactGroups { // Form an array specifying which columns to return. String[] projection = new String[] { Contacts.Groups._ID, Contacts.Groups._COUNT, Contacts.Groups.NAME,…
Pentium10
  • 204,586
  • 122
  • 423
  • 502
0
votes
1 answer

1.6 to 2.1 CameraInfo alternative?

android.Camera.Preferences.setRotation documentation public void onOrientationChanged(int orientation) { if (orientation == ORIENTATION_UNKNOWN) return; android.hardware.Camera.CameraInfo info = new…
0
votes
1 answer

An SDK Target must be specified error with android SDK

I have just put the first step in android,and just started with hello android example of android http://developer.android.com/guide/tutorials/hello-world.html. Now the problem is that when i navigate to /tools directory and execute the command…
Yama
  • 2,649
  • 3
  • 31
  • 63
0
votes
1 answer

What is wrong with this code?

Sorry that I'm asking such a question, but I'm tryin to make this one run for hours, and I'm not finding the mistake... public class Main extends ListActivity { /** Called when the activity is first created. */ ProgressDialog…
0
votes
1 answer

Android 1.6 SDK WebView Issue

I've narrowed down the problem to WebView; my application force closes every time. If I take out the WebView and put in a color change button or something, the case switching works and the application loads. I'm fairly new to the plaform, but I'm…
user375566
0
votes
1 answer

vcard manager in android

I want to make VCard manager in android for 1.5 and above . This application will be able to perform following functions: 1 Send and receive contact . I want that when i send a contact to any mobile it should get the save option to save the contact…
Gaurav Gupta
  • 575
  • 1
  • 5
  • 17