sencha-touch

Disable carousel overscroll/overdrag in Sencha Touch

♀尐吖头ヾ 提交于 2020-01-01 00:45:16
问题 At the end or beginning of a Sencha Touch 2 carousel, a user can drag the item past where it should be able to go and display the white background (screenshot here: http://i.imgur.com/MkX0sam.png). I'm trying to disable this functionality, so a user can't drag past the end/beginning of a carousel. I've attempted to do this with the various scrollable configurations, including the setup that is typically suggested for dealing with overscrolling scrollable : { direction: 'horizontal',

How to make a signed APK in Sencha Touch 2

隐身守侯 提交于 2019-12-31 10:52:39
问题 Dear All, I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error: .apk is not signed also validity year 50 Error in Google market -: Google Play does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. I have changed my certificate also "configuration":"Release"

How to make a signed APK in Sencha Touch 2

若如初见. 提交于 2019-12-31 10:52:13
问题 Dear All, I have successfully made an application using Sencha touch 2 it's working fine in my Android device, also on Tablet and emulator. But the problem is that the apk file could not be uploaded on Android Market it shows me a error: .apk is not signed also validity year 50 Error in Google market -: Google Play does not accept apks signed with the debug certificate. Create a new certificate that is valid for at least 50 years. I have changed my certificate also "configuration":"Release"

Unable setting nested json data on localstorage in sencha touch

倖福魔咒の 提交于 2019-12-30 12:52:36
问题 I have problem to setting nested json data on localstorage in sencha. I have Store class: Ext.define('default.store.Top25Store',{ extend: 'Ext.data.Store', config: { autoLoad:true, model: 'default.model.Top25WordFinal', id:'TodaysWord', proxy: { type: 'ajax', url: 'http://alucio.com.np/trunk/dev/sillydic/admin/api/word/my_favourite_words_with_definition/SDSILLYTOKEN/650773253e7f157a93c53d47a866204dedc7c363', reader: { type:'json', rootProperty:'' } } } }); and model class: Ext.define('default

Mobile Application Using Sencha Touch - JSON Request Generates Syntax Error

∥☆過路亽.° 提交于 2019-12-30 07:26:05
问题 I started playing a bit with Sencha Touch. So I've built a really simple application based on one of the examples just to see how it goes. Basically it creates a JSON Request which executes a Last.FM web service to get music events near the user's location. Here's the JSON code: var makeJSONPRequest = function() { Ext.util.JSONP.request({ url: 'http://ws.audioscrobbler.com/2.0/', params: { method: 'geo.getEvents', location: 'São+Paulo+-+SP', format: 'json', callback: 'callback', api_key:

Show/hide a toolbar with slide animation in Sencha Touch

℡╲_俬逩灬. 提交于 2019-12-30 05:23:29
问题 I have a toolbar docked to the top of the main viewport, and a panel with card layout below. The idea is to have the toolbar slide down from the top upon touching a button, and slide back up when dismissed. It should not overlay the content below it, everything below it should slide down as well to make room for the toolbar. Firstly , how can I animate the toolbar show/hide with a slide transition? This is how I am showing/hiding the toolbar at the moment: toggleMenu:function(){ if (tkwine

Resources & Frameworks for mobile development (iphone,android) using HTML5 [closed]

你。 提交于 2019-12-30 02:08:51
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am looking for resources to develop HTML5 apps for iphone primarily. Are their frameworks and tools that I can use to get started? I

Sencha Touch 2 MVC - how to switch views with button

浪子不回头ぞ 提交于 2019-12-30 01:07:12
问题 I have this controller: Ext.define('MyApp.controller.Test', { extend: 'Ext.app.Controller', config: { }, refs: [ { ref: 'first', selector: '#first' }, { ref: 'second', selector: '#second' } ], views : [ 'TestMain', 'TestSecond' ], init: function() { this.getTestMainView().create(); this.control({ '#first': { tap: function() { //how do I go to second view here? } }, '#second': { tap: function() { } } }); } }); and these 2 views: Ext.define('MyApp.view.TestMain', { extend: 'Ext.Container',

iOS9 ATS: what about HTML5 based apps?

僤鯓⒐⒋嵵緔 提交于 2019-12-28 03:30:11
问题 According to the documentation from https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS9.html#//apple_ref/doc/uid/TP40016198-SW14, Apple forces to use HTTPS over HTTP in iOS 9. App Transport Security App Transport Security (ATS) lets an app add a declaration to its Info.plist file that specifies the domains with which it needs secure communication. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt. You should

Sencha CMD Linux command not found

ぐ巨炮叔叔 提交于 2019-12-25 11:40:09
问题 I'm trying to install Sencha-Cmd-6.0.2.14 in xUbuntu. I downloaded SenchaCmd-6.0.2-linux-amd64.sh.zip and unzipped it to my desktop. I installed Java by executing sudo apt-get install default-jdk -y . Then I executed ./SenchaCmd-6.0.2.14-linux-amd64.sh . The installation window appeared and I successfully went through the process. Upon completion, I typed in sencha at the command prompt but I got a command not found error. 回答1: Sencha is probably not in your $PATH, I'm not sure where it