Eclipse : how to use azure storage in android NDK ? - android-ndk

Actually, I work with azure storage and mobiles services. In my work, I had to do two tests :
Test azure mobile service using android java
Test azure mobile service using android ndk
Firtly test i done, work fine. I passed to second test but i don't have great idea of how to do it.
azure storage for c++ github repo
Using azure storage with c++ example
I checked these docs, for look how to do it.
Need help to done this test. Thanks

Not sure what your question really is, whether you are having challenges with Storage or Mobile services.
If you are looking to try out the android client library for Storage, please check this out: https://github.com/Azure/azure-storage-android

Related

Is Azure Compute Emulator deprecated or by third party only now?

I'm planning to write my own .NET app on my personal time so will take months. I google and found there are two Azure Emulator:
Compute.
Storage.
While Storage is not needed right now as I don't need blob, messaging and file services, Compute is what I need, so I can develop and debug app w/o connecting to Azure all the time, plus saving $$$.
However, MS site only has Storage for download at Azure SDK. Links for Compute are all not-found.
Is Compute Emulator dropped by MS? Or, it's now developed and supported by third party like this now? http://windows-azure-emulator.software.informer.com/
BTW, is it safe to download this one?
Thanks for those provided all input.
Answer is: No need for any Emulator if building a Web App (or called site). Simply develop as you would using local IIS or IIS Express, of course Community is ok. Then when it's time to move to Azure, use "Web Deploy".
Details of What type of app/services you'd choose for Azure, refer to this:
https://learn.microsoft.com/en-us/azure/app-service-web/choose-web-site-cloud-service-vm

How to determine, find, install and reference a proper Azure SDK package?

I am trying to properly install Azure SDK, reference it and build an application based on it.
Firstly, I am not sure if I need to install Azure SDK on top of what comes with Visual Studio 2015.
Secondly, when I visit the following url, I fall into a "rabbit hole":
https://azure.microsoft.com/en-us/documentation/articles/dotnet-sdk/
… it refers me to a bunch of fragmented installs here:
https://azure.microsoft.com/en-us/downloads/
…. When I choose “Client libraries” in above url I get the following options: more than 100 of them!! :
https://www.nuget.org/packages?q=windowsazureofficial
My application needs to use Azure Service Bus and Azure storage. How do I determine what exactly is required and what is the best way to find and install them?
With a number of fragmented packages, I think there should be a flow chart help me to determine the packages required.
Thank you,
i would suggest you to use Web Platform Installer instead of direct download this-and-that package. WPI is much more convenient, and it installs everything needed.
For Azure SB, you will need NuGet package.
For Azure Storage, if you need to test it against your local storage first instead of trying to connect to the Azure one, you can install Azure SDK using Web Platform Installer - it will install you the Azure Storage Emulator. Details.
Azure SDK, however, is a very useful piece of software when developing for the Azure.
My application needs to use Azure Service Bus and Azure storage. How
do I determine what exactly is required and what is the best way to
find and install them?
If all you need is client libraries for Azure Service Bus and Azure Storage, you can download appropriate Nuget packages from here:
Azure Storage: http://www.nuget.org/packages/WindowsAzure.Storage/
Azure Service Bus: http://www.nuget.org/packages/WindowsAzure.ServiceBus/
If there're other packages you would need, simply search for those on Nuget's website. For example, if I need Azure AD .Net library, I would simply search for Azure Active Directory.
For Azure Storage, there's a local storage emulator that gets installed along with the SDK. However you can download just the storage emulator from here: https://azure.microsoft.com/en-us/downloads/?sdk=net (search for Azure Storage Emulator on this page).
Please note that there's no local service bus emulator at this point of time.
A Note About SDK
Azure SDK is pretty comprehensive (so is Azure) and includes tools and libraries for you to build and manage different kinds of applications that can be deployed in Azure. As Alex mentioned in his answer, going down Web Platform Installer is the easiest as it installs everything for you that is included in the SDK.
However you can also pick the components of SDK based on your project's requirements and install them individually. For example, when you go to this link: https://www.microsoft.com/en-us/download/details.aspx?id=51657, you will see all the components that constitute SDK 2.9. On this page, when you click download button you will be able to select components that want to download based on your project's requirements.

azure mobile service blob storage using xamarin

I have used the info on this link to create a windows phone sample of uploading images to Azure Blob Storage by using Mobile Services.
http://www.windowsazure.com/en-us/develop/mobile/tutorials/upload-images-to-storage-wp8/
I want to now try and use Xamarin Component of Azure Mobile Services to achieve the same result from Android and iOS. Does Xamarin component have support for this? Also, if anyone has done this before from Xamarin, could you please point me in the correct direction? I couldn't find much information on this topic of using blob storage from within Xamarin for Android or iOS
You can use Zach's Blob Uploader:
https://github.com/zgramana/IOSAzureBlobUploader
This is a lot simpler than using the AMS features for this (but lacks the features like expiration of the url and some auth bits).
You really want to use a web service between your blob storage account, and your Mobile app, unless your app is allowing users to access their own blob storage accounts. If you are determined to make a Xamarin app use Blob storage directly, you can use this Mono port.. it takes a bit of work to get it functioning. It also won't handle some functions in Azure Blob storage. I could only get "Download" to work. Deleting.. and uploading functions were broken. Maybe I screwed up the port to Xamarin.
Mono Azure sdk port
By using that sdk port, I was able to make an IOS app called "Blob Client" that allowed users to at least download their files on IOS. Made it as a tool for myself.. for a project I had, but then went ahead and put it out on the store.
Blob Client on IOS.
Here is an article on connecting to Blog Storage in Xamarin via the Azure Storage package. It's currently in preview but should be what you are looking for.
https://azure.microsoft.com/en-us/documentation/articles/storage-xamarin-blob-storage/

Deploy Azure Package from my own WPF App

I am creating a little utility app for some of my Azure work and i would love to make it possible to deploy a azure package from within my tool.
I have a package that have been created from Visual studio and i can manual deploy it or deploy it from within VS 2012.
Anyone who know a guide or can tell me how i would deploy it from my own application?
Yes, you can do that. Everything you see as far as deployment is concerned in VS is backed by a REST API. So you could essentially write a WPF application which is a wrapper over these REST API. There're two things you would need to do:
Upload Package files to blob storage: This would be the 1st thing you would need to do. You could make use of storage client library or implement REST API for uploading package files to blob storage.
Implement "Create Deployment" Service Management API function: Take a look at the functionality here: http://msdn.microsoft.com/en-us/library/windowsazure/ee460813.aspx. Once you have uploaded the package file in blob storage (and got the blob URI), you could invoke this functionality.
As far as I know there is no API wrapper / SDK available that covers full functionality on managing Storage Accounts, Deployments etc. yet. You can use the Windows Azure Management REST API though.
In order to use this API you need to have a valid management certificate in the subscription you want to manage and sign all REST calls to the Management API with it. There should be sufficient information about how to do so in the link above.
HTH

Monotouch - Windows Azure toolkit

I am working on an Iphone application which needs a direct access to Azure. I know there are toolkit versions exist for Objective C and Android. Is there any ported version of the toolkit exists for Monotouch?
There is no specific Azure SDK which is designed for MonoTouch and the Azure desktop binary are not compatible. If you decide to use MonoTouch, you would need to use WebClient API to create your own HTTP/HTTPS connection something similar to as described here, which could be comparative complex. On internet you may find some experiment level code to use Azure services and MonoTouch application so you may be by your own to try to get things working.
If you choose Objective C then you can use iOS SDK for Windows Azure which is far better solution. I personally will not use MonoTouch to develop application on iOS devices, if I am heavily dependent on Windows Azure Services, instead I will choose iOS Windows Azure SDK to connect Azure Service through native code.
Check this out as well: MonoTouch connect to Azure ACS, Azure SQL / Azure WCF

Resources