Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display message after Package install

I developed a Android-Homescreen-Widget and got a weird problem: The "Open"-Button in the Market grayed out because there is actually no Application to launch. So, many people complain because they don't realize that my package is a widget. They even give me a bad rating and I want to avoid that by giving the people a hint what they should do. A first-line-hint in the description (written in Uppercase) didn't help at all, so I'm searching for a better solution.

Is it possible to display a message directly after the installation of a package in the android-market?

like image 523
theomega Avatar asked Nov 15 '10 16:11

theomega


1 Answers

The best solution I could find is to create a new Activity, and add an intent-filter like this:

        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.INFO" />
        </intent-filter>

This does not create a icon in the launcher but makes the Open-Button in the Market active and the Activity gets launched when clicked.

like image 96
theomega Avatar answered Sep 22 '22 02:09

theomega