1

一天的问候!!我有一个要在 Google Play 上部署的应用程序。最近我遇到了 App Indexing。我对此有疑问。我的应用程序是纯原生的,没有使用任何 Web 视图,是的,所有数据都是从 Web 服务动态传递的。我的问题是 我可以将应用程序索引代码添加到我的应用程序主启动器类中吗? 这是我的清单。我应该在哪里粘贴应用程序索引代码?请指导我。

<application
    android:name=".MyApplication"
    android:allowBackup="true"
    android:allowClearUserData="true"
    android:enabled="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.NoTitleBar" >
    <receiver
        android:name=".MyBroadcastReceiver"
        android:permission="com.google.android.c2dm.permission.SEND" >
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
            <action android:name="com.google.android.c2dm.intent.REGISTRATION" />

            <category android:name="com.MyKidzDay" />
        </intent-filter>
    </receiver>

    <service android:name=".MyIntentService" />

    <activity
        android:name=".SplashScreen"
        android:screenOrientation="portrait" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
4

1 回答 1

1

App Indexing 目前要求应用程序上的内容具有相应的网页,该网页已被 Google 索引。

正如您所提到的,由于您的应用内容没有相应的网站,因此常规的应用索引程序对您不起作用。您必须先联系 Google,让他们知道您的“仅限应用”内容。

更多信息在这里 - https://developers.google.com/app-indexing/app-only

于 2016-03-02T11:43:55.387 回答