Linking Apps

Linking to the Play app from a Buzztouch app.

It’s impossible to go directly to the rate/comment section, but it’s easy enough to open the main screen of the app in google play.

In BTv1.4 enter the market:// link in a custom url.

I’ll use the men in black 3 game:

market://details?id=com.gameloft.android.ANMP.GloftMBHM

Open your project in eclipse.

In the src folder find and open the Act_ActivityBase.java file

Go to around line 170 – this section of code:

//url contains soundcloud if(jsonString.contains(“soundcloud.com”)){ useMyIntent = 0; }

underneath it, add this code:

//url contains market://if(jsonString.contains(“market://”)){ useMyIntent = 0; }

Save.

Finished.

By @raveyd

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s