Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    24
    Vote Rating
    0
    ratheeshrohini is on a distinguished road

      0  

    Default Unanswered: Browser compatibility check

    Unanswered: Browser compatibility check


    Hi,
    Can any one show me a code to check whether a browser supports my sencha touch app? this is urgent.I f the browser doesnot support html5 I want to show an error message

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,521
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You can either check the useragent or use Ext.is checks
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    24
    Vote Rating
    0
    ratheeshrohini is on a distinguished road

      0  

    Default


    Hi can u show me the code to check user agent in ext js4?

  4. #4
    Sencha User
    Join Date
    Oct 2011
    Location
    Pune, India
    Posts
    22
    Vote Rating
    0
    krislogy is on a distinguished road

      0  

    Default Server-side redirection? Then yes, check your UserAgent there.

    Server-side redirection? Then yes, check your UserAgent there.


    Currently in my app, on a page request I simply search for the word "WebKit" (case-insensitive ofc) in the UA. If its there, then redirect to the Sencha App. If not then normal web page.

    Fyi, this works perfectly fine for Apple, Android, and Kindle devices (This code's in a prod environ, so you can take it for granted that it works )..

    But, mitchellsimoens (or anyone else from the Sencha team for that matter), could you guys advise us better - if this is correct or is there something better to search for!?!!

    Thanks!
    Kris

  5. #5
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,521
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    It really just depends what you want to target. If you want all WebKit browsers then that will be ok. If you want only certain devices then you need to get a little smarter.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #6
    Sencha User
    Join Date
    Oct 2011
    Location
    Pune, India
    Posts
    22
    Vote Rating
    0
    krislogy is on a distinguished road

      0  

    Default


    Oh.. that's cool then . But hope you understand that the main question here is:
    What are, and how to detect all the browsers/devices that "will" support Sencha Touch Apps properly!!
    ... because ultimately our aim would be to display this cool Sencha App in as many compatible devices as possible!! Hence the question "how".
    Anyway, if, as you say, a simple "WebKit" string search does the job right, I'm totally cool with it!! If not, I'm all ears...

    ---
    Btw, we are (finally) migrating our code from Sencha 1.1 to 2.0 now. [Fingers-crossed]
    Are going through all the available bookmarks and docs to do so. But if there's anything else extremely helpful, do let us know.
    (Hope we make it in time. Wish us luck!

Thread Participants: 2