一天的问候!!我有一个要在 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>