I have this variable that I am building:
The value keeps coming back as 'undefined'
I want it to be something like '9/29/2019 22:59:00:00'
In this code:
My report control called reportCrews has 2 rows displayed in the reportCrews.Data. When I try to display for instance the [crew_id] variable in an Alert, ObjectGetProp crew_id is "undefined."
I don't understand why.
Thanks David. I will give the && a try.
I connected the device via usb and I can browse the device using windows explorer, but when I use the Run BAT file, I get a message in the command window that it cannot find a device and so it tries to launch emulator. I will try installing the Google USB drivers .
I got my test Android tablet today, and I ran the below code with both the wifi on and off. Running this test is always returning "false".
I built the apk and copied it over to the tablet and installed it on the tablet. FYI
Are there any suggestions of how to handle this issue? Maybe JS would handle it better? Could I format the time values as a date and time like MM/DD/YYYY HH:MM A and then use DateGet to build a string representing the time?
I followed the pattern you pointed out here:
All I get in the Alert is "Invalid Date". If I declare NewDate with a value and format, why do I need to call DateFormat?
Can the date formats be MM/DD/YYYY?
I get JSON date and time values from an API call.
I need to format the date and times for display. Would this code do what I am trying to do?
It will be a more complete testing environment anyway. I will post back on this thread after I run it on the Android tablet.
I have tried to test the GetNetworkType function using the Android Studio Emulator but it always returns false no mater what I set the network parameters to.
I am going to order a tablet today to test on a real device
The below code does not seem to be working. This depends on the Cordova Network plug in right? The only value I get back is false.
Am I using this correctly?
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.