Doug,

I could think of the following

- your partner specific version comes in two APKs.
- when your client downloads the app from your web server two APKs are
downloaded and installed on the device
- The additional APK is only used to write an entry in a persistent
data record (sharedPreferences or DB) after your apps are installed.
- The persistent data is used to distinguish which kind of version is
installed on the device. If a user downloads the normal version the
persistent data record would be empty or not existing.
- the second APK can be uninstalled after the persistent data record
is created

This might be not the best way to do this but pretty easy to
implement. Let me know whether you come up with another solution.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 10, 7:03 pm, Doug <[email protected]> wrote:
> Hi,
>
> I have an interesting problem:
>
> My boss/the-marketing-team want to be able to distribute a separate
> version of our application to a number of 'partners'.  The application
> itself would be *exactly* the same app, except that they'd like a
> partner-specific property to be passed to our web-service when the app
> runs (for tracking).
>
> The last thing I want to do is have 'n' builds of the product, each
> with a single constant changed (or a difference in the Manifest).
> This would be a maintenance nightmare, as well as the obvious issues
> you have when you have multiple mostly-identical versions of a product
> floating around.  I also suspect the Android Market would have a
> problem with "MyProduct for X users", "MyProduct for Y users", etc...
> showing up for download.
>
> In a perfect world everyone would download the same app, and there
> would be some cool undiscovered Android feature where the Market URL
> could include "&vendorcode=X" that would be passed into the app on
> install.
>
> My question is this:
>
> Since the install process would be initiated by the user clicking on a
> link in their browser of choice (on the Android device), is there
> *any* way that the web server could be sent some 'device specific
> identifier' by the browser that would also be available to my APK?
> (In this way the web server would be able to match up the original
> install request and the first run of the app after install).
>
> Thanks
> Doug
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to