At Digital Pomegranate, our team members wanted to do a simple App for the upcoming LiveCode conference and us it as a form of training. But we also came up with a simple, but great business plan to create a profitable business given the number of conferences that happen today, We found a few existing solution, but none automated ALL the functionality needed: web, admin, registration, speaker management and an App for Attendees.
This is the topic of my talk at the LiveCode Conference. The junior programmers have come up with their first draft and you are free to check out the code on git hub: https://github.com/digitalpomegranate/L ... erence2016 It is done in LC8 and uses widgets, so you will need that version.
But....we have a potential bugs
1. it seems we were having trouble getting the mergJSON to work on Android. is there something special we must to other then just add it to the project? It is working on Windows.
2. Second bug is not so simple. We want people in the community to be able to take their picture and create a simple profile. That profile will use our new new WP REST API lib to save as WP Post. The problem is when we post the binary image using POST HTTP, it fine on the desktop, but is giving errors on Android. Is does the call and we see an entry in the media section of WP, but no image. We tried base64, but that did not work.
Has anyone successful posted a binary image to an HTTP on an Android phone? Are we missing something. You can find that part of code in card "addUser", open the script of button "done"(on the top of the card) on line 33 we get the image binary, [the convert it in base64 line is commented out] and after post it, by calling mediaCreate function of the WP REST API
To have the App on time for the conference, we are going to submit this with the bug, or we man not get approval in time for Aug 1st.
Draft LiveCode Conference App for 2016, but we have a bug
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 280
- Joined: Fri Jan 09, 2015 6:15 pm
Re: Draft LiveCode Conference App for 2016, but we have a bu
Hi Todd,
Quick untested response.. probably stating the obvious?
As I understand it the libURLFormData is not available for mobile platforms .. if this is being used.
Also I believe post URLEncode() is required for mobile.
I will do some testing for Android later today.
Quick untested response.. probably stating the obvious?
As I understand it the libURLFormData is not available for mobile platforms .. if this is being used.
Also I believe post URLEncode() is required for mobile.
I will do some testing for Android later today.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search
Re: Draft LiveCode Conference App for 2016, but we have a bu
Hi Andy,
We do not use libURLFormData in our app. As for URLEncode, we have already tried it but it didn't help.
Let us know if you find any other solution.
Thanks,
Narek
We do not use libURLFormData in our app. As for URLEncode, we have already tried it but it didn't help.
Let us know if you find any other solution.
Thanks,
Narek
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Draft LiveCode Conference App for 2016, but we have a bu
Todd - thanks for posting this.
On line 38 of btn "Done" of cd "addUser" is a call to mediaCreate, defined in the WPRESTAPI library substack. Line 2342 of that library script sets the file name within the data to "userimae.png". I haven't seen the corresponding WP PHP, but could it be that it expects "userimage.png" instead?
If that's not the issue, perhaps the image needs to be base64'd first. I believe that's customary for binary data submitted with a content type for multipart form data, with truly binary data allowed when the content type is file.
On line 38 of btn "Done" of cd "addUser" is a call to mediaCreate, defined in the WPRESTAPI library substack. Line 2342 of that library script sets the file name within the data to "userimae.png". I haven't seen the corresponding WP PHP, but could it be that it expects "userimage.png" instead?
If that's not the issue, perhaps the image needs to be base64'd first. I believe that's customary for binary data submitted with a content type for multipart form data, with truly binary data allowed when the content type is file.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn