I am developing an app for iOS 4 but now with iOS 5 I was wondering new possibilities.
Do you know if is possible to include iMessage inside the app (including a framework or something)? Or send a message to another phone via iMessage inside your app? Like the way we send mails inside ours apps.
Thanks in advance!
The MessageUI framework added text in 4.2 if i remember correctly. I don't see why this wouldn't be using iMessage in 5.0.
You'll want to us MFMessageComposeViewController from the MessageUI.framework. You can find all the methods on this page of apples developer docs however you'll need to be logged in with a registered developer account as it could contain pre release NDA stuffs.
It may not send iMessages instead of texts/sms' just yet (I say this as I haven't looked) but it should do in the future?
Hope this helps.
Related
i would love to build a auto-start with OS app which runs in IOS background(like a daemon) and when the phone changed its location the app send some information(userid,GPS,time......)to a web server immediately, in addition to,i want my app has no icon and users can not easily find it is on running or easily delete it. so i just wondering if these is some location-change notification i can hook into so that i can perform my code? anyone give me a good idea? i dont want put my app on appstore instead of i packaged it in deb,so i can use any private api or other non-official methods....
You can use CoreLocation native framework.we can access the current location of the user/device dynamically. follow the link for instructions coreLocation tutorials
According to Apple's Documents and guidelines, I don't think an app can exist without icon. The SDK doesn't have this feature as well. And no private API will be accepted into App Store. However, you can post your project on unofficial AppStores for jailbroken phones.
I Have an app with 2 versions.... iPaint1 (FreeVersion) & iPaint2(Paid Version)
iPaint 2 has extra features along with the features of iPaint1..
if user have iPaint1 & also if he installed Paint2.
Now we need to display An alert when user launch/uses paint2. Alert will be pop up as
"You already have all features of paint1 in this 2nd version, Delete Paint1 to free space"
only if iPain1 is existed in our device, otherwise no need of alert How is it possible.
(I guess we may achieve this this using AppStore ID & Bundle Identifier but not sure and don't know the process)
Thanks in advance
But It is works on simulator but not in iPod
Answer :
Finally i Got solution in #MDT 's answer. thank u #MDT and others as well.
Thank you for your quick response.. This link is useful for this question.
Is it possible to get information about all apps installed on iPhone?
and in
http://www.iphonedevsdk.com/forum/iphone-sdk-development/22289-possible-retrieve-these-information.html#post101753
But It is works on simulator but not in iPod any advice pls.
Without jailbreaking, there is no way for an app to directly get a
list of all installed apps on an iOS device.
http://www.quora.com/An-iOS-App-how-to-find-all-other-application-on-the-iPhone
Your best alternative may to be use of custom URL schemes. With these you can implement a link in your free app that opens the paid one if it is installed.
You should use custom URL scheme. Provide some custom URL to free App. Now on the starting of paid App, check if it can responds to the custom URL of your free App. If it can, there exists a free version on the device and display the message to remove it.
Is there is any possibility for an application to open immediately when an SMS arrives and spell this SMS?
If so, how to do this app i.e., how to open an application whenever SMS arrives?
No chance. Apple does not provide a documented API for SMS access and will reject such an app, even if you managed to implement it in the way you intend.
No, there is no way to do this on iOS device due to platform restrictions.
You can only show SMS-sending dialog, but no more. That's actual for latest iOS 4.3.3.
I am not a programmer. I would pay for an application that allowed me to create a link between a calendar appointment and one or more of my contacts. This seems like an obvious applications with a huge market> Why is it not possible to do this?
Because there's no public API to access the Calendar before 4.0.
If an app is to be pushed to AppStore, the SDK agreement must be followed. One of the rules is:
3.3.1. Applications may only use Published APIs in the manner prescribed by Apple and must not use or call any unpublished or private APIs.
It is possible to do this distributing outside of the AppStore channel (e.g. via Cydia). You can check if it exists for jailbroken iDevices.
If you synch with Google's Calendar and you create a new Event, you can invite anybody from your contact list.
In the latest version of iOS 4.2 the EKEvent class contains the property attendees. It is still always nil and there's no default screen that uses this property but my guess is this is a preparation for something we should be seeing soon.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to programmatically send SMS on the iPhone?
I wanted to design an app that would send SMS messages to your contacts from within the app in the background. However, I cannot seem to find any tutorials on it and the Apple Docs arent anyhelp. I have also read somewhere that it is outright impossible.
But if so, how does the app, iDistress manage to do it? It send text messages from preselected contacts with a custom message : http://www.buzapp.com/idistress.html
Check out the screencast.
Thanks.
Are you a registered Apple Developer? If so, you can use the 4.0 framework to show the composer window and set some of the values programatically inside of your app, without having to ever exit the app. However, you will have to wait until the new iPhone and OS4.0 comes out, roughly about June/July, to release the application.
Remember: you are not allowed to discuss details of iPhone OS 4.0 anywhere else than Apple's official Developer Forums, which you need to be a registered Apple Developer to access.
http://developer.apple.com/iphone/prerelease/library/documentation/MessageUI/Reference/MessageUI_Framework_Reference/index.html#//apple_ref/doc/uid/TP40008274
Direct access to the SMS and Email features aren't available in the official SDK. iDistress sends a request to a web service that they host (which sends out emails and text messages from their server)
I've been looking for how to do this and was told it couldn't be done. Then today, I try this new app called Highlight, and sure enough, it does it. When you sign up, you pick contacts from your list and then the app goes straight to SMS and pastes in its own text as an invite message. What do they know that we don't know?