How to get App ID

Hi All,

We are developing a game in corona. We want to implement the feature "Rate App" which will be redirected to iTunes where app is created. While redirecting we don't want to hard code the URL to the app store. We want to get that AppID through code and append it to URL of iTunes.

Is there any possible way to achieve this?

How do we get App Id in case of Android??

Thanks in Advance.

For iOS:
The App ID (number) is generated when you register the app in iTunes connect.
The downloaded app on the device has no clue to what its App ID is so there's no way to get it programmatically. You're going to have to hard-code it.

The link to the review-page is quite long, however it looks like this:

http: //itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews? id=[ appid]&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=8

replace [appid] with your App ID.

For Android Market:
There is no App ID in the same sense. You use the bundle identifier like this:
https ://market.android.com/details?id=com.somecompany.appname

views:1198 update:2011/11/19 17:31:56
corona forums © 2003-2011