Notification that iTunes has been started - com

I'm currently developing an application which uses the iTunes COM (Win32) to hook into the iTunes application.
At the moment, I have managed to unhook the COM when iTunes closes through the use of the OnQuittingEvent which is great, iTunes doesn't display the application interface dialog so everything is good.
My problem arises when I re-open iTunes. It seems that it doesn't send the onCOMCallsEnabledEvent that I would expect - iTunes is starting, so surely the COM calls would be enabled. So my question is, does anyone know of any notifications that iTunes sends when it's started?

use itunes visual plugins

Ok, so my best bet is just to keep waiting to see if the iTunes process is back again. Solved.

Related

React Native - Keep app running when it's killed or closed

this question may seem duplicate, but I've searched a lot, but could not find any appropriate solution.
I need my socket connection to not break when user kills/closes app. It works when user presses the home button and apps goes to background. But connection breaks when user kills or closes the app. I need behavior like how chat apps like whatsapp literally work. So when I close the whatsapp, I can still receive new messages.
If anyone has found any solution for this, please share.
Thank you.
Your Socket connection should run as a background task and continuously listen to stream of message events even when the app close then you can push notifications to notify the user.
https://github.com/jamesisaac/react-native-background-task provide an abstract layer for both iOS and Android

Titanium iOS auto restart application in background once swiped off from background

I am working in an application that detects any Beacons nearby and gives and alert in the form of local notifications for iOS. I used TiBeacons library for titanium which did the work but I am right now stuck with an issue where I need to keep the Application running even when the user swipes off the application from background.
I was able to make it work in background which is the paused state,but is it possible to make it restart itself in the background when the user swipes the app from the background processes running,maybe with a delay if not promptly?? Thanks
There is no way to restart application after user removed it from a memory. This would be huge security bridge allowing developers to do lots of evil things to customers' devices.
You can run your code only when app is in foreground and background but never when it's killed.
You can try activate your app by receiving notification from Apple Notification Center Service:
The purpose of the Apple Notification Center Service (ANCS) is to give Bluetooth accessories (that connect to iOS devices through a Bluetooth low-energy link) a simple and convenient way to access many kinds of notifications that are generated on iOS devices.
The ability to detect iBeacons after the app was killed in the task switcher was only added in iOS 7.1. Also, I believe this functionality requires that beacon monitoring be set up with the app's main AppDelegate object as the CoreLocation delegate. I do not know much about Titanium, but glancing at the source, it appears it does not do this, and instead uses a different class as the CoreLocation delegate. This may explain why this does not work for you.
If my suspicion is true, you would not be able to detect after the app is killed using an unmodified version of that library.
Since I am not a Titanium expert, it would be best if someone who knows more about it could confirm or refute my suspicion.

Stuck on "Sending API usage to iTunes Connect"

I try to upload my game developed with Starling to the appstore but the "Application loader" stuck on "Sending API usage to iTunes Connect", 10 days ago the upload was successful, the new version have only a different line of code then the way to compile is same.
Somebody have this problem?
Somebody have a solution?
I try with this but no work for me:
Can't Submit App to App Store: "Sending API Usage to iTunes Connect" either times out or loses connection
Application Loader (Apple) stuck on "Sending API usage to iTunes Connect"
This is common issue for most of the developer. You may go with Application loader to upload build or you need to restart your wifi or mac. and then it will work. I faced this issue many times there is no specific reason for this.

Can an iBeacon notify a user's iphone without an app being installed?

I'm new to iBeacon's and am trying to understand one simple thing.
Can I use iBeacon to display a notification on a user's iphone without a custom app being installed?
For example, I'd like to build an app that sends out iBeacon messages to people that have an iPhone. When they get near an iPad running my app, it notifies them that they're near my "event", which of course is taking place at the location of my iPad.
Is this possible without the user having already installed another app that I've made to receive notifications of my event?
Note that I'm open to any other tech or ideas that would make this work. I know that Apple does this with their Apple Stores, but I'm guessing they can do this because they already have an app installed on the users device - probably the "AppStore" app.
You typically need an app for any iOS notifications on seeing an iBeacon. That is what Apple does for their stores.
The only exception is if you use Passbook to set up a notification trigger. But you still need the user to install your Passbook entry.

Detecting programatically if an app is being desintalled ios

I need to know when my app is being uninstalled from the device where is installed.
Exist any way to know that?
Thanks.
Nope. There's no API that will notify you of app uninstallation.
Indeed, in general unless your app is already running in the background, there's no way for your app to do anything unless the user starts the app from the springboard or in response to a notification.