Blurry graphics and text … this one was discussed before but not solved (i have great quality graphics, showing perfectly on Windows Desktop, iPhones, and Android Phones … on web it looks much less better … specially text … for web version i had to change colors to black which made it better
I’m Using Arabic Font A.Jannat.LT.Bold.ttf … works on all platforms but web … i tried to follow previous discussion by editing index.html file and uploaded font files but it didn’t work for Arabic … it worked for the English font though OstrichSans-Black.ttf so i changed the font to Tahoma which supports Arabic and it worked without having to upload any font file … seems that browser controls this thing somehow
Safari does not cash user name and password for some reason, and unpacking and downloading data keeps appearing
final major problem … some sentences in Arabic are broken into 2 lines … 2 words actually… in English it does not break … my app supports 2 languages … so if the word is Grape & Mint it shows as it is … if it is(the translation):
on the web you can create a user or use this one(user name and password are the same):
0790790790
attached is the source code for Andriod (Called Sheesha) i removed the images folder to allow it to fit here … can be copied from the second folder below which has the same images
and for Web (Called Sheesha Web)
i have 2 source codes because i did some changes for web version
the tests on browsers on mobile phones seems a bit different than browsers on a laptop or desktop in general … specially graphics …
the website is working Ok now … but i’m still facing a big problem i can’t solve …so please help me if you can
browsing through http://www.cocktailappjo.com loads first screen then stops … i’m sure it is related to network.request which seems to fail and cause the app not to proceed
because browsing through http://mhmoud86-002-site1.atempurl.com works perfectly but for some reason when using www.cocktailappjo.com it does not have access to the webservice somehow … maybe something related to hosting settings but i’m not really sure what would that be
i’m not an expert in web debugging … i tried to do it but didn’t see anything useful… just html and java scripts
from android phones … when i set the page to be a desktop site from browser options … the app’s graphics becomes crystal clear… as good as the normal desktop app downloaded from play stores …but the funny thing tap event does not respond … what would cause that …i don’t really know what a desktop site is!
The reason your network.request() wasn’t working and why it started when you changed the URL is something called “Cross-domain scripting”. Basically web browsers restrict your ability to load a page from one website and then try to access a different site.
Thanks Rob… it is a bless that HTML5 exists in corona, because this particular app was rejected by apple! and my client wanted apple users to use it instead of downloading it from itunes…although HTML5 is getting everyone busy those days fixing issues and stuff but eventually it is a master piece … and it gave us developers a new line of business and power … so personally i truly appreciate what Corona team is doing day and night
didn’t get Vitali’s last reply:
>>fixed input text field position for android devices