Android :: Scrolling List In Home Screen Widget
Jun 8, 2010
I am trying to teach myself the basics of Android dev. At the moment I am experimenting with home screen widgets. I would like to create a simple widget that lists all my bookmarks. Somewhere in my googling I read that ListView is not usable in a widget. What's the best way to display a scrolling list in a widget?
View 1 Replies
Jun 14, 2010
I have a long scrolling list of EditText items created by a SimpleCursorAdapter and prepopulated with values from an SQLite database. I make this by: cursor = db.rawQuery("SELECT _id, criterion, localweight, globalweight FROM " + dbTableName + " ORDER BY criterion", null); startManagingCursor(cursor); mAdapter = new SimpleCursorAdapter(this, R.layout.weight_edit_items, cursor, new String[]{"criterion","localweight","globalweight"}, new int[]{R.id.criterion_edit, R.id.localweight_edit, R.id.globalweight_edit}); is.setListAdapter(mAdapter); The scrolling list is several emulator screens long. The items display OK - scrolling through them shows that each has the correct value from the database. I can make an edit change to any of the EditTexts and the new text is accepted and displayed in the box. if I then scroll the list far enough to take the edited item off the screen, when I scroll back to look at it again its value has returned to what it was before I made the changes, ie. my edits have been lost. In trying to sort this out, I've done a getText to look at what's in the EditText after I've done my edits (and before a scroll) and getText returns the original text, even though the EditText is displaying my new text. It seems that the EditText has only accepted my edits superficially and they haven't been bound to the EditText, meaning they get dropped when scrolled off the screen. Can anyone please tell me what's going on here and what I need to do to force the EditText to retain its edits?
View 1 Replies
View Related
Sep 22, 2010
I'm afraid to bring this up as I suspect I might be headed for a replacement phone,For the last week or so, I've noticed my phone seems to be scrolling to the left automatically.The home screen will scroll as well as if I'm in the market for example and trying to enter a search term, the blinking cursor will move to the left. It's more of an annoyance than anything else.The phone still works great, but I'm worried that it might turn into something bigger.
View 6 Replies
View Related
Jun 12, 2010
How can we pass Android Home Screen Widget info ( putExtra maybe ) to an Activity.. What particular method callback will handle this one?
View 1 Replies
View Related
Mar 31, 2010
I am designing a home screen widget. I ran this widget on a HTC Hero device, which has a screen of 320 pixels * 480 pixels with mdpi. It ran perfect on HTC Hero. The widget takes 3 cells * 2 cells space, i.e. 240 pixels * 200 pixels.Then I ran this widget on a Nexus One device, which has a screen of 480 pixels * 800 pixels, mdpi. Since Nexus One also is mdpi, so I though 240dip is equivalent to 240 pixels on Nexus One and 200dip is equivalent to 200 pixels on Nexus One, so the widget will not take 3 cells * 2 cells space on Nexus One device. To my surprise, when running on Nexus One device, the widget take exact 3 cells * 2 cells, about 360 pixels * 300 pixels, on Nexus One device.I am confused. The layout xml above specifies 240dip in width and 200dip in height for the widget, but why did it take 360 pixels * 300 pixels on Nexus One Device? What am I missing?
View 2 Replies
View Related
Oct 21, 2010
Rooted my replacement Vibrant but didn't wanna remove the bloatware right away in case future froyo required it. So, I tried just freezing the apps with Titanium. This makes sure they never start up when you turn your phone on and they are removed from the app drawer. You just unfreeze them whenever you want. Anyway, it makes the app drawer/homescreen scrolling a lot smoother.
View 2 Replies
View Related
Feb 21, 2010
This is more of an annoyance, but whenever I reply to a message off the home screen widget, it automatically defaults to the home number for that contact, instead of replying to the same (cell) number that it was sent from. If I go into the messaging app, it works as it should (replies to the same number).
View 2 Replies
View Related
Mar 30, 2010
From Android widget screen guidelines,we know that, home screen has 4*4 cells, and in portrait orientation, each cell is 80 pixels wide by 100 pixels tall. I think these are for baseline HVGA screen. How about for large screens and hdpi screens, do they still have 4*4 cells for widget and each cell in portrait orientation is still 80 pixels * 100 pixels?
View 2 Replies
View Related
Apr 22, 2010
Is there an app that you can list your tasks onto a home screen. i have not everything and color note but i wanted something that would have the lists right on the home screen where i can see and add to and delete.
View 3 Replies
View Related
Apr 26, 2010
I have been considering a new phone since my 3rd iPhone suffered it's demise and is no longer under warranty (1st Apple update bricked, 2nd stopped functioning, 3rd touch screen has gone wonky). So I have a choice to buy a new iPhone (or refurb) or go Android.
So far I have been impressed by the Android that my co-workers have. Seems very response, seems very snappy, seems pretty polished. I do have a couple questions: Is there a way to get a home screen of the droid to list out the next coming calendar items? I miss this feature from the BB and WiMo sets. Same with emails.
View 2 Replies
View Related
Jul 21, 2010
Does anybody know how to save the calender list view on one of the home screens.
View 1 Replies
View Related
Jun 29, 2010
Im still looking for a widget to put my Incredible to sleep without pushing the power button. I am using No lock for the ability to use the touchpad to turn on but I hate using the power button to turn it off and leaving the screen on, even for 30 seconds, has to be draining the battery. (I am constantly on/off/on/off the phone throughout the day.)
I would like something I can put on the home screen that when touched, puts the phone to sleep. This will help save my power button in the long run as well. Ive searched and cant find anything.
View 15 Replies
View Related
Apr 26, 2010
What's everybody using for an RSS app? I'm using NetaShare. I really like it, but it's lacking a home screen widget - I sorta wrote about it as part of my top 5 favorites, but I'm wondering if there might be something better that allows you to download and store RSS content on your phone and has a home screen widget.
View 13 Replies
View Related
Aug 22, 2010
Are home screen "pages" exposed in the API? Can you instantiate and control them?
View 3 Replies
View Related
Sep 17, 2010
HI took a look at the home screen widget design recently and I tried to deploy a simple widget with 4x1 portrait background provided in Widget.I tried it in HVGA emulator (screen size 320x480 or something) and on Nexus One (screen size 480x800) and the widget seems to be the same size with respect to other UI elements (search widget etc) on both devices. How is that possible when one screen is 320px wide and the other one is 480px? Is the graphics in png format being automatically resized somehow based on screen width? If so, is it better to create the home screen widget graphics to make it perfectly fit to HVGA screen with 320px or is it better to create the graphics to fit the largest screen width possible so it would shrink itself on smaller screens (based on assumption shrinking an image is always better than magnifying it)?
View 2 Replies
View Related
Jan 13, 2010
I've been seeking a way to embed an html widget on home screen. Is it possible to do so without changing the Android framework?
View 2 Replies
View Related
Mar 25, 2010
I want to create a custom widget for my application which should be used for doing search internally in my application.But i am not able to place an Edit text control inside a widget.While browsing further i found that Edittext box was not included for creating custom widgets.I was surprised to see google's search widget showing an edittext box.Is there a way to add an edittext box in a widget...?
View 5 Replies
View Related
May 31, 2009
We just released our first widget to the market called AudioManager, it's available now and free to download to anyone who has cupcake already installed.AudioManager is a home-screen Widget that allows you to get live readings of your current volume levels on your Android phone (similar to your computer's "Volume Mixer").Tap on the screen and you can adjust the volume levels individually for the following streams: Alarm, music, notifications, ringer, system and voice call volume.The widget comes in two sizes, large (4x1) and small (2x1). The AudioManager Console is also available through your application launchpad in case you do not need the Widget on your screen but wish to access all volume streams from one place.Attached are a few screenshots, check it out and let us know. Only tested with Android's default home-screen, however, there are mixed reports of the widget working for aHome and dxTop with the latest versions.
View 4 Replies
View Related
Jun 21, 2010
I'm look for one that I can just scroll thru all my contacts on one of my home screens, you know with out hitting the contacts icon on the screen. Just the way you can do it on sweeter home 2. I'm not looking for one where I can just put my favs on. I'm looking for one that will list all my contacts.
View 3 Replies
View Related
Apr 16, 2010
I'm trying to create an icon/widget (1 cell x 1 cell) that can be placed on the home screen of android. The widget will look and act exactly like the other standard shortcuts in android. It will have an icon and under that a label, it will be selectable with the trackball (highlight able) it will be highlighted when it is selected / clicked. How do I go about creating this home screen widget? Do I have to create the widget myself using code/xml or is there some standard xml, style, theme, code that I can use to ensure that the widget will have the same style/theme as the other home screen widgets? I currently have the following.....
View 1 Replies
View Related
Aug 9, 2010
Is it possible to obtain the X-Y coordinates of a home screen widget? I need to display a pop-up relative to the position of the widget, so I need to get the X and Y coordinates.
View 2 Replies
View Related
Aug 19, 2010
I am trying to create a gallery inside a widget in the home screen ....as i am new to android please do give me guidelines and the source code ...
View 1 Replies
View Related
Jul 18, 2010
Find this Widget at the bottom of my home screen? I downloaded it from www.android-apps.com and for some reason uninstalled it from my phone and now I cannot find it again. It's a widget that stores the 5 most recent apps on a "dock" that takes up 4 spaces on any screen.
View 5 Replies
View Related
Sep 26, 2010
I've been looking for a widget that will allow me to direct dial (direct text a bonus!) from home screen. I've looked around online and there doesn't seem to be anything that suits me well. I tried making the "direct dial" shortcuts by long-pressing, but those icons are small and have a little "M" and image of Android which obscures the photo icon. I found the perfect app while searching for other stuff. I've attached the image to this post. Does anyone know what the app is that allows me to place those 2x1 icons onto the screen?
View 6 Replies
View Related
Mar 5, 2010
I am writing a home screen widget. Is it possible to add a View, e.g. ImageView, to a home screen widget through RemoteViews? I want to generate the views for the home screen widget dynamically.
updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_news);
updateViews.setTextViewText(R.id.widget_title, mTitle);
updateViews.setImageViewBitmap(R.id.widget_picture,
BitmapFactory.decodeByteArray(image, 0, image.length));
My code is like above. But we I call updateViews.addView(aView), my IDE didn't allow me to do that and give me an compile error.
View 1 Replies
View Related
Dec 7, 2009
When my application is uninstalled, the widget stays on the HOME screen and gives an error message "problem loading widget". How do I remove the widget when my application is uninstalled?Is there an attribute in the manifest that I am missing?I have tried asking on the Google Android groups, but they take so long to approve and then it get's lost with the 100's of other questions that are ask that get approved at the same time.I was sure that this would happen by default by the OS, but guess I was wrong.I am catching the "PACKAGE_ REMOVED" intent, and checking the "EXTRA_REPLACING" to make sure it's not a reinstall, but I don't know the actual code to use to actually remove the widget.
View 1 Replies
View Related
Dec 17, 2009
instant messaging widget for the home screen?
View 4 Replies
View Related
Sep 25, 2009
Is there a way to highlight the widget in the android home screen by using DPAD, and on selecting the widget using the keypad, launches the app for the widget. Where do I make change in Launcher.java or workspace.java??
View 6 Replies
View Related
Oct 8, 2010
I am following http://www.helloandroid.com/files/xmaswidget/android_howto-hellowidget.pdf for developing a widget. I am unable to launch a widget on to the home screen.When running the application I am getting the errors like No Launcher activity found and The launch will only sync the application package on the device!
View 1 Replies
View Related
Feb 3, 2010
I am new to the Droid but totally in love with it. I downloaded the weather bug app. Didn't even get to use it, the download time was crazy so I went to settings> applications> manage applications, then I uninstalled it. But now where it was on my homescreen it has a black box that says problem loading widget. How in the world do I get that off!
View 3 Replies
View Related