Android Question New Google Calendar Date & TIme Picker

dwsands

Member
Licensed User
Longtime User
Has anyone managed to recreate the new Date and Time Pickers in the new Google Calendar app? If not whose willing to take up the challenge; I'm afraid it's beyond my capability being new to B4A.

David
 

Attachments

  • Date Picker.png
    Date Picker.png
    73.3 KB · Views: 809
  • Time Picker.png
    Time Picker.png
    67.7 KB · Views: 736

Brian Robinson

Active Member
Licensed User
Longtime User
Has anyone managed to recreate the new Date and Time Pickers in the new Google Calendar app? If not whose willing to take up the challenge; I'm afraid it's beyond my capability being new to B4A.

David

I am looking for this as well. Just wondering if I create this Dialog, would it be better to create something like this in B4A or is it better to create it in Java?

I have not written any libraries yet, but would be happy to give it a go. Should it be included in the other Dialogs Library?

Brian
 
Upvote 0

dwsands

Member
Licensed User
Longtime User
I am looking for this as well. Just wondering if I create this Dialog, would it be better to create something like this in B4A or is it better to create it in Java?

I have not written any libraries yet, but would be happy to give it a go. Should it be included in the other Dialogs Library?

Brian

Wow, a year and somebody is actually interested. Not to be to critical but all the other Date/Time Pickers are just so dated.

I personally I think it would be best to see it in the the Dialogs Library, which seems to be widely used, but you would what to coordinate that with agraham but you might have to write your own and I can't give you much help there on which to use B4A or Java.

GOOD LUCK!!!

David
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Anser,

The calendar picker is nice but the time picker does not work. The time picker is more important to me since I'm hoping someone completed that one.
 
Upvote 0

JoanRPM

Active Member
Licensed User
Longtime User
I use 2 libraries:
DatePickerExtended from DonManfred, for the date,
and TimeDialog, for time. This one has the same apearance as "Time Picker.png" if you put in the manifest: targetSdkVersion="14". But it depends on the Android version.

Regards.
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Joan,

Can I get a link to the time picker you are using? That the kind I'm looking for.

Thanks.
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Don,

I tried version 2.95 but get a screen that looks like an outdated time picker not a clock like in Joan's photo.

I'm using Android 4.4.2 and that version does display the clock time picker in other apps like the Google calendar app.

This is the manifest from the demo that came with version 2.95:

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

What am I missing?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
´this is my manifest from ym test app

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")

I use android.jar from V23 and i´m using v2.92 of dialog library.
My device has Android 5.1.1

and this is how it looks like

Screenshot_2015-11-18-06-47-47.png
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Don,

I will install API 23 and change my manifest to match yours and see what happens. I have API 19 installed since that matches KitKat.
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi,

I tried compiling the demo app with api 23 but still get that outdated wheel time picker and not the KitKat one like the Google calendar uses. Looks like the library made by agraham is not working with KitKat. I hope he will consider altering it so work with that version since a lot of people still use KitKat.
 
Upvote 0
Top