Android Market 过滤器应用程序 - 电话? [英] Android Market filters app - Telephony?

查看:26
本文介绍了Android Market 过滤器应用程序 - 电话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下清单:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.myapp.MainActivity"
    android:versionCode="1"
    android:versionName="1.0.0" >

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

    </supports-screens>

    <uses-permission
        android:name="android.permission.RECEIVE_SMS"
        android:required="false" >
    </uses-permission>
    <uses-permission
        android:name="android.permission.SEND_SMS"
        android:required="false" >
    </uses-permission>
    <uses-permission
        android:name="android.permission.ACCESS_COARSE_LOCATION"
        android:required="false" >
    </uses-permission>
    <uses-permission
        android:name="android.permission.ACCESS_FINE_LOCATION"
        android:required="false" >
    </uses-permission>
    <uses-permission android:name="android.permission.INTERNET" >
    </uses-permission>
    <uses-permission
        android:name="android.permission.CALL_PHONE"
        android:required="false" >
    </uses-permission>

    <uses-sdk android:minSdkVersion="7" ></uses-sdk>

    <receiver
        android:enabled="true"
        android:name="com.myapp.receiver" >
        <intent-filter android:priority="10" >
            <action android:name="android.intent.action.DATA_SMS_RECEIVED" />

            <data
                android:host="localhost"
                android:port="12345"
                android:scheme="sms" />
        </intent-filter>
    </receiver>

如果我将其上传到 Android Market,该应用程序对于 Galaxy Tab 10.1 等平板电脑不可见.

If i uploaded it to the Android Market the App is not visible for tablets like the Galaxy Tab 10.1.

我认为屏幕设置没问题,因为我有第二个具有相同设置的应用程序,而这个应用程序是可见的.所以我认为这是因为权限..

I think the screen-settings are alright, because i have a second app with the same settings and this one is visible. So i think it is because of the Permissions..

有人可以帮我吗?

推荐答案

把这个添加到你的清单中怎么样:

What about adding this to your manifest:

<uses-feature android:name="android.hardware.telephony" android:required="false"/>

(将添加到您的清单标签下)

(To be added right under your manifest tag)

这篇关于Android Market 过滤器应用程序 - 电话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆