Open Address Book and select a phone number of a contact which is having multiple numbers in iOS - objective-c

I am developing a dialer application in XCode. In my application there is a button to pickup phone numbers from AddressBook. When a user click on that button I need to open the original iOS AddressBook and the user must be able to select a contact. If the contact has multiple numbers saved, the user should be able to select the number he need. After selection the number should be displayed in a UITextField. I have seen the same option in Skype Application.
Thanks in advance.

This is not possible to my knowledge. You'll have to fetch the contacts yourself and present them. My guess is that the apps you have seen that you think does this is simply just skinning the views as in the iOS Contacts app.
Have a look at https://github.com/Alterplay/APAddressBook for a convenient and easy-to-use wrapper around the Contacts API.

Related

Automatically save an image from an email to photo album in ios 14 shortcuts

For my work i get an automated email every week with my schedule attached in the email i was wondering if it is possible using the new ios 14 shortcuts automation to automatically save the image from the email to an album named schedule in camera roll can someone tell me how i can do this.
From what I know, there is no way to do it automatically, even with the shortcuts (I could be wrong). I do know certain apps (WhatsApp), for example can do auto saving of images. If you have that application, perhaps the e-mail sender can use that medium instead of an e-mail? That will at least solve half of your issue.
As per auto grouping; if you have a Mac Laptop running Catalina, you can create a Smart Albums of the pictures you want grouped together.
I'm sure other persons will comment on this; I'm interested if others can come up with a more concise solution.

Iphone, phone gap, childbrowser and email functionality

i have recently built my first app using phone gap and have managed to get childbrowser working to open PDF's. I was wondering if anyone knew how, or if it was even possible to add email functionality to Childbrowser. Currently, in the top right of the ChildBrowser bar, there is a button that produces a drop down with the option to open it in iBooks, SIGNificant and Dropbox, is it possible to edit this to add an email button or just add an email button straight into the UI bar?
I'm guessing that this cannot be done without using Obj-C. perhaps it will be included in later versions.

'Open In' functionality after downloading document?

I am developing an iOS app that allows users to download documents off a server. I have gotten this to work fine and they can even view the document. What I want, though, is for the document to have an 'Open In' action so, when a button is pressed, the user is able to select another application that allows you to look at PDF documents -- for example, the Kindle App. Is this possible?
Darn, I was wishing you were going to say "MacOS" because that would have made the answer a lot more fun (and do-able).
As far as I know, iOS still does not have an official SDK-legal way to have one app (your app) arbitrarily launch other app and specify an arbitrary document to open with it. This is part of the magic (?) of having to live within your own app sandbox.
On the Macintosh, this would be easy with Apple Events (among other things).

iOS and bluetooth numeric keyboard

I have a question about detect and change input from bluetooth numeric keyboard and sending text to another applications.
My customer asked me, if it's possible this:
my customer has bluetooth numeric keyboard and he wants to use it like phone keyboard (that means one press of number 1 it's letter A, double press it's letter B etc.)
he wants this behavior of keyboard in general for all of applications in iPhone (in email app, SMS app etc.)
I'm not sure, but i think that it's not possible, because i think the application on background cant't modify key input for another apps. Or is here any way how to do that?
Something like this may be possible via a jailbreak app but definitely wouldn't be possible using the regular SDK.
If this isn't meant as a mass market tool, perhaps jail breaking is an option? I would check this out and see if it's any help http://iphonedevwiki.net/index.php/MobileSubstrate

Silverlight - Lync Application nested in a table

I'm very new in Silverlight and the Lync-SDK. So sorry for the question from a beginner.
Long time ago, i wrote al little web application, based on php for reading out contacts from a sql database.
Now the customer expand his envoirement and place Lync. Now he want the little Lync-Status-Square in the webapplication for click to call features.
I playing a little bit with the SDK of lync.
The following problem comes up. The square of Lync is nested in a td of my table. But the Lync-Silverlight-Applet need dynamical space for hover effects or single clicks. But in my table, i have no space, specially dynamic space.
So i switch off all hover and click functionality and place the follwing buttons in the StackPanel separate.
PresenceIndicator
StartInstanceMessagingButton
StartAudiCallButton
SendEmailButton
Two of them are fine.
Clicking on the IM-Button, The Lync Client opens the right Contact in IM-Mode and i can directly type a message. Perfect!
Clicking on the Mail-Icon, an Mail-Client will open, perfect.
The PresenceIndicator just display the color, not the exactly state, thats a problem, when the color is yellow. I can display the state in a TextBlock, but i prefer a label appears while hovering over the icon.
But my mainproblem is the StartAudioCallButton. This Icon is an dropDown-Icon. And i have no space for dropdowns. I would be so nice if this icon has the same behavoior like the IM-Button. The Lync Client will open in Call Modus and i can select, which callernumber i will use. Is that possible?
Thank you for Your time!
Frank
If you're having trouble with the layout of the standard Lync SilverLight controls, then the best thing to do is implement your own SilverLight controls for the function you're having difficulty with.
User Controls are really simple to create, there are plenty of tutorials on how to get started if you're not familiar with the process.
The Lync SDK has some great walkthroughs to get you up and running with signing in to Lync and placing an audio call
I don't know of any way to get Lync to open in a Call Mode as you suggested, but if you're limited with screen space, maybe you could have your custom StartAudioCallButton open a popup with the phone numbers in?