custom keyboard in iOS 8 access - ios8

is a custom keyboard in iOS 8 able to get access to the iPhone camera ??
because i heard that it can't get access to the microphone

No, you cannot.
As Apple documentation states:
Because of its focused role in the system, an app extension is ineligible to participate in certain activities. An app extension cannot:
Access a sharedApplication object, and so cannot use any of the
methods on that object
Use any API marked in header files with the NS_EXTENSION_UNAVAILABLE macro, or similar unavailability macro, or any API in an unavailable framework.
Access the camera or microphone on an iOS device
Perform long-running background tasks
Receive data using AirDrop
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionOverview.html#//apple_ref/doc/uid/TP40014214-CH2-SW2

Related

how to use apple push notifications using ios calendars built-in app and without an app

I have a client that created a custom mail server that has the calendars feature and wants the users to be able to sync their calendars in iOS Calendars built-in app.
I do not know how do this using the built-in iOS Calendars App.
I tried to setup in the Apple Development Account an app that use the Apple Push Notifications service but it looks like I have to create an application.
I didn't find any information on web.
Any suggestion where to start?
Thank you.
The "native" protocol for the iOS Calendars app is CalDAV. So what you really want is to have your server implement https://www.rfc-editor.org/rfc/rfc4791
The Calconnect Developer's guide is a good source of information for such a project: https://devguide.calconnect.org/Table-of-Contents
It lists some server side libraries that you probably want to build your implementation on top of: https://devguide.calconnect.org/CalDAV/libraries/

Import IOS SMS and iMessage Messages in Xamarin IOS

I've been digging around on the internet but haven't found anything close to what I'm looking for. Is there any way to load all SMS and iMessage messages into a custom Xamarin IOS app. I don't want to send or receive messages, just view messages that are already on the phone or tablet.Even if there is a Xamarin Forms solution for accessing existing messages, that would work.
There is no way to read SMS messages due to privacy concerns.
you have to Log in to the developers portal and click App Store Review Guidelines.
Nowhere in the guidelines does it specify that you can't access the SMSes. But you can only access then if you use private methods which is not allowed and will get you app rejected.
You can only access data for which Apple supplies a documented API. You can not access file outside of the Sandbox of your App, unless Apple provides an API for it.

Fallback for missing custom tabs with Xamarin and Azure AD B2C

I followed the sample on Xamarin Authorization with Azure AD B2C
That uses Custom Chrome Tabs (and the Safari equivalent).
I do not find any resources on how to handle the case if no Chrome is installed on the mobile device. I just noticed in emulator, it just raises an error dialog that Chrome must be installed. But I do not want to exclude users from signing in/up that use alternative browsers.
Are there any links/tutorials that cover this (crucial) behavior?
MSAL now suports a fallback using the embedded browser of Android / iOS:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/msal-net-2-released#you-can-now-leverage-the-embedded-web-browser-in-xamarinios-and-xamarinandroid
You can now leverage the embedded web browser in Xamarin.iOS and
Xamarin.Android
In the previous versions of MSAL.NET, Xamarin.Android and Xamarin.iOS
used the System web browser interacting with Chrome tabs. This was
great if you wanted to benefit from SSO, but that was not working on
some Android phones which device manufacturers did not provide Chrome,
or if the end user had disabled Chrome. As an app developer, you can
now leverage an embedded browser. To support this, the UIParent class
now has a constructor taking a Boolean to specify if you want to
choose the embedded browser. It also has a static method,
IsSystemWebviewAvailable(), to help you decide if you want to use it.
For instance, on Android: bool useSystemBrowser =
UIParent.IsSystemWebviewAvailable(); App.UIParent = new
UIParent(Xamarin.Forms.Forms.Context as Activity, !useSystemBrowser);
For more details about this possibility see the article in MSAL's
conceptual documentation: https://aka.ms/msal-net-uses-web-browser.
Also the web view implementation might change in the future
You will have to use a different library such as:
AppAuth for Android
"When a Custom Tabs implementation is provided by a browser on the device (for example by Chrome), Custom Tabs are used for authorization requests. Otherwise, the default browser is used as a fallback."
AppAuth for iOS
"iOS 9+ uses the in-app browser tab pattern (via SFSafariViewController), and falls back to the system browser (mobile Safari) on earlier versions."
(Note that Microsoft Authentication Library is consistent with the IETF's Best Current Practice for OAuth 2.0 for Native Apps that:
"... the best current practice is to perform the OAuth authorization request in an external user agent (typically the browser) rather than an embedded user agent (such as one implemented with web-views)."

how to do session / cookies management in Scene samsung smart tv?

Any sample code or documentation on session/cookies management in Samsung smart tv app development while using "scene" in application
Samsung TV Application running under a single-webpage architecture. All of the "scenes" will injected to index.html and becoming single instance which is "never" reloaded, So i never use session/cookies since all of global javascript variable will do the information sharing between scenes.
But if you want to use session/cookies for storing data after the application closed, you can use the File API to store text data in the TV and the data will "live" until the application uninstalled.
http://samsungdforum.com/Guide/ref00001/index.html

Accessing Voice Mail Services in Windows Phone 7

I am creating a module for my project which is location based profile change in Windows Phone 7.
I am giving an extra feature in my app. When a user recieves a call, when in a certain profile (i.e silent or driving), the incoming call will recieve a service like voice mail where he/she can record a message.
Which API can I use to achieve that?
It's not entirely clear what you're after but I'm certain you can't do it:
There is no API for accessing profile information.
There is no API for accessgin call history details.
There is no way to determine if your application is being obscured for an incoming call or another reason.
Access to voicemail is operator dependent. There is no universal way to access this. Some oeprators provide their own APIs for accessing things like voicemail but these vary in implementation, availability and capabilites.

Resources