I have seen the Contacts in iPhone Simulator.
I want to create an application similar like that.
Does apple provide open source of that " Contacts " application.
Similarly, Does apple provide source code of " Safari ",
So we can create our own browser.
They don't provide the source code. You have a UIWevView that you can use to render web pages using WebKit, and you can access the address book information by using the Address Book framework.
To create "Safari" You can just use a UIWebview with a tool bar. It's rather trivial. a tutorial is here:
http://icodeblog.com/2008/12/19/iphone-coding-learning-about-uiwebviews-by-creating-a-web-browser/
Contacts is slightly more involved, you can use the Adress Book Frameworks. There are Cocoa Touch classes to bring specific view controllers into existence. These are like the photo picker where you give up control of the UI until you recieve a callback. There is also a C-based API for direct manipulation of the contacts DB from within your app.
http://developer.apple.com/IPhone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/200-QuickStart/QuickStart.html
Related
I'm trying to integrated in our iOS app. Due to the bad relationship between Google & our government, Google Map is not a good idea.
We have bought a local map service company's javascript & Web Services based SDK, now we want to use it on iOS. But it seems that MapKit does not support customer tiles.
So here are my current ideas:
Use UIWebView. But I tried that map in Safari, I can't drag to move the map nor use two fingers to zoom. I think I need to call some javascripts while touch events happens.
Build a costumer UIScrollView, download map images and display them using iOS sdk. But that map service does not have API to download images, I tried to read their 200KB+ undocumented javascript to find out the relationship between location & image files, but I got no results for now.
Both the two ways could face certain legal risks. I'm not sure what the purchase contract is like.
I need suggestions about the two ways or some new ideas. Thanks guys.
There are a couple of non-Google map implementations available on github that you might be able to use (linked via CocoaControls):
NAMapKit
MRMapView
I am totally confused with google maps and maps of iPhone...
i have read that iPhone uses google maps.....and also spent some time on it....
But it never display the items like location pictures, balloons etc.
EDIT
THIS is photo for of browser
and following is same place for iPhone maps
second one did not show the annotation added by people.....
(this is what i was asking for ballons or other pictures which people adds to location on oogle maps)
I want to display all those in my application....
what should i do...
if you suggests implement Google maps API, then please suggest a working link...or provide some sample code if possible.....if anybody has done it...then please mail me at yogeshkumau#gmail.com
waiting for answer......
Points of Interests(location, pictures and baloons) that you are talking about can be shown in your maps, if you acquire the license for Google maps premier api. In that case you'd have to use dynamic maps by using google's web services. However if you want to implement it using MapKit framework on iOS devices, you'd have to draw your custom POIs using core graphics.
Apple has a special agreement with Google to use their maps on their platform. The internet is packed with examples of usage of MKMapView along with annotations (pins, there're no baloons on iPhone).
I need to retrieve Google Reader subscription list for a user in a iPhone app. I understand that there is no official API available, and I have kinda exhausted Google search already. Out of various options, the closest I have found is [Using JSON Framework on iPhone - HELP!], can anyone share more details - sample code etc.
#WeNeedAnswers> Yes, the OPML format is what I am looking at. But I need to retrieve that directly from my iPhone app.
I'm writing an Objective-C wrapper for iOS based apps using GoogleReader API.
The project, inspired by Pyrfeed, is available at https://github.com/zimok/GoogleReaderAPI-iOS
Note that is an ALPHA, and I'm doing an hard refactoring to make it work Asynchronous and using a delegate protocol.
For now there are some base API methods available. Take a look.
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.
The Blackberry APIs allow one to insert custom menu items (and corresponding event handlers) into their standard email, SMS and Address book context menus. Is there any supported way to do this with iPhone APIs?
No, Apple doesn't provide these kinds of hooks. However there are some tricks I've seen - one example is what Twitterific does to tweet pages that you are viewing in Safari, via Bookmarklet which uses a Custom URL to launch Twitterific.
Perhaps you can do something similar by having a text containing a custom URL. I've never tried this but it's worth experimenting with.
As of SDK 3.1.2, no, that's not possible. In fact there's very little you can change! There's not even an easy way to change the colour of the title bar!