On Tue, Sep 6, 2011 at 7:19 AM, MS <[email protected]> wrote:
> The reason as to why I asked this was due to the following use case:
>
> Consider that there are two apps App-A and App-B.
> App-A(Version 1) will work only if App-B with Version 1 is available
> on phone.
> Now if the user updates App-B to version 2,the App-A(version-1) will
> not work.

Then write a better App-B, that supports both App-A version-1 and
App-A version-2. App-B exposed an API. You need to maintain backwards
compatibility with that API.

> I get a callback once App-B is upgraded to version2, once upgraded i
> cannot revert back to version-1 apk of App-B (I guess only pre-
> installed apps have this option).
> Instead can I stop my App-B from being upgraded to version 2 and
> probably show a notification to user saying that this version of App-B
> is not compatible???

You cannot stop App-B from being upgraded.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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