This is a migrated thread and some comments may be shown as answers.

Code to use RateApplicationReminder control

7 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nilangini
Top achievements
Rank 1
Nilangini asked on 04 Apr 2012, 08:10 AM
I read the following article.
http://blogs.telerik.com/blogs/posts/12-02-01/introducing-rate-application-reminder-for-windows-phone.aspx

But I am not getting where (in which class, which method) should I write the following code in my application.

RadRateApplicationReminder rateReminder =
new RadRateApplicationReminder();
rateReminder.RecurrencePerUsageCount = 50;
rateReminder.Notify

Can you please help?
Thanks,
Nilangini

7 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 05 Apr 2012, 02:02 PM
Hi Nilangini,

Thank you for your question.

The RateApplicationReminder's purpose is to remind the user to rate the app in the marketplace. This happens by opening a message box with a nice message. To display the message, you need to call RadRateApplicationReminder's Notify method. You can place it where you decide it is most appropriate to notify the user, for example in the MainPage's constructor. You can also choose where to place the other two lines:
RadRateApplicationReminder rateReminder = new RadRateApplicationReminder();
rateReminder.RecurrencePerUsageCount = 50;

Just make sure that they are before calling the Notify method. You can place them in the MainPage's constructor as well or you can also define the RateApplicationReminder in the App.xaml.cs file of your application and call it's Notify method later from any page through:
(Application.Current as App).rateReminder.Notify();

Note that before using RateApplicationReminder you also need to initialize the ApplicationUsageHelper with:
ApplicationUsageHelper.Init("version");
where "version" is the version of your application.

You can read more about the RateApplicationReminder and our other controls from the online documentation.

I hope this information will help you.

Kind regards,
Todor
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Nilangini
Top achievements
Rank 1
answered on 06 Apr 2012, 05:13 PM
Thanks. I got it working.

- Nilangini
0
Tiziano
Top achievements
Rank 2
answered on 07 Apr 2012, 10:34 AM
"ApplicationUsageHelper.Init("version");"

I can use it in Application_Launching event and in Application_Activated event?
Or only in Application_Launching event?
0
Deyan
Telerik team
answered on 09 Apr 2012, 03:15 PM
Hello Tiziano,

The Launching and Activating events are different and are not fired each time depending on the scenario. If the user launches your application for the first time, then the Launching event will be fired. If the user suspends the application by tapping on the Start button and after doing some other work returns to your app the Activating event will be fired. So, you will need to use both events depending on the scenario.

I hope this helps.

Regards,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
MIT-INNO
Top achievements
Rank 1
answered on 25 Mar 2013, 11:23 AM
I know, this is an old post, but I have two questions corresponding this RateReminder. 
I implemented this in my WP7-project (which is also distributed for WP8-Phones), and it works great. 

  • The MessageBoxButtons are shown in English (even if the whole app is German) and I set the culture to de-CH (Switzerland). How can I change the Buttons-Text (from "yes"/"no" to "ja"/"nein")?
  • Now, if the user rates the app and didn't chose "skipFurtherReminders", the reminder will be shown again at a later point (i.e. after 50 application startups). Is it somehow possible to never show the reminder again if the user pressed yes (and most likely rated the app)?

Thank you very much!
0
Todor
Telerik team
answered on 25 Mar 2013, 01:56 PM
Hi Peter,

Thank you for writing.

You can use various methods for localizing RadControls and they are described in our online documentation here. More specifically, here are the localization strings for RadMessageBox, which is used in RadRateApplicationReminder.

As to your second question, we have recently added a new property called SkipFurtherRemindersOnYesPressed. When it is set to true, the reminders will be skipped after the first time the user chooses yes (and hopefully rates your application). You might need to download our latest internal build from your account if you haven't done so during the past 2 weeks in order to use this property.

I hope this information helps. If you need further assistance, don't hesitate to write us back.

Greetings,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
MIT-INNO
Top achievements
Rank 1
answered on 02 Apr 2013, 06:36 AM
hi Todor

Thank you for your help. It worked, RadControls is amazing!!

Cheers,
Peter
Tags
General Discussions
Asked by
Nilangini
Top achievements
Rank 1
Answers by
Todor
Telerik team
Nilangini
Top achievements
Rank 1
Tiziano
Top achievements
Rank 2
Deyan
Telerik team
MIT-INNO
Top achievements
Rank 1
Share this question
or