Currently I have android app that preform some object detection task on the live camerax preview I want to share that preview with another app in another device through internt so that the other side person can see the live object detection process
I am new to android app development so can you give rough idea how to accomplish that
I have not try anything yet
Related
I have an iPhone app that is published to the App Store and I'm now looking to add a watch extension
My question is, do I choose companion app or a standalone watch app?
the watch app will work independently of the iOS app, but will also rely on the iOS app to send data across to it
To give you a brief summary of the functionality I'm looking for,
The IOS app is a workout app, and has a number of user created workouts on it.
I would like the user to be able to send one or more of these workouts to their watch, so they can leave their phone at home and workout solely from the watch app
obviously the watch app will need it's own independent CoreData model, which leads me to think I would create a standalone watch app, so I have access to
the WKExtensionDelegate and WKHostingController, to initialise my core data
is this the right approach, will the watch app and iOS app communicate with each other if they are both standalone, or would I need to create it as a companion app?
I've searched the internet for hours, but can't find a definitive answer
thank you in advance
I am attempting to develop a Wear OS app which is dependent on a paired Android phone to perform some higher complexity computations. To this end I have implemented on the wearable side the proper infrastructure to pass a PutDataMapRequest message to the phone app, where I am having trouble is extending the WearableListenerService class on the phone side. When I alt+enter to see the suggested actions menu, the option to add the requisite library is there. However when I select that option nothing happens and the option is still there afterwards (the error is not rectified). I will caveat this by saying I have only been developing for Android for about 2 weeks so some of this Android Studio and its' quirks are still a little new to me. Prior to this point I had attempted various incarnations of building this app. The first where I had built the apps separately, and on that attempt this same extension caused problems (the IDE didn't even offer any suggestions at that point). I also tried loading the data layer api sample to find an example of the wearable listener service but unfortunately it is only present on the wear side of the app. The original source of this approach was from this tutorial, which I know is a little old at this point (at least one of the calls on the wear side are deprecated which I already worked around). At about 2:00 in the presenter is able to extend WearableListenerService without any issue within his phone side app and I have no idea what I am missing to be able to do that. I also did look into just trying to add the support library manually but to no avail.
Ok so, for anyone who runs into a similar issue down the road. The solution appears to be that when you create a wearable app through the new wizard and attempt to add an application module to the project, you will need to manually add the following lines to your phone app side gradle file under dependencies.
implementation 'com.google.android.gms:play-services-wearable:17.1.0'
implementation 'androidx.wear:wear:1.1.0'
This allowed the IDE to recognize the requisite classes and import them accordingly into the companion phone side application.
The default styling for the Web Chat used to be identical to the Bot Emulator. Now, however, there seems to be significantly different default behavior for webchat. I have attached two images below illustrating the differences. My question is: does there exist a ready-made template that will make my Web Chat look and behave the same as the Bot Emulator? I'm aware of the ability to change the styling, but I'd like to make it identical to the Bot Emulator. Notice the difference in color and just general design. Thank you for your time.
Current Webchat
Bot Emulator
BotFramework Emulator is a downstream consumer of Web Chat. Previously, Emulator was not altering any default styling options, but changes were made around version 4.1 or 4.2, I believe. That is why Emulator and Web Chat previously looked identical. If you want your version of Web Chat to match the current look and feel of Emulator, you will need to copy the style options that the Emulator has implemented. Emulator's Web Chat Theme
I'm posting here because I didn't find any satisfying answer anywhere.
The question is quiet simple. I see a lot of application implementing the cast feature on Android. The issue is that even if I have a brand new smart TV, it actually doesn't support the cast feature of the majority of my apps.
For example, my TV has a Youtube app so I can cast youtube videos from the youtube app on my phone to my TV.
Now I would like to cast my favorite streaming app to my TV but my TV is not found. So I'm thinking, okay let's try to make an app for my TV that will receive that kind of command.
I know that I can make an app for my TV. Before starting that ambitious project, I want to be sure that the google cast sdk will allow me to write such receiver app.
Do you think this is possible ? Or do we really need one receiver app for every emitter app ?
YouTube uses its own discovery protocol beyond what the Cast SDK supports. Apps need to integrate the Cast SDK in their senders and implement receivers that support their authentication and DRM.
So assuming you've already launched media on the receiver from an iOS/Android/Web app, how can another web app join this activity and control the media? I noticed that the cast API has a 'JOIN_ACTIVITY' in it, but there's nothing that currently uses it. Nor do you know the activity's ID to join it..
This is similar to How to check if a ChromeCast Session is already in progress however, this answer does not help to connect to an existing application
However, using the javascript API, even if you know your app is running I can't find a way to connect to it without re-launching
I managed to get some answers from the Google engineering team:
We allow clients to reconnect to the same session if they are launched
from the same origin (i.e. http://www.somedomain.com:80/). We don't
have the support in the V1 protocol stack to implement this across
multiple browsers. We can hard code something for V1 like mapping
origins to app ids, but it will still be some eng effort to add the
API support as well.
In short, the functionality from Android and iOS is currently missing from the Chrome SDK... hope it comes out soon.
EDIT: To update this, now that the official public SDK has been released, this is now supported!