I need to launch Calendar in my application & give choice to user for selecting event. If user select any event then retrive that event's information & process it.
For address book, it is possible by choose() method for launching Address book, but not found any method for launching Calendar in BlackBerryEventList or EventList class.
Is there any alternative way for that then please suggest that....
there is a mthod activate which should be overwriiten where the invoke Application metho d should be used to invoke the native calendar at the launch of the application
import net.rim.blackberry.api.invoke.Invoke;
And use the invokeApplication method.
Related
I want to push my app each activity into server.
If any button is pressed, it should be save as user pressed that
button.
If any alert came also, it should save the activity.
When any error came inside the app, we should be able to save.
This question is raised because, if user struck on any activity I want to track how the user is using the app step by step.
Can any one please help me to reach the need.
Sounds like you want something like Flurry? They are now owned by Yahoo but you can probably find some competitors that provide what you need. Or, use Yahoo's stuff.
You can use some open source library. XCGLogger is your friend.
Allows you to log details to the console (and optionally a file), just like you would have with NSLog or println, but with additional information, such as the date, function name, filename and line number.
You can use Google Analytics it is free and easy to implement.
Here is iOS document: Document & Guides
I'm writing a book in iBooks Author. I want to be able to tap on a widget and create reminders in the Reminders app, preferably without using another app as a middleman. Any ideas how I might be able to accomplish this?
Edit: I've found an undocumented URL scheme called x-apple-reminder://, but I can't find any information on arguments I can pass to it. Thoughts?
I don't believe the reminders app has an open API that can be accessed through the web (read: HTML). You will have to have a companion app that takes a custom URL and creates a reminder.
Is there a standard UIView/controller/dialog provided in iOS SDK for informing the user the app does not have access to X resource and this can be fixed from iOS privacy settings.
I have noticed a consistent view seen in many apps (snapshot below is taken from Viber). I could not find any API that would give me this dialog. I suppose I can just create one but still wanted to double check?
For the particular case I have I want to alert the user if app does not have access to user calendar/ reminders.
(I have a BOOL result in my code that tells me access granted true/false -I have to next alert the user with appropriate UI.)
The public API's UIImagePickerController displays that view if the app doesn't have access to the user's photo library. It's a _UIAccessDeniedView, which is a private class.
As far as I know, the public API doesn't provide an event picker controller, so there's no way to make the system display a similar “standard” view for calendars/reminders in your app.
If you want to set up a similar view yourself, you can extract the lock image using the iOS Artwork Extractor; it's named “UIAccessDeniedViewLock.png”. Warning: copyright infringement. Will Apple care? I have no idea.
This interface can appear for the calendar if you use EKEventEditViewController.
I need to use the in app purchase server model, where I want the user to buy the the new interactive storybooks for kids and play the book.
I have searched through the net, but was off the luck.
just like -- http://itunes.apple.com/in/app/playtales-kids-interactive/id389523239?mt=8
How to get this work. please help
Thanks a ton.
You can't "install another app" programmatically. What you can do is to open the URL of your second app in iTunes from your application with UIApplication openURL. When you invoke this method with a link in iTunes, the App Store application will automatically open with the information page of your second application. Here the user can purchase it with a simple click.
On the other hand, the link you posted above does not use this approach but downloads/enables some new feature (a new e-book) in the application that was hidden before. I.e. all books were already in the application at the time of download, only they were hidden, or it downloads them from a server via a custom protocol defined by the application.
We create calendar entries in the blackberry calendar via our applicatin.
Our client wanted to know whether it is possible to launch our applicatin from within the blackberry calendar when they acces entries created by us.
Indeed you can. Refer to the BlackBerry API and see ApplicationMenuItem and ApplicationMenuItemRepository. Within the run method of ApplicationMenuItem you can either launch your application or post a GlobalEvent which your application can subscribe to.
When your application created the calendar entry you could/should have got a UUID for the entry in return. You could set the UUID of the calendar entry selected as an argument in the Global Event and check in your application whether it was an entry your application created.