sencha-touch

Phonegap : Camera view with background image

久未见 提交于 2020-01-11 06:10:51
问题 I am using Phonegap with Sencha Touch to get camera functionality. But instead of the default camera view, I want a picture with transparent background to be overlaid upon the live camera view. Similar to below example where a dinosaur image has been overlaid upon the camera view image. Can you tell me whether this feature can be achieved with Phonegap or in any other way? 回答1: It can be achieved but it requires a bit of native code and a simple trick. You need to set the phonegap container

Phonegap : Camera view with background image

淺唱寂寞╮ 提交于 2020-01-11 06:10:49
问题 I am using Phonegap with Sencha Touch to get camera functionality. But instead of the default camera view, I want a picture with transparent background to be overlaid upon the live camera view. Similar to below example where a dinosaur image has been overlaid upon the camera view image. Can you tell me whether this feature can be achieved with Phonegap or in any other way? 回答1: It can be achieved but it requires a bit of native code and a simple trick. You need to set the phonegap container

ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format

倾然丶 夕夏残阳落幕 提交于 2020-01-09 10:45:29
问题 I am developing a Sencha touch 2 application. I have been following the "Styling the user interface of a Sencha Touch application" tutorial on theming of secha touch applications. It requires me to install Ruby, Compass and SASS. I installed Ruby using the installer from rubyinstaller.org. On executing the following command, I get the expected result which confirms correct installation: C:\>ruby -v ruby 1.9.3p327 (2012-11-10) [i386-mingw32] Current source is up to date: C:\>gem sources **

ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format

对着背影说爱祢 提交于 2020-01-09 10:44:53
问题 I am developing a Sencha touch 2 application. I have been following the "Styling the user interface of a Sencha Touch application" tutorial on theming of secha touch applications. It requires me to install Ruby, Compass and SASS. I installed Ruby using the installer from rubyinstaller.org. On executing the following command, I get the expected result which confirms correct installation: C:\>ruby -v ruby 1.9.3p327 (2012-11-10) [i386-mingw32] Current source is up to date: C:\>gem sources **

How to make carousel Infinite with dynamic data(using url) in sencha

筅森魡賤 提交于 2020-01-09 08:05:11
问题 Since 2 days, I am trying to create Infinite carousel with desired data but could not get it. I also tried Kitchen Sink (Touch Style) . My theme is also same as touch style. I have categories and If I click one category then display associated respective Words , which is more different carousel items. I don't know how many words are there. but I want to display 7 Words in one swiping view(If i have 35 then i need 5 view), which is carousel items, Just like kitchen sink(Touch style). Source:

Is Sencha Touch a UI framework that can (or should?) be used with PhoneGap?

こ雲淡風輕ζ 提交于 2020-01-07 08:52:53
问题 I'm planning to develop my first mobile app and wanted to leverage my skills as a web developer. Thus, I started to look at PhoneGap. In the process, I realized that I probably should use some sort of UI framework. It seems that jQuery Mobile has speed issues. Sencha Touch 2 supposedly is faster. So, I figured I should use PhoneGap + Sencha Touch 2. However, it's seems to be that Sencha Touch 2 is not a UI framework. It seems to be something similar to PhoneGap. I might be heading in the

Is Sencha Touch a UI framework that can (or should?) be used with PhoneGap?

给你一囗甜甜゛ 提交于 2020-01-07 08:51:19
问题 I'm planning to develop my first mobile app and wanted to leverage my skills as a web developer. Thus, I started to look at PhoneGap. In the process, I realized that I probably should use some sort of UI framework. It seems that jQuery Mobile has speed issues. Sencha Touch 2 supposedly is faster. So, I figured I should use PhoneGap + Sencha Touch 2. However, it's seems to be that Sencha Touch 2 is not a UI framework. It seems to be something similar to PhoneGap. I might be heading in the

How to upgrade Sencha Touch from 2.0.1.1 to 2.4?

给你一囗甜甜゛ 提交于 2020-01-06 14:13:30
问题 I would like to know if is possible to update a project done with Sencha Touch 2.0.1.1 to Sencha Touch 2.4. Any idea is welcome thanks! 回答1: You just need to run a command line from your project folder: sencha app upgrade <Path to Sencha Touch 2.4 SDK> I hope this will help you. ------------ EDIT --------------- Make sure: 1) You are running this command from inside the project folder. 2) Cross check the path mentioned. 来源: https://stackoverflow.com/questions/26099278/how-to-upgrade-sencha

How to add map listeners onto map page

扶醉桌前 提交于 2020-01-06 12:49:50
问题 How to I add a map listener to my first map page? I saw many examples which create a map and put it into a page, but here in my code, the map itself is a page. So I do not know how to add map listeners in this way. Ext.define('myapp.view.Main', { extend: 'Ext.tab.Panel', xtype: 'main', fullscreen: true, requires: [ 'Ext.TitleBar', 'Ext.Video', 'Ext.Map', 'Ext.Panel', 'Ext.tab.*', 'Ext.*' ], config: { tabBarPosition: 'bottom', items: [ { title: 'WebTrack', iconCls:'maps', xtype: 'map',

getController() doesn't load file and doesn't fire init and lauch

跟風遠走 提交于 2020-01-05 12:34:11
问题 i want to load some controllers at runtime only in special cases. In this video http://de.slideshare.net/senchainc/mvc-in-depth-part-2-tommy-maintz/ is said that you can do this with getController. If the controller is not loaded at this time the file is loaded and init and launch of the controller are fired. But if i try this: var myController = this.getApplication().getController("MyController"); myController.test(); //-- Uncaught TypeError: Cannot call method 'test' of undefined