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...
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...
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...
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...
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...
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 =...
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. :)...
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. :)...
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...
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!
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.
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...
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 & "&" &...
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
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...
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...
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...
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...
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.