How can I add App Indexing concept in my Application?

时间:2016-03-02 10:58:47

标签: android android-app-indexing

Greetings of the day !! I have an Application which I am going to deploy on Google Play. Recently I came across App Indexing. I have a query regarding this. My Application is purely native and there is no any Web-View used yes all the data are coming through dynamically fro web service. My Question is Can I add app indexing code into my Application Main Launcher class ? This is my Manifest. Where should i paste app indexing code ? please guide me.

<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>

1 个答案:

答案 0 :(得分:1)

应用程序索引目前要求应用程序上的内容具有由Google编制索引的相应网页。

正如您所提到的,由于您的应用内容没有相应的网站,因此常规的应用程序索引程序对您无效。您必须先与Google联系,然后让他们了解您的应用程序&#34;内容。

此处提供更多信息 - https://developers.google.com/app-indexing/app-only

相关问题