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.
Related
I am using firebase Analytics to log all the event. I m not able to understand the google tag manager , How can i use it . What google tag manager can do for iOS app.
One of the big iOS/Android projects I work on uses GTM variables for remote configuration.
For example, our menu items change based on whether it is Winter. So, we flip a boolean on GTM, and voila, within 24 hours, all our apps have the correct menu items.
We are planning to migrate this functionality to Firebase database, however, which has the benefit of instant updates.
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 am quite new to iOS, and I would appreciate if you can give me a clue on how to tackle this issue.
I am planning a mobile application and a cloud service to require "Google calendar is sync with the calendars on mobile devices" ( namely iPhone, iPad, and Android )
On Android, I can read calendar's event id from our Android app. If I change event attributes such as tile and time etc, the event id stays unchanged, and it seems to be a good way to associate our meta data to it (i.e. event id).
On iOS side, if I enable Google Sync, the events I defined on web still appear on the calendar on iOS. My question is "Can I problematically get event id that are assigned on Google Calendar?"
The following link says
"EKEvent's eventIdentifier is likely to be changed when event changes"
http://developer.apple.com/library/ios/#documentation/EventKit/Reference/EKEventClassRef/Reference/Reference.html#//apple_ref/occ/instm/EKEvent/eventIdentifier
... so my guess is that this field does not reflect event id from Google calendar.
I appreciate any suggestions.
Usually the event identifier is of the form:
88E45678-2S11-574E-ABF8-3B1E463ERF4C:google_calendar_id#google.com
for a google sync calendar event.
If there was a change made to one of the recurring calendar events the identifier can also have exception date at the end:
88E45678-2S11-574E-ABF8-3B1E463ERF4C:google_calendar_id#google.com<!ExceptionDate>20121025
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.
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.