Datepicker Dialog V1.0.0

Discussion in 'Old Libraries Archive' started by DonManfred, Apr 26, 2015.

  1. DonManfred

    DonManfred Expert Licensed User

    ATTENTION:
    This is a library to show a Datepicker or an Timeticker.
    Sadly the Timepicker still DOES NOT WORK!
    I dont´t know how to fix this problem! :mad:

    As i now worked more than 80 hours on this library and the fact that the datepicker is working and looking really nice... I deciced to publish this library only as a DATEPICKER library.
    I attach the javasource (Eclipse) too in the hope someone other here in b4a forum maybe get it to work and finish this library :rolleyes:

    Anyone who is interested in trying the Timepicker to work too can download the Java-Source of this library here.

    Here we go

    This library is a wrapper for this Github project.

    DateTimePicker
    Version:
    1.0.1
    • DateTimePicker
      Events:
      • ondateset (year As Int, month As Int, day As Int)
      • ontimeset (HourOfDay As Int, minute As Int)
      Methods:
      • DatePicker (tag As String, year As Int, month As Int, day As Int)
      • Initialize (EventName As String)
      • TimePicker (tag As String)


    This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
    Please click here to donate (You can donate any amount you want to donate for the library (or my work) :)
    [​IMG]

    [​IMG] [​IMG]
     

    Attached Files:

    Last edited: Jul 9, 2015
    fredo, M Rizki, Ohanian and 13 others like this.
  2. barx

    barx Well-Known Member Licensed User

    Whats the issue with the TimePicker?
     
  3. RauchG

    RauchG Active Member Licensed User

    Hello DonManfred.

    Looks very good. Super would be an indication of the calendar weeks.

    Gruß
    RauchG
     
  4. DonManfred

    DonManfred Expert Licensed User

    I get the Call not working. The fragments does not seems to be compatible. I really dont know what really the problem is and how to change. And at least WHAT needs to change :)
    Try to call the time method and you´ll see the exception
     
  5. DonManfred

    DonManfred Expert Licensed User

    100% of the Github project is wrapped. The git is based on Googles code which does not expose the weeknumber.
    Due to this there is no such indication too.

    I published the Sourcecode of the wrapper. Feel free to contribute and reupload it then :)
     
    thedesolatesoul likes this.
  6. Peter Simpson

    Peter Simpson Expert Licensed User

    Hello @manfred,
    The date picker looks and works great, cheers...
     
  7. shashkiranr

    shashkiranr Active Member Licensed User

    Hi DonManfred,

    I just noticed a small bug. I do not know whether it happening to others. If i select any day, the month will be selected as previous month. For instance if i select may 28 2105, the result month is coming as 4 instead of 5 . Its happening in the example project also. I am just adding 1 to the month now as a workaround.

    Regards,
    SK
     
  8. gdeppi

    gdeppi Member Licensed User

    How to change the text of "Done" button ?
     
  9. DonManfred

    DonManfred Expert Licensed User

    Resources\values\string.xml

     
  10. gdeppi

    gdeppi Member Licensed User

    Thank You very much.
     
  11. gdeppi

    gdeppi Member Licensed User

    Hi DonManfred,

    Is there a way to preset the date, before displaying the dialog ?

    Me too have the bug with month index (-1)

    Regards.
     
  12. DonManfred

    DonManfred Expert Licensed User

    see updated post #1 (v1.0.1 and example updated too)

    Aehm... I missed that i think. What problem you encounter?
    See updated post #1
    Should be fixed now
     
  13. gdeppi

    gdeppi Member Licensed User

    Tnks, it's perfect.
    Regards
     
  14. Derek Jee

    Derek Jee Active Member Licensed User

    Hi Manfred

    What a lovely looking date picker.. Is it at all customisable to change font colours and size text? .. and it is a non modal 'form'?

    Kind regards,


    Derek.
     
    Last edited: Jul 18, 2015
  15. RauchG

    RauchG Active Member Licensed User

    Hello DonManfred,

    it is possible, which is precisely the button "Done" a "back" button display button?

    Greeting
    RauchG
     
  16. DonManfred

    DonManfred Expert Licensed User

    You can use the device back button to abort the datepicking
     
  17. RauchG

    RauchG Active Member Licensed User

    Nice and clear. Only the user the the app use are, unfortunately, almost all "Daus". Please hit it would be a clear.
     
  18. rleiman

    rleiman Well-Known Member Licensed User

    Hi Everyone,

    Please ignore this post.

    I got the error fixed. I needed to install the file with this advise from corwin42.

    Attention: This library uses the android-support-v4.jar library. You have to install it with the Android SDK Manager. Please add the Extras/Android Support package. Then you will find the jar under <SDK root folder>\extras\android\support\v4. Please copy the android-support-v4.jar file to your custom libs folder!

    Truly,
    Emad
     
    Last edited: Aug 3, 2015
  19. rleiman

    rleiman Well-Known Member Licensed User


    Nice KitKat Date picker.

    Any idea when someone will have the KitKat time picker part working?
     
  20. DonManfred

    DonManfred Expert Licensed User

    I dont know
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice