nish
Android Fan
Profile
Posts: 60
Reg: May 05, 2012
location unknow...
1,950
06/28/12 07:24 AM (13 years ago)

how to add rate my app in android 1.5

i dont know how to add it can any any one guide me..i know there are many of them succeded in it..but i dont know how to do it.. i went to google support page but i could not understand how to do it (
 
nish
Android Fan
Profile
Posts: 60
Reg: May 05, 2012
location unknow...
1,950
like
06/28/12 07:26 AM (13 years ago)
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("market://details?id=com.example.android")); startActivity(intent); this is what google has shown....but i dont know where to put it how to put in project...( (
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/28/12 08:07 AM (13 years ago)
Previously posted by @raveyd: 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
 
nish
Android Fan
Profile
Posts: 60
Reg: May 05, 2012
location unknow...
1,950
like
06/28/12 08:16 AM (13 years ago)
mine is 1.5 android i searched the same in 1.5 but i didnt find (
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/28/12 08:35 AM (13 years ago)
Did you look at the Act_ActivityBase.java file? Fred
 
nish
Android Fan
Profile
Posts: 60
Reg: May 05, 2012
location unknow...
1,950
like
06/28/12 08:37 AM (13 years ago)
yup....activity base file in 1.5 and 1.4 is different
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/28/12 08:50 AM (13 years ago)
Perhaps my copy of his post didn't copy well. You might see if you can find original post or try contacting him. Fred
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
06/28/12 08:55 AM (13 years ago)
It's different for 1.5 Fred, I haven't had a look at adding it to 1.5/2.0 btw, thanks for posting that guide. It looks like the formatting has gone, as it shows above will comment it all out! //url contains soundcloud if(jsonString.contains("soundcloud.com")){ useMyIntent = 0; } //url contains market:// if(jsonString.contains("market://")){ useMyIntent = 0; } would work better!
 
nish
Android Fan
Profile
Posts: 60
Reg: May 05, 2012
location unknow...
1,950
like
06/28/12 10:38 AM (13 years ago)
so there is no way to add.. ( ????????
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
06/28/12 10:58 AM (13 years ago)
There'll be a way to add it, just haven't had a look. That code you posted would formerly have gone in a menu activity (the one where you press the menu button on your device), but the menu intent been deprecated and is now an action view intent, hence the reference in the code. Have no idea how it's implemented, even in a non-bt 'regular' android project. Would suggest reading the google documentation and code samples.
 

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.