0
我正在学习Android应用程序的示例以了解有关android的更多信息。奇怪的是,该应用程序没有安装在我的Motorola xoom上。未安装在设备上的Android应用程序
请注意,该应用在设备上运行良好。但hwne我看到设备上的应用程序列表,我无法找到我的应用程序。
清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mycamapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-feature android:name="android.hardware.camera" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.mycamapp.CameraActivity"
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
</application>
</manifest>
我已经尝试了一些其他的示例应用程序(你好世界!那种例子),他们得到安装我的设备只是罚款。
我没有看到任何apk安装消息时,我从eclipse运行。任何人都可以提醒,应用程序出了什么问题?
'<数据的android:mime类型= “图像/ *”'为什么你有这样的你的发射活动过滤器?另一个应用程序(如启动程序)可以启动您的唯一方法是传递一个图像,启动程序不会执行此操作。你应该有一个单独的过滤器。 – Simon