On Dec 10, 4:29 pm, "Mark Murphy" <[email protected]> wrote: > > According to > >http://developer.android.com/guide/publishing/versioning.html > > B can check if A is installed. It can even check which version of A is > > installed :) > > Which gets you little, since you cannot force the user to install A.
But you can: 1) Notify user the A is missing. And disable B completely or partially (depending on effect of missing A). 2) Ask user if she wants to install A. If she agrees, then: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(<package-uri>, "application/vnd.android.package- archive"); startActivity(intent); :) > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html -- 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

