android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market
이런 오류가 납니다.. 여러방법을 해봤지만 소용이 없네요..
무엇이 문제일까요 4.1.2에서 테스트 중입니다.
public void onListItemClick(ListView parent, View v, int pos, long id) {
final PlatformMoreDefine ent = adapter.getItem(pos);
new AlertDialog.Builder(PlatformMore.this)
.setTitle("이동 하겠습니까?")
.setPositiveButton("확인", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
String url = "URL 주소";
Uri marketUri = Uri.parse(url);
Intent marketIntent = new Intent(Intent.ACTION_VIEW, marketUri);
startActivity(marketIntent);
}
})
.setNegativeButton("취소", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton) {
// nothing...
}
})
.show();
}