change default app for hdmi mode - Android Q&A, Help & Troubleshooting

Hy guys,
I'm wondering, if there is a way to change the launcher-app, that gets started, if a HDMI cable is plugged in using USB OTG.
Samsung already added a HDMI-Mode switch from Screen Mirroring to DeX Mode. Maybe there is a hack to get my own app into this setting.
Example use case:
I want to display a game on my TV, when connecting it with my android phone, but don't want to run it on the phone screen. It would be nice, if it would start like Samsung's DeX directly on the TV. Or any other app like video surveillance or a chrome website.
In the next step I want to try using andronix+termux+vnc to get ubuntu on my TV screen while using my phone as android device.
Thanks for your ideas and inputs.
Kind regards,
Launemax

launemax said:
Hy guys,
I'm wondering, if there is a way to change the launcher-app, that gets started, if a HDMI cable is plugged in using USB OTG.
Samsung already added a HDMI-Mode switch from Screen Mirroring to DeX Mode. Maybe there is a hack to get my own app into this setting.
Example use case:
I want to display a game on my TV, when connecting it with my android phone, but don't want to run it on the phone screen. It would be nice, if it would start like Samsung's DeX directly on the TV. Or any other app like video surveillance or a chrome website.
In the next step I want to try using andronix+termux+vnc to get ubuntu on my TV screen while using my phone as android device.
Thanks for your ideas and inputs.
Kind regards,
Launemax
Click to expand...
Click to collapse
Hello and good afternoon, @launemax
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Related

Android Mod for Dedicated E Reader.

Hi all
I am looking at using an old Android Tablet as a dedicated E reader and I am looking for help to either do the following in code, but do not have clue, or third party apps or custom rom. Spec as below
Boot up then be given the option to use google books, amazon kindle or others as the dedicated reader.
Login to using your google or amazon accounts etc
Be able to set up your wifi credentials etc
When you start the tablet, have your own custom splash screen
Upon boot up, once you have chosen your preferred e reader app it will always boot straight into that app.
Still have access to the android settings menu etc like power settings etc.
Any ideas.
I know I could just go and buy a kindle etc but an old tablet give you access to colour screen etc.
Yamyamyammers said:
Hi all
I am looking at using an old Android Tablet as a dedicated E reader and I am looking for help to either do the following in code, but do not have clue, or third party apps or custom rom. Spec as below
Boot up then be given the option to use google books, amazon kindle or others as the dedicated reader.
Login to using your google or amazon accounts etc
Be able to set up your wifi credentials etc
When you start the tablet, have your own custom splash screen
Upon boot up, once you have chosen your preferred e reader app it will always boot straight into that app.
Still have access to the android settings menu etc like power settings etc.
Any ideas.
I know I could just go and buy a kindle etc but an old tablet give you access to colour screen etc.
Click to expand...
Click to collapse
@Yamyamyammers
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

MISSING HOST XML IN TCL A509DL PHONE

I have a TCL A509DL phone that I want to connect a volume knob using usb otg. However, according to OTG checker it is missing the host xml file. Is there a way to add this. I know next to nothing about how this works. BTW, I use this phone to run a wifi app (Engine Driver) to run trains on my model railroad exclusively. Engine driver uses the volume buttons to advance the throttle. I want to add the usb volume knob in order to have a turning knob to advance the throttle. I have not nor do I ever plan to use it as a phone.
Thanks
Jim
TXPACFAN said:
I have a TCL A509DL phone that I want to connect a volume knob using usb otg. However, according to OTG checker it is missing the host xml file. Is there a way to add this. I know next to nothing about how this works. BTW, I use this phone to run a wifi app (Engine Driver) to run trains on my model railroad exclusively. Engine driver uses the volume buttons to advance the throttle. I want to add the usb volume knob in order to have a turning knob to advance the throttle. I have not nor do I ever plan to use it as a phone.
Thanks
Jim
Click to expand...
Click to collapse
@TXPACFAN
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

How to change package name of app without crashing + resizing apps

Long story short, APK Installation is blocked on LG Classic Flip (no, it's not in settings). There is a way around it though: Decompile an APK, Go to androidmanifest.xml, change package name from com.example to com.android.cts.example (cts stands for compatibility test suite). It works beautifully for most apps, but some apps like Whatsapp are very protected and crash when I do that. Is there a way around that? Same with spotify.
On a side note, some apps aren't sized right for LG Classic Flip (Flip phone). LG Classic is 320x240 pixels. Is there a way to resize the apps (and not the screen).
I'm new, and I am not an expert, so please explain in beginner terms if you have the answer to either of these questions. I'm not stupid, and I learn very quick, I just am not very knowledgeable in this area. Thanks for your help in advance!, Shlomo Rabinowitz.
Biden2020prez said:
Long story short, APK Installation is blocked on LG Classic Flip (no, it's not in settings). There is a way around it though: Decompile an APK, Go to androidmanifest.xml, change package name from com.example to com.android.cts.example (cts stands for compatibility test suite). It works beautifully for most apps, but some apps like Whatsapp are very protected and crash when I do that. Is there a way around that? Same with spotify.
On a side note, some apps aren't sized right for LG Classic Flip (Flip phone). LG Classic is 320x240 pixels. Is there a way to resize the apps (and not the screen).
I'm new, and I am not an expert, so please explain in beginner terms if you have the answer to either of these questions. I'm not stupid, and I learn very quick, I just am not very knowledgeable in this area. Thanks for your help in advance!, Shlomo Rabinowitz.
Click to expand...
Click to collapse
Hello and good morning, @Biden2020prez
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Oswald Boelcke said:
Hello and good morning, @Biden2020prez
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
Thank you for telling me very nicely and I'm sorry for not reading that first, I'll make sure to next time.

USB Keyboard/Mouse to Bluetooth Adapter Help?

Hi,
I have been looking for an adapter to let me use a USB keyboard and mouse over Bluetooth. To be clear I mean some kind of USB hub that connects USB devices to a system (Android phone/tablet in this case) over Bluetooth, without any gamepad or touch emulation. I just what something that passes USB devices over Bluetooth as if they were plugged into the system itself.
If any more information is needed just let me know.
Thanks,
@Which-Android-Am-I?
Which-Android-Am-I? said:
Hi,
I have been looking for an adapter to let me use a USB keyboard and mouse over Bluetooth. To be clear I mean some kind of USB hub that connects USB devices to a system (Android phone/tablet in this case) over Bluetooth, without any gamepad or touch emulation. I just what something that passes USB devices over Bluetooth as if they were plugged into the system itself.
If any more information is needed just let me know.
Thanks,
@Which-Android-Am-I?
Click to expand...
Click to collapse
Hello and good afternoon, @Which-Android-Am-I?
Prior to your next posting please read the guidances that are stuck on top of every forum like
[Read Before Posting]QUESTIONS DO NOT BELONG IN GENERAL
Hello Everybody, In order to attempt to keep this forum neat and tidy the moderation team is asking you to post your questions into the Questions and Answers (Q&A) forum and not into the General section. You can find the Q&A forum by clicking...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Addtionally, I've removed your posts with no content. Your thread is not a development thread, in which we grant developers reserved posts e.g. for changelogs etc.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Need for advice LENOVO TAB M10 TX-606-F

Hello,
first of all I apologize in advance for my mistakes, but not being at ease with the English language I prefer to use a translator.
I just rooted this tablet with TWRP & Magisk.
Now I want to change some features in the settings menu.
For example, I want to prevent the user to delete an application.
I tried app locker to block for example termux but unfortunately you can still delete the desired application. Of course, app locker can't be deleted but the applications it protects can.
on the other hand, is it possible for example to switch the tablet to airplane mode from 9 PM and to grey out the functionality to avoid that the person reactivates the connections ?
Sorry this is a lot to ask but if you can help me it would be nice.
thank you and good day to all
cyrildad said:
on the other hand, is it possible for example to switch the tablet to airplane mode from 9 PM and to grey out the functionality to avoid that the person reactivates the connections ?
Click to expand...
Click to collapse
Hello and good afternoon, @cyrildad
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
oh I'm really sorry, and especially thank you for the referral

Categories

Resources