Program example

Use this board to ask questions or have discussions with other Rich Displays users.
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

Just running it from the browser.
How do I create the app? In the links I did not find any instructions on how to create the app.
Thanks
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Program example

Post by Scott Klement »

Not sure if you're creating the app for iOS or Android. But the process is something like:
  • Copy the mobile template for your device
  • rename the appropriate bits
  • Modify the app.js to call your RPG program. Also add any special routines (like the takePicture() routine from my webinar)
  • Save changes.
  • Test
There are more detailed instructions on our site, here:
http://www.profoundlogic.com/docs/displ ... evelopment
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

Yes, I was running it from the browser.
Where can I find the steps to create the app?

Thanks
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Program example

Post by Scott Klement »

Did you see my previous post, above? It explains how to create the app.
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

After expending sometime to put it to work , I created the app using PHONEGAP version
2.1.0.

I lauch the program in my Ipad but when I hit the botton to take the picture I get the
error
Index.html
Camera unavailable

Any help will be appreciate.
Thx
Antonio
Profound User
Posts: 82
Joined: Fri Jun 29, 2012 2:33 pm
First Name: Antonio
Last Name: Ruballos
Company Name: Profound Logic
Contact:

Re: Program example

Post by Antonio »

Hello,

Could you send me your index.html file, along with any other files it is dependent on? I am going to recreate your problem so I can begin debugging it.

Thanks alot
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

Here are the files you asked me for.
Attachments
index.html.doc
Renamed to avoid the uploading issue with html
(813 Bytes) Downloaded 255 times
app.js
(1.02 KiB) Downloaded 453 times
Sources.doc
(31 KiB) Downloaded 429 times
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

Hi Antonio:

Any news?
I can send you the Xcode project attached to an email to support.
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Program example

Post by jac53 »

I would like to know if there is any update in this topic.
Antonio
Profound User
Posts: 82
Joined: Fri Jun 29, 2012 2:33 pm
First Name: Antonio
Last Name: Ruballos
Company Name: Profound Logic
Contact:

Re: Program example

Post by Antonio »

Sorry for the delay.

I downloaded your attachments and found myself to have the same problem. I recreated the program from scratch based on the documentation we have for doing a photo application and it didn't work either. At the moment, I suspect we have a bug in our API but it is proving difficult to debug. However as soon as we get some significant progress I will update you on it.

You can send me your xcode project as well and I can take a look at it, but I assume you followed the documentation instructions correctly and are having the same issue I am. (The instructions listed here: http://www.profoundlogic.com/docs/displ ... ile+Device
)
Thanks for your patience.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest