Sencha Touch work flow - testing

I have started working in Sencha Touch 2.1.1. I would like to know the following:
What is the best work flow for a Sencha Touch app during development? Testing in Chrome may not give the actual mobile view. How can I test my app on Windows during development?
xtype 'label' is not getting resized when I change the browser size.
After changing the code each time I come to Chrome and refresh, but it takes a few seconds to load the app. Is there any quicker way?

Host you app using WAMP or some we server and open it on you mobile
device is you are using same WiFi.
please attach screen shots
Its not an Egyptian magic, it will take few seconds pal...

Related

View logs for Expo Web on physical iOS device

I am using expo-av and I have a feeling it is crashing my app, but I have no way of knowing because I don't know how to view the logs from safari when I run expo web on it.
I am developing on Windows - does anyone know how to view logs from safari on a physical iPhone? Microsoft Edge has inspect element and then the console, but I don't know any equivalent for Safari on mobile, or if there is another way to see logs.

Cannot view video from publisher using Chrome to iPad with OpenTok

I'm currently trying to set up a connection between my web client and my iOS app, but for some reason my iOS client only sees a black box when using Chrome (version 33). I can see the video just fine if I use Firefox (both in my app and when I put the browsers side-by-side, they can see each other).
This doesn't appear to be a documented known issue with the JavaScript SDK, and I can't see any recent discussion about this on the forums (last post was mine).
The iOS sample can be located here (samples/OpenTokHelloWorld) with the browser page in samples/OpenTokHelloWorld/browser_demo.html
I suggest cd'ing into samples/OpenTokHelloWorld and running python -m SimpleHTTPServer, as it can't be run from a file:/// path.
Here is what my iPad sees:
Chrome:
Firefox:
And Chrome/Firefox (respectively), both publishing video from the same camera
Edit: after testing on other machines, it may be something specific to my environment even though none of my extensions run in Incognito and I don't have any custom plugins installed.
It looks like the OpenTok mobile SDKs with the specific webcam I was using has issues. On Android the video stream will display for a brief moment then segfault, and on iOS there will be no video at all.
I have tested this many times and could not reproduce what you are seeing in your chrome.
Without seeing any console errors or iOS logs the best suggestion is to try clearing your cache, or maybe restarting your computer (longshot)

Can you build a Windows 8 Live Tile that Launches A Website Instead of a Metro App?

Live Tiles are the "front door" for metro apps on Windows 8. Can you instead launch a website instead of a Metro app?
Could you write an app that just does one thing, and that is to launch the browser with the specified Uri:
Launcher.LaunchUriAsync(new Uri("http://my.website.com"));
That has the advantage that it is represented as a traditional app rather than a pinned site, so you can style the tile as you wish.
The closest thing I could find is pinned sites or site tiles.
It doesn't look like you can customize the look and feel of these site tiles, but you can update them with notification counts.
http://blogs.msdn.com/b/ie/archive/2012/04/03/pinned-sites-in-windows-8.aspx

Questions about Sencha Touch

I have done some project using Sencha Touch -> www.estof.net/sencha (php + sencha). I want to ask you guys some questions:
a) I want to create app using sencha and upload to iPad. My app will work only if i connected to wifi or whatever internet?
b) For example i did some application, draw icon. Can I put it on iPad? Then click on icon and my application will work? (will be nice if app tried even to connect to Internet, but APP ICON will be on iPad)
c) Or sencha using only as a web-site?
Sencha apps can work in offline mode. This is done by using a manifest file to cache the required files. This will explain more about it. This is another tutorial using phone gap.
Yes you can create app icons for your apps. In this link, you can see an attribute named 'icon' which specifies the images to be used as the icon. In safari when you take your site, and press the option button on the bottom, there is an option to 'ADD to Home Screen'. This option will add the icon to the home screen.
If you go to the sencha forums and check their showcase section you can see many apps that are actually sold in the app store.
The upcoming version of Sencha is said to have their own api's to access native feature of a phone os. Its more detailed on their website.

Best desktop browser to test Sencha Touch application?

For testing without an iPhone/Android phone, which desktop browser works best with Sencha Touch? I tried Chrome and Safari, which work fairly well, but both seem to have little issues.
Firefox and IE apparently don't work at all with Sencha Touch. Is there a secret weapon, like a port of a mobile browser, available?
There's a Chrome extension called Ripple that's pretty good, but most things can be tested quite productively in Chrome. Set Ext.is.Phone = true; at the beginning of your script when you need to test the phone UI.
You should be using the iPhone/iPad hardware simulator on a mac, or the Android simulator if you're on Windows. Desktop browsers will get you there - particularly desktop safari -- although there are enough differences that you should really use one of the simulators
A direct link to one ipad simulator online is: http://ipadpeek.com/
On Windows, Google Chrome is my favorite browser. When I'm done developing a section of the app I do test it on my real device, an HTC desire (Android). As expected, the real device is WAY slower than desktop browser, specially notable on animations, e.g sliding tabs and carousels.
I would say Google chrome is the best browser till date.... and its an ideal browser for sencha touch applications to run, since it contains webkit..
Also you can use Titanium (you can download it here) which has iphone/iPad simulater built in but for that you need a Mac and you also have to download ios sdk.
Working on these simulators is an awesome experience.