RetroWeb ~iPhoneとAndroidでハイブリッドゲームアプリ開発~

AIR for iOS+AndroidでSmartPhone Game ハイブリッドアプリ開発

最近作ったアプリ
100億本の抜け毛 100億匹のモナー DQ3闘技場アプリ モナーペット(進化)

アプリ評価ページへのリンク iPhone&Android自動対応

こんな感じで自動切り分けリンクしました。

Air for iOS and Android's app rate page automatic judgement link method sample code is here.

public static function getURL_Google_Store():void{
	var url:String = (isAndroid() ? "market://" : "https://play.google.com/store/apps/") + "details?id="+ getPackageName();
	GetURL(url);
}

public static function getURL_iOS_Store():void{
	GetURL("http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id="+_Apple_ID+"&mt=8&type=Purple+Software");
}

public static function getURLRate():void{
	if(isAndroid()){
		getURL_Google_Store();
	}else if(isIOS()){
		getURL_iOS_Store();				
	}else{
		if(Math.random() < 0.5){
			getURL_Google_Store();					
		}else{
			getURL_iOS_Store();				
		}
	}
}