[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Al Sutton
That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Al Sutton
Just to go a bit further on this, I'd hope you'd be implementing at least a subset of http://desktop.google.com/plugins/ It's Google code, it'd bring a lot of widgets/gadgets onto Android in a short time frame, and would lessen the learning curve for many people. Al. Al Sutton wrote: That's

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Romain Guy
That doesn't make it easy to do. The main issue is security. On Tue, Feb 24, 2009 at 7:38 AM, Al Sutton a...@funkyandroid.com wrote: That's been solved many times before on other platforms. Al. Jean-Baptiste Queru wrote: Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Jean-Baptiste Queru
Because it's a hard problem. JBQ On Mon, Feb 23, 2009 at 11:00 PM, quill quill...@163.com wrote: Hi, anyone who knows why? If I want to do this, is it extensive? Only change the code in launcher in sdk? -- Jean-Baptiste M. JBQ Queru Android Engineer, Google. Please don't contact me

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Romain Guy
No, that's the point. You don't want to run foreign code (the widget) in Home because it would then be able to use Home's multiple permissions. There are several approaches to solve this. One is to rely on remote views, like in the status bar, but it limits what the widgets can do. On Feb 24,

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Al Sutton
Isn't that something that's already solved with the application permissions system and the cross cuts into the framework code which support it? Romain Guy wrote: That doesn't make it easy to do. The main issue is security. On Tue, Feb 24, 2009 at 7:38 AM, Al Sutton a...@funkyandroid.com

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Dianne Hackborn
On Tue, Feb 24, 2009 at 7:47 AM, Al Sutton a...@funkyandroid.com wrote: Just to go a bit further on this, I'd hope you'd be implementing at least a subset of http://desktop.google.com/plugins/ It's Google code, it'd bring a lot of widgets/gadgets onto Android in a short time frame, and would

[android-developers] Re: Why didn't google provide APIs for desktop widgets?

2009-02-24 Thread Fred Grott(shareme)
Plus you have cross scripting accross domains can of worms as well.. Its one reason why even if I am embedding most of my app in web code via webview I am still using native side to do the app password and OAUTH permissions at start up to void such can of worms On Feb 24, 12:07 pm, Dianne