Android開発における主要な知識ポイント
Intentの基本的使用法
ブラウザ起動の例:
Uri webUri = Uri.parse("https://example.com");
Intent launchBrowser = new Intent(Intent.ACTION_VIEW, webUri);
startActivity(launchBrowser);
アクティビティ遷移の例:
Intent nextActivity = new Intent();
nextActivity.setClass(CurrentActivity.this, TargetActivity.class);
startActivity(nextActivity);
アクティ ...
7月25日 21:29 投稿