Page 1 of 1

LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 4:38 am
by atostaine
Was this ever available? I understand support may not be offered.

Was it called Long Range back during Windows 7 days?

I need a VLWEB page running on Windows 7 to be able to take a picture and store it in a BLOB.

Thanks

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 10:27 am
by tsupartono
You may not need LANSA Mobile.

Can you tell us a bit more what you are trying to do with the picture once taken?

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 11:11 am
by atostaine
I want to save it as a blob. My app works with windows 10 and LANSA Mobile I click a button i have for camera, then they click the button in the camera pop up to take the picture.

I don’t want the users to have to use another app to copy and paste the picture

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 11:15 am
by tsupartono
When you say save it as a BLOB, you mean as a file on the Windows file system?

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 11:22 am
by atostaine
Sorry no. I want to upload it to IBM i. If I could save it to the IFS that would be fine. It would have to be as easy as the BLOB is.

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 11:29 am
by tsupartono
Have a look at this one - this should work on Chrome.

https://developers.google.com/web/funda ... ng-images/

You would need to write a widget.
Once you have the picture on a canvas, you can pass the Base64 encoded picture to VL web, convert it to BLOB, and send it to the server.

And to answer your original question - LANSA Mobile does not run on Windows 7.

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 11:37 am
by atostaine
Thank you. As of now they are ordering 4 new PC's. It's time anyway. Some still run XP :roll: :twisted:

I've never written a widget, maybe I'll look at some of the samples.

Re: LANSA Mobile for Windows 7

Posted: Tue Mar 26, 2019 12:37 pm
by dannyoorburg
Hi Art,

PRIM_WEB.FilePicker will let you take a picture and give you the BLOB to send to the server, or is there more to it?

https://docs.lansa.com/14/en/lansa016/p ... picker.htm

Or is there more to it?

Cheers,
Danny