Tag: eclipse

Can I set API level X attributes in my manifest when my minSdkVersion is less than X?

I’m working on an Android application where I’d like to have the largeHeap and hardwareAccelerated flags on. However, it also needs to support Android 2.3. My AndroidManifest.xml looks like the following: <uses-sdk android:minSdkVersion=”10″ android:targetSdkVersion=”10″/> <application android:icon=”@drawable/icon” android:label=”@string/app_name” android:hardwareAccelerated=”true” android:largeHeap=”true” > However, Eclipse refuses to build the project, saying: error: No resource identifier found for attribute […]

Recommended Linux Distro for Android Development Workstation

I’m trying to determine which is the best/preferred/recommended linux distribution for native Android development ? I’m looking into Ubuntu now, but am also considering CentOS (I’ve always liked RedHat). I guess at a bear minimum, the OS needs to Support the latest JDK (required by Android SDK) Run Eclipse (which means a Desktop package is […]

How can I add library to Android-Emulator's lib folder

I have libTestLibrary.so library and I want add it to Android-emulator’s lib folder. How can I do this ? I make following steps: Window / Open Perspective / Other… / DDMS Enter File Explorer tab. Find lib folder and open it. Press Push a file onto device and select library witch I want to push […]

Debugging on Honeywell Dolphin from Eclipse

I’m developing a scanner app for Honeywell Dolphin 7800 devices, but can’t figure out how to make eclipse detect the device. Usb debugging is enabled as well as Allow non-Market applications (also, device is showing USB debugging connected notification). I’ve tried restarting eclipse, adb server & device. I’m working on OSX, and I’m guessing I […]

Using local json file in Android

I will be using a local JSON file with some data. My question is where is the best/proper way to store the file and how should I access it and it’s contents? I have worked with json through http before but not a local one.

How to exclude R*.class files from a proguard build

I am one step away from making the method described here: Targeting Android with Scala 2.8 Trunk builds work with a single project (vs one project for scala and one for android). I’ve come across a problem. Using this input file (arguments to) proguard: -injars bin;lib/scala-library.jar(!META-INF/MANIFEST.MF,!library.properties) -outjar lib/scandroid.jar -libraryjars lib/android.jar -dontwarn -dontoptimize -dontobfuscate -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers […]

Eclipse stepping into class in android

I have a simple android project that I am trying to debug inside of Eclipse. When I run it in debug mode and use the “Step Over” button, it frequently seems to want to go into Android code (I don’t want it to do this, just as a C debugger will not go into libc). […]

how to create editable spinner in android?

Friends, can anyone guide me how to create editable spinner in Android? any help would be appreciated.

Cocos2d-x: How to port a Cocos2d-x project developed with XCode to Android (via Eclipse)?

I have developed a Cocos2d-X app with XCode which works perfectly when I launch it from XCode on an iOS device. Now, I want to port it to Android. What I understand is that I have to find a way to import my “XCode project” to Eclipse in order to be able to compile it […]

java.lang.NoSuchFieldError: PUBLIC_ONLY while using Box api in android in signed build

I have developed android application which contains Dropbox,Google drive and Box cloud service. I tested it and everything was working. After that I signed it and I realized that debug apk size was 8.5MB whereas signed apk size was 7MB.Still I tested complete application in which everything was working except Box cloud functionality.I got below […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.