I am trying to display images dynamically on a home screen widget. As RemoveViews offer a very limited set of methods to interact with the layout, I'm trying to use HTML to get the same effect.
Regular HTML displays ok (<u>,<b> etc) however I can't get images to display. Instead I get a little empty square appear in the TextView.
E.g. ...
I have a widget which starts an activity when it is clicked. I'd like to have some kind of fancy animation to display this activity, rather than the standard scroll-from-right of Android. I'm having problems setting it, though. This is what I have:
slide_top_to_bottom.xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http:...
hello,can I modify the the height of status bar? if yes,how?
thank you.
'notification bar' i means,i am sorry.
...
Is there an Event that is fired when an widget becomes visible on to the homescreen. I didn't mean at install time, I mean if the user changes his homescreen by wiping the surface of the phone.
The background of this question is that I setup a timer in a service inside the widget that gets updates from a url but that should stop if the w...
When I am trying to add properties to a view, I get an error; it seems like it can't find dropDownAnchor and popupBackground. Why is that, I have seen other examples that use these properties?
android:dropDownAnchor="@id/search_plate"
android:popupBackground="@android:drawable/search_dropdown_background"
My second questions is I have ...
I have a TabHost with three tabs. The first tab's content is the Intent of a custom activity who's contentview is a relative layout containing two EditTexts and two CheckBoxes (and a button).
Each checbox, when checked, enables/disables one EditText and the other checkbox. and I went about that like this:
chkPolaziste.setOnCheckedChan...
The PreferenceActivity seems like a really easy helper class to manage the preferences of an app.
I'd like to also use that same class from the widget.
On the first instance of a widget I want the PreferenceActivity to come up. This was very easy to do from the configuration activity but here is the glitch...
I can't tell when the pr...
Hi all,
I have nested 2 ListView widgets inside a ViewFlipper:
<ViewFlipper android:id="@+id/flipper" android:layout_height="fill_parent" android:layout_width="fill_parent">
<ListView android:id="@+id/bikeListView" android:layout_height="wrap_content" android:layout_width="fill_parent" />
<ListView android:id="@+id/bikeComponents...
Hello,
I am working with Android. Can anybody tell me how can i create something like... When i click one button once....numerical digits will show me automatically as increasing order like 1,2,3,4......so on with switched between two digits, after every 5 sec...I mean it shows only latest one digits like counter.
I tried with this
p...
So I've been playing around with android app and widgets. have a few things running. but one thing i cant seem to figure out is how to package more than 1 widget. say i wanted to release my set of widgets?
where in the manifests can i do this?
thanks
...
HI,
How i can set Imageview width and height programatically.
Thanks in advance
...
Hi all,
Im using Relative layout for designing UI. Please give me guidelines to follow.
Thanks in advance..
...
I want to do screen optimization. That means once I develop the UI in android it should fit exactly the same in all android enabled phones.
So how do i do it?
...
Hi All,
I'm dealing with a problem you guys might not have faced earlier.
I'm having a use-case in my Android application where the actual screen that i want to show to user is not stored in any layout file of my application. The layout of the of the screen is designed by server in this case, based on selection made by user on first sc...
Suggestions for building a treeview control in Android
...
Hey everybody,
i have a problem with an appwidget. It doesn't have a configuration activity. When i set android:updatePeriodMillis="10000" (i know this shouldn't be done but it's just for testing) in the emulator the onUpdate(...) function is called every 10 seconds. But when i install my app on my real phone (motorola milestone) onUpdat...
I'm trying to create a homescreen Android widget and have it alternate between two different textviews I would send to it. Is this possible?
...
Hello,
I am developing an android application.and ...i am novice in Touch enabled Android Application..
I have read the article about "onFling" and "onScroll" event on:
http://developer.android.com/reference/android/view/GestureDetector.OnGestureListener.html
But i didnt get exactly what is the meaning and for what we can use OnFling...
I have a widget with an associated PreferenceActivity/PreferenceScreen. I would like to update my widget whenever the user is finished setting the preferences. I am using onBackPressed in my PreferenceActivity, which is being called, but the widget's onUpdate is not being called. Can anyone shed any light on this please?
public void onB...
Hi, I am implementing something like the user interface from Microsoft Zune HD player. So, I would like to change the text color of my button when the button is being pressed as well as when it has been clicked.
...