안녕하세요^^
intent3의 로그를 찍으면 아래와 같이 나옵니다 ㅠ
구글설치페이지로 바로 이동하게 하려면 어떻게 수정을 해야 하는가용?
죄송합니다~하루종일 질문만 하네용~부탁드립니당~
감사합니다~
Intent { act=android.intent.action.VIEW dat=https://play.google.com/store/apps/details?id=d=aio.co.kr }
public static Handler buiHandler2 = new Handler() {
@SuppressLint("HandlerLeak")
public void handleMessage(Message msg) {
try {
JSONObject json = new JSONObject(page2);
int result2 = Integer.parseInt(json.getString("result"));
String str2 = String.valueOf(result2);
String url = json.getString("url");
Log.d("JS11", str2);
Log.d("JS21", url);
et_webpage_src2.append(str2 + "\n");
et_webpage_src2.append(url + "\n");
String pkg = url.substring(url.indexOf("id=")+1);
Intent intent3 = new Intent(Intent.ACTION_VIEW,
Uri.parse("https://play.google.com/store/apps/details?" + "id=" + pkg));
Log.d("UUU", intent3.toString());
}
catch (Exception e){
}
}