If you don't mind a potential delay after publishing the other app,
then you could query Cyrket for its package name. For instance:
"http://www.cyrket.com/p/android/com.blau.android.richer/"; You will
get a 200 (success) response if the app is available on the market, or
a 404 (page not found) if not. Careful not to pound the Cyket server
with requests though, or you're likely to get blocked.

I think a more sensible solution would be to handle this yourself,
publish the app with the event triggering a simple "Coming soon"
dialog, then publish another version with the Intent added as soon as
the other app is on the market.



On Mon, Apr 26, 2010 at 12:26 PM, Ajay <[email protected]> wrote:
> Hi,
>   I wanted to check the availability of another app in Market from my
> app. Based on this I will have to give a message saying "Coming
> soon..." or show the other app in Market. I am using the following
> intent
>
> new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?
> id=com.example.android.XXXX"));
>
> Now, how can I catch the result which would say if the Market was able
> to find this package or not?
>
> Thank you,
> Ajay
>
> --
> 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

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