Search found 282 matches

by bwmilby
Thu Dec 20, 2018 3:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 1259

Re: Rest API Call for Aftership

After setting headers as before, should just be:

Code: Select all

get url tUrl
by bwmilby
Thu Dec 20, 2018 7:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 1259

Re: Rest API Call for Aftership

Code: Select all

put temp["data"]["tracking"]["id"]
All of the keys are one more level down in the array. Also helpful to insert a breakpoint after the import to examine the actual array.
by bwmilby
Wed Dec 19, 2018 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rest API Call for Aftership
Replies: 10
Views: 1259

Re: Rest API Call for Aftership

Try...

put "ABCD" into myData["tracking"]["tracking_number"]

Site is expecting a nested dictionary based on the initial example.

Since the full JSON is provided in the curl example, you could just use that and merge in your tracking number.
by bwmilby
Wed Dec 19, 2018 4:25 am
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 2868

Re: Mobile Sharing an Image via Whatsapp

My guess is that there is an Android API that could be leveraged in the same way as the iOS external. Using the FFI capabilities of LCB a library could be built to allow access to those functions from LCS. See the Toast Notification Library as an example.
by bwmilby
Wed Dec 19, 2018 12:48 am
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 2868

Re: Mobile Sharing an Image via Whatsapp

No problem. I had an idea when I first saw the thread but it took me a bit to locate the correct command.

I think the URL direction is the way for Android. I’m not aware of an external, but with LCB it should be possible.
by bwmilby
Tue Dec 18, 2018 10:56 pm
Forum: Talking LiveCode
Topic: Mobile Sharing an Image via Whatsapp
Replies: 26
Views: 2868

Re: Mobile Sharing an Image via Whatsapp

Did you look at mergPopActivity as a possible solution?
by bwmilby
Mon Dec 10, 2018 12:34 am
Forum: LiveCode Builder
Topic: Default handler list
Replies: 5
Views: 1301

Re: Default handler list

Those examples are messages that the widget sends. You should be able to add them just like the LC default widgets. They are included in the docs at the top of the widget.

The default script/comments appear to be copied from support/defaultscript.livecodescript for each handler that is added.
by bwmilby
Thu Nov 29, 2018 1:03 am
Forum: Feature Requests
Topic: Livecode still way too slow....
Replies: 42
Views: 10674

Re: Livecode still way too slow....

Also don't agree with the LCB path taken. I think LC script itself should be improved to handle that task as well instead of creating a new language (without IDE too...). That is a point I have been musing about. I do not use LCB. @Richard. Can you give a brief summary of the benefit/momentum/excit...
by bwmilby
Tue Nov 27, 2018 1:29 am
Forum: Android Deployment
Topic: Deployment to Kindle Fire 7”
Replies: 13
Views: 1878

Re: Deployment to Kindle Fire 7”

Quite odd... I’ve been using the latest version of 9 just fine on my Fire 7 with MT8127. Fire OS 5.3.6.4
by bwmilby
Mon Nov 26, 2018 10:32 pm
Forum: Android Deployment
Topic: Deployment to Kindle Fire 7”
Replies: 13
Views: 1878

Re: Deployment to Kindle Fire 7”

What cert are you using? The apps must be signed to run. I just sign for development only. I have built stuff for my Fire 7. I’ve been considering a Fire HD 8 as an additional device.
by bwmilby
Wed Nov 07, 2018 12:02 am
Forum: Extending LiveCode
Topic: Docset Reader now on LiveCode Share
Replies: 47
Views: 7904

Re: Docset Reader now on LiveCode Share

Couple of quick notes... 800 is too tall for some laptops. Mine is only 768 (1366 wide) so it would really need to be closer to 700. While desktops/laptops can’t rotate, if you resize wide/short then the landscape view may be useful. I mainly use Dash anyway though. I did test it the other night on ...
by bwmilby
Fri Nov 02, 2018 8:25 pm
Forum: Talking LiveCode
Topic: Plug-in stack script not surviving sessions
Replies: 11
Views: 1125

Re: Plug-in stack script not surviving sessions

I think we need to see more of the handler in question.

What about the following:

Code: Select all

on saveStackRequest
   pass saveStackRequest
end saveStackRequest
by bwmilby
Wed Oct 31, 2018 10:57 pm
Forum: Talking LiveCode
Topic: Plug-in stack script not surviving sessions
Replies: 11
Views: 1125

Re: Plug-in stack script not surviving sessions

Do you end it with a pass? If you intercept the saveStackRequest then you abort the save I believe.
by bwmilby
Tue Oct 30, 2018 11:00 pm
Forum: Android Deployment
Topic: Common Android Deployment issues
Replies: 58
Views: 25314

Re: Common Android Deployment issues

Have you tried Android Studio? I just downloaded this a while back: android-studio-ide-173.4907809-mac.dmg Version is up to 181 now though. I opened the image and installed studio using the defaults. Once done I launched Android Studio. There is a gear on the splash window when it opens that allows ...
by bwmilby
Mon Oct 29, 2018 1:03 am
Forum: Extending LiveCode
Topic: Javascript help required
Replies: 3
Views: 1205

Re: Javascript help required

$.each(dataGet(), function(index, value) { I figure it is a loop construction and it will step through each item retrieved by the "dataGet()" function. Now following the comma there is "function(index,value)" http://api.jquery.com/jquery.each/ What you are seeing is an anonymous function (not posit...

Go to advanced search