Search found 33 matches

by edwardtn
Mon Jul 25, 2022 11:24 pm
Forum: Questions & Answers - RPG and RDMLX
Topic: iOS Version 1.37.1
Replies: 0
Views: 12613

iOS Version 1.37.1

I am having issues with the newest iOS version of LongRange. External JavaScript files (jquery.js) are not loaded. JavaScript is executed but JQuery is not found. It seems like images are not found either.

Has anyone else encountered this? Is anyone still using LongRange to deliver hybrid apps? Is ...
by edwardtn
Wed Nov 23, 2016 7:46 am
Forum: Questions & Answers - RPG and RDMLX
Topic: [RDMLX/JS] Create PDF from AJAX response attachment
Replies: 1
Views: 2474

[RDMLX/JS] Create PDF from AJAX response attachment

I am trying various methods of creating PDF documents for printing/emailing from within LongRange. I am making and AJAX call and have a PDF generated in a cloud service which is encoded in the HTTP response. If I make the call with a synchronous form, the PDF is opened in the current webview...what ...
by edwardtn
Wed Nov 16, 2016 2:10 am
Forum: Questions & Answers - RPG and RDMLX
Topic: Offline solution.
Replies: 2
Views: 3688

Re: Offline solution.

I would like to offer my experience as it may be pertinent. We developed an app with LongRange to support a mobile sales force in the Agriculture vertical. With most customers living in rural areas, the app was designed to work offline. Our salesmen have up to several hundred accounts and thousands ...
by edwardtn
Tue Feb 02, 2016 1:53 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

Hi Tony,

Thanks. That is the result I got when using window.open(url, "_blank"). It works...but I just don't think it would be best for our use case, where the mobile sales force may be sharing product/marketing material with potential customers.

I have shifted course in my testing by enabling ...
by edwardtn
Sat Jan 30, 2016 1:12 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

Tony,

I'm still having trouble coding the simple 'Open' command. I think the issue to do with my app design and the way the webview works. My app does not have a LongRange TitleBar or Menu, everything is created in HTML5 and uses the JavaScript APIs (kind of like using LongRange in a manner similar ...
by edwardtn
Fri Jan 29, 2016 1:25 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

I can probably preview the file(s) in an iframe (or object) and add the support for 'open in' and 'share' once available. Our target delivery to 100+ users is September, 2016, so giving some lead-time for implementation and test - probably no later than June, 2016 to be in the first release. Of ...
by edwardtn
Thu Jan 28, 2016 8:00 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

Yes, I think that should work.
by edwardtn
Thu Jan 28, 2016 7:39 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

I was just looking at my post and realized that if there were just operations for "Open", "Open In...", and "Email" (where the local file would be attached) that would work. I would worry about the UI in that case. Maybe it could be added as a method (or methods) to the LONGRANGE.LocalFiles API ...
by edwardtn
Thu Jan 28, 2016 7:33 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

Re: (RDMLX/JavaScript) Open URL in Browser

I think the second option would work best...so long as it can be controlled by the JavaScript API. What would work best for me would be something like the functionality in the LongReach app (in the attached screenshot).

My use case is downloading Sales/Marketing material for a mobile salesforce ...
by edwardtn
Thu Jan 28, 2016 6:28 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX/JavaScript) Open URL in Browser
Replies: 11
Views: 8897

(RDMLX/JavaScript) Open URL in Browser

I am using the JavaScript FileTranfer API to download a file (PDF) to the device. I would like to open the file in the native browser (in order to have the native sharing/open in menu). I am trying to use the LONGRANGE.Form openurl operation, but I am unsure how to format the URL for the browser. I ...