iPhone SDK connecting to iTunes - iphone

Anybody know if there's a way to access iTunes from an iphone native program? Is there an sdk for that? i.e. - is there a way I can write a native iphone program and put in a 'buy' button that will bring up iTunes and go to some artist's song? Or better yet, just buy it right away?

In big-iTunes, find the song your want and select Copy Link. Put the link in your iPhone app.
You can then open this link using UIApplication's openURL: method and it will open in iTunes.

Related

How do I access my app listing in App Store without iphone?

So, my app is approved and now I'd like to check what does listing look like in App Store. Is there way to do it without iPhone?
You can go to iTunes (Both Mac and Windows PC has supported) application and find your app.
There you can check how your app looks like in iPhone.
One more possibility: "https://itunes.apple.com/app/id[Your_APP_ID]"
Ex: https://itunes.apple.com/app/id424562537
First of all, it can take up to 48 hrs for your app to appear in all stores world-wide.
In iTunes Connect, you will find the direct link to your app. Depending on the browser (Safari vs. Chrome/Firefox/IE), first the iTunes Web Preview should show your app's store listing. From there you can view it directly in iTunes (if it's installed on your machine.)
To check if your app is available in all territories, go to "Pricing and Availability" and check for the right settings there. (Available in all territories)

Launching iTunes Store within iPhone app using PhoneGap

When I use itms://.itunes.apple.com/us/album/speak-now/id399727924 it works fine in xcode.
But, I'm trying to use this in phonegap and external linking is not working.. is there a way to launch itunes within app.. ex: _webapp?
thanks,
jad
Yes,
iPhone will recognize an URL to the iTunes store and open it with the proper app.
try to open the following url using an iOS device: http://itunes.apple.com/au/album/speak-now-single/id396131841
On your URL, there is a dot (.) before itunes, maybe your problem is this.

Can my app provide an "Update in App Store" link?

For various reasons I need my iPhone app to include a way to tell the user that a new update for the app is available and prompt them to go update in the App Store.
It looks like there used to be an undocumented way to give an HTML link that would lead the iPhone to open the Upgrade page for app, or something?
How can i make a link to update my iPhone application?
https://devforums.apple.com/message/139548#139548
Unfortunately it appears that iTunes links have changed format from these old "Phobos"-type links (which used "WebObjects") to something new? I'm not very familiar with the old system or the new one...
Can I create a link that will take my users directly to the "upgrade apps" screen on the App Store? Or even better, one that will initiate the upgrade for my app immediately?
Apple provides an iTunes Link Maker tool which you can use: http://itunes.apple.com/linkmaker
Just put the "Media Type" as apps and type in the app name. Apple recommends using an NSURLConnection for opening the link within your app since it will cut out all of the re-directing that goes on and open straight into the AppStore app.

iPhone: Start or Download App if not exists from Safari

I know its possible to open an app from mobile safari using custom URL Handlers.
Is it possible to open the App Store from Safari on the iPhone and automatically install the app?
Or might it even be possible to open the app if it exists on the users device and to download it if it doesn't?
Best,
heinrich
You can't automatically install the app, but you can go to an App Store URL via UIApplication's openURL: method.
To open another app from within yours, see this question: Launch an app from within another (iPhone). (I don't know how you'd find out if the other app is installed. Maybe just try to open it, and if that fails, open the App Store URL?)

Is it possible to buy content from itunes store via iPhone app?

Is it possible to buy content from itunes store via iPhone app? Does apple allows to purchase stuff from iTunes using iTunes API? And is there an ability in the API to do that? Thanks
NO, it's not possible at this time.
You can buy in-app content like additional levels for games or additional books for ebook readers. You can not use an application to buy another app or song from iTunes but I saw many app linking directly to the store.
If you do this your running app will close (or go to the background) and iTunes on your iOS device will open. I guess it is done very simple with just the right kind of hyperlink since desktop applications and websites can do it too.