Jump to content

ghamm

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by ghamm

  1. I figured it out.. When Installing, I ONLY chose Tokyo.. this has some bug and wont installl some missing files.. When I ran the default and left all of the of the other versions checked, it worked fine that time
  2. when I try to compile the package uniGUI25Chart.. gives me an error saying UniChart.pas is missing.. I cant see the file anywhere and have searched the forums for ideas.. Can you help?
  3. Any more thoughts on this? I can seem to make this work.
  4. Ok, Id appreciate any help on this..
  5. No, No Alert is not displayed.. Im testing this on my Iphone 6, not sure if that makes a difference. I try to swipe any direction. Is there something else I need to turn on?
  6. I tried this in my UniGui Code.. I cant get my web app to detect my swipe.. Im not even trying the ajax event yet.. any thoughts? MainmForm -> ClientEvents -> UniEvents [Ext.Container[window]] add window.afterCreate fn: function window.afterCreate(sender) { sender.element.on("swipe", function(e){ alert("onSwipe") } ) }
  7. Let me explain the need... maybe im going about this wrong.. Right now, the selectors in a warehouse have a sheet of paper listing all of the stores that need product. Next to the store (On the list on the paper) shows how many items the store ordered.. This is for a single product. Right now, the user holds the paper in his or her hand, and walks around selecting the correct quantity for each store on the list. This is hard because the user must hold the paper with the list of stores and grab product at the same time.. We want to free up their hands, and will also make it easier on the eyes, they wont get confused as to which store they are on.. Right now, they check it off the list when they are done. I am trying to show proof of concept to replace a phone app that I wrote.. My idea is to have a mobile device on the users wrist, and they start with the first store/quanity.. fill the order for that store.. swipe, get the next store/ Quanity and so on. There are about 100 stores/swipes. This way, as they step sequentially though the list, they are ONLY seeing one store at a time on their wrist..They can swipe backwards too if they want to confirm their work etc.. I could use an arrow on each side of the form, but I'm thinking a swipe would be easier. Hope this helps. Gordon
  8. I did see that, thank you .. but was hoping that it might be easier to implement than having to do an Ajax call. What are your thoughts on using up to 100 pages in a carousel?
  9. Is there any way to do a swipe without using a carousel? Something easier than using an Ajax event?
  10. Hi, For an app I'm testing concept of, the warehouse worker uses their device in landscape.. There are up to 100 pages that they scroll through, each shows a store name and a quantity.. Every page is the same except for these 2 variables. 1. I have this working using a carousel concept, but this would mean that here could be 100 carousel items.. Would that be too many? 2 Really, what I want is to have one page, and the user scrolls left or right, and the labels just change.. use a variable to maintain position in my array of 100 stores.. Can you tell me how to do gestures swipe left and right without using Carousel? Or is carousel the way to go? Gordon
  11. Ive been using the UniGui demo so far, and like what im seeing.. I have my UniGui server talking to my middleware (KBMMW) and KBM talks to my firebird server. Most of my DB Queries/logic is in Stored procedures or KBM, Not in UniGui. So far, works nice. Gordon
  12. Hi, Is there a way to lock the mobile screen (By Code) to horizontal position? (Orientation Landscape)
  13. ghamm

    Mobile questions

    Thank You! That would be wonderful!
  14. ghamm

    Mobile questions

    Thank you.. That makes great sense.. I did read the sencha stuff, but Im not really sure how that is used with UNIGUI.. Do I have to write some JS into my UNIGUI to use profiles? I love the profiles idea. Gordon
  15. ghamm

    Mobile questions

    Ok,thats great! Thank you.. 1. Would the same be for tablets? Im thinking they might need forms of their own? 2. With what you said, Im assuming that the web forms and mobile forms will still need much of their own logic? Separate code?
  16. Hi, I have some data.. Its a realtime updated data feed, that I want to share between all sessions.. What would be be best way to share this var/TList etc between sessions? Simply use a critical section in the context of my session? Is there some other built in way that the server can share data that I'm not aware of? Gordon
  17. ghamm

    Mobile questions

    Thank you for the link, that helps with examples of what can be done.. Im still confused about some basic concepts.. I sort of understand how the soAutoPlatformSwitch works, it goes to one form or another based on what platform the user has.. But what I dont understand is .. there are many kinds and sizes of Mobile devices.. Are you implying that I need to make a form for each possible size of mobile device? If so, does each then have to have its own code to maintain? If In fact that there needs to be provisions for every size and shape, then how do i direct the server to load proper form for the mobile device size? OR, does UNIGUI autoscale for different sizes of mobile devices, and In that case, I dont need to worry about it?
  18. ghamm

    Mobile questions

    Thank you for the reply.. Im looking at the demo. With regards to mobile.. Does Unigui autoscale mobile apps based on what phone the user has? It looks like Im going to have lots of redundant code if I want many formats? I guess I should make some reusable classes?
  19. ghamm

    Mobile questions

    Hi, Have success with my demo.. Now I want to move to something I'm really interested in.. I want to build a Unigui server that will serve web browsers and phones both.. 1. In looking at the demos, it appears that the components for Web are different than the Mobile components? 2. How does my Unigui server know what to serve? Is there a flag that sends the user to a mobile section of code? How does it know what sizes to use? Are they different components all together or just sizing issue? I'm thinking they are totally different components. Does that mean that you need 2 different servers running with different listening ports? Im a little lost on the mobile thing Gordon
  20. Hi, Ive got my app working with a timer.. but still feel that ist not very elegant.. I would still like any ideas how to update gauges and controls with some sort of message when data changes on the server. Im trying to get around writing a real app, but banging my head against the wall trying to find an elegant way. I sure wish i understood JS and web stuff more..
  21. Maybe Im making this harder than I need it to.. Maybe just a timer every few seconds would not be that big of a deal. I would be much more elegant to have some push notify from the server using websockets etc.. But I dont understand the underlying architecture with Unigui, to know how to implement something like that.. Im also lost in the JS stuff. For now, maybe just a timer/refresh?
  22. Thank you for all of the feedback.. Im excited to play with the Websocket stuff, it looks great. I dont have any trouble getting messages to and from my delphi UNIGUI server.. Maybe Im just making this harder than it needs to be.. but I cant see how my browser (That is running HTML5 unigui) and get a message real time from my server or some other place. Im thinking I need some sort of JS component in my app? Also, I like the ease of using long polling..ive used that before .. Im not clear what server Im long polling? Sorry for my lack of understanding
  23. That sounds interesting.. Im pretty strong in TCPIP, but really know nothing about Javascript etc.. thats one challenge I have. I was hoping that my messages could come through the context of my Unigui session/thread. that would be the easiest. I got thinking, what actually happens with a timer? Does it actually reload the whole page as a request? Or can you change dataaware grids/fields on the Fly? I was thinking that UniGui was NOT totally stateless, but maybe it is? Really, Im trying avoid writing an IOS app, and using UniGui to connect to IOT type stuff.
  24. Hi, Im curious.. lets say I want to write an app, with a graph etc.. maybe Im monitoring stats on a machine, RPM, temperature etc.. Can messages or push notifies be send to my browser? 2 way messaging? Does unigui web app maintain a async connection with the server? If not , I guess Id have to do polling, yuck.. Gordon
  25. This is a perfect use for a KbmMemTable.. you can load the data from a datastream, list etc.. and treat it like a DB. Why don't you like this approach?
×
×
  • Create New...