spinner

Put UIActivityIndicator over UIMapView

I would like to put a UIActivityIndicator in the center of my UIMapView. I have setup plenty of spinners before, but not sure what I'm missing about the MapView that is making this difficult. The real issue seems to be that when I try to place the UIActivityIndicator onto the UIMapView in Interface Builder, it doesn't stick or it break...

NetworkActivityIndicator not working the same on iPhone and Simulator?

I am using the NetworkActivityIndicator to show that my App is doing some work. When I run the app in the simulator, it shows the way I want - basically spinning the entire time until the selected tab loads the data from the server - but when I put the app onto my phone, I only get a split-second of the spinner before it disappears. Usua...

Android Spinner selection

The OnItemSelectedListener event handler gets called both when a spinner selection is changed programmatically, and when a user physically clicks the spinner control. Is is possible to determine if an event was triggered by a user selection somehow? Or is there another way to handle spinner user selections? ...

How do you get the selected value of a spinner -- Android

Hi everyone, I'm trying to get the selected items string out of a spinner. So far I've got this: bundle.putString(ListDbAdapter.DB_PRI, v.getText().toString()); This doesn'y work and gives a casting exception (I thought you could cast a view to a widget that inherits it... obviously not!). So how do you get the selected value of a...

Spinner cannot load an integer array?

I have an application, which has a Spinner that I want populated with some numbers (4,8,12,16). I created an integer-array object in strings.xml with the items mentioned above, set the entries of the Spinner to the integer-array, and when I run the app I get: 04-19 23:38:48.016: ERROR/AndroidRuntime(10193): java.lang.NullPointerExcept...

Spinner with checkbox items, is it possible?

The title says it all. ...

Sciptaculous number spinner

Hi, does anybody know of the existence of a number spinner component compatible with prototype/scriptaculous ? Something like jquery's spinner (http://docs.jquery.com/UI/Spinner). I'm looking for nothing fancy, just numbers. Thanks! ...

How to customise the TextView inside a Spinner?

I have a Spinner with an ArrayAdapter that feeds Values into it. The layout for this views looks something like this: <TextView android:text="Household Income: " android:layout_width="wrap_content" android:layout_height="fill_parent" android:gravity="center_vertical" /> <Spinn...

Java Swing - Problem in JSpinner

I am developing a Java Desktop Application and designing the GUI with the help of Netbeans Swing GUI builder. I want to use a JSpinner in my app. I have dragged and dropped it to a JPanel. Now, I want to set its two properties: First, It should display numbers in the range of 1 to 50. Neither less than 1 nor greater than 50. How can I...

How can I use spinner setOnItemLongClickListener

Hi, I am trying to make the Spinner behave different way when the user clicked on an item for a long time. I have spinner with some project and I want two things. When the user simple click on an item I want to normal select it. When the user have long clicked on an item I want to show dialog, with options like "Edit item", "Delete it...

ImageView with Spinner

I have a GridView displaying thumbnails using ImageViews. I am displaying a default image while the thumbnail images are being downloaded from the background(inspired from native applications) i.e. the getView() of my adapter class returns a default Bitmap first and then runs a background thread and replaces the default with actual later...

get user selection and convert it to a String [Android]

Hello, I just got a Droid, and after having used it for a while, I felt like I wanted to make a program for it. The program that I am trying to make calculates the actual storage capacity of secondary storage mediums. The user select from a list of units that ranges from KB to YB and the size the entered gets put into a formula dependi...

[iphone] Question about spinner interface

Hi, I'm trying to make an spinner selection interface like the one in the following. http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/2009/10/allRecipies.png I'm thinking of using rotated UIPickerView to implement it. Do you think it is possible or is there any other better solution? Thanks in advance. ...

Android: Create spinner programmatically from array

Hi, I'm all new to Android and I'm trying to create a spinner programmatically and feeding it with data from an array, but Eclipse gives me a warning that I can't handle. Here's what I got: This ArrayList holds the elements that should be in the spinner (gets filled from a file later on): ArrayList<String> spinnerArray = new ArrayLis...

Setting spinners onResume doesn't work

Hello! I want to save text from 2 edittexts(et1,et2) and selection from 3 spinners(spinnerm,spinner and spinner2) onPause and setting them back onResume. Text from edittexts is saved correctly, only spinner selection don't work as desired. My code: public void onResume(){ super.onResume(); Log.d("REZUM","notr smo"); Sh...

Displaying a long string in a spinner without cutting

Hello! In my current app, if the string is too long and doesn't fit into screen it gets cut. How to display rolling text for long strings in a spinner(i have seen that in some apps)? ...

My Spinner Widgets look different on different devices. How can I define a own Spinner that looks the same on all handsets?

I use this code to generate a spinner in my app: subCatAdapter = new ArrayAdapter<Subcategory>(this, android.R.layout.simple_spinner_item, subCategories); subCatAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); On my device (Motorola Milestone) and in the emulator this looks like the standard gra...

How can we create iPhone-like spinners in android?

Default spinners on the iPhone look a lot better than on Android. It looks like at least one Android app (UrbanSpoon) has been able to replicate this control, and it's awesome: http://www.urbanspoon.com/android Anyone have any ideas on how to create this? Code would be helpful. Thanks, -g ...

Loading image in jQuery doesn't dissapear sometimes

Trying to get a spinner gif to appear at the beginning of an image loading, then disappear when the image is loaded. Works almost everytime, but some times it will keep on displaying and won't go. Any help? (Relevant function showed) $.loadImage = function(imgSrc,imageList){ $("#loading-graphic").fadeIn('slow'); $.clearImage(); ...

How to change/decrease android spinner size

Hi I like to decrease/change the spinner size which include: 1) the spinner object size. 2) the font displayed , its size and color. 3) when I open spinner the list view which is displayed, its font size and color. thankx ...