Building Sencha Touch app for Windows 8 (not windows phone 8) Microsoft Surface - sencha-touch-2

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.

Related

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/

Which platforms does Xamarin support?

I tried finding the information both on their website and on the Internet, but it appears that everywhere I look, a different list pops up.
Their front page says iOS, Android, Windows and Mac.
In their documentation (http://docs.xamarin.com/), only Android iOS,
Mac are mentioned at the docs front-page. I'm wondering does this
mean Windows has lesser priority compared to others.
On the Internet, I've found even more inconclusive information. Also,
it's hard to conclude what Windows means, mobile or desktop.
I've never used the product, but would love to try it for the game that I want to create, so I have two questions:
Can you give me a complete list of supported platforms (Android, iOS, Mac, Windows, Windows Phone, HTML5, Flash...)?
Can I target Facebook app with Xamarin?
Thanks in advance.
To update and extend Jason's answer there is now Xamarin.Forms that let us build cross-platform GUI for Android, iOS and Windows Phone. Looking at Xamarin's FormsGallery sample app I think it is fair to say that it de facto supports Windows Phone as well.
In addition to Xamarin.Forms there's always the possibility to use Xamarin.iOS, Xamarin.Android and Xamarin.Mac for platform customizations.
Xamarin.Mobile is in a preview release and supports Android, iOS and Windows Phone. It is used as an abstracted API of the native services (camera, geolocation etc).
However since you need the local SDK's installed for compilation you need a Mac computer to be able to deply for iOS. In order to compile for Windows Phone you need to use Visual Studio and the Xamarin Plugin, Xamarin Studio is not able to do this.
To conclude Xamarin supports development for
Android
iOS
Windows Phone
Mac
However not all of Xamarin's API's are implemented for all platforms.
Xamarin has three products
Xamarin.iOS - write iOS apps using C#
Xamarin.Android - write Android apps using C#
Xamarin.Mac - write Mac desktop apps using C#
Xamarin does not directly support Windows Phone apps. However, because you can write iOS and Android apps in C#, and C# is the native language for Windows Phone, using Xamarin allows you to write code that is usable across all three mobile platforms. Xamarin also provides some tools (like their Xamarin.Mobile library) that make this easier by providing a common interface to some common platform functions that will run on all three platforms.
You can write a mobile app that uses Facebook's API with Xamarin, but you cannot create a Facebook app (one that runs on Facebook).
You may find the actual list of additional platforms here.
On April 2019, it's listed as:
Android (incl. Android Wear)
iOS (incl. watchOS and tvOS)
Windows (UWP and WPF)
Linux (GTK)
Mac
Tizen
Windows Phone not supported since Xamarin 3.x

Titanium app immediate crash on BB10.2

I've been developing an app with Titanium, and I've got the app up and running on both iOS and Android.
Today I set up the Blackberry 10 environment to be used with Titanium and tried to compile and deploy to the simulator... It worked! But alas, after a brief peek at the appcelerator splash screen, the app crashes; all without any errors, warnings, or logs of any kind.
I've used telnet to see if there were any logs in the '1000' directory, and the logfile was empty for my app.
From what I've read in appcelerator's documentation and what I've discovered in the Titanium Studio software, Blackberry debugging support is not included.
Further information: I'm using the Parse JS library (not as a titanium module, just as a JS import) and my main window contains a TabGroup.
If anyone has any experience in Titanium for BB10 or insight as to what may point me in the right direction, that would be amazing.

TideSDK: Getting the Hello World example app to work

I'm on Windows 7 64bit and I'm following the Getting Started Tutorial. So far I've:
Downloaded TideSDK-1.3.1-beta-win-x86.zip
Extracted the 3 folders it contains (modules, runtime, and sdk) to C:/ProgramData/TideSDK/
Downloaded and installed Imagemagick
Downloaded and installed Wix 3.0
Downloaded and installed TideSDK-Developer-1.4.2-win-x86.msi
Cloned using Git: https://github.com/TideSDK/TideSDK-HelloWorld
Opened TideSDK Developer tool.
Clicked "Import Project" and selected the cloned Git repository, hit OK. (Screenshot)
Clicked "Test & Package" tab, and then clicked "Launch App" button. (Screenshot)
TideSDK Developer tool says "Preparing to package and launch desktop app. One moment..." but it never does do anything beyond that. The tutorial says I should see this, but I don't.
There are no errors anywhere that I can see. What can I do to get this Hello World app working?
I was not able to get TideSDK to work. However I found something that worked even better: node-webkit.
"node-webkit is an app runtime based on Chromium and node.js. You can write native apps in HTML and Javascript with node-webkit. It also lets you to call Node.js modules directly from DOM and enables a new way of writing native applications with all Web technologies."
https://github.com/rogerwang/node-webkit

Is a WinJS/Javascript + Html5 app written for Windows 8 compatible with Windows phone 8?

Is a WinJS/Javascript + Html5 app written in javascript for Windows 8 compatible with Windows phone 8? From today's presentation, the recommended way is C#/XAML. It makes me wonder if my js app for windows 8 becomes compatible with WP8 (ofcourse with minor changes)?
Based on the information released at the June 2012 Windows Phone Summit, it appears that the development choices for Windows Phone 8 are:
XAML with C#/VB code
Native C++/C code
HTML 5 Browser Control
Based on their choice of wording, I infer that both C++/XAML and WinRT/HTML5 development models will not be available.
We'll know more once a preview of the WP8 SDK is released "later this summer".
WinJS/Javascript + Html5 app written in javascript for Windows 8 compatible with Windows phone 8?
No. Apps (not games) are still written in C#/VB.NET and XAML.
If your app runs in the browser, IE10 is able to render HTML5, but you'll not get any platform interop features.