Hi Steve, You know how you can pass in pixelRatio=1.5, can I also pass in strings of my own? for example I could include the channel to connect to my irc client by specifying it in the url? Would be very cool.
On Friday, May 6, 2016 at 10:05:54 PM UTC+8, Gareth Murfin wrote: > > Ooops super dumb sorry it "just works" veryyyy cool!!! Didnt realise the > war had an index :) > > On Friday, May 6, 2016 at 10:02:57 PM UTC+8, Gareth Murfin wrote: >> >> >> Hi Steve I cant figure out how this works >> >> <h2>iPhone 3GS</h2> >> <div id="div-3gs"> >> <iframe src="CSSDemo/index.html?pixelRatio=1 >> <http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1> >> "></iframe> >> CSSDemo >> <http://solutions.weblite.ca/codename1/demos/CSSDemo/index.html?pixelRatio=1>/ >> >> is your webapp ? </div> >> >> where did index.html come from, and whats pixelratio? Is there anything >> I can explore about this. >> >> Thanks >> Gaz >> >> On Friday, May 6, 2016 at 7:23:00 AM UTC+8, Steve Hannah wrote: >>> >>> You can embed it in an iframe. See this page for an example: >>> http://solutions.weblite.ca/codename1/demos/CSSDemo.html >>> >>> I have 3 iframes on this page all including the app at different >>> densities. >>> >>> Steve >>> >>> On Thu, May 5, 2016 at 3:32 PM, Gareth Murfin <[email protected]> >>> wrote: >>> >>>> Awesome thanks for joining the chat steve, after running ccleaner all >>>> the errors actually went away, works great on opera and canary. My final >>>> questions for now are about improving the loading screen, I think I read >>>> somewhere how to customise that, so I can google that. Other than that I >>>> was wondering if you can embed the app inside another html document ? Not >>>> a >>>> huge deal but it would be good for various reasons, almost like the applet >>>> days lol :) >>>> >>>> >>>> On Friday, May 6, 2016 at 5:51:17 AM UTC+8, Gareth Murfin wrote: >>>>> >>>>> one funny thing is it seems to have that error even when im not >>>>> reading or writing, unless its the log file its writing to >>>>> >>>>> On Friday, May 6, 2016 at 5:50:30 AM UTC+8, Gareth Murfin wrote: >>>>>> >>>>>> Im using the .war on a tomcat installation on amazon. I tried >>>>>> clearing local storage but it still seems to happen. Im actually using >>>>>> chrome canary not sure if that matters, my ordinary chrome is infected >>>>>> and >>>>>> crashes when i visit url too. I will email you a link to the app maybe >>>>>> you >>>>>> can see something from inspector. >>>>>> >>>>>> On Friday, May 6, 2016 at 5:12:55 AM UTC+8, Steve Hannah wrote: >>>>>>> >>>>>>> Hmm. Are you running it in the HTML preview or from your own >>>>>>> distribution (.war or .zip)? In the HTML preview, your browser may >>>>>>> share >>>>>>> the quota with all other CN1 JS apps because they are all hosted from >>>>>>> the >>>>>>> same appengine domain. >>>>>>> >>>>>>> Try clearing your local storage for this domain. >>>>>>> http://superuser.com/a/655198 >>>>>>> >>>>>>> (Because we use LocalForage for the local storage, it uses a >>>>>>> different mechanism on different browsers. On some browsers it uses >>>>>>> IndexDB, on others it falls back to local storage (and may even use >>>>>>> WebSQL >>>>>>> under the covers in some cases --- therefore I'm not sure where you'll >>>>>>> find >>>>>>> this storage, but that link should list them all). >>>>>>> >>>>>>> Steve >>>>>>> >>>>>>> On Thu, May 5, 2016 at 2:07 PM, Gareth Murfin <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Chrome, literally just trying to store a few bits of text, it >>>>>>>> doesnt remember them. >>>>>>>> >>>>>>>> I must say though I am blown away by how good the JS port is!! I >>>>>>>> got my "proxy" working (websocket to socket for IRC) and managed to >>>>>>>> get my >>>>>>>> chat client working on the browser on desktop AND in the browsers on >>>>>>>> android, ios, amazing! The results are bloody impressive too even with >>>>>>>> sliding menus etc, excellent work guys, this is the sort of thing that >>>>>>>> I >>>>>>>> really love about CN1. Also it works perfectly in my apps on >>>>>>>> android/ios >>>>>>>> which was actually the main aim. Really really cool. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Friday, May 6, 2016 at 4:17:51 AM UTC+8, Steve Hannah wrote: >>>>>>>>> >>>>>>>>> Yes it is supported, but different browsers have different limits >>>>>>>>> on how much you can store? Which browser and how much are you trying >>>>>>>>> to >>>>>>>>> store? >>>>>>>>> >>>>>>>>> On Thursday, 5 May 2016, Gareth Murfin <[email protected]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Is storage implemented in Javascript? When I read or write I see >>>>>>>>>> >>>>>>>>>> com.codename1.teavm.ext.localforage.LocalForage$QuotaExceededException: >>>>>>>>>> >>>>>>>>>> Failed to set value >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "CodenameOne Discussions" group. >>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>>>> send an email to >>>>>>>>>> [email protected]. >>>>>>>>>> Visit this group at >>>>>>>>>> https://groups.google.com/group/codenameone-discussions. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/61734d97-a95a-491c-a2bb-ee6974b82864%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/61734d97-a95a-491c-a2bb-ee6974b82864%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Steve Hannah >>>>>>>>> Software Developer >>>>>>>>> Codename One >>>>>>>>> http://www.codenameone.com >>>>>>>>> >>>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "CodenameOne Discussions" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to >>>>>>>> [email protected]. >>>>>>>> Visit this group at >>>>>>>> https://groups.google.com/group/codenameone-discussions. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/da965973-aaca-4039-bd25-006a38a73c82%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/da965973-aaca-4039-bd25-006a38a73c82%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Steve Hannah >>>>>>> Software Developer >>>>>>> Codename One >>>>>>> http://www.codenameone.com >>>>>>> >>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "CodenameOne Discussions" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> Visit this group at >>>> https://groups.google.com/group/codenameone-discussions. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/codenameone-discussions/e8b26eb5-7942-4d8d-85f6-9b692c8b8614%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/codenameone-discussions/e8b26eb5-7942-4d8d-85f6-9b692c8b8614%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Steve Hannah >>> Software Developer >>> Codename One >>> http://www.codenameone.com >>> >> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/58e69383-908f-4c8d-b551-d5e32e2b4eee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
