Android :: Proper Way To Update Remote Views In Notifications?
Mar 21, 2010
when using the new Service.startForeground() method how do you do updates to remote widgets? What is the right way? Updating the remote views doesn't seem to work. Should I notify again with the same ID instead?
View 3 Replies
Sep 14, 2010
How can I achieve the following layout in Android?
What I would like, is to have the 3 blue boxes top aligned in their view, and then I'd like to have the red box centered underneath the blue boxes, but so that when I animate the red box up, it slides underneath the blue box.
I have tried placing the blue and red boxes in different layouts, but as soon as I animate the red box up, if it goes outside the border of its layout, it disappears (I don't want the red box's layout to clip the red box, I want the red box to slide under the blue box so that the blue box occludes the red box.)
I have also managed to create this layout using a series of nested layouts, but because of the draw order, the red box always appears on top of the blue box. I attempted to use the bringToFront() method, but I found out that this only works on sibling views within the same layout. Unfortunately I can't get this type of layout while keeping all 4 views within the same layout. Any suggestions? (also, if anyone has better suggestions for the title of this question I'm all ears)
View 1 Replies
View Related
Nov 16, 2010
I am implementing a music player application in Android. My play list selection screen is implemented as a tab selector widget which contains a ListActivity inside each of the tabs: Artist, Albums, Songs.
I want to update the ListView in each of the ListActivity when I delete an item from any of the lists.
i.e. When I long press an item in the Artists list a context menu is drawn with "Delete Artist"
And it should delete all the songs from this artist in the Songs ListView, delete all the albums by this artist in the Albums ListView, and finally delete the entry for the artist in the Artist ListView.
Each of the ListActivity has its own fillData() method, which updates the ListView when the button in the context menu is pressed.
How can I call the fillData() method of the Albums ListActivity after I update the ListView inside of the Artists ListActivity?
View 1 Replies
View Related
Apr 14, 2009
I've just spent the last few hours nosing around to see what's new in this 1.5 pre-release. I decided to implement an app widget to try out the new package. From the provider end it's very straightforward, but I'm not certain about the performance implications.Specifically, I decided to implement a clock (see http://www.tomgibara.com/android/babilo for a screenshot). In my implementation I render the clock image into a bitmap and have a very simple remote view that consists of a single image view to display it. This means that the bitmap must be marshalled on every update and the process must be in memory too of course. That's a lot of memory for a clock. Is there a better approach? Or is a non-digital clock ill suited as a widget?Also is there a way for the widget provider to know (receive a hint for) the size at which the widget will be rendered? This is useful in this instance since one doesn't want to make the bitmap any larger than necessary.
View 14 Replies
View Related
Jun 18, 2010
Will the android version 2.1 update provide the X10 a proper flash LED when taking photo's? Currently, it's somewhat cumbersome to go all the way into settings to turn on the LED light (that stays on until you turn it off) just to take a well lit photo. So I'm just wondering will the LED flash on the new OS update provide the automatic LED flash?
View 2 Replies
View Related
Jan 6, 2010
I have a simple ListView and on that ListView I have placed a number of custom defined Views. The CustomView has ImageView and two TextViews.
The CustomView also has a "stateful drawable" as background, so that the background image (a 9-patch) changes if you press the Row in the ListView. When pressing the Row, the background image changes to a Red-ish thing.
The problem is that when the background changes from the default greyish, all the Views in the CustomView (ImageView and TextViews) still have their greyish background and thus creates very ugly greay boxes on top of the now redish background.
What is the best way to solve that problem? I hoped that such things were handled automatically (as it is done in for example .NET), but I was wrong it seems.
View 1 Replies
View Related
Feb 28, 2010
I want to populate a table, defined in layout xml file through the programmatic way. I have define Table with a single row defining its header, with all the attributes set. Now i want to know a way so that i can just replicate that header row in the table with new content.
I tried using inflator inflate(int,view) method, but at runtime it showed up with error.
Here is the XML code for the layout file defining the table
CODE:.................
View 1 Replies
View Related
Mar 6, 2010
I have the following XML code:.................
The idea is to change the views, whenever I press one of the radio buttons. When I press a button the first time everything works out fine, but the second time I press a button, I get an IllegalStateException, and I can't quite see why I'm getting this.
Also, the Activity seems to set all my global variables to null, which is why I have to create them every time I switch from portrait to landscape or vice versa. So I would like to know if there is a way I can save my views in the Bundle, or any other way in which I can permanently save my views, so I don't have to add or create them every time, I flip the phone. And whenever I flip the phone, it seems that it rereads the main XML file, causing the RadioGroup to be set to 2D even if the 3D button is checked. This is because I've said the 2D button to be checked from when the app is first created, but I would like to also save the state of that RadioGroup.
View 5 Replies
View Related
Jun 16, 2010
How do you align views relative to the "middle" part of another view? I think it is best explained with a pic of the UI I'm trying to create in android.
View 2 Replies
View Related
Jul 26, 2010
added a quick demo video of our upcoming Android Infrared (IR) Remote.Initially it will support a full IR dbase of 300,000+ IR codes, IR learner for any code not in the dbase, Pre-Built GUI so it is simple to setup. Will add rs232, relays, and other tcp options also after initial release.
View 5 Replies
View Related
Jan 25, 2010
Is there any way to query a root view of an activity for all of its child views even before the root view or its children have been inflated? I guess what I'm looking for is whether a view knows ahead of time what children it will have before it gets inflated, and can I get that list in some way. Bizarre I realize, but I think it will help me with some unconventional automation testing I'm working on. I haven't found anything in the API like this.
View 1 Replies
View Related
Aug 1, 2010
Looking for an App to remote to my desktop.I am trying to see if I can access magicjack on my desktop and make true voip calls.
View 2 Replies
View Related
Apr 12, 2010
I'm not sure if this is just my handset(s) but I have never received a notification to let me know an app has an update.Initially I thought it could be something to do with the HTC Hero I owned but now i've upgraded to the HTC Desire I still do not receive them.As default the "Notify me when items are updated" box is ticked so there isn't a problem there.
View 5 Replies
View Related
Mar 7, 2010
Let's say I have a LinearLayout, and I want to add a View to it, in my program from the Java code. What method is used for this? I'm not asking how it's done in XML, which I do know, but rather, how can I do something along the lines of (One View).add(Another View) Like one can do in Swing.
View 2 Replies
View Related
Jun 2, 2010
I'm new to this forum. I tried searching for the answer on both Google and multiple forums but the key words of 'Stop, app, update, notifications' tends to find a lot of hits or none at all if in quotes. I found this question posted perfectly at the droid forums.net but with no answer so I thought I would post it here with the hope that someone can find an answer.
View 2 Replies
View Related
Aug 4, 2010
Since getting HTC's unbranded 2.2 on my Desire I'm no longer getting notifications about apps that have been updated on the Market. The notifications option is set to "Notify when items are updated" and I've tried various combinations of disabling and enabling it and rebooting the phone and still I'm not getting notifications for updates. I always got notified when I had 2.1.I've posted this a few times in the bugs thread, but it just gets lost in all the other talk, which is why I've started this thread.
View 10 Replies
View Related
Feb 26, 2010
If I have a number of Market update notifications and migrate away from the screen while downloading and update, the other update notifications no longer show on the screen, and I can't get them back. Any idea of how to do that?
View 2 Replies
View Related
Aug 30, 2010
I would like to skip 1 particular app update, or at least turn off the notification that this app update is available, but *not* lose other app update notifications. This isn't about email, sms, battery, or other notifications, only the notifications that app updates are available.
Specifically: Yelp just released an update that wants permission to view my phonebook. I don't see why they need that and don't want to give permission. The older version of Yelp did not seem to ask for this, and I'm happy w/ the app and prefer not to uninstall totally, just skip this particular update with the feature I don't like. (Appreciate your thoughts on that Yelp / privacy issue too, fwiw).
So, I want to get rid of the notification for this particular update. But, I don't want to turn off notifications when other apps have available updates. When I click on the notification, I have option to "update" or "uninstall." Neither is what I want, I want to "skip this update, keep app." The top bar icon goes away after I check, but it comes right back soon after, always w/ the Yelp update waiting there, sometimes w/ other updates for other apps too. How to get rid of the one I don't want, keep the others coming through?
View 3 Replies
View Related
Sep 22, 2010
I know you can rename outraces.zip to cancel the notification, but I have heard that makes the phone think the update is corrupt and it continuously tries to download it. I would like to have Velocity 0.2 on my phone but I cannot stand the constant nagging to update. I have tried flashing VZB and going back and the notifications still appear. Has anyone managed to stop the notifications?
View 11 Replies
View Related
Aug 3, 2010
Prior to the update, I had different tones for my texts, and email accounts. Since the update, seems I can only choose one option under notifications.
View 13 Replies
View Related
Apr 7, 2010
Since the 2.1 update I received yesterday I have not gotten any notifications for my gmail account. This was never a problem before the 2.1 update. Has this been a common issue for the update?
View 20 Replies
View Related
Dec 9, 2009
I did the manual update to 2.0.1 this morning and just now realized that I wasn't getting any incoming email notifications for Gmail. I sent myself a test message from another account and it did not show up on my droid. i went into accounts and manually synced it and now all is well. So, if you notice this issue after the update, just manually sync your accounts and see if that solves it.
View 11 Replies
View Related
Aug 21, 2010
I'm somewhat new to smartphones and have a Motorola Droid with 2.1. About 2 days ago I continue to receive a nag screen or notification to update to 2.2. It doesn't have an option to "don't remind me again" and after calling Verizon they didn't know how to disable this constant reminder. Since I don't want to update to 2.2 (maybe a few months later) is there any way that I can block or disable this message?
View 12 Replies
View Related
Oct 28, 2012
When I'm updating my published apps through the Play Store developer console, it doesn't send a notification to current users that there is an update available.
I'm uploading the new apk with version codes incremented. Then I activate the new apk and deactivate the previous apk. Then I unpublish and republish and it usually takes Play Store about an our to reflect the change. But I never receive an update notification, even though I have the app installed.
View 1 Replies
View Related
Aug 6, 2010
i have a HTC Desire and although i used to get them at first i am no longer getting the notifications when apps are ready for update, i have the settings clicked to alert me but i have had several apps needed updates recently and none gave me the notification, has any body else had this issue and how can it be resolved, not a majot issue but just frustrating.
View 5 Replies
View Related
Aug 19, 2010
Many times it seems I will get notification that an app (such as chompsms or twidroyd) has updates just a day or two after I just updated that app because I rec'd a notification. I know you can check the version number and some apps even tell you what is being updated, but I never know what the latest build number is anyway so I always just push update anyway. So, I guess my question is, when I receive these notifications on consecutive days like that are they really just the same update and does it hurt to dl the update if you already have?
View 8 Replies
View Related
Dec 5, 2013
I have a Virgin Mobile Galaxy S3 that just got the 4.4 update this morning. Afterwards it had to redownload/update nearly every app on the device as well as all my SNES and Playsation ROMs which I though was odd.
Now all the notifications for thos downloads will not go away. I've cleared them all at once, I've cleared them all individually. When I turn the screen off and then turn it back on an dunlock the phone all those notifications are back in the notification bar.
View 23 Replies
View Related
Jul 12, 2012
I have an AT&T Samsung Galaxy SII. I updated to the stock ICS last week, and ever since the update, my text notifications and email notifications will periodically mute themselves. Screen still lights up, notification is still in the notification bar, but no sound.
I've changed the settings to ensure I have them correct several times. I did a master reset as well. Doing a hard reset will fix the issue temporarily, but it always goes back to not working.
View 5 Replies
View Related
Dec 2, 2013
I was prompted to update to Kit Kat on my Samsung Galaxy S3 this morning. The updated downloaded & installed without any issues - but now the same 3 notifications are constantly displayed on my phone. If I clear, they come back. Same for when I re-boot my phone:
01-Take-A-Chance.mp3
Download complete
ioOX40xgzyOil.gif
Download complete
0zHzHEe.gif
Download complete
It has only happened since this update and it's getting very irritating having these display permanently and come back seconds after I clear each time.
View 14 Replies
View Related
Sep 11, 2010
I am wondering how I can get my gmail to refresh itself and notify me of emails? I have all of the gmail settings figured out (including email notifications), but I always have to manually go in and refresh to see if my inbox has been updated.
View 5 Replies
View Related