Search found 299 matches

by simon.schvartzman
Fri Mar 15, 2019 7:38 pm
Forum: Talking LiveCode
Topic: Converting GPS timestamp to actual Date / Time
Replies: 3
Views: 292

Re: Converting GPS timestamp to actual Date / Time

Thanks Klaus! As most of the times LC positively surprises me making things really easy...

And the answer is:

Code: Select all

put mobileSensorReading ("location", true) into tDetails
put tDetails["timestamp"] into ActTimeStamp
convert ActTimeStamp from seconds to dateItems
by simon.schvartzman
Fri Mar 15, 2019 7:13 pm
Forum: Talking LiveCode
Topic: Converting GPS timestamp to actual Date / Time
Replies: 3
Views: 292

Converting GPS timestamp to actual Date / Time

As I'm a lazy animal before I start a test & try process I would like to check if anybody has already implemented a routine to convert the timestamp returned by the GPS put mobileSensorReading ("location", true) into tDetails put tDetails["timestamp"] into ActTimeStamp to the actual Date & Time. (do...
by simon.schvartzman
Mon Mar 11, 2019 9:44 pm
Forum: Android Deployment
Topic: Android doesn't ask permission to use camera
Replies: 5
Views: 508

Re: Android doesn't ask permission to use camera

Panos, the problem appeared with the following code: export snapshot from group "Group 1" of card "Capture" with metadata theMetadataArray to tData as JPEG mobileExportImageToAlbum tData I never declared specialfolderpath("external storage") because I don't need to. If the permission is not given th...
by simon.schvartzman
Mon Mar 11, 2019 8:54 pm
Forum: Android Deployment
Topic: Android doesn't ask permission to use camera
Replies: 5
Views: 508

Re: Android doesn't ask permission to use camera

Hi Panos (et all) I'm facing the same problem now with "Write External Storage". User is never asked to allow permission. Same bug as with the Camera? How to fix it.

Thanks
by simon.schvartzman
Mon Mar 11, 2019 7:44 pm
Forum: iOS Deployment
Topic: Rejected App due to HealthKit (HealthKit is not referenced)
Replies: 29
Views: 2610

Re: Rejected App due to HealthKit (HealthKit is not referenced)

Thanks Jacque. I guess I wasn't clear enough my suggestion was about a kind of "editor" that would handle (at once) all the steps involved in the process described by Panos - Open the existing plist file (of the app you just built) with a text editor - Delete the following part: <key>NSHealthShareUs...
by simon.schvartzman
Sat Mar 09, 2019 3:22 pm
Forum: iOS Deployment
Topic: Rejected App due to HealthKit (HealthKit is not referenced)
Replies: 29
Views: 2610

Re: Rejected App due to HealthKit (HealthKit is not referenced)

I wonder if it isn't the case for LC to provide some kind of tool to help dealing with this issues. Of course this is only valid until the definite solution is added to the IDE itself.

It seems something like a "plist editor" would be very useful.

Does it make sense?
by simon.schvartzman
Wed Mar 06, 2019 4:35 pm
Forum: Android Deployment
Topic: Android doesn't ask permission to use camera
Replies: 5
Views: 508

Android doesn't ask permission to use camera

I have this App that requires Location and Camera. When the App is run for the first time it asks for Location permission but it never asks to allow the Camera to be used...(which results in user frustration and support questions) This is the code I'm using to setup the Camera cameraControlCreate "M...
by simon.schvartzman
Wed Feb 20, 2019 6:58 pm
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 1996

Re: Mobile Sharing an Image via Whatsapp

For those readers interested in the subject please have a look at the following post

https://forums.livecode.com/viewtopic.php?f=53&t=32193

where you can see that the solution is much is really easy. Thanks Jacque!
by simon.schvartzman
Wed Feb 20, 2019 6:54 pm
Forum: Android Deployment
Topic: mobileComposeMail offers too many options
Replies: 2
Views: 312

Re: mobileComposeMail offers too many options

Thanks Jacque, makes sense. I guess it should be clarified on the Dictionary then. Note 1: A few hours ago I reported this as a Bug https://quality.livecode.com/show_bug.cgi?id=21845 It should be changed to "Documentation change" or something. I will add this remark on the bug report. Note 2: this f...
by simon.schvartzman
Tue Feb 19, 2019 5:06 pm
Forum: Android Deployment
Topic: mobileComposeMail offers too many options
Replies: 2
Views: 312

mobileComposeMail offers too many options

Unless I'm not understanding correctly the documentation (read the dictionary first as Klaus always says) mobileComposeMail is giving me options that it shouldn't... When i run the following script: on mouseUp export snapshot from group "Group 1" to temp as JPEG put temp into tAttachment["data"] put...
by simon.schvartzman
Tue Feb 19, 2019 1:33 am
Forum: Android Deployment
Topic: send email with attachment
Replies: 22
Views: 2621

Re: send email with attachment

Thanks for your suggestion Jacque. As a matter of fact I landed in this post because my first attempt with a "clean" version didn't work (meaning the picture was not included in the email as an attachment) This is my original code: export snapshot from group "Group 1" of card "Capture" to image "Aux...
by simon.schvartzman
Sun Feb 17, 2019 3:16 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 22
Views: 2621

Re: send email with attachment

Hi guys, I'm trying to use the hints given in this thread but failing miserably This is my code: set the umask to 002 put ("auxfile.jpg") into tFileName put specialFolderPath("documents") & "/" & tFileName into pFilePath --> --> EXTERNAL STORAGE! export snapshot from group "Group 1" of card "Capture...
by simon.schvartzman
Sun Feb 17, 2019 1:18 pm
Forum: Android Deployment
Topic: Common Android Deployment issues
Replies: 58
Views: 17350

Re: Common Android Deployment issues

Hi Keith I want to apologize if it was my answer that made you "feel being trolled". My answer was a consequence of my frustration with the lack of good documentation regarding Android installation. It took me several interactions (and I don't know how to reproduce the path) to get it working, as a ...

Go to advanced search