60

AppSwitcher - smart SWC launcher (for Junsun and similar devices) incl. autostar...

 2 years ago
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.
neoserver,ios ssh client

AppSwitcher - smart SWC launcher (for Junsun and similar devices) incl. autostart

roubi

Senior Member
Apr 27, 2011
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
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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:

play.google.com

Automate - Apps on Google Play

Automate almost any task on your device
play.google.com
No! I don't get money if you use it 🙃
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.
I'll put this on my to-do list.
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.
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.
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

roubi

Senior Member
Apr 27, 2011
Hi 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.
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
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
Hi 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.
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.
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

roubi

Senior Member
Apr 27, 2011
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?
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...)

Attachments

  • IMG_20230126_200301.jpg

    IMG_20230126_200301.jpg
    333.9 KB · Views: 13
  • IMG_20230126_200320.jpg

    IMG_20230126_200320.jpg
    415.3 KB · Views: 14
  • IMG_20230126_200407.jpg

    IMG_20230126_200407.jpg
    458.9 KB · Views: 14

roubi

Senior Member
Apr 27, 2011
Okay, sorry, I just saw on first page where the setting for dimming is placed (title of dialog)... 😶
I'll check it out tomorrow...

Reactions: TorstenH

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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.

roubi

Senior Member
Apr 27, 2011
Okay, checked again now. Dimming is disabled. Happens also after killing AppSwitcher and AppSwitcher Starter, but started happening just after installing the App...

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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.

roubi

Senior Member
Apr 27, 2011
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.

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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.

community.spotify.com

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 community.spotify.com

Reactions: roubi

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
For me it looks like Spotify forces a screen rotation to portrait mode.
community.spotify.com

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 community.spotify.com
community.spotify.com

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

Hey guys, Good news! Thanks to your feedback we've been able to make landscape mode in the Android app a reality. Please check out the release notes for more info, including details of how we're rolling it out. Thanks again for bearing with us. And let us know if you have any more...
community.spotify.com community.spotify.com

Reactions: roubi

roubi

Senior Member
Apr 27, 2011
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. 😎

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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.

roubi

Senior Member
Apr 27, 2011
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... 😉

TorstenH

Senior Member
Feb 20, 2021 1,159 t.me Realme GT 2 Pro
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

tazere

New member
Feb 2, 2014
Hi everyone, I am trying to use your app to put a custom button command for to switch through some apps.
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
Setup:
  • 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.
Issues:
  • Nothing happens when I press the button and i am unsure that the program reads the logs.

Attachments

  • about from appswitcher.jpg

    about from appswitcher.jpg
    253.1 KB · Views: 0
  • about settings.jpg

    about settings.jpg
    808.4 KB · Views: 0
  • appswitcher settings.jpg

    appswitcher settings.jpg
    284.6 KB · Views: 0
  • devicelog.jpg

    devicelog.jpg
    330.9 KB · Views: 0
  • devicelog1.jpg

    devicelog1.jpg
    256.7 KB · Views: 0
  • maneta.jpg

    maneta.jpg
    441.6 KB · Views: 0

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK