Hi ibrahim,
I tried all possible ways ,It does not work for me.. i got class cast 
exception. This method is supportable only for 2.3 not 3.0..  

On Tuesday, September 25, 2012 11:21:08 AM UTC+5:30, Ibrahim wrote:
>
>  Mycallback=new OnTimeSetListener() {
>
>         public void onTimeSet(TimePicker view, int hourOfDay, int minute) {
>
>         ViewGroup vg=(ViewGroup) view.getChildAt(0);
>
>             Toast.makeText(TimePickerDemoActivity.this, 
> hourOfDay+":"+minute+":"+((Button)vg.getChildAt(2)).getText().toString(), 
> 5000).show();
>
>         }
>     };
>
>
>
> On 25 September 2012 09:13, sindhu <sindhus...@gmail.com <javascript:>>wrote:
>
>> Hi, how to get time picker am/pm values in android 3.0? 
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

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

Reply via email to