Android :: Split App - Eg Free - Pro Versions Using 95% The Same Code

Mar 11, 2010

I have a free app out there and am going to write a pro version with some extra functionality that I'll charge for.

The plan is to use the same code for both apps, although I need different Eclipse projects to use different manfiest files. The obvious way is to have all my code in a shared library which the free and pro projects reference.

Android :: split app - eg free - pro versions using 95% the same code


Android :: How To Factor Code For Free / Paid App Versions?

Jan 19, 2010

I have a project which I want to split into a paid and a free version. I do not care to double my management of the res/ folder and would even like the Android Manifest.xml to be the same file except for the package line. Worrying little about hacking (at this stage - my app is not copy protected anyhow so other avenues of vulnerability are already open), it might be sufficient for me to have all the logic in the free app, and to enable/disable functions based on the app's own package info. What strategies have others used in this regard? I have soft-linked the source from a new Android Eclipse project folder tree to the existing one (the new is to become the paid version and the old one will become the free one with some logic paths being conditionally stubbed at runtime), reserving the new source file hierarchy in the new one to the sole purpose of containing an My Main Activity.java file (as it will need to be in a different package- folder than the one for the free app's). But the res folder appears as though it might be more difficult.

View 2 Replies View Related

Android :: Maintaining Both Free And Pro Versions Of Application

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

Android : Implement Free Versions Of Applications?

Dec 31, 2009

I already mentioned this briefly in another post as part of another publishing topic.

But I think it is pretty important for a lot of us to know good ways to make free versions that can't be cracked too easily etc. After all most people just download the free stuff, I know I do, so its important for numbers.

I just made a game called ScrollSlider and I want to make a free version with limited evaluation period perhaps, but I could use some advice on how to do it. I'm also having problems with data persistence as views appear and disappear and managing game loop view thread accordingly.

View 5 Replies View Related

HTC EVO 4G :: Ads Free And Pro Versions Of Apps?

Nov 16, 2010

After rooting and installing "AdFree", will it remove all ads even from apps? Reason I askis if it does, there really isn't a reason to purchase aPro version of an app where the only benefit is to remove the ads.

View 3 Replies View Related

Android :: Enabling Code For Earlier OS Versions Under 2.1 SDK?

Mar 14, 2010

Under the 2.1 SDK, is there a way to test for the phone's OS version within the app, and to enable or disable features based on this OS version? In other words, I'd like to do the moral equivalent of this...
if (os_level < 1.6) {// code goes here}

View 2 Replies View Related

Android :: Code For Free Nexus One Recruiters?

May 9, 2010

Post your invitation code here for Free Nexus One app to get more underlings!

View 1 Replies View Related

Android :: Find Free Source Code To Use During Learning Experience?

Jun 18, 2010

I have just started learning to write apps for android using Eclipse. Where can I find free source code that I can use during my learning experience?

View 4 Replies View Related

Samsung Captivate :: Free App For A Bar Code Scanner?

Oct 27, 2010

I am looking for an app for a bar code scanner. Can someone recommend one and tell me where to find it? Preferably a free one.

View 4 Replies View Related

Samsung Moment :: Bar Code Scanner App (Free Or Pay) For Phone?

Apr 7, 2010

What's the Best bar code scanner app (Free or Pay ) for the moment?

View 14 Replies View Related

Android :: Received SMS Containing Link Being Split Up?

Nov 27, 2010

I tried to do a search but it's a needle in a haystack. Sometimes I'll get a text containing a link but it gets split up into a second text rendering the link broken. Is this an Android issues or a Messaging app issue?

View 3 Replies View Related

Android :: Split Path To Get Filename And Extension

Sep 3, 2010

I have a file path to the SD card on a String.. like this : /sdcard/ download/recentPic.jpg.And I'd like to get just the filename and extension recentPic.jpg.Is there any simple way to do this?

View 15 Replies View Related

Android :: Split Line Of Text Into Few Lines

Jul 29, 2010

I'm wondering how can I split single line text into few lines. I need it for game. I want to make it in canvas. It will be notification popup, but sometimes text is too long (I draw text canvas.drawText()), and I need to split it and draw in few lines in rows. Anyone knows a good solution? I saw methods mPaint.measureText() or TextUtils . split () , but it isn't so good in my case. Is there other method?

View 5 Replies View Related

Android :: Split Current String For Two Different Textviews

Sep 17, 2010

I have a string called CurrentString and is in the form of something like this "Fruit: they taste good". I would like to split up the CurrentString using the : as the delimiter. So that way the word "Fruit" will be split into its own string and "they taste good" will be another string.and then I would simply like to use SetText and 2 different textviews to display that string. What would be the best way to approach this?

View 1 Replies View Related

Android :: How To Split File Into Chunks While Writing Into It?

Sep 24, 2009

I tried to create byte array blocks from file whil the process was still using the file for writing. Actually I am storing video into file and I would like to create chunks from the same file while recording. The following method was supposed to read blocks of bytes from file:

private byte[] getBytesFromFile(File file) throws IOException{
InputStream is = new FileInputStream(file);
long length = file.length(); int numRead = 0;
byte[] bytes = new byte[(int)length - mReadOffset];
numRead = is.read(bytes, mReadOffset, bytes.length - mReadOffset);
if(numRead != (bytes.length - mReadOffset)){
throw new IOException("Could not completely read file " + file.getName());
} mReadOffset += numRead; is.close(); return bytes;
}

But the problem is that all array elements are set to 0 and I guess it is because the writing process locks the file. Any other way to create file chunks while writing into file.

View 2 Replies View Related

Android :: How To Split Screen With Two Equal LinearLayouts?

Aug 6, 2010

Wanna to split a screen for my app with two LinearLayouts. What parameters should I use to make exact splitting in two equal parts - first LinearLayout on the top and the second one is just under it.

View 2 Replies View Related

Android :: App That Has Reminders , Custom Vibrate And An Sms Split?

Dec 27, 2009

I really dislike the original messaging app. I want an app that has reminders, a custom vibrate, and an sms split, that ISN'T hancent sms. I used to use it until it randomly started deleting my all of my threads and sending texts to completely different people. I tried chompsms but I couldn't find reminders and I I'm currently using sms popup but that doesn't have the auto split sms. Any recommendations??

View 15 Replies View Related

Android :: Weather - GV Will Split Voice And Text?

Nov 10, 2009

I just noticed my alert icon, downloading them now I wonder if GV will split voice and text now? WB just says bugfixes and 2.0 support.

View 6 Replies View Related

Android :: Make Similar Listview / Split Row?

Sep 25, 2010

Does somebody knows how to make similar listview?
How to split row?
Image: link text

View 1 Replies View Related

Android :: Split The Screen In 2 Equals Parts With 2 Listviews

Oct 19, 2010

I'm trying to put 2 listviews into my layout. The problem is that I don't know the size of each listview in advance. The first listview could have a few items (0, 1, 2 up to roughly 10) and the second listview could have many items (up to 100).

I tried to set the weight of both listviews at 1 but it did not work:

=> If the first listview has only 1 item and the second one 99, you don't see the first item of listview #1 => it's shrinks so much (relative to listview #2) that you don't see it.

So I'm thinking now to split the screen in 2 equals parts (no matter what/no matter the size of each listview) and put the two listviews in each part. Of course it needs to work on any device ... so how do I capture the device screen size, divide it in two and force the listview size to fit in each half of the screen ?

Has anyone done that already ? Is there another option to show two listviews of different sizes on the same layout (should I use a scrollview in some way ? => when the user is reaching the end of the first listview, the second listview appears => is that possible ?)

View 2 Replies View Related

Android :: How To Create A Split Control Like The One In The Browser's Address Bar

Mar 19, 2010

I want to create a search box with the search button directly on the right of the EditText, without any spacing. Looks like the address bar on the internal Browser application. Is it possible or do I need to create it myself?

View 2 Replies View Related

Android :: String Split Behavior - Column Contains 15 Elements (Expected 6)

Oct 19, 2010

I'm requesting data from my server and receive a string in the form of 2|bit.ly|1||1| and | should be the separator. I thought the following piece of code should do the work

BufferedReader br = null; ...
br = new BufferedReader(new InputStreamReader(inputStream)); ...
String line; String[] columns; ContentValues values;
while((line = br.readLine())!=null) { columns = line.split("|"); ...
}

But after the line.split("|"); the columns contains 15 elements instead of expected 6. Taking a closer look at it's content reveals that each character in the string was stored in one array element. The code coming from server isn't encoded in any way in in the example I use only ASCII characters appear.

View 1 Replies View Related

Android :: Reading Java Serialized Object That Has Been Split Across Two Files?

Mar 2, 2010

I'm writing an Android application. One problem is your app cannot contain a file whose uncompressed size is bigger than about 1Mb. I have a serialized object that I want to load that totals about 2Mb. My plan was to split this file into two smaller files, then load the object by combining both files at runtime.

However, I cannot work out how to use e.g. InputStream and ObjectInputStream to specify that I want to read the data from two input streams. How can I do this?

For example, say my object was split between file O1 and O2. How can I say "Load the object by reading the data from O1 then from O2"?

View 2 Replies View Related

Android : Create A Split Button For A Custom ListView Adapter?

Jul 3, 2010

I'd like to make a list adapter that formats views like this:

I want to be able to fire a different onClick when the user clicks the image. I have defined the onClick on the image itself in the getView() override, but how do I then get the position of the line that was clicked so I can update the record in the database to record the action?

View 1 Replies View Related

Android :: TextUtils Split Is Not Splitting Strings Based On Pipe Separator

Nov 5, 2010

I just found after 2 hours of debugging my code for errors that TextUtils.split(String, expression); does not work correctly when I use pipe "|" as the expression. Am I wrong in understanding the method or is this a bug?

It works fine when I give it as a pattern ie., [|].

I also tested it using a few other seperators and they seemed to work fine.

View 3 Replies View Related

General :: HTC Split Second Red Flash

May 11, 2012

I've had to send my phone back twice in the past month, initial issue was a weak vibrate motor and a difficult to press power button. Phone came back with a replaced mainboard but had to send the phone back right away as it wouldn't go into landscape mode (I determined it was a defective accelerometer). If I have to send it back a third time, I'm going to be absolutely livid.

I noticed (for the first time yesterday), that if the phone has <15% battery left and I use the pull down menu, the red LED with give a very quick flash that is not like the standard red LED flash when the battery is low. It will do this if you push on the top bar to activate the drop down menu and also if you completely swipe to bring the drop down menu down. However, doing any other actions such as pressing the captive buttons or scrolling will not cause the LED to flash briefly.

View 2 Replies View Related

Motorola Droid :: Possible To Split Up Video For MMS?

Jan 5, 2010

Hey guys I remember on my iPhone I used to be able to split up video while sending a text with video attached to a friend. It would say video is too long and let you choose a portion that would be able to send. Is there an app or maybe I'm missing something because I am using Handscent for texting.

View 3 Replies View Related

HTC Desire :: Split Up Incoming Text Messages

Sep 3, 2010

i'm brand new to this forum (and to android in general)! i just got an HTC Desire through Telus and i absolutely adore it.however i have a very annoying problem.whenever i receive a long text message from a friend (over 130ish characters), the message is broken apart into separate text messages and the messages are not in the order in which they were sent. since i get A LOT of long messages from friends, this is a huge pain in the butt.i don't mind the long message being broken down into smaller messages, my problem is that the small messages arrive in RANDOM order.

View 4 Replies View Related

HTC EVO 4G :: Lengthy Text Messages Received As Split Up?

Jul 28, 2010

I am a former iPhone user and when I had it my texts could be as long as they wanted too. When my girlfriend sends a long text to my EVO I get multiple texts and it is annoying. Is there a way to change this? Tried a search and no luck.

View 14 Replies View Related

Motorola Droid X :: 720 Recording Freeze For Split Second

Sep 23, 2010

After the update and with the leak I had only does this on hd it will freeze for a split second once or twice during playback anyone else try this?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved