Is it impossible to make an app like this?

How can i make an app that when you connect your device to a hdmi tv (usb-c to hdmi cable) while the app is openeing, it change the tv screen to show another screen? Is that impossible?

Why not just cast your phone screen to the TV ?

Sorry for being gone 8 days.

I meant to say how can i make an app that when you click on the button, it signals every tv to the list when you click one of them, it cast to the tv, without extenstion. Just the app not the system screen of the phones, just cast the app to landscape or porirate, is that possible?

how can i make an app that when you click on the button, it signals every tv to the list when you click one of them, it cast to the tv, without any extenstion. Just the app of component like (bluetooth, listview etc.just cast the app to the TV but not the entire home screen of the phones, just cast the app that possible?

Have a look here (ignore the extension, look for native approach):

https://community.appinventor.mit.edu/t/f-os-screen-mirroring-extension/135183#using-native-activitystarter-for-screen-mirroring-8

What do you mean look for native approach, an also i said i can't use extension

Can you give me example of using these?

Activity starter
My extension (for require permission only)
Bluetooth component
Or any component of visible and invisible from mit app inventor only

Also my parent said you cant use any of person extension because it might be harmful except yours.

  1. You do not need an extension, you can just use the activityStarter as shown in the link I provided.

  2. Your parent is wise, but it is very unlikely we would allow a malicious extension on this community.

But the link you gave me will just put me in the settings of screen cast and thats not what im talking about

Also what do you mean wise?

This may be the best you can hope for...just the workflow will be slightly different

having or showing experience, knowledge, and good judgement.

Wait i think using web1/Activity starter/bluetooth/ is be the best idea

Maybe i can ask the niotron community to make me learn how to create screen cast... i didnt know that

https://developers.google.com/cast/docs/android_sender/integrate

I dont have a laptop at all to make a extension from google

Maybe web1/activity starter/bluetooth/webviewer1 is the best idea

Fir example
You can use a web1 that immediately checks screen cast and puts it on the list and when you click it, it screen cast using activiity starter code action that starts the screen cast with the data type that is inseted on the tv type on the list view

So what the problem?

Show your blocks for the web component for getting devices available to cast to.

Wait i meant to say do you know all of action code?
For actuvity starter

This post was flagged by the community and is temporarily hidden.

Hello, how can iuse activity starter for casting, installing apk, etc. Thank you

Now you want to install an apk as well ?

No i already know how to install

Well my problem is how can i?

Screen cast using my phone without going to setting

You know what,

I will end this topic

I am guessing this is just a suggestion on your part, and that you do not have a method for doing this?

The inner workings of Cast will require a (not simple)extension to be made to handle these.

The easiest solution is as I provided above, use activityStarter to open the Cast settings.