Android :: Compiling Demo / Final Versions Of Android Application
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
Jun 1, 2010
i have completed my First android application and i have deployed that application to different android based mobile phones which is working fine. my question to you is, is there iphone store like thing exists in android to upload your application by paying fee to android store or something like that. or nothing or should i start passing my application to end users directly? any help would be appreciated.
View 2 Replies
View Related
Nov 16, 2010
This comes up because I am changing the model for my freed and paid apps. Besides all the other things I need to figure out to build this (I'm trying the library method), I'd like to transfer preferences smoothly from DEMO app to paid App. I'm sure that some of you are old hands at this and can give some advice. I've tried the Demo and License, where a license app will unlock the Demo app and make it full.
The Market users can't handle that. My customers didn't want to have two app icons once they installed the license. So I made it invisible. Now I have users that say they can't "open" the license after purchase. It states very clearly in the app description that they need to install the free version first, but I've discovered that not everyone reads that vast 325 character description before buying even some of the most expensive apps on the Market.
I've decided not to fight it. I do believe that customers will be more happy overall and there will be less refunds, if they do try the demo app first. It gives them 16 days to try instead of 24 hours to get a refund. But I'm not going to force that. So, I'll be going down the Demo and Full model route. Just as an aside, I really wish the market would support time limited trials. There is difference between real support and faking it as I have been.
View 17 Replies
View Related
Apr 23, 2010
What is the recommended way of creating a demo version for an application. Basically, the demo version will be fully functional, but will be limited to running it 25 times. My worry is that if the user uninstalls and reinstalls, the count will be reset. I thought about writing a data file to the SD Card with the count of executions (hoping that would persist after uninstall), but I do not want to add that permission if I can avoid it. Any suggestions on how to have some type of demo flag persist after an uninstall?
View 1 Replies
View Related
Jun 4, 2009
We have a paid app in the market place, we would like to release a demo of the paid app. I was hoping we could just recompile w/ the same package name, but apparently that does not work. I have tried manually changing package name etc, but it is a chore, and it seems that several things that automatically happen in eclipse cause more harm than good when renaming the package name. Which brings me to my next question. If having a new package name is the only way to accomplish this. Is there an easy way to fork the paid app, where keeping the changes synchronized is easier? Some kind of Source Control?
View 6 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
Sep 15, 2010
Why should a static method in java accept only final or non final variables within its method, but not static?
For example I have the following method:
CODE:.................
View 6 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
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
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 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
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
View Related
Feb 7, 2010
<html>
<script language="javascript">
/* This function is invoked by the activity */
function wave() {
alert("1");
document.getElementById("droid").src="android_waving.png";
alert("2");
}
</script>
<body>
<!-- Calls into the javascript interface for the activity -->
<a onClick="window.demo.clickOnAndroid()"><div style="width:80px;
margin:0px auto;
padding:10px;
text-align:center;
border:2px solid #202020;" >
<img id="droid" src="android_normal.png"/><br>
Click me!
</div></a>
</body>
</html>
What is "window.demo.clickOnAndroid()"? I know that clickOnAndroid is a method in my Android application. But what is window and demo? My file is called demo.html. Is that it?
View 2 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
Jan 28, 2010
I've seen a lot of use of final for local primitives.
Presumable to indicate to the compiler that the value shouldn't be changed.
However, what's the implication of this on Dalvik?
I believe final local variables are usually placed on the heap for extended lifetime (for use in inner classes), so is their a runtime overhead rather than using simple locals (which use Dalvik registers)?
View 15 Replies
View Related
Jul 1, 2010
VillainROM 12.0.0 based on HTC OTA update WWE 2.1. Lots of stuff in the OP that wasn't in 11. Livewallpapers, Rosie config, Friendstream, News widget fixed, etc.
[ROM] VillainROM 12.0.0 Final - WWE Android 2.1 by TeamVillain - xda-developers
VillainROM Forums • View topic - VillainROM 12.0.0 FINAL WWE Android 2.1 Release
View 49 Replies
View Related
Jan 20, 2010
Can anyone explain why, when I use the Final keyword the following code works fine, but without it, it doesn't?
I just find it irritating that I don't understand why it works! ;)
CODE:................................
View 6 Replies
View Related
Mar 23, 2010
Cant believe Moment is beating the Droid.The Android Tournament Final Four.
View 36 Replies
View Related
Jun 3, 2010
I am trying to add some updates to an already released application but something has happened with my workspace that prevents me from Running or Exporting the application. I keep getting the following code...
You think it would be an easy fix but I looked into the HDPI drawables folder and there were no doubles. I even went as far as to delete the entire folder and the error still appears. Anyone got any clever ideas?
View 3 Replies
View Related
Sep 15, 2010
I am having a static method .In the method when I decalare a variable , it was showing an error in eclipse saying that the variable should be decalared as final.
Can I know the reason for this , y should a variable in a static method be declared as final? I am writng an Android application where I should pass as an argument current Context of that application. So, when I pass the current context to the method and trying to copy it in a local variable , I am getting this error saying that the variable should be declared as final.
My method is like this:
CODE:.............
Error is showing at line where Context myctx=ctx; is declared and asking me to declare it as final.
View 4 Replies
View Related
May 29, 2010
I put two projects into Eclipse, called Project1 and Project2.Project1 is independent, but Project2 must be dependent to Project1.When I build the Project2, the error msg comes like this: Error generating final archive: duplicate entry: AndroidManifest.xml
View 1 Replies
View Related
Aug 12, 2011
I'm writing an application that requires a custom USB driver, and i need LibUSB to be able to do it. I downloaded the following:
android.git.kernel.org Git - platform/external/libusb.git/summary
My problem is that when i try to cross compile using ./configure this lib, i get the error: unsupported operating system. I've been trying to configure like this:
Code:
./configure --host=arm-eabi CC=arm-linux-androideabi-gcc CPPFLAGS="-I$NDK_ROOT/platforms/android-3/arch-arm/usr/include/" CFLAGS="-nostdlib" LDFLAGS="-Wl,-rpath-link=$NDK_ROOT/platforms/android-3/arch-arm/usr/lib/ -L$NDK_ROOT/platforms/android-3/arch-arm/usr/lib/" LIBS="-lc"
The main aim is to be able to use the library with the Android NDK.
View 10 Replies
View Related
Sep 2, 2012
If I have the source code compatible with the Zenithink ZT282 but its based on Android 2.3.4 can I use it to compile cm7.2 2.3.7 with the cm7 source.
View 1 Replies
View Related
Nov 10, 2010
When I compile my Android Project I always get this Error:
Error generating final archive: duplicate entry: about.html
But I can't find any about.html in my Project.
Does anyone know how to solve the error?
View 2 Replies
View Related
Apr 9, 2009
I want to add a new src folder to android project,but there are so many file "android.mk",so are my src folder.I have no ideas how these make files are connected with each other while compiling, how could I do ?
View 2 Replies
View Related