Search found 10 matches

by Siyaman
Fri Mar 07, 2014 9:34 am
Forum: Questions & Answers - RPG and RDMLX
Topic: When is LONGRANGE javascript object available
Replies: 1
Views: 2165

When is LONGRANGE javascript object available

In the Programming LongRange With JavaScript document most of the APIs use the LONGRANGE object to access the custom APIs. I'm developing an app on an iPad 2 with iOS 7 and found that the LONGRANGE object is not immediately available when the webview loads and hence all my resulting code did not ...
by Siyaman
Sat Mar 01, 2014 4:37 am
Forum: Questions & Answers - RPG and RDMLX
Topic: Show Tab Bar on all form views
Replies: 1
Views: 1956

Show Tab Bar on all form views

Hi,

I have a menu with five items that I'm using as a tab bar. The five items represent the five main sections in the app. The tab bar correctly shows on all the forms that are in the tab bar but on no other form views. My client will be creating additional forms that are linked from the five main ...
by Siyaman
Fri Feb 14, 2014 3:18 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (RDMLX) Transition between offline forms
Replies: 1
Views: 2095

(RDMLX) Transition between offline forms

Hi,

Currently when transitioning between offline forms there is a loading animation with the screen slightly darkened. Is it possible to remove this transition and make the app feel more native? The app is not too complicated and it is already transitioning quickly between forms. Is it something ...
by Siyaman
Thu Feb 06, 2014 10:12 am
Forum: Questions & Answers - RPG and RDMLX
Topic: LREX0304: Offline searching sample in V12
Replies: 1
Views: 1882

LREX0304: Offline searching sample in V12

Hi,

I'm working through the LongRange offline samples in Visual Lansa V12. It seems that V12 does not support #Com_Owner.Set_{action} calls such as
#Com_Owner.Set_Binding Name('SEARCHVALUE') Property(VALUE) Bindtotype(GVAR) Bindto('LREX0304_SURNAME')
so I'm trying to use the alternative
#Com ...
by Siyaman
Wed Feb 05, 2014 1:35 am
Forum: Questions & Answers - RPG and RDMLX
Topic: Reading web view content from LongRange container
Replies: 4
Views: 3561

Re: Reading web view content from LongRange container

The application is a native LongRange form. The web view control is only for login so that the user can enter their credentials and authenticate against a third party Active Directory Federated Service. We want the native LongRange form to be able to interact with the web view control so that we ...
by Siyaman
Tue Feb 04, 2014 9:52 am
Forum: Questions & Answers - RPG and RDMLX
Topic: Reading web view content from LongRange container
Replies: 4
Views: 3561

Reading web view content from LongRange container

Hi,

We want to use Active Directory Federation Services to do our LongRange app authentication. Unfortunately the way Active Directory Federation services works is that it redirects the webpage to the third party login form and returns a cookie and token on successful authentication.
Is it ...
by Siyaman
Fri Nov 29, 2013 3:47 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (HTML) Local Storage not accessible on Android
Replies: 1
Views: 2401

(HTML) Local Storage not accessible on Android

HTML 5 JS API localStorage is not accessible on Android LongRange when using WebView. I'm currently using a Samsung Galaxy S3 with Longrange 1.0.6 with Android 4.2. The same setup on iPhone works without a problem.
My code looks as follows

function loadUsername() {
if(isWebStorageSupported ...
by Siyaman
Fri Nov 29, 2013 3:23 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (HTML) FileURL returned by LONGRANGE.Camera is inaccessible
Replies: 5
Views: 4827

Re: (HTML) FileURL returned by LONGRANGE.Camera is inaccessi

I've tried the following devices and all of them could not retrieve the image using the filePath URL.
iPhone 5 (iOS 7, LongRange 1.0.19)
iPhone 4s (iOS 7, LongRange 1.0.19)
Samsung Galaxy S3 (Android 4.2, LongRange 1.0.6)
Nexus 10 tablet (Android 4.4, LongRange 1.0.6)

I've noticed on the Android ...
by Siyaman
Thu Nov 28, 2013 3:10 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (HTML) FileURL returned by LONGRANGE.Camera is inaccessible
Replies: 5
Views: 4827

Re: (HTML) FileURL returned by LONGRANGE.Camera is inaccessi

I made the suggested changes but I'm still not getting the image to show up from file. The file path that is being returned by the LONGRANGE.Camera.show call is file:///var/mobile/Applications/317F2429-7754-4C25-8DA8-F69C4213BC5D/Library/Caches/com.lansa.mobile.LongRange/BeaconMobile_dev.beacon.co ...
by Siyaman
Tue Nov 26, 2013 9:34 am
Forum: Questions & Answers - RPG and RDMLX
Topic: (HTML) FileURL returned by LONGRANGE.Camera is inaccessible
Replies: 5
Views: 4827

(HTML) FileURL returned by LONGRANGE.Camera is inaccessible

I tried the Programming LongRange with Javascript examples and documentation, specifically LRScript05.html. I modified the example to read the fileURL instead of loading the image data directly. On line 89 I changed
photoImg.src = 'data:image/jpeg;base64,' + result.data;
to
photoImg.src = result ...