Running Sencha Touch app on Java Eclipse & Android Emulator on Windows 8 (without phonegap) - senchatouch-2.4

I am getting trouble in running sencha touch 2 app on android emulator (without using cordova/phonegap) on windows 8 using .
Below is the list of packages installed on DEV machine:
1. JRE v1.7
2. Sencha Touch v2.4.1 SDK
3. Sencha SDK Tools 2.0.0 beta
4. Sencha Cmd 5.1.2
5. Ruby 2.0.0
6. Chrome (Browser)
7. Web Server - Both IIS 8 & XAMPP
8. Android SDK 23.0.6
9. Eclipse IDE (integrated with VJET Library & ExtJSTL 4.2)
10. Android ADT Manager (installed emulator snapshots targeting os2.2 & 5.1)
"MyApp" project runs perfectly on chrome browser when hosted on IIS 8 & XAMPP (apache). But not able to figure out steps to run the same on android emulator. So far followed below mentioned steps, leading to unsuccessful attempts:
sencha app build native [Command Successful]
sencha app build -run native [Command Successful]
sencha app build package [Command Successful]
Started emulator instance from eclipse (avd) and executed command sencha app build -run native, but the app doesn't execute on emulator instance.
Followed steps mentioned in post (http://www.sencha.com/forum/showthread.php?215210-how-to-run-sencha-touch-app-on-android-emulator-on-windows) but still facing issues.
Please help!!

do u want to run it as website for mobile?
as u are saying, you don't want to use cordoav/phonegap.
If u just want to run on Mobile Browser U can use Netbeans. It has a very simple feature to allow a html5 application to be run on Mobile browser
all U have to do is
1. Create HTML5 Project in netbeans
2. Run command "sencha app build native"
3. copy all files & folders form directory cordova->www which exist in your sencha app directory
4. Paste it into your HTML5 Project directory
5. Choose The Browser option in netbeans and run

Thanks Nitish for your suggestions. But this is not what my query was all about. I was trying to figure out a way of running sencha touch app on emulator without compiling it to native app following steps mentioned in post: http://www.sencha.com/forum/showthread.php?215210-how-to-run-sencha-touch-app-on-android-emulator-on-windows.
Anyways, to run sencha touch app on emulator I had to create native android app using cordova/phonegap wrapper. To run sencha touch app (which is mobile web portal equivalent), it is required to be wrapped inside native app (android, ios, etc) followed by app signing and APK / IPA file generation.

Related

ionic serve not compiling typescript

I started working on this project on my home PC on Windows 10 using the latest version of Ionic CLI and Typescript and ionic serve works perfectly there.
However after cloning the exact same project to my work PC with Ubuntu which is also running the latest version of Ionic, I get this error when I try to use ionic serve:
"www" directory cannot be found. Please make sure the working directory is an Ionic project.
So obviously now on this PC it's not compiling the Typescript before running it. Somehow on my work PC it thinks this is a plain JS project?

Ionic 1 and Ionic 2 side by side?

I have a project built on Ionic 1 that I need to continue to develop and support. I'd also like to install Ionic RC2 and begin a new project with that. Can I run both versions of Ionic on the same development machine?
Yes you can.
If you run 'ionic-serve' in your first project folder, the default port to access it should be 8100. If you run another 'ionic-serve' in your ionic2 project folder, the default port to access should be 8101.
This way you can have your ionic1 project : localhost:8100, and your ionic2 project on localhost:8101.
The same CLI is used in both cases ;-)

Cloud Foundry Java Applications on Windows Stack using Diego

I have a windows 2012 server stack on cloud foundry.
I am trying to push a Java application(.war package) to this stack using Diego plugin.
The logs says that server started properly , but when i hit the application URL, I get a 404 error.
The same package works perfectly fine on linux stack.
Any help appreciated
At the present time, Windows support is for running Windows apps.
1.) ASP .NET MVC (12-factor ASP.NET MVC apps compiled against .NET 3.5+ were tested most extensively)
2.) Windows-compiled executables
3.) Batch scripts (with a manually specified start command)
https://github.com/cloudfoundry-incubator/diego-windows-msi/blob/master/docs/RELEASE-NOTES.md#supported-applications---known-to-work
Build packs will continue to run apps on Linux.

sencha app build native without minify JS

I want be able to build a native app, but without minifying the JS so I can debug it later confortably.
Currently I'm executing:
sencha app build native
How can I be able to build without minifying JS files?
Thanks
For native build, you can only have testing option after upgrade to Sencha CMD 5.x, refer to
http://docs.sencha.com/cmd/5.x/cmd_upgrade_guide.html
Under Cordova / PhoneGap
"These build profiles ensure that all of the “sencha app build” command variations are equivalent to previous releases. You will notice, however, that “native” is now a build profile instead of an environment (like “testing” or “production”). This means you can now do “sencha app build native testing” which was previously not possible."
So, the command should be
sencha app build native testing
You need to use this command line instead:
sencha app build testing
That way, all JavaScript source files are bundled but not minified; and you could debug easily.
See Sencha CMD 4 documentation for more details.

Sencha Touch 2 Development on a Linux Server

Main Question: Is it possible to do all development for a Sencha Touch 2 web app on a Linux server?
I have a Linux server already hosting/running a decent size Django web application for the company I work for and want to build a web app for use on iPads in the field (the web app would only have a small amount of functionality for field crews). Ideally, I would be able to do all the development for this web app on the linux server, and not on my personal Windows computer.
I can't find anything that shows how one would set up such a scenario. Do I put the SDK files in my Django project directory? Would they go in an app directory within my Django directory? How do I set up the apache server to manage the Sencha Touch app?
The Sencha "Getting Started" guide shows code for what looks like a Linux type shell (they say to change to the ST directory by doing cd ~/webroot/sencha-touch-2.0.00gpl/ <- that looks like Linux command line, no?)
Anyone have any guides, information, tutorials, tips about thi