File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes iOS and the fly likes Develop an iPhone application with Base SDK 3.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Develop an iPhone application with Base SDK 3.0 " Watch "Develop an iPhone application with Base SDK 3.0 " New topic
Author

Develop an iPhone application with Base SDK 3.0

Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi All,

The project I developed a year back was build with base SDK 3.0. Now, I want to do changes in the same application. The problem in SDK 4.0 is that I can not have 3.0 SDK as base one, I can set deployment target as SDK 3.0. I am using SDK 4.0 these days
What changes I need to do in the SDK? Any idea?

Thanks
Pratik Goswami

iOS * Android Developer
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
The base SDK is the one used for development/compiling, so you cannot change that. You can change the deployment SDK to 3.0, and everything will be fine. However, you should test on a 3.0 device, since the new SDK doesn't come with a 3.0 simulator.


Visit my blog: http://jnassef.blogspot.com/
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Yeah,
I know that way, but what If I want to develop application for 3.0 devices only in SDK4.0.. ?

Thanks anyways

Thanks
Pratik Goswami
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
If you have the dmg of the old SDK, install it in another location, and you will be able to have the base SDK lower than 4.0 (or 4.1 if you have the latest SDK). Frankly, I don't care what the base SDK is, since it won't matter the the user at all. The thing I care about is that there is no simulator for anything lower than 4.0, which is something I hate, because I only have one device, and I cannot downgrade the iOS on it.
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Exactly,

I am having the device 4.0 and some features are not working correctly (XML Parsing), which works smoothly on 3.0. That's why I want older one to run perfectly.

Thanks
Pratik Goswami
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
I would recommend using libxml instead of NSXML for two reasons. The first is that libxml is a c library, and if you stick to a particular version (libxml2 for example), it will work the same on all devices. The second is that it performs better (according to my trials, xml parsing using libxml2 takes 60% of the time taken by NSXML)
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Parser is running smoothly I have tested it with 30,000 records. But I have to acquire retain for each and every parsed object to running in 4.0. This is what gives me a pain .

Thanks
Pratik Goswami
Alaa Nassef
Ranch Hand

Joined: Jan 28, 2008
Posts: 460
The reason I suggest using libxml is that it's independent of the OS version, so if it works in one version, it should work seamlessly in all other versions without having to change a thing in the future
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Develop an iPhone application with Base SDK 3.0
 
Similar Threads
JavaME SDK 3.0 storage capacity
version tool for java ME sdk3.0
Android - Tool for signing applications?
Sun WTK Emulator & HTTPS
sun java 2.5 platoform or 3.0 platform