gpt4 book ai didi

android - 支持 ICS 需要显式配置吗?

转载 作者:行者123 更新时间:2023-11-29 00:39:52 25 4
gpt4 key购买 nike

我有一个刚刚发布的相对较新的应用程序,ICS( Ice Cream Sandwich )用户似乎都收到“您的设备与此版本不兼容”的提示。来自 Google Play 的错误消息。相同的用户可以直接下载 apk 文件来安装应用。

我是否必须做任何明确的事情来支持 ICS 用户通过 Google Play 安装应用?

我的 list 文件如下所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dmbstream.android"
android:installLocation="auto"
android:versionCode="7"
android:versionName="1.0.7">
<uses-sdk android:targetSdkVersion="10" android:minSdkVersion="4" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>

<supports-screens android:anyDensity="true" android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>

<application android:label="@string/app_name"
android:theme="@style/MyTheme" android:icon="@drawable/icon"
android:name=".DmbstreamApplication">
<activity android:name=".activity.MainMenuActivity" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".activity.LoginActivity" />
<activity android:name=".activity.LoginWithTokenActivity" />
<activity android:name=".activity.ChatActivity" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateAlwaysHidden" />
<activity android:name=".activity.ConcertActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.LatestAddedConcertsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.LatestPerformedConcertsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.SearchActivity" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateVisible" />
<activity android:name=".activity.YourFavoritesActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.YourPlaylistsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.PlaylistActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.SettingsActivity" android:configChanges="keyboardHidden|orientation" />

<activity android:name=".activity.SearchResultsActivity"
android:windowSoftInputMode="adjustPan|stateHidden">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>

<service android:name=".service.DownloadServiceImpl" android:label="DMBStream Service"/>

<receiver android:name=".receiver.MediaButtonIntentReceiver">
<intent-filter android:priority="999">
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>

<receiver android:name=".receiver.BluetoothIntentReceiver">
<intent-filter>
<action android:name="android.bluetooth.a2dp.action.SINK_STATE_CHANGED"/>
</intent-filter>
</receiver>

<receiver android:name=".provider.DmbstreamAppWidgetProvider" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info"/>
</receiver>

<provider android:name=".provider.SearchSuggestionProvider"
android:authorities=".provider.SearchSuggestionProvider"/>

<!-- declare the default searchable Activity for the whole app -->
<meta-data android:name="android.app.default_searchable"
android:value=".activity.SearchActivity" />

<!-- <receiver
android:name="com.google.android.apps.analytics.AnalyticsReceiver"
android:exported="true" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver> -->
</application>
</manifest>

最佳答案

只需遵循 Android HIG(Android 人机界面指南)

Android 完整示例支持所有 Api 级别(平板电脑和手机)

关于android - 支持 ICS 需要显式配置吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10114138/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com