AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
05/30/12 05:34 AM (13 years ago)

Rate This App - Android

How do you put a Rate This App link in a BT 1.4 Android app to open up app in the user's google play store app on their phone?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/30/12 06:46 AM (13 years ago)
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 07:05 AM (13 years ago)
It's amazing - this took me 5 minutes to solve for iOS version! It's taken me hours and hours in android and haven't got anywhere! @Fred - I saw all those links last night but I don't know how to implement them. I don't know where to place the code within the androidmanifest.xml and what it relates to in terms of where I place a market:// link in the bt 1.4 control panel. Need a step by step such as : 1. You enter this link into a custom url screen in bt 1.4 control panel 2. Here's the sample androidmanifest.xml and here's where the code has been inserted Etc
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/30/12 07:17 AM (13 years ago)
1. You enter this link into a custom url screen in bt 1.4 control panel The URL can be used as an HTML link, or Can be inserted into a .XML file. (For use if you're wanting the link to appear on every screen type of .XML file you modify.) Go with HTML hyperlink
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 07:17 AM (13 years ago)
Ok but the html link doesn't open up the google play app on the users phone, it goes to a slow loading google play web page I've tried putting market:// link in and it doesn't work on devices or simulator???
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 07:24 AM (13 years ago)
Do the bt 1.4 custom url and custom html pages not allow market:// links and do they restrict http links to google play pages from opening in google play store app even though they give you the option to open from google play store phone app when you click on a web browser link?
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/30/12 07:59 AM (13 years ago)
It's not a Buzztouch issue. The URL will work, IF, (and a mighty big if), you get the intent correct. Notice I didn't address part 2 of the question, and as I have said previously I still working on getting the URL to work. I was just providing the first piece of the puzzle. Hopefully someone will finish it. Fred
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 08:04 AM (13 years ago)
:) Ok thanks Fred
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/30/12 11:02 AM (13 years ago)
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.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/30/12 11:09 AM (13 years ago)
@raved, great info. I suppose this will with any app? Would you know how to start say a Google map screen in Buzztouch? Fred I'm thinking that it's impossible to call said map in Buzztouch with the URL because the way Buzztouch created the screen dynamically using the JSON data.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/30/12 11:25 AM (13 years ago)
@fred - v1.5 and v2.0 are different. I've done it for both but need to refresh my memory! I think it's pretty much the code that you linked to at the top of the thread. Google map link.. Interesting. Don't know. Worth a play though!
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 11:28 AM (13 years ago)
Fantastic - thanks, Raveyd - I've started implementing this now... Think I'm going to have to publish a new version of my app on Google Play...
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/30/12 11:38 AM (13 years ago)
Yeah, you'll need to compile a new apk with the changes, but at least you'll know for the next app!
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 11:56 AM (13 years ago)
Fantastic - thanks, Raveyd - I've started implementing this now... Think I'm going to have to publish a new version of my app on Google Play...
 
AppOne
buzztouch Evangelist
Profile
Posts: 348
Reg: Apr 03, 2012
London
13,980
like
05/30/12 11:57 AM (13 years ago)
Works in debug version - help greatly appreciated!!!
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
05/30/12 12:11 PM (13 years ago)
No problem!
 
DeckG
Aspiring developer
Profile
Posts: 36
Reg: Apr 18, 2012
Oamaru, New Zea...
1,810
like
06/02/12 12:24 AM (13 years ago)
Hi, Just tried the above code to activate the Junaio app. Using the following code- if(jsonString.contains("junaio")){ useMyIntent = 0; } This opens the Junaio app ok but does not seem to pass the channel data over from the url. When I put the code from Junaio in as a test - if(jsonString.contains("junaio")){ Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("junaio://channels/id=123456")); startActivity(intent); } The app opens Junaio, but not the channel until I use the back button. Was just testing here as obviously it's not pulling the correct url from the plugin. How do I get the app to parse the url properly? D
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.