Space Between stars of ratingBar

I don’t know if it will be useful anymore, but I made a custom library which allows you to change space beetwen stars programatically and in XML (among other stuff): SimpleRatingBar. It features: Fully working android:layout_width: it can be set to wrap_content, match_parent or abritary dp. Arbitrary number of stars. Arbitrary step size. Size of … Read more

Direct “rate in iTunes” link in my app?

This IS possible using the technique described on this blog: http://www.memention.com/blog/2009/09/03/Open-Reviews.html basically you call UIApplication openURL with the following: NSString* url = [NSString stringWithFormat: @”itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@”, myAppID]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]]; To get your app ID before your app is available in the app store, use iTunesConnect to define your new app – give … Read more

How do you to check if a user has rated your app on the Google Play?

No. You cannot do this. And this is a good thing too — otherwise you will be able to influence rating by giving people who rated it rewards and such. Additionally, developers would be able to retaliate to negative reviews if such an API were available. This might also violate certain legal agreements between the … Read more

Turn a number into star rating display using jQuery and CSS

Here’s a solution for you, using only one very tiny and simple image and one automatically generated span element: CSS span.stars, span.stars span { display: block; background: url(stars.png) 0 -16px repeat-x; width: 80px; height: 16px; } span.stars span { background-position: 0 0; } Image (source: ulmanen.fi) Note: do NOT hotlink to the above image! Copy … Read more

Android RatingBar change star colors [closed]

It’s a little complicated at the mentioned blog, I’ve used a similar but simplier way. You do need 3 star images (red_star_full.png, red_star_half.png and red_star_empty.png) and one xml, that’s all. Put these 3 images at res/drawable. Put there the following ratingbar_red.xml: <?xml version=”1.0″ encoding=”UTF-8″?> <layer-list xmlns:android=”http://schemas.android.com/apk/res/android”> <item android:id=”@android:id/background” android:drawable=”@drawable/red_star_empty” /> <item android:id=”@android:id/secondaryProgress” android:drawable=”@drawable/red_star_half” /> <item … Read more

ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page

Starting with iOS7 the URL has changed and cannot direct for the review page but only to the app itms-apps://itunes.apple.com/app/idAPP_ID Where APP_ID need to be replaced with your Application ID. Based on the App ID from the question it would be the following itms-apps://itunes.apple.com/app/id353372460 Notice the id in front of the number … that string … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)