Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 09-08-2009, 02:42 AM   #1 (permalink)
Project Manager
 
Join Date: Feb 2009
Location: India
Posts: 22
Svaths is on a distinguished road
Question inApp Purchase doubt

Hi All,

I have just started working on inApp purchase and thankfully got the start. But, I have a basic doubt.

Is it possible for app (after user successfully completes a payment) to download a file from a server / App store. For example, after a user makes a payment, I would like app to download a new xml and continue using it.

or is inApp feature limited only that I have to pre-load all XMLs and unlock them after a successful payment transaction

Can you please guide me.
__________________
Thanks & Regards,
Svaths
Svaths is offline   Reply With Quote
Old 09-08-2009, 03:18 AM   #2 (permalink)
Beast Mode
 
Join Date: Dec 2008
Age: 21
Posts: 1,971
Bertrand21 is on a distinguished road
Default

You can download materials like your XML but you cannot "patch " your hard code.
__________________
Haters gonna Hate
Likers gonna Like
Bertrand21 is offline   Reply With Quote
Old 09-08-2009, 03:29 AM   #3 (permalink)
Project Manager
 
Join Date: Feb 2009
Location: India
Posts: 22
Svaths is on a distinguished road
Default Thanks

Hi Bertrand,

Thanks for the reply.

Quote:
Originally Posted by Bertrand21 View Post
You can download materials like your XML but you cannot "patch " your hard code.
I can have the code handled for various xmls in the first instance itself. Can you please guide me (reference) on how can I implement this download feature. Is it part of Storekit API.
__________________
Thanks & Regards,
Svaths
Svaths is offline   Reply With Quote
Old 09-08-2009, 03:35 AM   #4 (permalink)
Beast Mode
 
Join Date: Dec 2008
Age: 21
Posts: 1,971
Bertrand21 is on a distinguished road
Default

Once you can verify the user payment was approved (storekit function) than you can use a nsurlconnectiom to download the XML from your server. Next you can use writeToFilE so you can save the XML for future use
__________________
Haters gonna Hate
Likers gonna Like
Bertrand21 is offline   Reply With Quote
Reply

Bookmarks

Tags
content, download, inapp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 358
8 members and 350 guests
.Snipe, BSH, givensur, guusleijsten, HemiMG, NSString, Paul Slocum, SillyHoney
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0