Profound UI and rpg
Posted: Fri Aug 03, 2012 10:02 am
Hey guys. I'm currently having a problem with my profoundui/rpg program.
I am using profoundui program running inside of a phonegap application on my android mobile device. I'm using a phonegap javascript function to grab the geolocation latitude and longitude from the device. I used the profoundui "changeElementValue" javascript function to populate some onscreen outputfields with these coordinates.
I next concatenate these values into one comma separated string and assigned to another onscreen outputfield via the same "changeElementValue" function. These 3 variables are bound to rpg variables by the way.
now i move to a next format that shows a "google maps" widget whose "google maps address" is bound to the said onscreen/rpg variable (whose content is the comma separated coordinates).
However the widget does not display anything. I did some debugging and found that moving from one screen to the next the outputfields are being reset somehow. I also did a "pui.click()" after grabbing the geolocation coordinates and assigning them to the rpg variables (onscreen)
and noticed that after this function the variables are reset.
My question is how do i make these variables persistent across screens and why does it seem as though the profoundui javascript functions do not change the rpg variables in my program?
I am using profoundui program running inside of a phonegap application on my android mobile device. I'm using a phonegap javascript function to grab the geolocation latitude and longitude from the device. I used the profoundui "changeElementValue" javascript function to populate some onscreen outputfields with these coordinates.
I next concatenate these values into one comma separated string and assigned to another onscreen outputfield via the same "changeElementValue" function. These 3 variables are bound to rpg variables by the way.
now i move to a next format that shows a "google maps" widget whose "google maps address" is bound to the said onscreen/rpg variable (whose content is the comma separated coordinates).
However the widget does not display anything. I did some debugging and found that moving from one screen to the next the outputfields are being reset somehow. I also did a "pui.click()" after grabbing the geolocation coordinates and assigning them to the rpg variables (onscreen)
and noticed that after this function the variables are reset.
My question is how do i make these variables persistent across screens and why does it seem as though the profoundui javascript functions do not change the rpg variables in my program?