PDA

View Full Version : making collection app????




MACloop
Dec 10, 2009, 07:22 AM
Hello!
I have thought about an app listing apps installed on an iPhone...is it possible to detect the apps installed somehow and to display information about them? I mean something like my own library, making a collection of some of the apps installed on my iphone? Is ist possible to communicate with the appStore to, within an application?
Thanks in advance!
MACloop



robbieduncan
Dec 10, 2009, 08:25 AM
As far as I am aware the SDK does not support either of these actions.

MACloop
Dec 10, 2009, 08:43 AM
Thanks for the answer and I suppose that is the reason why I do not find any information about such a feature. Do you know why it is not possible to detect installed apps on an iPhone? This information have to be stored somewhere and making a list based on a specific tag added in an applications would not interfere with the security rules set up by apple, does it?
Again, thanks!
MACloop

robbieduncan
Dec 10, 2009, 08:48 AM
Thanks for the answer and I suppose that is the reason why I do not find any information about such a feature. Do you know why it is not possible to detect installed apps on an iPhone? This information have to be stored somewhere and making a list based on a specific tag added in an applications would not interfere with the security rules set up by apple, does it?
Again, thanks!
MACloop

Well, if you read the documentation, your app can only read from the filesystem within it's own bundle or from it's sandboxed area. So you can't just scan the iPhone equivalent of /Applications. And there is no API call that I know of to list installed apps.

MACloop
Dec 11, 2009, 02:53 AM
Well, if you read the documentation, your app can only read from the filesystem within it's own bundle or from it's sandboxed area. So you can't just scan the iPhone equivalent of /Applications. And there is no API call that I know of to list installed apps.

Thanks for the answer!
Yes I have heard about those sandboxes and exactly as you wrote, also did I notice that there is nothing like that mentioned in the API documentation ...to bad - I hoped that I had overlooked something. ;)

OK, but I am sure there is a reason not letting apps know about eachother. Do you have a tip where in the documentation I can read more about this (i.e sandboxes and the structure of an app and the iPhone system self)?
MACloop

robbieduncan
Dec 11, 2009, 03:54 AM
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/FilesandNetworking/FilesandNetworking.html#//apple_ref/doc/uid/TP40007072-CH21-SW10

You should have read this entire document before embarking on any programming)

MACloop
Dec 11, 2009, 04:14 AM
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/FilesandNetworking/FilesandNetworking.html#//apple_ref/doc/uid/TP40007072-CH21-SW10

You should have read this entire document before embarking on any programming)

Thanks! I know...I have read most of it...not meaning that I actually did use and/or understand it all.