I'm writing an Android application with DJI-SDK to monitor when a video is recording. My drone uses its control application, but I need to spy on the drone's camera activity to send a notification when a new video has started recording, but I can't to have two Android applications use the DJI SDK at the same time.
Can I listen a "message or intent" sent by DJI-SDK service which will allow me to send a notification of a new recording video?
You cannot listen in on the DJI app but if you write your own app you could broadcast camera activity that can na picked up by another app.
Look away broadcasters in android, there are ways to publicly broadcast between apps or services.
Related
I just want to know is that. For creating the cast application we have to develop or provide both functionality sender and receiver. I mean as the user downloads the Cast app in mobile, user also have to download it in the LED. Now the mobile becomes the sender and the LED tv app becomes the receiver.
Is this is the way it all works??
The Google Cast SDK enables you to extend your Android, iOS, or Web app to direct its streaming video and audio to a TV or sound system. Your app becomes the remote control to play, pause, seek, rewind, stop, and otherwise control the media.
The scenario you are asking above is one of the feature we support called "Cast connect" https://developers.google.com/cast/docs/android_tv_receiver which allows users to launch the Android TV application and acts as a receiver.
Please read the document for more information on Senders and receivers:
Get Started - https://developers.google.com/cast/docs/get-started
Sender - https://developers.google.com/cast/docs/android_sender
Web Receiver - https://developers.google.com/cast/docs/web_receiver
Android TV receiver(Cast Connect) - https://developers.google.com/cast/docs/web_receiver
I am trying to write a background service which runs when a call is connected (but calling is done by native calling app) capture it's voice up-link and down-link audio stream. After capturing send it to server.
Once call ended I need to shutdown the service. How this can be achievable? Should I make a system app? Or any other way. This is just a exploration not an application to be deployed.
I'm an iOS app developer and not familiar with Android. I'd like to implement the feature that playbacks audio over the internet when the mobile receives a push notification.
I've investigated it for iOS and concluded that it is impossible in iOS because Apple prohibits downloading data over the internet in background from being developed.
I'd like to know if this feature is feasible or not in Android. Could you give me any advises ?
You need to implement PendingIntent to get you notification and start ForgroundService or this or this to play your audio and close it when the user leaves your app or while they are using your app depending your particular needs.
I'm working on an Android app that will simply play a video (from the web) on my Chromecast device. For this purpose I'm fine with just using the Default Media Receiver mentioned here, in which case I don't have to register my app to develop it. However, the app (in development) can't seem to find any of my Chromecast devices. On the page mentioned earlier, it did state (regarding the Chromecast device):
To turn your device into a development device and gain access to your receiver app while it is not yet published, you must register the device.
This kind of makes it sound like I only have to register the Chromecast if I'm writing my own receiver app. Do I still need to register the Chromecast even if I'm just using the Default Media Receiver?
You do not need to register your app if you want to use the Default Receiver.
I am going to create call record application, There I need to play minute and recording notification sound. It should here to caller and receiver two parties. Is there any good example for such application?
Thank You.
I am going to create call record application
That is not possible on Android. Android SDK applications do not have access to the in-call audio.