I see my log message, i don't see notification in the notification
bar
I get start_foreground through reflection

        Object args[] = new Object[2];
        args[0] = new Integer( 10 );
        long when = System.currentTimeMillis();
        args[1] = new Notification( R.drawable.notify,
"service2foreground", when );
        start_foreground.invoke( this, args );
        Log.d( TAG, "invoked startForeground" );




On Nov 18, 2:20 pm, Dianne Hackborn <[email protected]> wrote:
> On Wed, Nov 18, 2009 at 11:12 AM, Andrei <[email protected]> wrote:
> > Thanks
> > In my sample it does not post notification when i call it
>
> What is your code?  Is anything printed in the log?  Is your service
> actually running in the foreground (you can tell by looking at the output of
> "adb shell dumpsys activity.services").
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to