Scrolling Time Picker Like in Alarms

by Rishit » Wed, 05 Jan 2011 03:44:40 GMT


Sponsored Links
 I want to use the scrollable Time Picker (That is used for Alarms in
my Donut)
The inbuilt Time Picker interface with buttons + and - kind of sucks.
(TimePicker class)

Snap of the Time Picker i am talking about.
 http://i465.photobucket.com/albums/rr19/rjdthegreat/091743.jpg 

Any help is highly appreciated.

Thanks,
RJD

-- 



Re: Scrolling Time Picker Like in Alarms

by TreKing » Wed, 05 Jan 2011 04:44:00 GMT


 




With what, exactly?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: Scrolling Time Picker Like in Alarms

by Rishit Desai » Fri, 14 Jan 2011 21:19:44 GMT


 How to bring that alarm's Time Picker (snapshot included) to use in my
Application..
I hope the Alarm's Time Picker is a Widget that can be used by my
Application.
Any help with reference/website/sample code/Whether that can be used or not,
would be great.









-- 
-Rishit Desai
--Live each day as if it were your last. And one day you will most certainly
be true.

-- 



Re: Scrolling Time Picker Like in Alarms

by TreKing » Fri, 14 Jan 2011 23:41:18 GMT


 




How about the official documentation:
 http://developer.android.com/reference/android/app/TimePickerDialog.html 
 < http://developer.android.com/reference/android/app/TimePickerDialog.html> ;
 http://developer.android.com/reference/android/widget/TimePicker.html 
 < http://developer.android.com/reference/android/widget/TimePicker.html> ;
 http://developer.android.com/resources/tutorials/views/hello-timepicker.html 

Total time posting here and waiting for an answer: 11 days. Total time to
look it up: 5 seconds.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 



Re: Scrolling Time Picker Like in Alarms

by TreKing » Fri, 14 Jan 2011 23:42:48 GMT


 Whoops, looks like you're already tried the built in one - sorry about that.
What you're looking at is probably a custom widget not available in the SDK.
You'd have to roll your own.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices







-- 



Re: Scrolling Time Picker Like in Alarms

by Kostya Vasilyev » Sat, 15 Jan 2011 01:55:28 GMT


 That's an HTC phone in your photo, and the widget is a part of the custom
extended UI for Android (HTC Sense). They do not make it available for
others to use.

Someone made one just like it and made the source available:

 http://code.google.com/p/android-wheel/ 

-- Kostya

2011/1/3 Rishit <rjdthegr...@gmail.com>


-- 



Other Threads

1. Why standard component with private members?

I write my own text display component, which similar to TextView, but
I wanna handle the spacing between words, and show cursor if user
clicked on spacing, or show selection mark if user clicked on word.

I suppose this implementation is an easy job, I should write my own
component extended from TextView, and overrides a few functions, such
as onDraw(), onTouch(), etc.

However, I found it's more difficult than my anticipation, after I
study the source code of TextView. Because the TextPaint is a private
member in TextView, and be used everywhere. That means if I wanna
override onDraw(), I have to create my own TextPaint member, and
override each functions which use the private TextPaint member.

I don't understand why the TextPain member in TextView is private? I
don't know why TextView do not allows subclass to use its members
(TextPaint just one of them)? I just know this design is unfavorable
to extend from standard component to develop my own component.

Eventually, I write my own component extended from View, and write
each function manually. I think components in SDK should not with
private member, it is not convenient for Android designer, I suggests
to review it.
--~--~---------~--~----~------------~-------~--~----~

2. BroadcastReceiver for a Service to catch broadcast Intent ACTION_BOOT_COMPLETED

Hi

I have written a Service component within an application .apk.
I want the Service to receive the ACTION_BOOT_COMPLETE
Intent which I understand is broadcast when the android system has
finished booting.

I am unclear as to whether I need to declare the BroadcastReceiver
statically within the AndroidManifest.xml file for the application
package
via a <receiver> tag or whether I need to create it dynamically and
call Context.registerReceiver() etc. within my Service code.

Can anyone offer any advice, please?

Thanks
Graeme
--~--~---------~--~----~------------~-------~--~----~

3. Shared preferences not accessible in service

4. Looks promising ...

5. Incorrect use of SkAlpha255To256 trick in Skia

6. Android Browser - Downloading files with square brackets in the name [ ]

7. Which version of source codes is CupCake? When will it release?