I want to develop app using visual studio in .NET platform. Can I use ionic framework to develop app in visual studio. If yes then please tell how to do it and tell how to install ionic framework and which are all the software we require to develop app using ionic framework..??
To develop cross-platform Hybrid apps in Visual Studio using Ionic...
1.Download & Install Visual Studio Community it is recommended by ionic itself for developers using Windows.
2.Download "Visual Studio Tools for Apache Cordova" officially from here
https://www.visualstudio.com/en-us/explore/cordova-vs.aspx
with that you can build apps for iOS, Android, and Windows using web technologies.
2.Run the setup & click Install for the products shown.
3.Go to Tools -> Extensions and Updates inside Visual Studio and in the Online tab search for Ionic and install it.
4.Now you can start a new project and select the Ionic project template, give your project a name and wait for Visual Studio to do the rest.
You can use node's package manager (npm) to install the ionic framework.
$ npm install -g ionic
For absolute beginners a startertemplate should be used.
Have a look here for more detailed informations:
https://www.npmjs.com/package/ionic
Of course you need a text editor, and a browser comes pretty handy too.
Related
I am new in Android, and I am developing android app using ionic and cordova frameworks but my pc configuration is windows xp 32 bit, and I am not sure that
this configuration will support this two framework, and if it support on xp 32 bit then which version of ionic and cordova need to download and how to install
it on windows pc.
please help me on it Thank you.
Follow these steps to install ionic and cordova.
Firstly, Install node js. Install it from here.
Open the command prompt and verify the Node.js version by using the command node -v.
To install Cordova and Ionic, use - npm install -g cordova ionic.
Make sure to install the latest version of JDK and Android Studio IDE for Android development.
To create a new project, use - ionic start projectname template.
I am not sure either, but you could try. Due to Node discontinuing XP support, you would need a Node version < 6.0 so try 5.9.1. Ionic 4 uses web components, so I doubt you'd be able to install a browser in XP that would support them, in which case Ionic 3 would be your best bet -- installation instructions here. You will need a browser with the best possible support, so try Firefox 52.3.0.
The first step would be to get Ionic running in your browser. Install Node, then run npm install -g cordova ionic. Create a starter app ionic start and choose one of the more involved apps like the conference app. Then cd your-new-app and run ionic serve. It might open IE by default, so open Firefox and navigate to http://localhost:8100.
If that works so far, it's time to build for Android.
Android Studio is available for XP. You'll need JDK, too (warning: must create an Oracle account to download this). Go through the Cordova docs to make sure you have everything in place (Android SDKs, environment variables etc). When that's done, run ionic cordova platform add android and ionic cordova build android. If that works and you get a "BUILD SUCCEEDED", it will be an achievement in itself -- let me know how it goes!
I just started learning flutter and I have a question.
1-is it possible to compile the code that in the android studio or visual studio straight to ios?
2-if I cannot compile it straight to ios, can I use those codes and compile them with Xcode in a macos without any change in them(flutter codes that i wrote in the android studio or visual studio)?
Yes, you need Xcode installed though.
A Flutter project built in Android Studio compiles directly for iOS.
You can build directly for iOS from Android Studio, but Xcode needs to be installed.
You can also
build from a terminal using flutter build ios --release
debug from withing Android Studio a Flutter project running on an iOS simulator or device.
It is possible.
You just have to open the application using Xcode and run it on you iOS device or emulator. Please note that iOS apps can only be built and tested (on both emulators and real devices) on macOS!
Run flutter doctor to detect any setup problems that might need to be fixed.
Also use that native IDEs (Android Studio for Android, XCode for iOS) to build + run your app.
I am using mac with OS 10.11.4, eclipse mars jee 64 bit & ADT
I'm trying to run the IBM mobilefirst plugin in eclipse mars, but it is not showing me in Create new project as image shown below.I have added all necessary plug ins successfully.
After installation of all plug in it is showing success as image shown below.
I'm loading the IBM mobilefirst from eclipse marketplace.
As I am new to hybrid application development please guide me to setup eclipse, IBM mobile first or worklight and ADT bundle plug in step-by-step.
Thanks in advance.
I think you first need to read about the product before simply installing it...
In MobileFirst Foundation 8.0 things are different.
You create a standard Cordova application using the Cordova CLI and you add to it to MobileFirst SDK also using the Cordova CLI, because the SDK is made up of a set of Cordova plug-ins.
The Studio plug-in is now a tool that exposes MobileFirst CLI functionality in the UI, such as: loading the console, registering applications, previewing applications...
Read more about MobileFirst Foundation 8.0 here:
https://mobilefirstplatform.ibmcloud.com/blog/2016/06/17/ibm-releases-next-generation-of-mobilefirst-foundation-built-for-hybrid-cloud/
And about the Studio plug-in here:
https://mobilefirstplatform.ibmcloud.com/blog/2016/06/17/ibm-mobilefirst-studio-8-0-plugin-for-eclipse-now-available/
Also learn how to migrate your existing apps:
https://mobilefirstplatform.ibmcloud.com/blog/2016/06/17/migrating-apps-and-adapters-to-mobilefirst-foundation-8-0/
https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/upgrading/migration-cookbook/
I am attempting to create an Android app using the Visual Studio 2015 RC with Apache Cordova (a multi-platform hybrid app) and for some reason, when I go to:
TOOLS -> ANDROID -> PUBLISH ANDROID APP...
I get a quick thinking/circling mouse pointer then nothing.
Useful Information:
-The installation went fine and I can use the Ripple emulator fine.
-I did the same steps on a machine with Comodo which allowed me to see what Visual Studio was attempting to access and it was definitely reaching out to the Java tools on the computer (I assume to build the apk).
Other than that, I have no idea! :) Thank you.
Thanks for using Visual Studio tools for Apache Cordova.
I presume you are using the following menu, which is added to Visual Studio by the Xamarin Tools and can be used only with Xamarin and not with Tools for Apache Cordova.
To publish an hybrid android app to Google play store, using Tools for Apache Cordova, you will have to follow manual steps which are provided here
I agree that showing this menu for tools for Apache Cordova is confusing and leading users to believe this is a supported scenario. I will take this observation/feedback with the product team and let them know.
Once again, thanks for using our tools.
I have an existing Cordova app that I've been testing in Xcode.
The workflow was simple:
1. cordova build ios
2. open xcode project file in Xcode
3. either run in simulator or build directly to device
I'm tyring to figure out the same for running an Android build for testing.
1. Installed Android Studio
2. Installed and configured Android SDK 19
3. When I setup my run configuration, it says:
"AndroidManifest.xml doesn't exist or has incorrect root tag"
I've followed the trail to Cradle, migrating existing project to Cradle, but have been unsuccessful so far in figuring out how to take an existing Cordova project and getting it to run on my device.
Is there a workflow as easy as Xcode's 1...2...3... for Android?
As far as I know, android studio isn't officially supported by cordova/phonegap yet, you should use the ADT.
But here you can read how to work with android studio beta and cordova/phonegap
http://iphonedevlog.wordpress.com/2014/10/10/using-android-studio-beta-with-cordova-phonegap/