How to capture audio in Sencha Touch (Cordova)? - sencha-touch

I am packaging Sencha Touch application with Cordova.
I have found that usual HTML element doesn't work with Sencha Touch.
How to capture from mic. using Sencha Touch packaged with Cordova? Sencha Touch has Ext.Audio component but all demos are about playback, not recording.
Thank you

Sencha Touch is only about UI and data, you can't access the phone's hardware with it (only HTML5/javascript). In order to record audio, you'll need to use PhoneGap.
It's another javascript framework using Sencha and that convert javascript into native code, allowing the developer to access the phone's hardware.
For recording audio :
http://docs.phonegap.com/en/1.9.0/cordova_media_capture_capture.md.html

Related

What Library to Play Audio in React Native

I'm pretty new to react native, and I've only build one or two really basic projects. I think creating an app to play mp3 (that are inside the actual project) would be fun. I've done this in swift with xcode using AVAudioPlayer, and I'm just wondering if it is the same library to do this in react native.
There are many libraries playing Audio but I recommend react-native-track-player provides audio playback, external media controls, background mode and more!

Sencha-touch with custum design

I am working on sencha touch mobile app. I am weak in css and html5. I am founding if a designer make same design using css and html5. How can i use it on sencha touch?Is that possible in sencha touch to work with UI/UX developer.
Please suggest me.
Thanks.
Theming is done in Sencha Touch with SASS.
Start by reading
http://docs.sencha.com/touch/2.2.1/#!/guide/theming
Good luck!

Can I do mAdserve integration for Sencha Touch 2 apps?

I just downloaded mAdserve and was willing to try it out with my Sencha Touch 2 application. Unfortunately, it only comes bundles with SDKs for Andriod and iOS. How can I take advantage of this with Sencha Touch or HTML5 apps in general?

How to optimize Sencha Touch 2.0 performance on iPad?

I am trying to optimize the performance of a Sencha Touch 2.0 app on iPad device.
Please point out some way for doing this.
Is any tools are available for iPad to test the performance of web app??
Thanks.
For your first question, this link may help:
PhoneGap 1.4 wrapping Sencha Touch 2.X - What about performance?
About performance inspection, you can just use Developer Tools of your iPad's Safari. Here is a good tutorial to get started: https://developer.apple.com/technologies/safari/developer-tools.html
Are you going to deploy the app as an iPad native or are you going to use it within the web browser?
Whatever the case, if you are going to deploy as native, it will automatically be optimised and no unnecessary files will be loaded.
If you are going to use it within a web browser, I suggest deploying it as production and not loading the whole source.
This can be achieved by navigating to your sencha touch 2 app and running the following sdk command:
sencha app build production
Then you should load that page within your browser.

Tests on Sencha Touch

Does anyone know if there is a JavaScript test suite for testing Sencha Touch Apps like there is QUnit for jQuery.
Thanks
You can use Jasmine, it seems to be successful for many:
http://jonathangrimes.com/2011/10/jasmine-extjs-mvc-a-love-story/
Soon Sencha will be updating Siesta to support Sencha Touch