Profound mobile HTML5

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
kyosuke
New User
Posts: 16
Joined: Mon Jan 18, 2016 5:50 am
First Name: alexis
Last Name: boisson
Company Name: tereva
Contact:

Profound mobile HTML5

Post by kyosuke »

Hello,

I am looking for a way to add file input to add possibility to take picture so i did it and it s work on start menu but when i try on profound ui mobile app the input file does not appear and same thing for google maps.
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: Profound mobile HTML5

Post by Scott Klement »

I assume you're refering to the "file upload" widget? If not, what do you mean by "file input"? What sort of problem is occuring when you use this, the file upload widget is not visible on the display?

For what it's worth, the "normal" way to capture photos in a mobile app is to use the pui.capturePhoto() API, described at the following link. (Though, file upload should also work.)
http://www.profoundlogic.com/docs/pages ... Id=8519752

How are you doing google maps? If you are using the Google Maps widget, I would suggest using an iframe widget instead. Google Maps is a 'custom widget" that we ship with the visual designer as a demonstration. However, for performance reasons, mobile apps don't find/download all of your custom javascript files by default. So if you want to use a custom widget like Google Maps, you'll need to explicitly load the JS file in your mobile app. But, I would recommend simply using an iframe widget instead. Honestly, the Google Maps widget doesn't do very much for you, it's really just an iframe where the URL is pre-set. If you make your own URL that points to Google Maps, the iframe widget will work fine, and does not require any custom widgets.
kyosuke
New User
Posts: 16
Joined: Mon Jan 18, 2016 5:50 am
First Name: alexis
Last Name: boisson
Company Name: tereva
Contact:

Re: Profound mobile HTML5

Post by kyosuke »

Yeah sorry I do not do refering to the "file upload" widget , I created a custom widget type file input a html5 tag, but you answered my question if i want to see my custom widget on mobile i need to add JS manually. Can you tell me how to explicitly load the JS file in mobile app ?

Thank you and sorry for my bad english.
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: Profound mobile HTML5

Post by Scott Klement »

Your display file has an "external Javascript" property. (It's one of the screen-level properties.) You can point this to a URL to your custom widget (or any other JavaScript file) to have it be loaded from your mobile app.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest