Android Notification after the application is installed on the device - How?

I would like to add a status bar notification for my Android app. This notification should appear in the status bar after installing the application. I have a help desk for an application where I can post a notification code. How to trigger a notification only after the application is installed?

Any insight to solve this problem will be very helpful.

Thank.

+5
source share
2 answers

How to enable notification only after the application is installed?

You cannot do this. None of your codes will be launched immediately after installation.

+3

() . Android Market, Market com.android.vending.INSTALL_REFERRER . , AnySoftKeyboard :

enter image description here

, , , . , , ( , , - !).

: Android Market. AnySoftKeyboard ( http://softkeyboard.googlecode.com):

    <receiver android:name="com.anysoftkeyboard.receivers.AnySoftKeyboardInstalledReceiver" android:exported="true">
        <intent-filter>
            <action android:name="com.android.vending.INSTALL_REFERRER" />
        </intent-filter>
    </receiver>

, ,

Barry

+9

All Articles