store contact data which is already available into iphone AddressBook - iphone

I am developing an apps where i am getting some information regarding contacts example
Name:xyz
Phone number:1234556677
So how do i store this information directly into addressBook of an iphone.
NOTE:I dont want the page to navigate to address book and add manually.What i need is i have already have information available like name and phone number. i have a button, click on button directly it should be stored into address book.
i am stuck in this from past couple of days can anyone help me in solving this.
I have gone though many links but all those take me to add contact.What i really need is to store the information which is already available to me into addressbook.

iPhone : Insert Contact to Address book without any User Interface
This is another user having the same problem.. found this within 1 minute (third link if you google for "iOS add contact")

Here is a tutorial which might be helpful to you.
http://www.modelmetrics.com/tomgersic/iphone-programming-adding-a-contact-to-the-iphone-address-book/

Related

How to Access Contact information on Apple Watch?

Using watchOS 1 or 2, I would like to be able to access either favorite contacts or all contacts on my watching using the picture. I know that I would be have to use the setItem call but I still don't know how to access the contacts from the Apple Watch itself.
There isn't anyway to do exactly what you want in this case. However, you can use one of the ways explained below:
1- Get contacts in the iPhone from internal libraries, and then use WatchConnectivity framework to transfer data from iPhone to Apple Watch.
2- Set up a cloud service, and then move contacts there from the iPhone. User can see them in Apple Watch whenever it is connected to the Internet.
3- Ask user to specify contacts on Apple Watch once, and then show them to the user.
4- Open the contacts of iPhone programmatically in Apple Watch, which is a question answered here.
As you saw, there is no comprehensive way to see contacts directly on Apple Watch without iPhone help, but these ways may help you. WatchKit library is growing every month and every year, so wait for the new releases.

iPhone Call screen note

I want to show particular note about incoming number on call screen of an iPhone.
E.g. I have Jane as a contact saved in my Contacts on an iPhone. I also have a note associated with that Jane's contact, let's say that note is "Dentist".
Now If I get call from Jane I should be able to see "Dentist" on call screen.
I am currently using PhoneGap framework.
I have been searching for it but had no luck.
This is not possible on non-jailbroken iPhone. But you can achieve it in some other way like how the sticky notes apps are working,
Ask the user to create a note
Generate a image from the user designed note(using code)
Finally ask the user to assign the image to the contact.
No, you have no way influence how contact is displayed in phone call at not jailbroken iPhone. Information is taken from address book only.

Using AddressBook to share information between iPhone apps

I've read that it's possible to share information between iPhone applications using the Addressbook. In fact, TextExpander Touch seems to be able to do just this by looking at their SDK how-to:
http://www.freshblocks.com/tutorials/how-to-add-textexpander-touch-sdk-to-iphone-apps/
Can anyone provide a concrete example of how this is achieved? I've read that it involves creating a 'dummy' contact - but I don't see any such dummy contacts on my phone.
I would instead use inter-app communication using custom app URLs ala: http://mobileorchard.com/apple-approved-iphone-inter-process-communication/
I would imagine polluting a user's address book with dummy contacts would be severely frowned upon by Apple/rejection-worthy.

Number of times a iphone app installed

I am new to iphone stuff. After deploying an application in iTunes is there a way to find out the number of iphone/ipod touch which has installed / uninstalled this application ?
During uninstall the user is asked to rate the application, how to get that information with a developer license credentials ?
Apple tells you the number of sales (and the number of upgrades) in iTunes Connect. What they don't tell you is how many people have uninstalled your application or, more importantly, how many people are still using it n days after installing it.
You may be able to get this information (and more) using one of the third party analytic tools such as Flurry, although Apple has recently started to object to service like them. Another option would be to gather the same kind of information on your own server.
It would be really nice if Apple provided better information but, unfortunately, they don't at the moment.
All this data is provided through Apples iTunes connect site
https://itunesconnect.apple.com
Additionally you could subscribe to one of the support sites like
http://www.appfigures.com
which will give you nice graphs on sales etc
You should also take a look at Flurry Analytic's. Not only will it tell you how many unique devices it has been installed on, but you can add events as well. So lets say your app has a "Featured Listings" area or something like that. Flurry will log how many times people enter into the "Featured" area. It will help track conversion rates...
Also shows you the navigation path the user took. So they click on , "search", then they click on "homes", then they clicked on "featured"... yada yada yada... it provides excellent information.
If your app uses Core Location you can even see a dot on a map as to where the user was when they did all of this.
http://www.flurry.com/
-LT
The information provided by iTunes Connect is the number of downloads of your app. The ratings and reviews are actually not provided via iTunes Connect, but you can find it indirectly on the app store.
There are some services that aggregate all this information for you. A new one is www.appannie.com which shows you both downloads and ratings.
For number of installed Apple just updated https://itunesconnect.apple.com site you can adjust the date range in the middle of screen (using the slider) or by adjusting the dates on top left corner after navigating to sale and trends screen to see how many downloads you have had.

How to add a contacts to contact book in own program?

I want to ask a question about the iPhone application. The application can let the user to enter the information in a costumed table (not the contacts book). After that, the program will use the retrieved data to add to the address book. But I don't how to add the content to contacts book. Can any one help me? Thank you very much.
The framework you are looking for is the AddressBook framework, and the guide within the SDK is called "Address Book Programming Guide for iPhone OS"
The method that does this is called ABAddressBookAddRecord