テスト

らびブログ

2026年 2025年 2024年 ...

[Android]RSS Viewerの使い方

サンプルコードはこんな感じ
Uri uri = Uri.parse("http://blog.rabisoft.com/feed");
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.addCategory(Intent.CATEGORY_DEFAULT);
intent.setType("application/rss+xml");
intent.putExtra(Intent.EXTRA_STREAM, uri);
try {
    startActivity(intent);
} catch ( ActivityNotFoundException e ) {
    // Error .
}

テスト
©2011-2026 RabiSoft