I am working on google maps and wanted to know if we can create the kml file and download it and use it in our code,I referred to sample KMLViewer by apple but it instruct you to open browser and manually do it,
Is there any way i can download it and use in my app.Any help would be appreciated.
I am looking for a solution on this as well. This SO question is relevant: Generate KML file within iphone app -- I think the way to do it is to use the Directions API from Google:
http://code.google.com/apis/maps/documentation/directions/
Related
I'm developing an Android application and I need to implement offline maps. For this I use OpenStreetMap, or rather osmdroid.
I need to implement the loading of maps when executing the program based on where the user is located. My question is, is it possible to load maps when I run the application and how do I do this?
Yes.
Off device, using MOBAC, you can follow this guide: https://github.com/osmdroid/osmdroid/wiki/Offline-Map-Tiles#mobile-atlas-creator-mobac
On device, using osmdroid, you can use the cache manager:
https://github.com/osmdroid/osmdroid/wiki/Offline-Map-Tiles#use-osmdroids-cache-manager-on-device---version-52
There are several links to examples and source code, such as the one in the osmdroid sample app, which is on the play store or available for download on github.
https://github.com/osmdroid/osmdroid/blob/master/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/cache/SampleCacheDownloader.java
I am implementing salesforce api in my project. I downloaded code from the below link
https://github.com/developerforce/Force.com-Toolkit-for-iOS
But the problem is that i want this api on iPhone not on iPad.
When i am going to convert it on iPhone. I am fail. It is typical to convert it because of difference of code like split view etc.
I dont want split view just simple api. If you guys source code of it then share. Thanks.
(Note: I am using xcode not phonegap)
I think you're confusing yourself by looking at the sample app, the actual api library itself doesn't use splitviews as far as i know. Concentrate on what's in the ZKSforce directory, and not the sample SVNTest app.
There is a document link
:
http://forcedotcom.github.com/MobileContainer-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html
here is the code:
http://forcedotcom.github.com/SalesforceMobileSDK-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html#//api/name/requestForCreateWithObjectType:fields:
I imported pdf file to iphone device using iTunes. I verified that the pdf file stored in 'root/user/media/books' path. Can i read this file in my program?
Is there any way to read the file? Please Help me.
Thanks in advance.
The SDK doesn’t provide any access to the books (including PDFs) in the user’s media library. For your app to read a PDF that was added via iTunes, it needs to be added to your app specifically, using the iTunes file sharing malarkey (look up “UIFileSharingEnabled” for more information on that). You can file an enhancement request with Apple to try to get them to add support for accessing the user’s book library, but don’t count on it.
Here is a guide on how to view a pdf on the screen. Here is a previous post about how to parse a pdf using CGPDFScanner. Hope that helps!
i wanted to display the list of files like it is done in itunes .how can it be done please help me out im a beginner
the screen shot is here
That thing you are referring to is called coverflow and there is open source library that provides such functionality
https://github.com/devinross/tapkulibrary
The CoverFlow API Apple uses is (I think) still private, there's open source implementations like OpenFlow, there's lots of resources on how to get started with it if you dig around on Google.
I want to add the GData api from google to receive all the links in a youtube channel. I've followed this tutorial http://mischneider.net/?p=377#comment-1277 but the folder headers is not created. I've been trying the whole day to get it running but without succes. The Google tutorial is not really clear to beginners.
Thnx!
I used this tutorial. You must include SystemCongiguration framework and make all of this tutorial.