disable notification to connect to a USB Function Filesystem in Android 7.0 - usb

We have written an android application that communicates with a piece of custom hardware over USB. Prior to Android 7.0 Nougat when we plugged in the usb the app would lauch automatically and establish a ptp connection between the two devices. Now in Android 7.0 the app no longer launches automatically. Instead a USB symbol appears in the upper left corner. Pulling down the notifications window shows a notification that reads as follows:
Android System
Connected to USB Function Filesystem
Tap to view files
How can we avoid having this permissions notification pop up before starting our app?

Related

USB device listening OSX objective c using peertalk

I developed a OSX application that listening the USB devices that connected from OSX and application runs fine before submit to app store. At the time of submission to app store I enabled the "App Sandbox" and enabled USB in App Sandbox. But after enable this application is not able to get the list of USB connected devices. I am using peertalk library from github. Link is below:
PeerTalk
So now please can anyone suggest the solution for this. or suggest any option to get the devices list which is connected from osx using USB.
Thanks
Mit

Remote control feature for iOS devices in AirWatch

We use AirWatch as MDM solution. Is there a feature to help troubleshooting for iOS devices, like remote control? Something similar to Help#work in MobileIron.
If AirWatch doesn't support this: is there any other solution for iOS devices?
Whereas remote view using traditional AirPlay requires devices to be running the Bonjour service and cannot be easily retransmitted to different subnets, AirWatch remote view capabilities use the AirWatch Agent instead of Bonjour and can function over different subnets within the same network. If an end user calls with an issue, simply instruct them to start their AirWatch Agent application and then send a remote view request to view their screen.
--> You can only remote view the IOS device when the MDM agent is opened in the foreground. This is an Apple restriction and not an MDM limitation.
Source : https://my.air-watch.com/help/9.1/en/Content/Platform_Guides/iOS/C/Remote_View_Overview.htm
AirWatch has the Remote View feature which allows administrators to assist with troubleshooting by viewing an end user's iOS device from an AirPlay-enabled destination.
Supported destination are :
AirServer for both Mac OS X or Windows
X-Mirage for both Moc OS X or Windows
Reflector for Windows
Ports to configure :
7000 for video on Mac
7100 for video on Windows
5000 for audio on Mac and Windows
Requirements :
iOS 7 and higher devices to run the Remote View command
iOS 7 and higher Supervised devices to run the Stop Remote View command
AirWatch Agent v4.9.3 and higher
In your AirWatch Console, go the Details View page of your iOS device, click on More (the one next to Lock at the top of the page), then click on Remote View. You have to configure a destination before. If it's not done already, click on Add a destination on the 1st screen.
Complete documentation is available on my.air-watch.com under the current name "VMware AirWatch iOS Platform Guide". It's located in "Chapter 6: Additional iOS Configuration".

Connecting iphone with external device through bluetooth or wired connection

I have an external device that we need to connect with iPhone by using either Bluetooth or wired connection.
For connecting with Bluetooth we know that if the device has BLE then we can directly communicate with it Using CoreBluetooth Framework.
Otherwise we have to go to get it MFI registered.
Also if we want it to connect it using wired connection then also we have to get it MFI registered.But we have found a cable that connects device with iphone and that cable is MFI registerd. So if i use this cable for connecting iphone to device still do i need to get my device MFI registered??
For configuring this device initially i use desktop (putty). Through LAN cable i insert one end lan cable in device and second end in my computer, then using (putty) serial communication (through COM port) we send some commands to configure it. So, can this be done through iphone also if the device gets connected to iphone through usb cable??if Yes then how???if yes through bluetooth then how??
From the developer of that cable's website
"MFI Certified
All Redpark cables are licensed through Apple’s “Made for iPod” (MFI) program and have earned MFI certification.
Apps developed with our SDK can be deployed under your Apple Enterprise Developers license with no further review or approval from Apple."
Key here is Apple Enterprise Developers license. If you're developing this application for internal release within your company it seems you don't need MFI. To be released on the app store I believe you would still need MFI.
As far as I know to configure your device from the phone rather than through your desktop would require a jailbroken phone. See here for a little info http://www.computerworld.com.au/slideshow/365979/great-iphone-serial-port-hack/?fp=4&fpid=5

Detect if device is connected to a specific network(office wifi)

I have an enterprise iOS app and I am trying to detect if the device running the app is connected to the office wifi.
I can't find relevant information and I am not sure if this is possible.

Mac to iPhone App Communication over WiFi

I am new to developing for the iPhone and would love some advice on an app i'm trying to develop.
Is it possible to send commands to an app on iOS 3.2 from OS X using AppleScript. The iOS app will display an image and run a small script when it recieves the appropriate command from the client software running on a Mac Mini. The devices would communicate over an a closed WiFi network.
Before I continue down this path does anyone have any advice on how to setup the communication (i.e. get the app to run in the background and listen on a designated port).
I don't know the full process but I know that various apps do this one way or another, such as 1password and desktop remote mouse apps. I think that CocoaAsyncSocket will help. An alternative to having the iOS app listening on a socket is to open a connection from iOS to OS X and then persist it. You can then send data either way through the connection.