Category Archives: Sencha Touch

Take pic from Camera and upload on Server in Sencha Touch

takePicFromCamera(imageId,cameraSource) { var fileName=Math.floor((Math.random()*100000)+1); Ext.device.Camera.capture( { source:cameraSource, config: { quality: 75, // scope: this, destination: ‘data’ // encoding: ‘jpg’, // height: “auto”, // width: 100 // height: 197, // width: 197 }, success: function (image) { //img1=image.replace(/\s/g, ”); image=image.replace(/\s/g, ”); … Continue reading

Posted in Sencha Touch | Leave a comment

Json Parsing

[WARN][Ext.data.reader.Reader#process] Unable to parse the JSON returned by the server: Error: You’re trying to decode an invalid JSON String: Above error is due to wrong in json file. So correct it .

Posted in Sencha Touch | Leave a comment

Sencha Archtect

Sencha Architect  is a desktop application that helps you create interfaces for Ext JS and Sencha Touch faster than ever in an easy-to-use, drag-and-drop environment.

Posted in Sencha Touch | Leave a comment

View in Sencha Touch

The basic structure of view is Ext.define(“Demo.view.Test”, { extend: “Ext.Container”, config: { } }); Demo is the name of project. Test is the name of file. We add different types of view in items heirearchy. items:[ ] items: [{ xtype: “toolbar”, docked: … Continue reading

Posted in Sencha Touch | Leave a comment

Sencha Touch Kitchen Sink

The Kitchen Sink is an app that showcases all of the UI widgets, data features, animations, themes, and touch events offered by Sencha Touch. The app also features an easy way to view the live source of each demo — … Continue reading

Posted in Sencha Touch | Leave a comment

Create Apk in Sencha

At start creating apk in Sencha is a very headache task. It requires a lot of struggle. The offical link of creating apk from Sencha is http://docs.sencha.com/touch/2-0/#!/guide/native_android If we copy the sample code of apk creating from above link and … Continue reading

Posted in Sencha Touch | Leave a comment

Sencha cmd

First, extract your SDK zip file to your projects directory. Ideally, this folder will be accessible by your HTTP server. For example, you should be able to navigate to http://localhost/sencha-touch-2.0.0-gpl from your web browser and see the Sencha Touch documentation. … Continue reading

Posted in Sencha Touch | Leave a comment