1. #1
    Sencha User alok.sharma127's Avatar
    Join Date
    Jun 2012
    Posts
    14
    Answers
    1
    Vote Rating
    1
    alok.sharma127 is on a distinguished road

      0  

    Default Unanswered: Using the Camera with Cordova/PhoneGap and Android.

    Unanswered: Using the Camera with Cordova/PhoneGap and Android.


    I've been blocked on getting the camera to function with my Sencha touch application, ported to Android using Cordova 1.9
    As the docs suggest (at http://docs.sencha.com/touch/2-0/#!/guide/native_apis ) i added the require field for Ext.device.Camera. Unfortunately I run into problems right here, even before I write any code for using the camera. I get an error saying that it cannot locate the camera.js :

    Code:
    07-19 15:09:04.299: E/Web Console(10140): Uncaught Error: [Ext.Loader] Failed loading './device/camera.js', please verify that the file exists at file:///android_asset/www/lib/touch/sencha-touch-all-debug.js:8000
    I have already gone through this previous post( http://www.sencha.com/forum/showthre...device-problem ), but it didn't prove to be of any help. I would really appreciate any help you can give.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    take a look on Phonegap API, it may be helpful to you to accessing camera, etc...

    http://docs.phonegap.com/en/1.0.0/ph...md.html#Camera
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User alok.sharma127's Avatar
    Join Date
    Jun 2012
    Posts
    14
    Answers
    1
    Vote Rating
    1
    alok.sharma127 is on a distinguished road

      0  

    Default


    Hey thanks for your reply,
    I've tried that method as well. With that I get the error that it cannot identify the property 'camera'. Really blocked with this.

  4. #4
    Sencha User
    Join Date
    Sep 2012
    Posts
    6
    Vote Rating
    0
    alexjfalcao is on a distinguished road

      0  

    Default


    Alok, did you solve this issue? I'm experiencing the same.

  5. #5
    Sencha User alok.sharma127's Avatar
    Join Date
    Jun 2012
    Posts
    14
    Answers
    1
    Vote Rating
    1
    alok.sharma127 is on a distinguished road

      0  

    Default


    Hi Alex,
    Well I had asked the same question on stackoverflow and someone posted a probably correct solution after 2 months. However, since I wasn't working on the same project at that time, I couldn't verify if it solved the issue.
    The solution is here: http://stackoverflow.com/a/12376149/595947 . Give it a try. Do post here if it works for you.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."