Android :: Compile Android Application On 2.1 To Support All Versions?
May 4, 2010
I want my Android application to have maximum reach, and hence want to support all versions V1.5 onwards. I find some features lacking in V1.5 that are available in V2.0 or V2.1. Could I compile on V2.1, and then set minSDK for the application to run on 1.5? Plain logic says 2.1 specific features would not work, but let me know your thoughts. Also, what are some other workarounds? What would "you" normally do in such a situation?
View 2 Replies
Jul 19, 2010
I want to develop application that should support all version (latest and old) and it should adjust screen resolution (large,medium). I read document. There I found legacy application if I develop application in 1.6 there I am giving:
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>
Is it good way to develop application and is it support 1.5 and 1.5+. Users able to find my application there market.
View 4 Replies
View Related
May 25, 2012
how to compile FFMpeg with support for the Mali GPU or Generic Android HW acceleration?A good number of video players on the Android Market are able to playback HD video without issue, where some not optimized for GPU decoding are not.
View 3 Replies
View Related
Oct 28, 2009
I have a few scenarios where I guess I am not alone with. There is no easy solution but this has to be on top of the list I think.
1. Suppose you have an application that is compiled with 1.5 and is working fine even if started on a 1.6 device. But you now want to support other resolutions, so you need to compile with 1.6. Problem: If I recompile and publish the new apk, the 1.5 users want see my applications. Users already downloaded my application can not upgrade. (will there be a "new version" available shown to them in the market?)
2. Lets say your application works fine on 1.5 and 1.6 and you decided to publish your application twice with different package names. "MyApplication 1.5" and "MyApplication 1.6" for example. Problem: The user upgrading from a older version does not know that there is a new version, because you published a new Application. You can write it into the description and tell the user to download the 1.6 version but many users might not read that Settings from the other application are lost. Your downloads are split into two applications, so you might not make it into the top ranks that easy . You might even need to publish 4 applications if you have a light and a paid version.
3. Now 2.0 SDK is available and you want to add multi touch features or any other new stuff for all 2.0 users. Problem: The above problems are getting even worse. There is no way to easily upload multiple apks for the same application. Having to rename the package is also not making this better. Every time svn freaks out and marks everything as new. Sharing code between versions is difficult because of that.
I don't know if its just "3" (provider in Austria), but I still have not received an official update to 1.6. Testing on the real device is not possible with a 1.6 image if you don't want to root your phone and update the rom manually. 2.0 will be on some devices soon, so there is definitely a need to support all 3 versions. There should be a faster update cycle for the users or a slower update of new versions meaning bigger steps. or We get an easier way to support multiple versions. This also means we need a way to know how many actual devices with version 1.5 / 1.6 / 2.0 are already sold and/or upgraded. If i know that 1.5 is only on about 5% of the devices left, then I can just stop supporting that version and upgrade.
View 4 Replies
View Related
Mar 1, 2010
I am working on an Android application that I would like to work on a reasonable number of devices. Currently my application works on 1.6 and greater, but uses some API function calls not supported in 1.5. How many devices on the market are restricted to 1.5? Is there a list of the latest firmware versions supported by all the available devices? I'm trying to see if it's worth my time to make my application work for 1.5, or if it won't really affect anyone.
View 7 Replies
View Related
Sep 24, 2010
I am a newbie in the Android world, having limited experience in Java from my varsity days decades ago. These days I am a pampered dev in the .NET world. These days I am a proud owner of an HTC Desire and decided to try my hand at Android dev. Now I have struck a bit of a dilemma. I am writing an app which heavily uses XML chunks of data.
I immediately notice there are two ways of doing this - I can laboriously navigate down from the root level, or (somewhat less laboriously) I can use XPath. The trouble is XPath is only supported at a minimum API level of 8 according to the docs. Ideally I would like to support down to 4 (which is 1.6 I think?) What is the best way of doing this? Are there external libraries or packages I can use?
View 1 Replies
View Related
Sep 25, 2013
I'm trying to compile CM10.2 for my Galaxy i5800, i downloaded the source code from androidarmv6 and the appropriate device folder with prebuilt kernel. After starting "make" everything seemed to be fine but when it started to compile EGL this error appeared:
Code:
target thumb C++: libEGL <= frameworks/native/opengl/libs/EGL/egl.cpp
/tmp/cc7jJXiM.s: Assembler messages:
/tmp/cc7jJXiM.s:894: Error: selected processor does not support Thumb mode `mrc p15,0,r0,c13,c0,3'[codee]....
to Android.mk however the same problem showed up while compiling bionic and it's showing even after adding those lines to bionic's Android.mk .
View 2 Replies
View Related
Aug 18, 2010
I am trying to compile and run the Android Camera for sdk 1.6 (also called API level 4 or Donut release). While there is no minSdkVersion in the AndroidManifest, it clearly does not run on a donut device. In fact, if compiled with sdk 2.2 the camera will crash with a NoSuchMethodError execption on an avd or a G1 with sdk 1.6. I tried also checking out the [donut-release] tag, but, strangely, it won't even compile giving many errors like:
[javac] /home/mrucci/camtest2/src/com/android/camera/ImageManager.java:41: cannot find symbol
[javac] symbol : class DrmStore
[javac] location: package android.provider
[javac] import android.provider.DrmStore;
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/Util.java:32: cannot find symbol
[javac] symbol : class MediaMetadataRetriever
[javac] location: package android.media
[javac] import android.media.MediaMetadataRetriever;
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/MenuHelper.java:29: cannot find symbol
[javac] symbol : class ExifInterface
[javac] location: package android.media
[javac] import android.media.ExifInterface;
...
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/ActionMenuButton.java:81: cannot find symbol
[javac] symbol : variable mScrollX
[javac] location: class com.android.camera.ActionMenuButton
[javac] mScrollX + mRight - mLeft),
[javac] ^
[javac] /home/mrucci/camtest2/src/com/android/camera/ActionMenuButton.java:81: cannot find symbol
[javac] symbol : variable mRight
[javac] location: class com.android.camera.ActionMenuButton
[javac] mScrollX + mRight - mLeft),
In particular, I really do not understand why ExifInterface is used in the "donut" tag when it has been introduced since API level 5.
View 1 Replies
View Related
Jan 26, 2010
I can run my application on 1.5, 1.6 and 2.0 emulator and on a 1.5 device without any problems. But some of my users are reporting force close and strange menu entries (see the attachment) using 1.6 and higher version devices.
This screen should look like this:
http://www.taypo.com/blog/WindowsLiveWriter/TurkceKlavye0.7_6F1/settings_0.7_2.png
And the code that generates this screen is:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/general_settings">
<CheckBoxPreference android:title="@string/haptic_feedback" android:defaultValue="true"android:summary="@string/haptic_feedback_summary" android:key="vibrate"/>
<CheckBoxPreference android:title="@string/sound_feedback" android:defaultValue="false" android:summary="@string/sound_feedback_summary" android:key="sound" />
<CheckBoxPreference android:title="@string/auto_caps" android:defaultValue="true"
android:summary="@string/auto_caps_summary" android:key="auto_caps" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/layout_settings">
<ListPreference android:title="@string/keyboard_layout" android:defaultValue="TRQ" android:key="kbd_layout" android:entries="@array/layout_names" android:entryValues="@array/layout_values" />
</PreferenceCategory>
</PreferenceScreen>
View 1 Replies
View Related
Sep 3, 2009
I want to use the same eclipse project to maintain only one source code (or two projects that refer to a generic project). My problem is that the names of the package have to be different on the market (eg: my.android.app.lite and my.android.app.pro). If the package names are differents, the generated java ressource files are differents (eg: my.android.app.lite.R.java and my.android.app.pro.R.java). So, the source files must point to differents R files according to the version (pro or lite) and I have to change all the import...
View 6 Replies
View Related
Jun 12, 2010
I have 3 android phones with different Os version. I can see all my apps, but one disappeared for more than a day and still can not see it.
View 3 Replies
View Related
Mar 16, 2010
when I compile android (http://source.android.com/download) it does not compile some source files. For example there is external/bluetooth/bluez/sbc/sbc.c which is not compiled. There are also other such files.
It's possible those files need not to be compiled. Or it might be that I need some special configuration to compile them.
Either way, if it is possible, I'd like to compile them. Is there some way to do it? Maybe some "compile_all" make target? (I believe the reason why I want to compile all source files is not important)
View 1 Replies
View Related
Mar 27, 2010
I want to create a PRO version of my application for Android and was wondering how to structure my repository. For know I have a trunk and feature branches. I'd like to put a pro version in another branch but maybe there is a better way? For example, maybe I should create two branches - one for free version, the other for pro?
Pro version will have additional features and will be ads-free, so e.g. I don't want to include AdMob libraries in the pro version. Do you have any experience or suggestions as to what would be the best way to structure the repository in this case? I think I've found the best solution (for my app) in this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/4ad3d67f735f16d7/948b4f9eee2490a3
The trick discussed there is about having another application that only serves the purpose of unlocking PRO functionality in the actual application. The unlocking app is paid in the market and the actual app merely checks for the existence of it on the device.
View 3 Replies
View Related
Apr 19, 2009
What is the best way to release two versions of an application? E.g. a free version with limited features, and a paid version with the full feature set. #ifdef would be the ideal way to do this, but Java doesn't support it. Could I do something like: try {import com.foo.myapplication.ExtraFeatures; } catch (Exception e) { // ignore it, this must be the free version}? I could manage with this kind of construct, although #ifdef really would be ideal.
View 10 Replies
View Related
Mar 1, 2010
I'm pretty new to Android, and I had some questions that I've had trouble getting answered via the web. I have done a few searches, but I'm not sure how to word my question, either. So I apologize if this has already been covered somewhere...but here it goes. I was wanting to know how the Android handles application versions/ updates. Specifically, does an update blow away my database? Is there a way to preserve the users' settings as well?
View 5 Replies
View Related
Aug 30, 2010
I need to compile an application with system permissions in order to use target application com.android.settings. For now while I try to run my apk I get the error message
Test run failed: Permission Denial:
starting instrumentation
ComponentInfo{com.jayway.test/android.test.InstrumentationTestRunner}
from pid=354, uid=354 not allowed
because package com.jayway.test does
not have a signature matching the
target com.android.settings
How can I compile my application with system permissions?
View 1 Replies
View Related
Oct 23, 2010
I am in middle of learning application development. I have created an application in 2.2 and tested that in my HTC Nexus One device. I looks like fine. My client testing same application setup in his device (Droid2). I don't have that device to test.
He said there are some font sizes are vary and button alignments are missing. When I testing in my device everything looks fine. So, I need to test my application in Simulator which resembles like Droid2 device. Can anyone tell me how to create emulator and setup like Droid2. And also, is there any need to adjust my code or anything in manifest file.
View 2 Replies
View Related
Dec 16, 2009
I'm developing one android application which needs to support Android OS 1.5, 1.6, and 2.0. I've three different .apk files for all three SDK. How can I upload three different .apk files on Android Market Place for single application? I would like to have all 3 versions available under one application name. is this possible? So, users with any SDK can use my application.
View 5 Replies
View Related
Jul 15, 2009
What are the differences in ant script we should take care to compile the application which uses maps api. Tried with bootlcasspath with both android and maps.jar file. but it fails to create dex file.
View 2 Replies
View Related
Jul 1, 2010
I have written an Android application that I am about to release, but I would like to have a 2.1 version with multitouch and a lower API version without. However, if I simply just use the minSDK setting, the 1.6+ version would show up in the market with the 2.1 version on 2.1 phones. Is there any way to release for a specific range of OS versions?
View 3 Replies
View Related
Nov 1, 2010
Right now I've finished an application that I want to distribute on Android Market. It will have a payed version and a free version with some limited features. While developing it, I was doing obviously just the main project of fully featured release. And now after finished I've included a "boolean" DEMO_VERSION=true that restrict those features. My question is if it's possible to generate both apk from the same project? Or should I create new project with the same source but changing the Java package to tell android market that they're two different applications.
View 1 Replies
View Related
Feb 5, 2009
Is there a way to send an intent to the Maps application to load a KML file(URL) and display the contents, or use the internal KML parser. The internal Maps Application's intent/components are out of bounds for normal users. Intent { action=android.intent.action.SEARCH comp= {com.google.android.apps.maps/com.google.android.maps.MapsActivity} (has extras) } Is the only option is to write a KML parser and override the MapActivity to draw the POI's
View 3 Replies
View Related
Apr 15, 2009
I want to ask to google engineers that whether future sdk releases will provide any CC++ support for application developement? If no.. then Can you tell me the disadvantage of these languages?
As per my knowledge and experience, runtime environment is not needed to execute CC++ application. So why cant we directly run any application which is written in CC++? Is there any way to bypass DVM to execute a code?? Core android librarys are CC++ only...
View 3 Replies
View Related
Mar 4, 2010
I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.
View 3 Replies
View Related
Feb 22, 2009
In case there is anybody out there who would like to create a support- application to an activity that is already used by everybody on the Internet, the moment has come! I'm particularly interested in developers with deep knowledge of Linux services and/or the Android GUI. Note: this is not yet another password vault or similar, this is about *eventually getting rid* of passwords!
View 2 Replies
View Related
May 26, 2010
I make application using Froyo SDK.It support only Android 2.2.It is working well on Emulator and Nexus one.but android market uploading error like below.The file is invalid: W/ResourceType(12468): Bad string block: last string is not 0-terminated ERROR getting 'android:label' attribute: attribute is not a string value.If change android:minSdkVersion to 7, then no uploading error.But application only support Froyo.
View 2 Replies
View Related
Mar 6, 2010
I want to develop UI of the application which looks similar on all screen sizes. I have gone through the Android developer article regarding this. I am using supports-screen tag but then also the screen is displayed not displayed properly in the larger screens. The screen is displayed properly in HVGA and not in WVGA.
I have developed the application using Android 1.6 and set the minimum SDK version as 4. The application is running properly on HVGA avd but not on WVGA avd. Can I know the reason for it? Is there any solution for this? I want that the user interface of the application should look uniform in all the handsets.
View 3 Replies
View Related
Jul 23, 2010
I am looking for a weather app that supports multiple cities like an iphone weather app. I have tried many apps, but could not find the one that I want.
View 9 Replies
View Related
Oct 1, 2009
We have an Android application. Now I need to conduct a user survey for this application. Our app will display a list of selections, etc. This view and it's control will be data driven by (a) document(s) downloaded from a server. What Android utilities I can use to displaying HTML, javascript, etc. within an application?
View 2 Replies
View Related
Aug 31, 2010
How can I make it so that my application is seen on the Android Market only by devices with mdpi and hdpi densities. There is the <supports-screens> tag and there is the anyDensity parameter but I don't see how I can say what I want. If I set anyDensity to false, what does that mean? Where do I specify which densities I do support?
View 2 Replies
View Related