detecting email account from within an iPhone application - iphone

Is there a way to know the email addresses to which the user has linked his iPhone to from within an iPhone application?

Yes, you can use the AccountEmailAddresses function of ABGetMe for iOS. Make sure to read and understand the Limitations section of the README.

Related

Get the mobile number from iPhone settings in titanium appcelerator

I want to fetch the user's phone number from her iPhone settings. I have found so far that this is not supported with any Titanium API. Is there any module or a way to get the phone number that is entered in user's iPhone settings.
Thanks! :)
You can't access that information. Even when you are using Objective-C to create your app, Apple doesn't provide API for that. Take a look on this question.
If you want to collect users phone numbers, you have to ask them for it explaining why you need it.

Custom banner advertisment on iPhone/iPad application

Is this allowed by Apple to put a custom sponsor banner like an advertisement in an application developed by myself ?
Sure, why not? The iAd network only gives you a fast and easy implementation for bannering and such. But there are many other parties who provide mobile bannering or you can even use your own banner system. As long as the content of the banners don't conflict with the App store guidelines (pornography and such)
Certainly. If you include the url to the iTunes page for the app you can even send the user to the advertised app from within your new app.
I think you can.
You can happily use 3rd party services like http://www.flurry.com/ to pull in custom adverts.
You don't have to use Apple's iAd: http://advertising.apple.com/
You could write your own system to show your own specific advert.

Missed Call Alert

I wish to implement sending pre-defined sms templates to missed call numbers automatically on iPhone. How can I do this?
There is no support for this in the official SDK.
Any apps that do this will not be accepted into the App Store.
Your only option would be to jailbreak the phone and do it there.

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.

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

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.