Can I use Rest client or .NET client libraries for the YT data API V3 and publish on Android and iOS platforms? OR I need to use specific libraries for each platform?
In simple text, I mean, Am I allowed to use any client library and publish on Mobile platform?
Thanks.
Related
We've been searching high and low for a library to connect to Microsoft Exchange and Office365 to manage/view calendar events in an iOS application - without any luck. We need to support on-prem Exchange servers so using Graph is not an option. Is our only option to write our own SOAP integration against the managed API or does someone know of a library (free or payed) we can use?
Best regards,
Christopher
Did you check the "Office 365 SDKs for iOS" here. It easily integrate services and data from Office 365 into native iOS apps using these Objective-C libraries.
I am creating a web portal that controls the devices (like switching it on/off), visualize the data sent by those devices(endpoints). I have generated a java sdk. Do i use that sdk in my web portal or is it just for a device that sends telemetry data?
It is desirable to use generated sdk only for device that sends telemetry data.
There is no point in attaching sdk to your web application, as far as this part of the system doesn't treated as endpoint. It is bad practice to include endpoint sdk into the places, where lion's share of functionality would be ignored.
I am currently involved in defining strategy for a large future project, where it is proposed to developed native mobile phone applications that would integrate with SAP middleware.
I would like to understand how one would develop a native iOS mobile app that would communicate with SAP NetWeaver, using Odata?
Regards.
You can create server side OData service and communicate with it from mobile app by http/https protocol.
OData supports both JSON and XML formats.
If your application is rather simple - common BSP application can be used. It works faster but a little bit harder to develop complex application.
Odata is an open standard, there are libraries that you could use in your ios project hence you could consume the Odata service in your app. It is just another HTTP/HTTPS request-response.
SAP gateway expose Odata service
Consume that in the app using open source libraries available.
Another option:
Use SAP mobile platform 3 (a product from SAP to mobilise enterprise) to develop native and hybrid apps. It supports all major mobile platforms like iOS, windows and android.
It has an SDK which provides all enterprise level features to your app - offline support, SSO, different authentication mechanisms like LDAP and 509 certificate etc.
SAP also provides cloud based solution as well it is called Hana cloud platform mobile services.
I would like to work with Google's .NET API while using OAuth 2.0 flow for devices.
I didn't find any way to use GoogleWebAuthorizationBroker or Create UserCredentials object in .NET when working with OAuth 2.0 flow for devices.
Is there a way to make the above requirement work? or should I use only REST API?
Thanks,
Ronen
Assuming you refer to this flow: https://developers.google.com/accounts/docs/OAuth2ForDevices, it is not supported in the Google APIs Client Library for .NET. So you need to build it yourself though you may be able to reuse large parts of Google's stuff.
Notice that the "OAuth 2.0 flow for devices" is not a standardized OAuth 2.0 flow, so support is not ubiquitous. Also, the Google says elsewhere:
If your app will run on devices that do not have access to a system
browser, or devices with limited input capabilities (for example, if
your app will run on game consoles, video cameras, or printers), then
see Using OAuth 2.0 for Devices.
If that's really your use case you should pursue my suggestions, otherwise you should switch to https://developers.google.com/accounts/docs/OAuth2InstalledApp (see the flow chart on the right side there as well).
The .NET client library for Google APIs supports OAuth 2.0 and it supports several devices including Windows Phone 8.1 and Windows Store applications.
The OAuth 2.0 documentation (including snippets) is available at: https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth.
My obvious recommendation is to use the library, because it will refresh tokens for you automatically (using the stored refresh token) and it's a light OO library which will do a lot of "magics" for you (such as media upload).
By the way, our samples repository includes full sample for a universal app, take a look at Blogger.Sample for more details.
The new youtube api (2.1 and 3.0) supports creating a channel for youtube if the google account is not linked to youtube
http://apiblog.youtube.com/2011/10/introducing-google-account-support-and.html
i am using C#, can any one hint me about how to do this?
There's no support for adding a YouTube channel to an unlinked Google Account in v3 of the API.
There is a v2.1 API call, but unfortunately the existing .NET GData client library doesn't have built-in support for that call, as you've noticed.
You can make the underlying HTTP PUT yourself using standard .NET HTTPWebRequest calls.
Alternatively, you can ask your users to go through the web-based flow starting with https://www.youtube.com/create_channel (or https://m.youtube.com/create_channel on mobile devices).