Hi all, thx for the reply. i'm trying the localService and the
LocalServiceController sample code now.
As in the sample code LocalService, i get this log
"LocalServiceController]ActivityManager: java.lang.SecurityException:
Permission Denial: starting Intent { flg=0x10000000
cmp=com.example.android.apis/.LocalServiceController } from null
(pid=-1, uid=-1) requires
android.permission.ACCESS_CHECKIN_PROPERTIES"

So i include a uses permission on it which is similar like this:

<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.example.android.apis"
      android:versionCode="1" android:versionName="@string/
activity_local_service_controller" xmlns:android="http://
schemas.android.com/apk/res/android">
    <application android:icon="@drawable/icon" android:label="@string/
app_name"
android:permission="android.permission.ACCESS_CHECKIN_PROPERTIES">
        <activity android:name=".LocalServiceController"
                  android:label="@string/app_name"
android:permission="android.permission.ACCESS_CHECKIN_PROPERTIES">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>


</application>
    <uses-sdk android:minSdkVersion="3" />
<uses-permission
android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"></uses-
permission>


</manifest>


But it still generating the same error...Can someone teach me how to
solve this??

On Nov 24, 7:40 pm, Pierre Henry <phper...@gmail.com> wrote:
> You can do that easily with NotificationManager
>
> --
> Pierre

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to