Android :: Build App For 1.5 Devices While Targeting 1.6 SDK?
Jan 21, 2010
I'm building an application, and need to support both 1.5 (Magic and Hero) and 1.6 (Tattoo) devices.
As Android SDK is forward compatible, it seemed logical to build against Android 1.5 SDK, and expect application to work on Tattoo. While that's true, (I tested app, it works ok), I'm now having problems on Android Market. On Tattoo, Market search by default filters android apps that doesn't have explicit support for small screens defined in AndroidManifest. Problem is that attribute exists only on Android 1.6 SDK, so Building against Android 1.5 SDK is no an option anymore. How safe is to build App agains A1.6 (with minSdkVersion="3") and run it on 1.5 devices? Is there anything else I should take care of except just change target SDK?
View 1 Replies
Oct 29, 2009
I'm interested in learning Android development but if I install the latest 2.0 SDK, will I still be able to target 1.5 and 1.6 devices? (since there is only one 2.0 device right now)
Basically I'm wondering if it will tell me if I'm doing something that won't work on older versions of the OS.
View 2 Replies
View Related
Nov 17, 2009
We are upgrading our application to add 2.0 support. I have read http://developer.android.com/guide/appendix/api-levels.html and the older blog post http://android-developers.blogspot.com/2009/04/backward-compatibility.... I want to avoid using reflection if possible. I have found that if I set my minSdkVersion="3" in the application manifest but in my build path in eclipse point to the Adroid 2.0 jar file I can compile with direct calls to 2.0 code (with the relevant code to ensure they are not invoked on <2.0 devices). My question is will people with pre 2.0 devices be able to see the application in the market place in this case? What are other people using for multi-targeting different API levels with the same package.
View 7 Replies
View Related
Jan 6, 2010
I'm trying to get rid of the mentioned (READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE) auto-permissions in my signed apk, but I can't. I know it is an issue with targeting 1.5, but this isn't my case. I'm targeting >=1.6. I've checked everything: In my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.aaa.bbb"
android:versionCode="1" android:versionName="1.0.0">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
Eclipse generates the proper value in default.properties: target=android-4
View 3 Replies
View Related
Feb 3, 2009
Last week I published our first app to the Market, which is a game targeted to users in The Netherlands. Now that the G1 has been available over here for a couple of days, we have received feedback from several of our users. When I look at the developers console in the market however, the download count still shows 0.
Also on the device it is listed as <50. When looking around in the Market, I see that all applications targeted to The Netherlands are listed as having <50 downloads, even an application that received a lot of publicity. Have other developers noticed the same?
View 14 Replies
View Related
Jul 3, 2009
I am trying to get the intent "android.intent.action.BOOT_COMPLETED" sent only to the receiver "com.android.mms.transaction.MmsSystemEventReceiver" as this triggers the sms notification to be updated and removed if there is no longer any unread sms's. The issue I have is I need to make sure the broadcast is only sent to the class above. If it goes to other receivers the phone could end up in an unknown state or something strange. The code below does not seem to work.
Intent intent = new Intent(); intent.setAction("android.intent.action.BOOT_COMPLETED");
intent.setClassName("com.android.mms", ".transaction.MmsSystemEventReceiver");
activity.sendBroadcast(intent);
This code does work but since it goes to all receivers I have noticed some errors starting to show up in logs etc.
Intent intent = new Intent();
intent.setAction("android.intent.action.BOOT_COMPLETED");
activity.sendBroadcast(intent);
View 7 Replies
View Related
Aug 12, 2010
I need to target apps for a specific carrier. Any tips on how to do this? I've seen <uses-library> for market filtering, but looking for something else.
View 3 Replies
View Related
Oct 28, 2010
I read here: http://www.androidguys.com/2009/10/11/developers-can-now-target-by-carrier-in-android-market/ that it can be done if you go to the Android Market, and go to your app, then go to Publishing Options -> Locations, but I don't see anything to select a specific carrier there, only specific countries. Is this something that Google changed? Can this still be done, or is it done automatically? Can't the carrier be detected from the device?
View 1 Replies
View Related
Oct 6, 2010
I'm beginning with Android development. I'm aware that there is a lot of Android devices still on OS 1.5 or 1.6 so I'm thinking about require API level 3 as minimum to support them. What will I miss from 2.2? Which are the most important features I will miss targeting Android API 3 (OS 1.5) instead of most recent API?
View 3 Replies
View Related
Jun 18, 2010
I am 6 months experience in Android, use to develop simple UI based application. Now i want to write application targeting the Android core Kernel.For example i want to develop a Framework which is not present in Android.To achieve that we have to write the code for the Kernel. I dont know where and how to start the Android Kernel Programming. If anybody knows the way to start it.
View 3 Replies
View Related
Jun 24, 2010
I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.
1. Why the error occured?
2. Changes which I did is correct or not?
View 3 Replies
View Related
May 14, 2014
How To Transfer TEXT MESSAGES from WP8.1 devices to Android Devices ??And also the contacts!!
View 2 Replies
View Related
Feb 21, 2013
I have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...
cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.
Here are the Warnings I got when compiling
mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....
View 9 Replies
View Related
Oct 2, 2013
Can I have two separate google play accounts for two different devices & keep one gmail account for both devices?
View 6 Replies
View Related
Nov 1, 2009
I am developing my am on mac (10.5.8), on eclipse and SDK 1.6 and a Vodafone HTC Magic Everything was working ok up to a few days ago. I can not see my device on adb devices. I also got a Sony Xperia and I can not see it on the list either. I upgraded the phone software (the HTC) to 1.6 a few days ago. Maybe that is what caused the change, but I could not be sure.
View 2 Replies
View Related
Dec 2, 2009
Try something like this,
ANT_OPTS="-Xms256M -Xmx512M" export ANT_OPTS ant ...
On 12/2/09 12:11 PM, sdphil wrote:
View 4 Replies
View Related
Apr 14, 2010
HTC may develop own mobile OS, follow iPhone model | Electronista
Palm with webOS, Samsung with Bada and now HTC with their own? Is this going to lead anywhere good?
View 8 Replies
View Related
May 19, 2010
k9-2707-release.apk - k9mail - K9 2707 - Project Hosting on Google Code
View 3 Replies
View Related
Jun 4, 2009
I'm having pukage when I try building from ant. I followed the sdk upgrade instructions:
$ android update project --path /path/to/my-project --target 1
and when I try to build:
$ ant release
I get:
CODE:...........
It seems that something in:
CODE:..............
Is causing ant to harf, but that's about all I can tell.
View 2 Replies
View Related
May 12, 2009
Is there a tool or a website that could help me create a UI for an Android application using drag-and-drop?
I found this site but want to know if there is a more stable tool or website for this?
View 3 Replies
View Related
May 11, 2009
I would like to do is a build-in SMS Counter. When having plans that allow you to do a specified amount of SMS messages in a month, an SMS Counter would be very useful, and I can't imagine writing code for it could be that hard. I think that, apart from me, many people would love this simple extra to the Android OS.
View 2 Replies
View Related
Aug 18, 2009
I want to modify the usb_windows.c in /system/core/adb and recompile a new adb.exe to test our platform. but, when i use "make HOST_OS=windows", it failed. i use ubuntu 8.04 and i can build with "make HOST_OS=linux". does anyone know how to build my adb.exe?
View 12 Replies
View Related
Sep 8, 2010
My application needs to compile into different version, from 1.5 to 2.1. The development environment is eclipse. I don't want to have different source code or project for each version. How could I do it?
View 5 Replies
View Related
May 18, 2009
I just tried to figure out the build.xml from the SDK 1.5. I used "android update project" an an existing project and got a very short build.xml. When I strip out all the comments, this is what's left:
<?xml version="1.0" encoding="UTF-8"?> <project name="com.webxells.ourproduct" > <property file="local.properties"/> <property file="build.properties"/> <property file="default.properties"/> <path id="android.antlibs"> <pathelement path="${sdk-location}/tools/lib/anttasks.jar" /> <pathelement path="${sdk-location}/tools/lib/sdklib.jar" /> <pathelement path="${sdk-location}/tools/lib/ androidprefs.jar" /> <pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" /
View 2 Replies
View Related
Nov 11, 2009
I define a setBackgroundDrawable with a png resource that's 2px wide and 50px high. Android fills the background with this resource. The question I have: Does Android replicate the resource to fill the width of the screen or does it stretch it? The png is not 9-patch.
View 3 Replies
View Related
Aug 6, 2009
I'm seemingly having problems creating the apk using an ant build for 1.5. It's building so I'm guessing the sdk pointer in local.properties is set correctly, but it seems to not be finding sun.security.x509.* (?).
I can see that jarutils.jar is in
CODE:...............
Here's the traceback spew...
release: [apkbuilder] Creating .Phresheez-unsigned.apk for release...
CODE:................
View 5 Replies
View Related
Jun 25, 2010
Is that possible to build an extensions to build-in apps like contacts, or addessbook, so we could adding additional menu ?
View 2 Replies
View Related
Apr 24, 2009
I am in the process of writing some new build files for Android Sdk 1.5 and beyond.
My question is every tool-IDE plugin the same in that they do not contribute the ANT task libs to the IDE ant editor and thus have to manually set the paths in each IDE?
At them moment i know ADT 0.90 pre is but I am assuming that will change as we approach the ADT 0.90 final release.
View 2 Replies
View Related
Feb 8, 2010
I'm building using Ant and trying to use build.properties to override some default values, and failing miserably. What am I missing?
Here's what I've tried:
1) Create a project with: > android create project --target 1 --name MyAndroidApp --path ./MyAndroidAppProject --activity MyAndroidAppActivity --package com.example.myandroid
View 5 Replies
View Related
Sep 15, 2010
I was wondering what the feasibility would be for creating a custom Android build and deploying it on a currently available device on the market. Are there any documents or guidelines that describe the process?
View 3 Replies
View Related