Alarm Even Application Closed in iPhone - ios4

I am working on iPhone application in which there is an option for Alarm. Is it possible to araise alarm even my application close.

Yes to a certain degree there is, check out the local notifications programming guide (local notifications are available in iOS 4 and newer).
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction/Introduction.html

Use UILocalNotification to set the notifications. Then even your application is not in foreground you will get alerts.

Use local notification available in 4.0. for a tutorial see this link

Related

actions on google demo code is not working on my android phone

I followed https://developers.google.com/actions/dialogflow/first-app tutorial and built my first google action. The action is working fine on my laptop browser in the test (Followed "Preview the App" section of the tutorial) environment. However, when I am trying to use this action on my phone by saying "OK Google talk to my first app". It's not working. Is it supposed to work on my phone as well? I have logged in with the same Gmail account on my phone also.
PS - I have posted the same question on "actions on google" google plus community google as well but I am not sure if that community is to post such questions or not. Therefore, I am posting it here also.
Thanks in advance!
Once you have enabled testing through the simulator, it should be available on all devices (mobile, speakers like Google Home, etc) with the same account your simulator is running in. Double check to make sure they're the same account.
In your case, however, you may be using the wrong invocation phrase. If you actually said what you did above, you need to say the exact same thing that you typed to invoke it.
If you haven't set a name in the configuration, then that phrase will be
Talk to my test app
Update
As you note in the comments - you also need to make sure you're running the Google Assistant, and not one of the other voice search components. The Google Assistant requires:
Android 6.0 or higher
Google app 6.13 or higher
Google Play services
1.5 GB of memory
720p screen resolution
Phone set to a supported language
As you probably already know you have to enable Web & App Activity, Device Information, Voice & Audio Activity in the Activity controls page.
Then you also have to be sure that the language of your agent is the same used by your google assistant.
I solved thanks this last step.
Hope this helps

MailCore2 on Apple Watch

I have created an app for the iPhone and iPad less than a month ago that uses MailCore2 to send emails without the use of a dialog box (like the one MFMailComposeViewController uses).
The app works great and based on reviews, the implementation of MailCore2 provides a sense of security to users when sending messages.
I am in the middle of creating the same app on the Apple Watch itself, and was wondering if implementation of MailCore2 was possible on this device. If so, can a link be attached so I could see how to implement this into my project? If this can't be implemented, are there other third party solutions for sending emails without a dialog box on the Apple Watch?
Thanks in advance to all who answer.
I haven't checked in a while but I was under the impression that no code actually gets executed on the Watch. You do all processing on the device and then send your results to the Watch via an extension (like the Today extensions in notification centre). The Watch only stores the UI and doesn't execute any code. In this case, as everything would still be done on the phone, I don't see why MailCore wouldn't work or would work differently.
Maybe they've changed the SDK since I last looked though and code is now executable on the Watch?

native notification Samsung Gear 2 Watch

I want to integrate with the native Samsung Gear 2 Notifications such that when my consumer app in the Samsgung Gear 2 Watch receives a certain data from my host provider, the User will get a Notification in the Native notifications app. How can I accomplish this?
I've spent 50+ hours googling, looking up docs, etc but there doesn't seem to be an answer. The best resource I could find are the links below, but even these seem outdated and don't work at all.
Help please!
So I've been following these Guides but neither of them work for me :
https://developer.tizen.org/fr/documentation/articles/how-use-tizen-notification-api?langswitch=fr
also
https://developer.tizen.org/fr/documentation/articles/notifications?langredirect=1
The error I receive when running the sample code they provided:
TypeError:'undefined' is not a constructor (evaluating 'new tizen.StatusNotification("SIMPLE", "Simplenotification",notificationDict)')
I figured it out. The answer is there is NO SUCH THING as native notifications for the Samsung Gear 2. That library is a private library owned by samsung only and only special people can have access to that. For the lay men the closest we can get is to enable notification via Gear Manager and have our paired phone relay notifications to the watch.

Windows 8 metro style apps and window hooks

I am new to both window hooks and Windows 8 metro apps..
I would like to develop a background service/process that:
Checks the "properties" of the metro app that a user just tapped to start (e.g. app that plays music, text document creator app, ...)
Based on the properties found, activate other applications (i.e., before starting the text creator application that the user just tapped, make him select the font face from a popup list)
I am planning on using window hooks to do 1 and 2..
Is this possible?
Thanks!
It is not possible to hook Windows or intercept the launching of a Metro style app from within a Metro style app itself. While it may be possible to do so with a service installed on the machine in a classic way, doing so would be totally undocumented and unsupported. You would have to reverse-engineer the app launching process to have any chance at making it work.
Check this out..
http://social.msdn.microsoft.com/Forums/en/wcf/thread/43df6c8f-f1e3-4aba-af0a-7c4e1db477b6
You can only write client applications using Metro, not server applications.
In your scenario, if you want inter-app communication, recommended way is to use 'Contracts' which are explicitly started by the user.
I'm taking a blind guess here using your 1 and 2 points. Do you intend to handle a specific file type ? say .txt or .wmv ?
If this is your intention, please check here http://tozon.info/blog/post/2011/10/11/Windows-8-Metro-declarations-File-Type-Associations.aspx
There's also a good set of MSDN documentation about this.
You may use API hooking. Check this thread:
http://forum.nektra.com/forum/viewtopic.php?f=9&t=6228

iOS 4.x/5.0 - push notifications for background/multitasking apps?

Is there a way to get an app to receive the remote push notification while it is in the background?
I don't want to see the regular (close,view ) notification on my device. i want to go silently into the app - and the app will do it's magic from their...showing it's own AlertView (with custom buttons, and playing the alert sound (even when the device is on mute)
Is that possible?? How can i convince apple to support such scenario?
Update: What about in iOS 5.0? is there going to be a change regarding the push notification mechanism now that it uses the notification center?
Sorry, you probably out of luck. The only idea I have is that you can try to push notifications that only set different badge number (without view and sound) and when you are inside you app download rest of the data. However, I'm not sure how good this idea is.

Resources