Which is better for Android studio, offline or online - android-studio

I use android studio I downloaded it from the main site and after that I run it and he downloaded sdk files
but I see I saw that I could full download it offline and build apps
my ask
What is the difference between being a program offline or online ?
and how can I full install it offline if it better

There are actually no differences. The thing is, offline installer is good when you have to download it from internet caffe since you do not have internet connection at home. That's the purpose of offline installer so you can install it on your computer without internet connection. If you have internet connection then go for online installer.

Related

Avoiding Android Studio and SDK downloads

Android Studio and SDK downloads are just so often that our network gets chocked by everyone trying to download the updates.
Is there a place I can download all components regularly, and request all people within our network to just replicate locally from a local repository ?

using push notification using on visual studio on genymotion

I followed the link given below:
https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-cordova-get-started-push/#optional-configure-and-run-the-app-on-android
I also built the quick start azure project as said by your tutorial.
Now that I am trying to run the app on genymotion emulator (I have installed google play services in it) the build is giving me many errors
please click on the link of the image to see the errors
PS: The process is giving build errors so using genymotion is actually not a problem
Someone please help
The error indicates that you are missing a dependency from the Android SDK. Open up the Android SDK Manager and install google play services. If you installed the Android SDK as part of the Visual Studio install, you may need to run the SDK Manager as Administrator to do the install.

"Object reference not set to an instance of an object" when creating NEW Windows Phone project

I have Windows 8 x64 (not pro), VS2012 Pro Update 3, WP8 SDK and cannot create any new Windows Phone project.
I tried the following to no avail (in admin as well as non-admin accounts)
(numerous times, in different permutations)
Uninstall all Silverlight SDKs and components
Uninstall WP8 SDK
Uninstall all VS2012 components
Reboot
Clean registry
Reinstall VS2012 Pro \ Update VS2012 \ WP8 SDK (with reboots each time) Did not work
Reinstall VS2012 Pro \ WP8 SDK \ Update VS2012 (with reboots each time) Did not work.
Started devenv /ResetSettings (did not help)
Started devenv /ResetSkipPkgs (did not help)
Updated Silverlight (before\after all installs --different permutations)
Nothing helped. Exhausted all possible "solutions" listed on various sites.
I can open and run all other project types EXCEPT any of Windows Phone template projects. It does not even create a solution.
Only extensions are Microsoft Web Developer Tools. NuGet Package Manager and Visual Studio Extensions for Windows Library for JavaScript. Clean install, no third party extensions.
Nothing shows up under my Tools > Extensions and Updates > Updates (all updates done)
Finally able to create a new Windows Phone App project!!
Solution: UNINSTALLED NuGet (as updates to it did not work)
Since I am a new user, had to wait for 8 hours to be able to post this as an ANSWER
#MohamedThaufeeq, thanks for pointing to that direction. In my earlier attempts, I did not try to open a WinPhone app immediately after uninstalling NuGet. I did updates on it, did reinstalls of it, but did not remove it completely.
If there is a tools installation problem you can go into Control Panel's Programs, find the SDK there, and choose Repair. Then reboot your computer to play it safe. There are other threads in this forum related to SDK installation problems. Be sure to follow all the recommendations, including installing the SDK 8.0 last.
https://dev.windowsphone.com/en-us/downloadsdk
Regarding this error message in the context of having a problem with a specific project build, this can happen sometimes with the Xaml. In which case you can try a Clean build then a Rebuild.
Hope this helps...
There wasn't any updated for NuGet. But uninstalling it from (tool->Extensions and Updates) and then re-installing it worked for me.

How to use PhoneGap with Visual Studio

I'm having trouble getting started with PhoneGap on windows 8, VS 2012, namely:
I don't know how to install the templates
I open the template projects I've downloaded from PhoneGap, but they are in compatible with VS2012
I don't know where to start in respect to creating my first simple CRUD application
I want to connect to a WCF API and make some calls
How to publish the result allowing installation on many devices:
I mainly want to use iPhone and Android devices
How do I get started with PhoneGap?
#Smithy, Microsoft just made it possible to develop Cordova apps with Visual Studio 2013 Update 2.
Its just a preview as far as I understand, but go have a look.
If you have the latest version of Visual Studio installed, you need to go to Microsoft'd download page and download the installer:
http://www.microsoft.com/en-us/download/details.aspx?id=42675
This comes along with documentation on how to get started and how to install and set it up in VS 2013.
Good luck.
UPDATE:
With the release of Visual Studio 2013 Community Edition along with Update 4, MS has made it easier than ever to create Cordova project....and best thing of all is it's FREE!!!!
Benefit is that if your used to VS like me, this is a comfortable environment, and its super easy to get started.
To get access to these templates, follow the steps when creating a new project in VS, and you will be prompted to install additional software, including but not limited to SDK Manager, adt, iTunes, emulators etc..
After these are installed, it is now simple to create projects, edit and run them in the included RIPPLE emulator.
These projects can also in addition be deployed to your device from VS.
To check if your device is picked up on your PC, open a cmd and run "adb devices" to see if your device is picked up on your PC and a list of connected devices.
Easy, effective and it works. From, see link on terms of use and limitations in organisations: Free Dev Tools
Download link here: http://www.visualstudio.com/en-gb/products/free-developer-offers-vs
Q: Who can use Visual Studio Community?
A: Here’s how individual developers can use Visual Studio Community:
Any individual developer can use Visual Studio Community to create their own free or paid apps.
Here’s how Visual Studio Community can be used in organizations:
An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects.
For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1 Million US Dollars in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
Thanks Microsoft!
You can use VS to edit the html, css, and javascript files, but I don't believe there are any VS project templates available. At least I've never seen any.
But, you won't be able to compile and deploy. The templates for Android for instance are eclipse project templates since phonegap is building a java application in order to deploy to android.
If you want to develop for android, follow the getting started guide from Phonegap ( I can't get you a link right now due to firewall issues). The files you put in the www folder will be the html, css, and javascript files for your project and you can use anything you want to edit them, including VS.
You can create PhoneGap application using
Cordova vs plugin
Telerik App Builder
vsnomad
for more information please see the below link
http://sourcefreeze.com/cross-platform/visual-studio-cordova-plugins-for-cross-platform-mobile-apps/
You may also want to refer to this post that describes how to use Phonegap projects in the new Multi-Device Hybrid Apps that uses Cordova integration in VS - https://stackoverflow.com/a/23621633/1277291
RedGate has a product called Nomad which integrates beautifully with Visual Studio 2013.
It makes use of the PhoneGap Build cloud service. With this approach you don't need all the platform SDK's on your system. Works very well.
See this video. Unfortunately RedGate recently stopped supporting Nomad. I'm hoping Microsoft's new offering will offer similar capability.

Trouble downloading Windows Azure SDK 1.4

I am trying to download the Windows Azure SDK 1.4.
The Web Platform Installer pops up, and I choose "add" for "Windows Azure Tools for Microsoft Visual Studio 2010 - August 2011". I click "accept" to the terms, and the installer downloads and tries to install the sdk.
I then get a message: "We're sorry. The following products have failed to install.", then lists everything I tried to download. It says that "this product cannot be installed because product that it depends on did not install successfully."
Download log available here.
Any idea what the problem could be?
I had a similar issue.
To get around it I started uninstalling the previous versions of everything it was trying to install. The installer worked after I'd unistalled the Visual Studio tool kit and the Azure SDK.
Fortunately when you rerun the WPI it doesn't try to re-download the files.
Try to download the msi without the platform installer to skip the dependencies.
http://www.microsoft.com/en-us/download/details.aspx?id=28045

Resources