Is it possible to update the "watched" flag of a video in the iTunes library through Xcode? - ituneslibrary

I am looking to create an App that allows me to play my iTunes Library files, however I want it to update the status of the video (e.g., watched or time remaining). Is this possible?

Yes, if your app runs on MacOS, you can send an Apple Event to change the watched flag, or the time remaining. You could also write an AppleScript that does this and then have your code run the AppleScript.
Check out: Applescript Inside of a Cocoa Application And also Google sending Apple Events from C or Objective C

Related

How do you install and automatically update application builds on Android TV for testers?

I'm looking to install and automatically/one button update very early development builds of an application to Android TV devices in my household. I've initially tried Google Play using an internal track, but it turns out this is reviewed by a human initially and because of how incomplete the application is it was rejected. I do not want to get bogged down in design/etc. to get past the Play reviewers, especially with the current 7 day~ turn around time.
I found Firebase App Distribution, which seems like a decent choice for the kind of testing I want to achieve, but the set up process seems very mobile centric, and talks about clicking links in emails etc. which is not doable on Android TV.
My goals are:
Get my not production ready application installed and automatically/one button press updated on Android TV
I've tried:
Google play store internal track, rejected because of how "not production ready" it is
Firebase App Distribution, but the tester registration process involves emails/flows not available on TV
So I guess my questions are:
What are my options for installing and automatically updating signed test builds on Android TV?
Is it possible to use Firebase App Distribution with Android TV apps? How do you register?
Currently I'm either having to get the devices near a laptop to adb install the APK, or pushing the APK to a network share and using a file manager on the TV devices to manually install and update the app.

BlackBerry 10 Cascades. How do I make a long running headless app terminate itself?

I'm making a BB10 app with a headless component that's normally supposed to run nonstop, except when a certain field in its QSettings changes (to save battery power).
I tried looking everywhere for the documentation. But I still can't find out how to make a headless app terminate itself.
You can get notified every time your settings file change using QFileSystemWatcher and calling bb::Application::instance()->quit() when a certain QSettings value changes. Here's an example from BlackBerry that uses QFileSystemWatcher in headless to get notification whenever the QSettings file changes.
I prefer using invocation or my own headless communication mechanism though, you can see an exemple of how I usually deals with terminating the headless app here.

automation testing of window based application

I have a window based application (c++) with list of log files;
number of logs would vary.
When each of the listed log file(each has different name) is double clicked a window pops up.The success criteria here is the successful opening of window on double click - this is to verified for each log file
How can I automate this process?
I would look into a program like Winium. It is a Selenium-based tool for testing windows apps. For further info, check this out: https://github.com/2gis/Winium
An alternative could be an Robotic Process Automation tool (RPA) like UIPath. It is not a testing tool per se, but it can be used as such and get your job done. There is a free community version available. Here's a link: https://www.uipath.com/

Can I create .ipa file and send it to my customer without apple developer program

I am new to ios programming and want to clear some question and problem which I am facing while extrating ipa file.
Can I extract .ipa file throw xcode without having developer program but i have developer id and create .ipa file throw PayLoad Process?
How much I am able to do without apple Developer Program?
I want to show progress to my customer, what is the solution?
I am getting Signing Certificate and auto-generate provisioning profiles errors while extracting .ipa file, Are these problem coming because of not having developer programming?
Can I send ipa file to anyone to install and check?
Short answer is no. The free apple developer account only allows you to deploy your application on a device that is plugged into the Mac. If you need to send an IPA to someone else for installing onto their device, you need a full developer account (paid). You'll also need them to send you the UDID of the device so you can manually add it to your device list / profile in Apple's developer portal.
If you want to demonstrate progress, I would share your screen through any number of online meeting solutions, and demonstrate the app in the simulator. Or you can record the screen of an actual device in Quicktime and send them the video.

How does Adobe CONNECTNOW load and run acaddin?

I am looking for options to download, Install and run a custom plugin/add-on(an exe or an installer) from my Flash Movie similar to how the connectnow does that?
When we initiate the screen sharing for the first time, connectnow prompts us for mandatory add-in by showing the message "To use this application, you need the Adobe ConnectNow Add-in.Would you like to install it now?". Once we agree, it downloads and installs acaddin.exe at the location %USERPROFILE%\Application Data\Macromedia\Flash Player\www.macromedia.com\bin\acaddin on our local machine. Then automatically launches the acaddin.exe and allows the user to close the browser window from where the acaddin.exe was launched.
From the next time onwards, when we login to connectnow, it launches the exe directly.
In this context:
If I were to load my own exe/add-in from flash, How can I acheive that?
How does connectnow application/flash determine whether an add-in was already installed or not?
Connect, and I assume ConnectNow, use hidden, undocumented, private APIs for much of their functionality.
You will not be able to do this.
The best you can hope for is to pass the location of your executable to the browser as a local URL and let the browser handle it. I assume in most cases the browser will reject its' execution. Can you imagine the potential for abuse of such a feature?
Instead of using a browser based app, you may want to investigate using AIR and Native Process.

Resources