hi all. can anyone please help me in this. i wish to update a view of an application from another. eg i wish to change the text of a textview in a layout from another application of mine.. is it possible.??
On May 3, 6:33 pm, AndroidApp <zl25dre...@gmail.com> wrote: > Cupcake is really coming out :-D~~ > > On May 2, 9:11 pm, Romain Guy <romain...@google.com> wrote: > > > > > Same thing, won't be fixed in the cupcake update. > > > On Sat, May 2, 2009 at 6:02 PM, AndroidApp <zl25dre...@gmail.com> wrote: > > > > 'won't be able to fix' for 1.5 SDK, what about on the cupcake update? > > > Dont really care about whether it's fixed for the SDK. > > > > On Apr 23, 2:02 pm, Jeff Sharkey <jeffrey.shar...@gmail.com> wrote: > > >> So just a heads up that we won't be able to fix the onDeleted() bug > > >> for the 1.5 SDK. Here is a quick workaround that you can patch > > >> against your class that extends AppWidgetProvider to correctly catch > > >> and handle the onDeleted() event. > > > >> @Override > > >> public void onReceive(Context context, Intent intent) { > > >> final String action = intent.getAction(); > > >> if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { > > >> final int appWidgetId = extras.getInt > > >> (AppWidgetManager.EXTRA_APPWIDGET_ID, > > >> AppWidgetManager.INVALID_APPWIDGET_ID); > > >> if (appWidgetId != AppWidgetManager.INVALID_APPWIDGET_ID) { > > >> this.onDeleted(context, new int[] { appWidgetId }); > > >> } > > >> } else { > > >> super.onReceive(context, intent); > > >> } > > > >> } > > > >> j > > > >> On Apr 20, 4:43 pm, Jeff Sharkey <jshar...@android.com> wrote: > > > >> > > In onActivityResult(), the cancellation is checked for request > > >> > > code REQUEST_PICK_APPWIDGET whereas it should be checking > > >> > > for REQUEST_CREATE_APPWIDGET. > > > >> > Oops, you're right, thanks for catching that. For the example widgets > > >> > I've been writing that use configuration steps, I've been keeping an > > >> > internal CONFIGURED flag which I use to skip updates. Because I was > > >> > skipping non-configuredwidgetupdates, I never noticed this myself. > > >> > (I also used this flag to skip the first update before the > > >> > configuration step has been completed.) > > > >> > Also, a quick update on the fixes: most of them will be delayed until > > >> > the next platform release because the device-bound code is already > > >> > frozen. We could fix it for the SDK, but it would be bad to have > > >> > different behavior between the two. We definitely have bugs filed for > > >> > these, and they will be fixed. > > > >> > Thanks for digging in and finding them. :) > > > >> > -- > > >> > Jeff Sharkey > > >> > jshar...@google.com > > > -- > > Romain Guy > > Android framework engineer > > romain...@android.com > > > Note: please don't send private questions to me, as I don't have time > > to provide private support. All such questions should be posted on > > public forums, where I and others can see and answer them- Hide quoted text > > - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---