Is the list of Apps on my iphone available for reuse in a different display? - iphone

I have an idea to use the apps on my iphone as a list for a different way to launch the program. But I have no idea if I can see the apps in something I can display? Is this possible? If it is possible, can I launch the listed app from my app? What do I need to access to get this done?

There is no way using the official SDK to enumerate the list of applications the user has installed.
Unofficially, with a jailbroken phone you can check the contents of the applications folder.

It is true there is no specific way to do this with the normal SDK. However if specific apps you had used URL schemes you can invoke them programatically. Google maps, mail, safari, sms have it. Any application can choose to implement their own custom one. This obviously doesn't help with any random app but if you have specific apps your targeting you might be able to integrate that way.

Related

Is there a way to access iphone's browser history and app history

I dont know whether iam asking a right question..,kindly give your valuable advice.
I want to know:
Is it possible to access iPhone's browser history in our code?
Is there any way to access app histories (means; which apps i opened recently & what time.)
waiting for your valuable reply.. Thanks.
App History can be accessed via a few methods. There are ways using Private APIs, but if you are aiming of the App Store that is probably not a good idea.
Here is a UIDevice category to get the Processes currently running on your phone using Public APIs. You have to figure out which app matches which process name, but I have found that it is usually pretty straightforward (e.g. Facebook is Facebook).
For your Both Questions.. No as Apps are sandboxed in ios.
How to access iPhone Safari History in an App?
Getting safari history from phone
How to access Safari history from iPhone App using Private Frameworks
We can find the history.plist in /var/mobile/Media/Safari/ and this we can read in jailbreaken iPhone. And You dont have a way to access app histories either.
There is a History.plist located at /private/var/mobile/Library/Safari for the jailbroken device only.
The history is stored in a property list outside of your applications sandbox and you cannot access it.

Icons of running application in iOS

I'm learning iOS programming. I was wondering if there is any way to show the icons of all the running apps in the phone. I know how to get a list of apps that are running currently, but is it possible to access their icons?
If not, what is the best way to do this? Crawl the appstore for icons and store it in the app?
As far as I know there is no API for getting the current running apps in iOS (but there is something like this for Android).
If you want to show only the currently running app icons, how will crawling appstore help?
If you cannot do it directly through some API trickery, how about a sideways workaround? If you know the names of the apps that are running, you could build a process that grabs the app icons through the iTunes Store Search API (using NSData's initWithContentsOfURL: method (docs), or with NSURLConnection and its delegates).
It might be a bit convoluted, but is probably the most straightforward way of getting the icon of any app that might be running.
I have tried to grab app icons using the API and I make it!
Take an example of app yelp, the premise is you get the buddleid of this app, which you can refer to Finding list of installed apps on iphone
And https://itunes.apple.com/lookup?bundleId=com.yelp.yelpiphone
helps to get the information in the form of json. Use the value for key "artworkUrl60" to get the icon of yelp

How to create an iPhone app that interacts with my website?

What I want to do is to make an iPhone application for my website similar to the photofunia. The users will be able to select an effect from a list, and then upload their own photo. Then the result will be shown in the browser where the user can save the image and/or publish to website like facebook, etc.
What software can I use to do that? Phonegap, appcelerator, etc? Can some of these help?
Thanks.
First of all, you may be able to make an iPhone app using Adobe Flash and the Adobe Packager for iPhone.
The other option is to get a Mac and Learn Objective-C.
There is no "easy" solution here.
Create a webservice for your website and try to use that in your iPhone Application
Of course I know there is no "easy" solution, but I'm almost sure there are other options for making iphone apps, instead of using Objective-C.
I only don't know the name of the tools.
Flash doesn't works. Adobe Air currently doesn't offer a way to access the camera roll on the ios.

Using another one application in one Iphone Application?

anytutorial to use good reader application in iphone sdk?
can I use Good reader application in my Iphone APplication?
To launch another application you have to find out if they have published a protocol to use and then 'open' that URL. See example, but not sure if GoodReader has published a protocol or how to find out if they have. You could always contact the developer directly.
You can't access another applications Sandbox or start another application via code, otherwise Apple will reject the app. I stand corrected to the answer about URL schemes to launch another app. You learn something new everyday.
You [can also] build the PDF functionality into your own app (i.e. use a UIWebView to do that for you).

iPhone Private distribution

I am new to iPhone world.
I have developed an application, which I would like to send to all the iphones come under the vicinity of a particular wi-fi access point. (It is meant for a shopping mall)
With my limited knowledge in this, I understand, I cannot distribute the application through my webserver. I even cant use the 'Ad hoc mode' suggested by Apple, as registering of all the mobile phones is impractical.
I would like to know whether the only solution is 'distribution through appstore'? Or any other solution available?
Expecting your help.
Thanks.
If you mean that the application would automatically be loaded onto phones when they move into a certain shopping mall, then yes, I can see that you are new to iPhone development! :)
For security reasons, the user has to specifically choose to download the app.
If the app is not iPhone-specific but simply a web page made up to look like an app, then you could use SMS to send a URL to the phone. But that would require you to know the phone number, which is also not made available through any kind of local wireless communication, again for obvious security reasons.
The simplest approach would be to put a poster up in the mall, telling iPhone users that they can find the mall's app on the iTunes App Store.
Another possible solution is to make a web app instead of a native app.