

AppSwitcher - smart SWC launcher (for Junsun and similar devices) incl. autostar...
source link: https://forum.xda-developers.com/t/appswitcher-smart-swc-launcher-for-junsun-and-similar-devices-incl-autostart.4435555/page-16#post-88062821
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

AppSwitcher - smart SWC launcher (for Junsun and similar devices) incl. autostart
Hi, @TorstenH. Greetings from SPb
Just installed AppSwitcher 2.6.10 to 8667, it's working as description says. Few suggestions:
1. Maybe it's possible to launch not one, but 2-3 apps on the start of service? I'm using tracker app to track gps position of the car and set it to launch first of all, and I need to launch media app manually because of that.
2. Another cool option would be to reassign long button press f.e. to return an basic option (for me it's play/pause). Or using long press to switch apps and short one to set for something else.
3. Basic junsun launcher has an option to start navi pressing on the car image on start screen. Now this button doesn't working at all.
Hi, for that kind of stuff you could use Tasker...
Reactions: ser_hero
TorstenH
Senior Member
Hi, @TorstenH. Greetings from SPb
Just installed AppSwitcher 2.6.10 to 8667, it's working as description says. Few suggestions:
1. Maybe it's possible to launch not one, but 2-3 apps on the start of service? I'm using tracker app to track gps position of the car and set it to launch first of all, and I need to launch media app manually because of that.
First thank you for using and testing my app. And thank you for your suggestions.
AppSwitcher allows to enable Automate and start an Automate flow on startup.
Automate is similar to Tasker and allows you to start apps and do a lot of cool stuff:

I'll put this on my to-do list.2. Another cool option would be to reassign long button press f.e. to return basic option (for me it's play/pause). Or using long press to switch apps and short one to set for something else.
Unfortunately Junsun launcher starts only the generic navi start activity, which starts the app you defined as navigation app. Now, we use exactly this activity to start AppSwitcherStarter after reboot / sleep. Currently that's the only reliable way to bring up AppSwitcher after sleep mode.3. Basic junsun launcher has an option to start navi pressing on the car image on start screen. Now this button doesn't working at all.
To be honest "finding a workaround for Junsun launcher" will be on the very bottom of my to-do list because I don't like Junsuns launcher and I can't identify myself with the car (is it a Porsche? ) they are showing on it.
Reactions: ser_hero
I installed AppSwitcher and really like it - thanks for the work.


Two things to report:
1. I can't find the fm radio app in the list of settable media apps.
2. In Spotify, when I play a track and select the album cover view, the display seems to change to portrait mode and I can see only the part of the screen that fits in the display of my HU.
Any idea why this happenes? I

Reactions: TorstenH
TorstenH
Senior Member
It is definitively available under the MainUI (Bluetooth app). You have to expand the app activities and find the entryHi Torsten,
I installed AppSwitcher and really like it - thanks for the work.
Two things to report:
1. I can't find the fm radio app in the list of settable media apps.
com.ts.can.CanExRadioActivity
or
com.ts.main.radio.RadioMainActivity
Simply try which one is working.
2. In Spotify, when I play a track and select the album cover view, the display seems to change to portrait mode and I can see only the part of the screen that fits in the display of my HU.
Any idea why this happenes? I
Is this only happening while AppSwitcher is running? If yes: Is screen dimming active?
Reactions: roubi
Thanks for the quick reply. Found the radio now.It is definitively available under the MainUI (Bluetooth app). You have to expand the app activities and find the entry
com.ts.can.CanExRadioActivity
or
com.ts.main.radio.RadioMainActivity
Simply try which one is working.
Is this only happening while AppSwitcher is running? If yes: Is screen dimming active?

Yes, only with AppSwitcher. I don't have a toggle for screen dimming, only a slider...

See attached pictures (sorry for the bad quality...)
Attachments

I'll check it out tomorrow...
Reactions: TorstenH
TorstenH
Senior Member
Okay, sorry, I just saw on first page where the setting for dimming is placed (title of dialog)...
I'll check it out tomorrow...
Please disable dimming (sun ☀ icon) to see if this makes a difference.
TorstenH
Senior Member
Okay, checked again now. Dimming is disabled. Happens also after killing AppSwitcher and AppSwitcher Starter, but started happening just after installing the App...
Please check if Spotify was updated, uninstall updates of Spotify app and clear cache and data.
TorstenH
Senior Member
Thanks for the quick reply. Found the radio now.
Yes, only with AppSwitcher. I don't have a toggle for screen dimming, only a slider...
See attached pictures (sorry for the bad quality...)
For me it looks like Spotify forces a screen rotation to portrait mode.
Landscape mode is gone

Reactions: roubi
TorstenH
Senior Member
Okay, I'll check it tomorrow. It's happening just in Spotify and just in the album cover view. So it's not really a big thing and maybe really a Spotify problem. I'll report after checking.
Are you using Spotify on your phone (sorry I don't use it at all)? What happens if you open album art in landscape mode?
TorstenH
Senior Member
For me it looks like Spotify forces a screen rotation to portrait mode.Landscape mode is gone
Landscape mode is gone since the latest update ofSpotify in Android. When you see the artwork / album cover of a song, landscape mode won't function anymore. In other screens, it does work. See my attachements for screenshots. Bring landscape mode back!!!community.spotify.com

Re: SERIOUSLY!! LANDSCAPE MODE NOW!!!!

Reactions: roubi

I'll have a look tomorrow.
I don't use Spotify on my phone. Only on the HU.
Anyway - thanks for the work and the support. I'm really glad there's guys like you, pimping our devices and making them more fun to use.

TorstenH
Senior Member
Interesting information. Thanks for that. I didn't think about searching the web for a Spotify problem because it worked before. So maby it is related to the force full screen settings...
I'll have a look tomorrow.
I don't use Spotify on my phone. Only on the HU.
Anyway - thanks for the work and the support. I'm really glad there's guys like you, pimping our devices and making them more fun to use.
You're welcome. It may be possible that by disabling the setting and so by disabling the weird coding of Junsun Spotify behaves like on every android device and forces portrait mode - which handled by the head unit in a special way.
Okay, when I toggle the force full screen setting in AppSwitcher, the album view in Spotify works again. I don't know why Spotify behaves like that but a visible status bar is more important to me...You're welcome. It may be possible that by disabling the setting and so by disabling the weird coding of Junsun Spotify behaves like on every android device and forces portrait mode - which handled by the head unit in a special way.

TorstenH
Senior Member
Okay, when I toggle the force full screen setting in AppSwitcher, the album view in Spotify works again. I don't know why Spotify behaves like that but a visible status bar is more important to me...
Junsun patched a framework file which forces all apps to appear in full screen without status bar. Only exceptions are some Junsun apps which are defined by fix coding.
AppSwitcher disables the patch and all apps appear as they should appear. On some apps this may be a worsening. And as you can see on the links several users don't understand why Spotify is not supporting the album art view in landscape.
Reactions: roubi
I read through all the thread and still was not able to make it work :-( maybe you guys can help me out.
Thank you in advance.
Unit specifications:
- I am using JUNSUN v1 pro on a seat ibiza using UIS8581A processor and TS18 firmware like in the pictures below.
- I am using canbus decoder from SIMPLESOFT on a SEAT IBIZA 09-2013
- I have the steering wheel controlls like in the picture below and am not able to change the steering wheel actions (this will be awesome if you have experience with this)
- At the moment I just installed CAR LAUNCHER Pro (the launcher the unit came with seems really bad.
- The original command from the steering wheel have a mode button that switches through AUX IN, Radio, NAVI, Bluetooth, Video, MUSIc and Ipod, and i only need 3 apps top to switch and was not able to change the original music app to let's say youtube music so this is the reason i want to turn another button into a carousel.
- Left the System info in the pictures below
- I used the log reader mentioned in the thread to check what input was made when i pressed the swc and it said Tag: BTModel and keyCode :220 for the button that is currently not assigned to anything.
- I made the settings like in the pictures below.
- Nothing happens when I press the button and i am unsure that the program reads the logs.
Attachments
Recommend
-
10
OnePlus Launcher v5.0.2.4 brings OxygenOS 11 features to older devices The OnePlus Launcher v5.0.2.4 update is now rolling out via the Google Play Store, and it brings the bulk of OxygenOS 11 features to older devices not yet eligible fo...
-
222
[Firmware] Junsun V1 8667Q - 8G/128G VHD QLED ...
-
101
Junsun V1 Pro MTK8259 4GB + 64GB Android 10 headunit ...
-
72
Microphone problem in bluetooth phone calls Junsun V1 Pro ...
-
509
Junsun V1 Pro (MTK8259/MTK8257) - firmware
-
80
Junsun V1/Pro Megathread
-
19
Junsun no sound in device apps...
-
186
Junsun v1 pro mtk8259 android head unit all saved data gets reset after reboot....
-
14
AppSwitcher - smart SWC launcher (for Junsun, Xtrons and similar devices) incl. autostart
-
105
AppSwitcher v3 - smart SWC launcher (for Junsun, Xtrons and similar devices) incl. autostart...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK