Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Launching appwidget from another application
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
anand  
View profile  
 More options Nov 9, 8:57 am
From: anand <anand.ramasw...@wipro.com>
Date: Mon, 9 Nov 2009 05:57:13 -0800 (PST)
Local: Mon, Nov 9 2009 8:57 am
Subject: Launching appwidget from another application
Hi all,

Is it possible to launch an app widget from another application.

For example,
I have a button in an application.
When I click on that button, an appwidget must be launched.

Is it possible to do like this?

If yes, please help me on this....

Regards,
Anand


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Nov 9, 9:03 am
From: Mark Murphy <mmur...@commonsware.com>
Date: Mon, 09 Nov 2009 09:03:33 -0500
Local: Mon, Nov 9 2009 9:03 am
Subject: Re: [android-developers] Launching appwidget from another application

anand wrote:
> Hi all,

> Is it possible to launch an app widget from another application.

> For example,
> I have a button in an application.
> When I click on that button, an appwidget must be launched.

> Is it possible to do like this?

What do you mean by "an appwidget must be launched"? App widgets are not
"launched", at least by my use of the term.

If you mean that you want an app widget automatically forcibly installed
on the user's home screen, then no, that is not supported.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

App Widgets Deep Dive Seminar, 27 January 2010: http://bit.ly/deepdive


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anand  
View profile  
 More options Nov 10, 12:25 am
From: anand <anand.ramasw...@wipro.com>
Date: Mon, 9 Nov 2009 21:25:22 -0800 (PST)
Local: Tues, Nov 10 2009 12:25 am
Subject: Re: Launching appwidget from another application
Hi Murphy,

Thanks for your reply.

The scenario is that i am modifying the home screen in android and
adding some buttons to it.
When i click on any one button on the home screen,an appwidget has to
be started in the available screen space.

Can appwidgets be started by broadcasting or passing an intent from
another application.

If so how can that be done...

Regards,
Anand

On Nov 9, 7:03 pm, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
String  
View profile  
 More options Nov 10, 2:33 am
From: String <sterling.ud...@googlemail.com>
Date: Mon, 9 Nov 2009 23:33:26 -0800 (PST)
Local: Tues, Nov 10 2009 2:33 am
Subject: Re: Launching appwidget from another application
On Nov 10, 5:25 am, anand <anand.ramasw...@wipro.com> wrote:

> The scenario is that i am modifying the home screen in android and
> adding some buttons to it.
> When i click on any one button on the home screen,an appwidget has to
> be started in the available screen space.

If you're building your own home screen and want to run AppWidgets on
it, my understanding is that you need to use the
android.app.AppWidgetHost class, Take a look at it in the docs - it
has methods like allocateAppWidgetId and createView which perform the
widget-creation tasks.

String


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anand  
View profile  
 More options Nov 10, 4:32 am
From: anand <anand.ramasw...@wipro.com>
Date: Tue, 10 Nov 2009 01:32:03 -0800 (PST)
Local: Tues, Nov 10 2009 4:32 am
Subject: Re: Launching appwidget from another application
Hi String,

Thank you for the reply...

Can you help me in implementing the createview function.

Regards,
Anand

On Nov 10, 12:33 pm, String <sterling.ud...@googlemail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anand  
View profile  
 More options Nov 10, 4:44 am
From: anand <anand.ramasw...@wipro.com>
Date: Tue, 10 Nov 2009 01:44:01 -0800 (PST)
Local: Tues, Nov 10 2009 4:44 am
Subject: Re: Launching appwidget from another application

 Thank you for the reply...

 Can you help me in implementing the createview function.

 Regards,
 Anand


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anand  
View profile  
 More options Nov 10, 4:45 am
From: anand <anand.ramasw...@wipro.com>
Date: Tue, 10 Nov 2009 01:45:21 -0800 (PST)
Local: Tues, Nov 10 2009 4:45 am
Subject: Re: Launching appwidget from another application

Hi String,

 Thank you for the reply...

 Can you help me in implementing the createview function.
 Can you provide a sample code for the appwidgethost
implementation....

 Regards,
 Anand


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google