localhost page is not loading sencha touch framework while using wamp server - sencha-touch

I'm developing a mobile app using sencha touch 2.4. I've installed everything correcting using following code.
sencha -sdk /path/to/sencha-touch-2-sdk generate app MyApp /path/to/www/myapp
Now I want to open it in my browser using localhost/myapp/ but it is a blank page...
I want this to be loaded..
![sencha touch1]

This is the default sencha touch app... You have to customise/modify it...
The command works fine, you get a dummy app...

Related

Create Sencha Touch Application on Mac

I am trying to create an application on Senhcha Touch on Mac and Use it on XCode.
I am using Sencha CMD : 6.0.1.76
Sencha Touch Framework: 2.4.1
Cordova On Mac : 5.2.0
When I am generating new app using terminal it is not generating app correctly.
It throws "touch" and "build" folder out of application directory.
I have created a small video for what actually is happening with me, please check this : https://mega.nz/#!a9ZzFADT!SFKa3KAfGqlloOM7L-9OrSHIeWKGTCqCiXKbJnRrG8A
Please suggest on this..
Use Sencha CMD 5 version, It will work.
You probably have the hidden .sencha folder one directory level up from the folder you intend to be the app. try to open the folder containing your app folder in a code editor and view the contents you will probably see it.
sencha -sdk path/to/touch-0.0.0 generate app AppName path/to/appname

how to Deploy the sencha touch app to iOS app in windows7

I'm using sencha touch 2.2.1
I have doubt to config a sencha app to iOS app in windows7.
I already deployed the sencha touch app to android app its works well. My problem is I don't have MAC-OS. so, can I deploy sencha app to iOS app in windows7 alone with apple-ID, certificate path and key values in sencha config file.
pls anyone tell me thanks in advance...
This should work. Just set up a packager.json file as it is described here and use sencha app build native in your command line to build your native iOS app.
If it does not work you could use the PhoneGap-Cloud-Build-Service. You'll find information about how to set up cordova / phonegap in this video.
You will need to build all your apps in XCode 5 from February 1st which will require a mac.
source: https://developer.apple.com/ios7/
I saw this service yesterday which I haven't looked into myself, but may allow you to compile apps in the cloud using one of their macs, rather than have to buy one yourself at great cost : http://www.macincloud.com/

IBM Worklight - Sencha Touch app shows white screen

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.

sencha generate app doesn't work

I downloaded sencha touch
and extracted into a folder.
And then I downloaded the sdk tool
and installed it.
Used windows 7 cmd, cd to the sencha touch folder, and then run sencha generate app myapp ../myapp,
then it shows a red error message "The current working directory is not a valid SDK directory. Please 'cd' into a SDK directory before executing this command."
If you are using Sencha SDK 2.1.0, you have to use the Sencha CMD instead of Sencha SDK Tools.
Here is the system setup documentation for Sencha CMD:
http://docs.sencha.com/touch/2-1/#!/guide/command

problem running sencha codes in eclipseEE

How to run sencha touch codes in phonegap framework using ECLIPSE IDE?
We are facing problems as where to paste the codes and where to post the sencha libs..also we cant figure out how to run the code on the android emulator?do we need to run with a web server?
currently we have pasted the sencha code in assets folder(www subdirectory) and the sencha libraries in libs directory.But wen we run it in the emulator, it just displays the HTML part and not the sencha UI??!!!
plz reply soon.
Obviously you need to make sure that the HTML has included the correct links to the lib and app resources, in the head of the document.
See http://www.sencha.com/learn/Tutorial:Sencha_Touch_Hello_World for an example of how to set up the Sencha Touch directories and outer HTML.