I currently started learning sencha touch for mobile application development, I have installed the necessary tools also:
1 - jre-7u25-windows-i586
2 - rubyinstaller-1.9.3-p448
3 - SenchaCmd-3.1.2.342-windows.exe
4 - sencha-touch-2.2.1-commercial
and google chrome version: 29.0.1547.66 m
I have also run the generate app command through cmd. and also a xampp server installed already. i am getting page loading issue for GS folder. When i access this: localhost/GS, i can see only that animated page with three white indicators, nothing more. How can i deal with this issue? the link is not redirecting to home page view.
Related
I'm trying to write ppapi plugin for Chrome which will use webcam (show preview and write file). I have installed NaCl sdk with pepper_35.
There available examples in /examples/api/ folder: media_stream_audio and media_stream_video.
The audio example works fine - requests access to microphone and shows some kind of preview.
The "media_stream_video" example must show web-camera video preview, but when I load example on the local web server (with make serve command), there appears red rect, and Chrome asks for the web camera access. When I click “allow” - webcam indicator lights-up, chrome show that web page uses the web camera, and I see the camera settings icon. But the preview doesn't work, there still red rectangle instead.
I checked this on Windows 8.1, Windows 7 and Mac OS X, with five different webcams, and have no idea what can be wrong.
Maybe someone already encountered with the same problem?
Installing the pepper_37(dev) version of NaCl SDK solved the problem. Looks like it is unstable version currently, but it works.
I want to build a a simple Sencha Touch-2.3.1 application generated by Sencha CMD to run it on
Windows 8.1 Microsoft Surface Simulator.
1-I opened Visual Studio (2013) and created a new JavaScript Windows Store project.
2-Copied the generated Sencha Touch app files to my project.
3-Changed the start page from default.html to index.html.
I then ran it on the simulator, but the application hangs at the blue loading screen with white dots. I opened the js console and found nothing in the log.
Is the approach wrong from the beginning? Sencha Touch team Assume that they support windows 8, but I'm unable to find any documentation illustrating the building procedure.
If any further info are needed let me know, your contribution is highly appreciated.
The issue is the Windows 8 content security policy (CSP).
I have answered similar posts before, in addition to a few blog posts I've written (specific to Ext JS, but the same principle):
Creating Windows 8 Apps with Ext JS
First Thoughts on Windows 8, Visual Studio, and ExtJS
In short, neither of the Sencha Frameworks explicitly support the Win8 CSP... but with a little bit of hacking you can get it to work just fine.
I have created a Sencha Touch 2.3 app and tried to build it on iPhone5 using xcode. Sometimes when I deploy it, the phone freezes and then the only choice left is to force a reboot.
This happens occasionally only while trying to build it.
Has anyone else come across this ?
At first, I assumed it happens once in a while only while trying to build and deploy it.
But recently, someone reported a similar issue with another sencha app on an iPhone5 which was already downloaded and used several times. While launching this app, the screen went white and after a while the phone rebooted !
Is Sencha Touch apps causing this ?
I observed so many times that app get stuck with splash screen and nothing happens in this case. We are getting below logs on Xcode console at that time.
2014-01-20 13:09:14.822 MyApp[4326:a0b] Resetting plugins due to page load.
2014-01-20 13:09:34.924 MyApp[4326:a0b] Failed to load webpage with error: The request timed out.
This is just a default application with index.html page and text Hello Worklight in it.
This is tested on IOS6 and IOS7 simulator and device both.
I found some similar posts at the following locations describing this issue with Phonegap/Cordova. Some of the solutions/suggestions may help:
Phonegap/Cordova 3.1 Resetting plugins due to page load
Resetting plugins due to page load - Issue
As well as a bug report in Cordova:
https://issues.apache.org/jira/browse/CB-2602
I found a bug in worklight 6.2 + iOS 6(with a fix) that might also solve your problem, if you're having the same issue.
IBM Worklight - App hang at splash screen after applying FixPack
I am new for sencha touch, so to start with it , I downloaded a (sencha touch + worklight) project from given link and imported in eclipse . it is getting build and running perfectly when I run it in worklight console i.e localhost:8080/console but when I run it in android emulator it shows blank white screen . and gives error, i have attached log file here apart from this even I tried few more project all of them shows blank white screen.
I tried to run it in different AVD i.e Android 2.1, 2.2 , 2.3 but I get same problem.
I don`t know where is the problem whether in Worklight or Sencha Touch.
The Sencha edition of Worklight Starter has been recently re-written for Worklight 6.0.
You can try this new version from this location: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/WorklightStarter_Sencha.zip
See if that helps guiding you instead of the very oudated projects you have linked to.
After running into this same issue myself and finally working out how to solve it, I thought I'd share.
You need to Deploy the Worklight Adapter before you build and test your project.
Here is how:
Open WorklightStarter_Sencha project in Eclipse, open the adapters folder and highlight the WorklightStarterAdapter folder.
From the menu bar select Run -> Run As -> Deploy Worklight Adapter.
Now build and deploy your project.