android-widget

Spinner item with buttons in android

Hello. I need spinner with complicated item. Item consists from text and button. But when I add button to spinner item, I can't catch onItemSelected event. Items just not select. When I remove button from item all is Ok. So. I try to listen onClick event on textView and make spinner.setSelection(position). All is ok. My listener onItem...

Android Image button

Hi All, i have one image button. i have set an image to it(src). but the problem is that whenever i click it, it is not showing any hover effect that the button is clicked or no. can anybody please help me in this case. ...

Android Listview - Default Selection not working

Hi experts, I hope, my issue would be clear for you from my question title. I have three linear layouts in each row of the list view. One linear layout contains an Imageview and the other two linear layout contains text views. These three linear layouts comprise my list view row. But, to my surprise, the listview default selection(orange...

multiple images in a one single image

I want to create a bitmap / image which has many images like "Collage" which has more then one images in a single picture. I have stored all my images in a grid view but now i want to create a single image from all those images. And even i want to make few images click able so what can be the road map to do this ? any sort of help / e...

grouping texts plus images + round edges in android.

i was requested to make in android a view that groups several items like checkboxes or text views in vertical rows, separated by transparent dividers while the background is with a certain alpha level and the edges are round. I thought of two solutions and i hope for some feedback on good\bad or other solutions if you got'em. just use...

Android progress bar

HI All, I m calling one webservice(SOAP) on Click of button. Web service is taking around 20 secs to get response. in the mean time i want to show progress bar. So how can i do that? where should i code for progress bar? on button click? any source code, example would be very helpfull. Thanks in advance. ...

All packages that respond to a certain category on Android?

I want to build an Android widget that will update very frequently (5 seconds). This means, I want to only update it when the screen is on and when the home screen is the active Activity. How do I get a list of home apps (or apps that respond to <category android:name="android.intent.category.HOME"/>) In the android API, can I use Int...

What is this called and how can i create something similar in android?

Hello all, I was seeing some application and saw this application i was wondering how they created this horizontal navigation menu for their android application. So what is this horizontal navigation called in android?? and can any one point me to any resource which has some sample example for creating 1 for android? Thanks ...

Return from an android activity back to widget (main menu)

I have a social network app+ widget, When user clicks on status (TextView) in the widget I open a short activity just to edit the status and save. Upon closing the status edit activity I want the user return to the main window (the page with the widget that initiated the textedit activity launch). Currently the status edit activity finis...

android layout problem

http://androidcore.com/android-programming-tutorials/595-how-to-update-custom-listview-images-simply.html HI All, I want to have this kind of layout which is shown above in the each cell of list view. i tried table layout. but its not happening. please anybody can help me in this case?? pls look at it once. Thanks in advance.. ...

Creating Custom Alert box in android

Hello, I know this is been answered many times but i am unable to find any good resource for this. Can any one tell how to create Custom Alert box for android??. What i want is a nice looking alert box with few images text etc which will be basically mu application info. I know how to create simple alert box. Please point me to any sam...

No Launcher activity found! For a widget? Does it have to be an activity

I have a widget that I've developed and it runs fine on my emulator. But when I go to and run it on my device it doesn't show up in the list Here is what my console says: [2010-10-14 12:43:43 - MyWidget] No Launcher activity found! [2010-10-14 12:43:43 - MyWidget] The launch will only sync the application package on the device!** [2010...

add animation to android-wheel

Hello, I'm trying to update the project at http://code.google.com/p/android-wheel/ to act like the iPhone spinner/Urban Spoon App. I want to add acceleration/deceleration to scrolling, as well as a spinning animation. I just don't know where to start. I was able to get the whole control to slide with the built in android transitions ...

Android adding caption to widget

Hello, i want to add a caption which looks like the default text below an app icon to the widget of my app. Is there any common way to achieve this? ...

Assign value to each string in the ArrayAdapter

Hello, I want to create a ArrayAdapter for one spinner. So each element contain one string (which will be displayed in the spinner/list) and one value (e.g. an ID). How I can easily store a second value beside each string without implementing a new Adapter class? Sincerely xZise ...

passing text of textview from one class to another

Possible Duplicate: How to pass the value of textview? how to passed a selected text of text view of one class to another class text view when we clicked on the selected text it well be passed please any one help me Thanks in advanced ...

passing text from text view

Possible Duplicate: pass the value of textview if there are five different text in a text view of a class and we click on one text how it can passed to the next class text view and similarly when we click the second text it replaced the first one any one help me please Thanks in advanced ...

How to pass the value of textview?

Dear friends. Can any one tell me how to pass the value of textview (if there are five value in textview and we pass only one) from one screen to its next screen. Consider the case: I'm having two screens, first screen with one textview and the second activity have one textview and button. If I click the first value then it has to move...

How to resize DatePicker android widget

Hi How do I re size the datepicker widget in android (the default one) ...

List of User's Photos in my Android App

I'm porting an iPhone app to the Android. The first step when somebody gets this app is to take a screenshot of their desktop for use in the app. On the iPhone, the screenshot can be accessed by pulling up their Photos with a pre-defined UI widget. Is there an equivalent on the Android? What's the expected way to do this? On a relat...