In the process of creating an Hybrid app while adding other environmenent i mean adding apple and android thus it requires the necessary sdk to be preinstalled in eclipse help pls ?
MobileFirst Studio generates for you the native project for each environment.
iOS: an Xcode project is generated. You then need to open it in Xcode, which requires a Mac.
Windows/Windows Phone: a Visual Studio project is generated. You then need to open it in Visual Studio, which requires a PC running Windows 8 or above
Android: for the native project to be generated, you need to:
either install the Android ADT plug-in for Eclipse
or setup Android Studio and open the project there
Much like your previous question, the answer to this is in the Getting Started training materials. Please read them: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/setting-up-your-development-environment/
Related
I made a project in IBM Worklight Version 6.2.I am have added android,iOS and WindowPhone8 Enviournment for the project.I am able to build and run the application in android and iOS.But when i imported the project in VS2012 for windowPhone8 It is not Working.It is not showing the Css and the click events are not working.Seems like it did not loaded Js and css but these files are present in folder structure.
Do i need to do any changes or am i doing anything wrong.Kindly help me running my project in Windows phone 8.
Thanks in Advance
From tests performed, the Windows environment is built and displayed correctly. You've been asked to provide the project where this is happening to you. Do that.
Try cleaning Visual Studio's cache, try to preview your app in MobileFirst Studio and make sure there are no errors.
I just upgrade my current mobilefirst studio to latest version. After the Update i can't able to open the my projects.It's showing the following error when tried to open the project.
"Migrating the ProjectName project from version 7.0.0.00.20150610-1353
to version 7.1.0.00.20150807-0630 has failed because There is no
available migration path. Use the latest MobileFirst Studio or the
latest "IBM MobileFirst Studio Upgrader" from IBM Fix Central site
http://www.ibm.com/support/fixcentral/ "
This question is useless without providing a project that demonstrates the failure in upgrade in MobileFirst Studio.
As such, the only alternative I can offer is for you to create a new project in MobileFirst Studio, and copy over into it your web resources to the corresponding folders: the JavaScript, CSS and HTML, as well any custom classes you may have implemented.
I want to do Windows Phone development with Titanium Studio.
I followed https://wiki.appcelerator.org/display/guides2/Getting+Started+with+the+Windows+Phone+SDK#GettingStartedwiththeWindowsPhoneSDK-UsingStudio(Preview) in order to get the Windows plugin. After a required restart of the software, the Windows option apears in the Deployment Targets when creating a new project.
Unfortunately, for all Titanium SDK Versions I have installed, 3.5.1.GA, 3.5.0.GA, 3.4.0.GA, 3.3.0.GA, I am getting an error like "Titanium SDK v3.5.1.GA does not support the Windows platform".
So I basically cannot create projects for Windows Phone.
I am using Titanium Studio 3.4.1 and followed the installation tutorial, though I deleted the SDK path after setting it (it is the default path, setting a value caused an error message, also I left the publisher GUID and Windows Store Certificate empty, since I just want to develop and don't have publishing credentials yet).
How can I create an app that runs on Windows Phone, too?
Edit:
I add some images to show the problem better. In the last step, I don't have the possibility to create a Windows project in Titanium Studio.
2nd edit:
As per Eduard's answer, I skipped https://wiki.appcelerator.org/display/guides2/Getting+Started+with+the+Windows+Phone+SDK#GettingStartedwiththeWindowsPhoneSDK-WindowsPlatform(Preview) and had to do it. Now I got Titanium SDK 4.1.0.v2015... and I get the option.
Unfortunately, it still does not work.
https://jira.appcelerator.org/browse/TISTUD-7171
So I also need to update Titanium Studio.
Well, I guess mobile development has to be buggy and cumbersome, at least that is my experience so far with various (cross-platform) products.
Try opening the solution generated in Visual Studio to attempt packaging the .sln to .appxupload to upload it to the Windows Store. Hopefully that will serve as work around until Titanium has full support for Windows (very likely 4.0.0 or 4.1.0 Titanium SDKs).
I created a hybrid worklight application having iPhone as the target environment using Worklight Studio 6.0. The application has 1 html file which has HelloWorld written in it.
I then migrated my worklight project to Worklight Studio 6.1. The application builds successfully, but while running the application, the application hangs at the splash screen and does not show the HTML page.
Is there any step that I am missing in the migration activity for iOS?
This actually sounds very much likely a recently fixed APAR: PI21872 ON IOS, INSTALLING THE SAME APPLICATION TWICE (WITHOUT unistall) would perform FREEZE AT THE APPLICATION START-UP.
While the APAR title does not match your problem description, it does match the issue that was resolved internally.
Either take a look at IBM Fix Central and install the latest 6.1.0.1 available there, or
Open a PMR and request the latest available Worklight 6.1.0.1 iFix
Verify that your issue is then resolved.
Also, since you say you have only "hello world" in your application, you could just create a new project in 6.1 instead?
I have used Worklight 5 for Eclipse Juno multiple times and had great success when building hybrid apps for Android and iOS. However, I just recently installed a new version of Eclipse Juno on a new computer and later installed Android ADT and Worklight.
Eclipse works as normal for non-Worklight apps. When I create a Worklight 6.1 project and right-click the common folder, select "Run-As", I am not presented with any options to do just that. I am only seeing the options for "Preview and Run configurations" but should be seeing these mentioned options and "Build and Deploy".
Is there something corrupted in Worklight that I need to change to make these options re-appear? Are these options no longer used? If they are not used, how do I deploy a hybrid to Android, iOS, or any other platform?
In Worklight 6.1 they have re-swizzled the options a bit, but if you want the equivalent of "Build all and Deploy," select: "Run on Worklight Development Server." You need to select the App, not the common folder to get that option.
Since you say you've been using Worklight 5 and have now switched to Worklight 6.1.0, I suggest that you will review the following:
What's New in Worklight 6.0.0.0
What's New in Worklight 6.1.0.0
IBM Worklight training modules
The Run As > Build and Deploy action was renamed to Run As > Run on Worklight Development Server and additional actions were added as well. You will want to take some time to re-familiarize yourself with the production...
Tip: no need to re-build after every web resource change you make; just refresh your previewed app and the change will be there.
In the image:
Run on Worklight Development Server = build and deploy
Build Android Environment = build only, don't deploy
Run on Android Studio = if you've installed Android Studio, the built project will open there
Build Settings and Deploy Target = configurations for minification/concatenation/other as well as changing the server the app will be deployed to, etc.
If you do not see these actions, I think it'd be best if you will get a fresh copy of Eclipse Java EE (4.2.2 ("Juno" SR2) or 4.3.1 ("Kepler" SR1)) and re-install Worklight Developer Edition from the Eclipse Marketplace (or your Consumer/Enterprise Edition if you're a Business Partner/Customer).