Re: [android-developers] Re: How to start an Activity from a Service and getting a result from it

2010-02-14 Thread Menny Even Danan
OK, thanks. I'll try that.

On Sun, Feb 14, 2010 at 14:15, Mark Murphy  wrote:

> Menny wrote:
> > So you suggest that I'll have a pre-define resource which will hold
> > all the information I need (let's say it is an XML resource) for
> > creating the external keyboard. This sounds OK.
> > The only problem is how to query for packages which have this
> > resource?
>
> I'm not sure if there is an efficient query-for-resource mechanism.
>
> > I can still create an Activity which have another pre-defined activity-
> > filter which I can query for.
>
> It doesn't necessarily have to be a filter on an activity, but, yes,
> that should be a time-efficient lookup method.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Training in US: 8-12 February 2010: http://bignerdranch.com
>
> --
> 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

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

[android-developers] Re: Custom (created at run-time) notification bar icon

2009-12-20 Thread Menny Even Danan
Here is how:
http://developer.android.com/reference/android/app/Notification.html#number

On Thu, Dec 10, 2009 at 00:55, Menny  wrote:

> Hi,
> I'm looking for a way to provide to the NotificationManager an icon
> which was not statically created, but rather created at run-time by
> the application.
>
> I want to write a very simple weather application, which shows the
> current conditions icon and temperature at the notification bar, all
> packed into a small icon.
> So, I would like to know how to superimpose text onto an icon, and how
> to display the new icon in the notification bar, which, as you know,
> takes resource ID only.
>
> Thanks a bunch,
> Menny.

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