the  NumberPicker can be used in Sdk1.5,which do you use now?

2009/10/10 Jonhoo <[email protected]>

>
> Hello all androids!
> I am developing an application in which I want the user to input the
> duration of a given item, something which the vertical spinners used
> for DatePicker and TimePicker would be ideal for. However, after
> looking into this, it seems that the widget both of these depend on,
> NumberPicker, is an internal class
> ( com.android.internal.widget.NumberPicker ) not available through the
> normal API.
> What is the reasoning behind keeping this very useful widget internal?
> Is there any way besides cloning the source ( which I couldn't get to
> work anyway.. Eclipse told me that R.layout was not available... ) and
> using com.android.internal.widget.NumberPicker directly as the view in
> the layout XML ( which doesn't seem to be working properly either
> ( java.lang.RuntimeException: Unable to start activity ComponentInfo
> {com.speechmark/com.speechmark.SpeechMarkEdit}:
> java.lang.ClassCastException:
> com.android.internal.widget.NumberPicker )?
>
> Jon
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to