time

  1. E

    Android Code Snippet DIY NTP Network Atomic Clock Time

    I just ported some NTP stuff from an old program. Querying an NTP server is surprisingly easy: just send it a 48 byte UDP packet with the first byte = 27 and the rest of them 0. The NTP server should return your 48 byte packet updated with the last 16 bytes set to two 64-bit timestamps, being...
  2. Abdull Cadre

    Share My Creation LaborLog Lite

    LaborLog Lite LaborLog Lite is an Android application developed using the B4XPage framework. This application is designed to facilitate the registration and consultation of working hours and duration, as well as the automatic calculation of the number of hours worked. With a simple and modern...
  3. symonator

    Android Question Auto-update device timezone daily so that sunrise time remains constant?

    Hey everyone! Background: I recently moved to Queensland (Australia) which doesn't have daylight savings like the southern states (where I'm from) do. Consequently, during summer the sun comes up at the ungodly hour of 4:45am or thereabouts. It got me thinking, would it be possible to design...
  4. A

    iOS Code Snippet PFDateTimePicker Scroll View iOS Library

    As Apple Store is not accepting Calendar Type DateTime Picker, So my first step towards ScrollView DateTime picker for iOS. PFDateTimePicker Author: Asad Version: 0.01 B4i.DependsOn=iXUI, iDateUtils, iCustomDialog PFDateTimePicker Events: SelectedDateChanged (Date As Long) Functions...
  5. Alexander Stolte

    B4A Library [B4X] [XUI] AS TimePicker

    This is a simple TimePicker, with android style. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. :) Events SelectedHourChanged and...
  6. KMatle

    B4R Code Snippet Get the time from a timserver (the easy way)

    Note: The ESP must be connected to the internet (e.g. WiFi) Sub GetTime RunNative("GetTime", Null) End Sub #if c #include "time.h" void GetTime (B4R::Object* o) { const char* ntpServer = "pool.ntp.org"; const long gmtOffset_sec = 3600; const int daylightOffset_sec =...
  7. Alexander Stolte

    Android Example [B4X] AS RangeSlider + AS Clock = Sleep Schedule Picker

    This is a short Example of what is possible with this 2 views. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. :)...
  8. Alexander Stolte

    B4A Library [B4X] [XUI] AS Clock - Analog Clock or Digital

    Thanks to @wonder for his nice "Analog Clock with Sound", this safes me a lot of time. I spend a lot of time in creating views, like this and to create a high quality view cost a lot of time. If you want to support me and further views, then you can do it here by Paypal or with a coffee. :)...
  9. Ertan

    B4A Library [B4A] [B4i] MetroUI_TimeEdit

    Hello, If you want, you can take the codes with winrar and open B4Xlib codes, edit and duplicate them. Because Sharing is Good. Report bugs and requests to us in response. MetroUI_TimeEdit It is a component that can be useful if you are dealing with time zones. You can manage Hours - Minutes...
  10. M

    Android Question Show time picker dialog

    Hi everyone, there is a way to show this native-looking dialog to choose a time with B4A? From: https://androidexample365.com/material-time-picker-for-developer/ Or something like: Thanks in advance!
  11. rezaghasmi

    Android Question Reverse timer

    How can I have a 30 second countdown timer?
  12. K

    Android Question Error Using MaterialDateTimePicker

    Error Log: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat; at com.wdullaer.materialdatetimepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:335) at android.app.Fragment.performCreateView(Fragment.java:2505) at...
  13. rleiman

    Android Question [SOLVED] - View to display gauge or digital display for showing time

    Greetings, Can this gauge library show time values? If not, did anyone write a class or library like it to do that? I plan on using the B4XSeekbar to populate the value property for the gauge or digital display in the view. If it can, can you let me know how to do it? Thanks.
  14. M

    Android Question how to format date and time columns in B4XTable

    I work on the application, which should be used by Parkinson ill people to enter their good and bad times (on and off times). Ich have three columns in the sqlite database. In the first column the date is being saved, in the second one the time of the day. In the third the number should be...
  15. carlos7000

    Android Question Error: Nonce must be greater than...

    Hello I am using this function to send commands to a server private Sub SendCommand(workName As String, Command As String, Signature As Boolean, url as String) Dim ToSing As String If Signature Then url = X_PrivateUrl ToSing = "command=" & workName & "&" &...
  16. rleiman

    Android Question Setting phone’s time programatically

    Hi Everyone, I would like to set my phone’s system time based on the current location position. I’m planing on usine one of the B4A GPS libraries. Is it possible to do this programically? Is there a B4A library that will allow me to do it? Truly, Emad
  17. aeric

    Android Code Snippet [B4X] XUI Views - Time Dialog

    I want a better dialog for time input so I created this time (picker) dialog using B4X XUI Views and IME library. I think the code has too many lines. Hope someone can simplify or improve it. Note: I haven't tested but I think this code can also work for B4i and B4J. Update: I have tested with...
  18. Star-Dust

    B4i Library [B4X] [XUI] iSD DiscTimePicker (parking meter)

    Download fro HERE SD_DiscTimePicker Author: Star-Dust Version: 0.04 DiscTimePicker Events: Change (DateTimeChange As Long) Functions: Class_Globals As String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object Initialize (Callback As Object...
  19. Star-Dust

    B4A Library [B4X] [XUI] SD DiscTimePicker (DateTimePicker - DiskPicker)

    For Android and iOS. SD_DiscTimePicker Author: Star-Dust Version: 0.07 DiscTimePicker Events: Change (DateTimeChange As Long) Functions: Class_Globals As String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object Initialize (Callback As...
  20. A

    Android Question time in an edittextbox

    Hello, I need to display and edit a time value. This time value is in hours,minutes,seconds and hundreths of seconds. I was thinking of using 4 small edittext boxes but this is ofcourse not very nice… the adjustment must be very easy while a person needs to give in a lot of data. This time...
Top