B4A Question [RESOLVED] PhoneSensors, ps.Initialize2, SensorDelay value - Erel (first post)    Dec 03, 2020   (1 reaction) You are correct. Will be fixed. B4A Question registerListener with maxReportLatencyUs - Erel (first post)    Apr 16, 2018 It cannot be changed in PhoneSensors library. You can change the rate with PhoneSensors.Initialize2. B4A Question Orientation sensor - Erel (first post)    Sep 27, 2015 Are you calling PhoneSensor.Initialize2? Try to set the delay to 3 and test it. Wish include setting maxReportLatencyUs in PhoneSensors library - dcoun    Apr 16, 2018 The android has also the following call to register a sensor:
boolean registerListener (SensorEventListener listener,
Sensor sensor,
int samplingPeriodUs,
int maxReportLatencyUs)
The maxReportLatencyUs can be used to set the interval in reporting of a sensor. This can be higher than second and it B4A Question phone sensor failing - drgottjr    Mar 24, 2015 phone sensor with nexus 4 running 5.0.1 works fine. same app on moto e (2nd gen) running 5.0.2 fails. is this likely to be a device/manufacturer issue? 5.0.1 versus 5.0.2 issue? any thoughts, please? setup: Dim ps As PhoneSensors ps.Initialize2(ps.TYPE_ORIENTATION, 5) listening = False B4A Question [SOLVED] PhoneSensorsExtra displaying phone orientation - rleiman (first post)    May 13, 2018   (1 reaction) For example:
Activity.LoadLayout("Main")
End Sub
Sub Activity_Resume
emad2.StartListening("Emad2")
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Emad2_OrientationChanged (Azimuth As Float, Pitch As Float, Roll As Float)
LabelCompassHeading.Text = NumberFormat(Azim B4A Question event: a sms is sent - how to trap the event? - OliverA (first post)    Jan 10, 2024   (2 reactions) Looking at the documentation of PhoneSMS.Send2 https://www.b4x..png Send2 (PhoneNumber As String, Text As String, ReceiveSentNotification As Boolean, ReceiveDeliveredNotification As Boolean) Sends an Sms message. Note that this method actually sends the message (unlike most other methods that crea B4A Question [SOLVED] PhoneSensors2 timestamp ? - udg (first post)    Jan 02, 2015   (1 reaction) Hi lemonisdead,
welcome back home!
I never used that lib, but I believe it was written to take in account nanoseconds instead of milliseconds.
udg B4A Question A simple pedometer label... - Servaas (first post)    Mar 18, 2017 Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim Phone, PhoneStepsTaken As PhoneSensors
End Sub
Sub Globals
'These global variables will be redeclared each time the activity B4A Question [SOLVED] PhoneWakeState PartialLock & PhoneSensors when screen is off - lemonisdead    Jan 25, 2016 Hello,
I was reported an issue on a particular Samsung XCover 2 model (not all just one but not one phone only) : in an app, when the screen is put off using the power button, even if I had put the system on PartialLock, the PhoneSensors stop.
Previously, I had put a relaunch of the sensors when th Page: 1   2   3   4   5   6   7   Powered by ColBERT |