Jen*_*ala 5 android jpeg actionview android-3.0-honeycomb
这里有一些代码可以在手机上正常工作:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setDataAndType(IMAGEURI, "image/jpg");
startActivity(intent);
Run Code Online (Sandbox Code Playgroud)
哪个在Honeycomb(3.0和3.1)上抛出这个:
E/AndroidRuntime(25629): FATAL EXCEPTION: main
E/AndroidRuntime(25629): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://media/external/images/media/282 typ=image/jpg }
Run Code Online (Sandbox Code Playgroud)
真?没有申请在蜂窝上观看jpg?真?有没有人能够在平板电脑上正确地做到这一点?
| 归档时间: |
|
| 查看次数: |
1433 次 |
| 最近记录: |