Author Topic: Version 4  (Read 5522 times)

sperryruss

  • Newbie
  • *
  • Posts: 4
Version 4
« on: June 29, 2011, 01:31:20 AM »
I just found your programming tool. I want to create a program that will retrieve info and radar images from the internet. After experimenting with it I found that it will not do that. From what I have read your new version 4 may be able to do that. Is that correct? If so, how long till you release that version?

Thank.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 461
  • Here to help you
Re: Version 4
« Reply #1 on: June 29, 2011, 05:36:14 AM »
We are sorry but the release of V4 is on effectively hold for now as we have so much work to do on our HyperNext for Android.

I assume you need something with more internet functionality than HyperNext, such as ftp or better comms/connectivity because HyperNext V3.x can download files using HTTP.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

sperryruss

  • Newbie
  • *
  • Posts: 4
Re: Version 4
« Reply #2 on: June 30, 2011, 03:57:19 AM »
I am new at programming in any language. So I might have missed something. I want to have one or more windows that could contain a weather radar image that is retrieved in real time from the internet and displayed in the program window. Will the HyperNext 3 do that?

Thanks Again.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 461
  • Here to help you
Re: Version 4
« Reply #3 on: June 30, 2011, 07:47:35 AM »
I'm not sure if this is of any help but here is a simple script to download an image from the web. It doesn't access php etc but just an image in a folder on our website.

You need 1 button, 1 field and 1 canvas on your card.
Put the script below in the button.

Code: [Select]
Local webaddr,yield,timeout,filename,okay

@ Set params for URLexists function
HTTPSetHeaderName('User-Agent')
HTTPSetHeaderValue('My Web Browser')
Put 'http://www.tigabyte.com/hnfiles/images/desktop2.jpg' into webaddr
Put 1 into yield
Put 30 into timeout
Put 'image.jpg' into filename

Put URLexistsFN(webaddr,yield,timeout,filename) into okay

If okay=1 Then
    Put 'okay' into field 1
    CanvasLoad(1,filename,1)
Else
    Put  'unsuccessful' into field 1
EndIf
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

sperryruss

  • Newbie
  • *
  • Posts: 4
Re: Version 4
« Reply #4 on: June 30, 2011, 05:16:33 PM »
Hi Malkom,

Okay, that works. I changed the url to  a NOAA weather image and it worked. The image is an animated gif of rain movement. When I run it in my program it only shows as a static image. Is there anyway to view the animated gif in my program?

I have a lot to learn about this HyperNext.  :P

Thanks for your help.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 461
  • Here to help you
Re: Version 4
« Reply #5 on: July 01, 2011, 05:54:17 AM »
Quote from: "sperryruss"
Hi Malkom,

Okay, that works. I changed the url to  a NOAA weather image and it worked. The image is an animated gif of rain movement. When I run it in my program it only shows as a static image. Is there anyway to view the animated gif in my program?

I have a lot to learn about this HyperNext.  :P

Thanks for your help.

I'm sorry but the canvas cannot play an animated gif. The movie player can but it is buggy on some Windows platform setups.

Of course its possible to get a similar effect by showing a sequence of gif images in a canvas using a timer to load and display them.

Anyhow, I'll add this gif animation feature to the To-DO list.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

sperryruss

  • Newbie
  • *
  • Posts: 4
Re: Version 4
« Reply #6 on: July 01, 2011, 03:23:32 PM »
Okay, thank you.
« Last Edit: January 01, 1970, 01:00:00 AM by Guest »