Hi Folks,
Is it possible to set a focus to a
button widget which lies somewhere
down in my layout. onCreate of the
activity my control/focus should be on
that button programmatically.
Regards, Vinayak
...
I'm working with the emulator using the debugger and I've noticed that onUpdate is not getting called. When I add the widget to the emulator homescreen I see my breakpoint being hit in the onReceive method. The onReceive method does get the android.appwidget.action.APPWIDGET_UPDATE intent. However, the onUpdate function never gets cal...
Hi!
I need to completely remove dividers from ExpandableListView. As for parent items it's a setDividerHeight method where I can pass a zero value. But there's no similar method for child divider. Is there any way to hide it?
...
Hello guys'n'girls :)
I'm slighty puzzled about how android's AppWidget machinery works.
I reimplemented the AppWidgetProvider's constructor like this:
public class MyProvider extends AppWidgetProvider {
public MyProvider() {
Log.d("TEST", "Creating...")
}
public void onUpdate(..., int[] appWidgetIds) {
// updati...
I have developed an Android Widget, and it was working fine. I added some extra functionality and pushed an update through the Android Market. Now people are complaining that it doesn't work anymore.
The error I see in the logs is:
07-14 10:33:44.016: WARN/ActivityManager(78): Unable to launch app ...
for broadcast Intent { act=androi...
How can one resize the initial size of android datepicker control to be smaller or bigger. Is there only way to reimplement it?
...
This might be a really simple answer but I cant seem to come up with an answer for it, I'm aiming for android 2.1.
Any help would be great :-)
...
In android, when I press and hold in a button, then move the pointer outside the button, the button un-highlights. But I have to move it significantly outside the button; just a few pixels isn't enough. And the slop seems to be wider than it is tall. What are the values of the slop dimensions? Where can I find them?
...
I just got burned by a widget. I could see the cause of the problem, but I could not determine why or its solution. My widget was issuing a search (SearchManager) and the activity launched a search dialog, but when it called-back to my widget, it created another reference to the widget (i.e., the thread-id was the same, but the widget-...
Hi i am new to the android programming.i am working on a image viewer application through which we can view the images(these images i hav already stored in an array).firstly i am using a grid view to view my images in a grid form.later if the user clicks a particular image then that image alone shall be visible.for that we need to handl...
Hey guys thanks for reading!
I'm trying to get into android development and I'm going through the tutorials, however I'm really stuck on the HelloGridView tutorial and I'm surrounded by apple developers, so have nobody with any android experience to ask!
I've attempted to do the HelloGridView tutorial and I get 17 Errors but cant see w...
I want to put the Android's Analog Clock in my app, is there a way?
--update
Studying android developers page. It says that
"App Widgets are miniature application
views that can be embedded in other
applications (such as the Home
screen)"
so, looks like there is a way.
--update
Still nothing, read all details of the abov...
I am starting to go insane trying to figure this out. It seems like it should be very easy, I'm starting to wonder if it's possible.
What I am trying to do is create a home screen widget, that only contains an ImageButton.
When it is pressed, the idea is to change some setting (like the wi-fi toggle) and then change the Buttons image.
...
Hello,
I would like to recreate the same type of app as Gallery3D but simpler: without the 3D animations and basically only keep GridView and Gallery widgets. I would also like to enable multi-touch zooming-dragging-scolling on the selected image and that's where I am struggling. I looked online for simple tutorials and I also looked at...
Hello,
I have a ListView with number of items. I'd like to place the item being clicked in the top of the screen. i am trying to use requestChildRectangleOnScreen of ListView that seems to do the job, however I cannot figure out how to properly specify the rectangle param. Any suggestion and/or code sample will be really helpful
Thanks...
In a TabHost widget, I can create a new tab with its content (Intent) using TabHost.addTab(TabHost.TabSpec tabSpec).
We can remove all tabs we created by calling clearAllTabs(), but I can't figure out how to remove the tab or just replace the content (Intent) inside the tab with new Intent.
so what I need something like removeTab(int i...
I want a widget showing a countdown for a user initiated tracking of a bus departure. I want to update the widget every minute or so, from when the user initiates the tracking to when the bus has departed (i.e. the time runs out).
This widget needs to be updated more frequently than what updatePeriodMillis allows, which is every 30 seco...
Anyone have any luck querying for a contacts nickname given a phone number or contacts name?
Thanks
http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.Nickname.html
...
hi friends i identified problem in changing one activity using tab, in on tab activity i am adding data to sqlite in other tab activity i am displaying them using listview(array adapter)
but when i come back to add data and after adding new item to sqlite the newly added records are not updated in listview
plz forward u r valuable sug...
Hi
I am developing an Android App where I require a user to authenticate his session before using the app. One way is to store a user name and password by asking him to register on the app and then use that to authenticate him. But i was looking to do something else, maybe use an OpenId account to authenticate or Opensoial or somethi...