Bluetooth shortcut with lock

R
RMLFD
La Fournée Dorée

Hello, 
I'm writing to you because I need help adding a "Bluetooth Settings" shortcut to a profile created on Samsung Xcover5 devices. 

I'm using the lock function on the profile and would like users to be able to easily pair a device. 
Without the user being able to access the other settings. 

Just as is possible with Wifi management using the Action://CONFIGURE_WIFI parameter.

I've tried the Settings Manager application, but it's not compatible with the creation of a professional profile. 

I tried disabling all functions in "Function Control" and leaving only Bluetooth management, but this still leaves a lot of settings accessible.

I hope I've made myself clear.
Thanks in advance for your help.

2 years ago
Android
ANSWERS
ZC
Zafer Cigdem
2 years ago

Hi,

While the Bluetooth settings section is open on your device, you can send out below legacy script to see the activity name of the specific screen (for this case Bluetooth screen), example is as below:

identify_activity

Did you try to add this activity name on kiosk screen and try to access Bluetooth and pairing. If you can access only Bluetooth but not pairing section, you may also find out the activity name of the pairing screen and you may add this as a hidden item on your lockdown, otherwise this may block pairing. This may be a problem that you can't use Settings manager > Bluetooth app as well.

I hope it helps.

Zafer 

R
RMLFD
a year ago

Hello,
thank you very much for your reply.
I was able to run the script to see the activity when I'm in the Bluetooth settings.
Here is the result: 

I tried to put it on my model in action:// and Lauch:// but without success :/ 
Thanks

EG
Edgar Gomez
2 years ago

Hi,

You could try this in the lockdown items configuration:

Action://android.settings.BLUETOOTH_SETTINGS
Launch://com.android.settings/com.android.settings.Settings$BluetoothSettingsActivity
Launch://com.android.settings/.bluetooth.BluetoothPairingDialog

It is not required that the last 2 be displayed in the template

R
RMLFD
a year ago

Hello, thank you very much for your reply.
It actually works! 

As you said, I'd like the last 2 not to be displayed in my template, but I haven't figured out how to do it :(
Do you have an idea?
Here are my settings and results on the phone:

Thanks you

LW
Lucas Wortmann
a year ago

Hey, dont know if you still need to fix this. You need to modify your HTML which is used as Home Screen Layout Template. Depending if you are using a custom template simply leave out the ids of items 'Bluetooth 2' and 'Bluetooth 3'. If you are using a DynamicAndroidTemplate I searched for 'MCDispImgX' (where x is your Home Screen item ID) and deleted the item from the html.

That'S right, i recommend to use always the first ones, so, change the order in the the profile, so the ones you want to hide are the very first items and remove those from the template as Lucas wrote. Then you don't need to take care of them when you later add new apps.

J
JEMOD@SOTI
a year ago

Hi RMLFD,

Thank you for posting on SOTI Pulse! 

I wanted to obtain some more information on the issue. Would you mind providing some detail on why settings manager wouldn't be possible on the devices with regards to the "professional profile" that you mentioned, as I believe settings manager would be ideal for your deployment. 

Here is a screenshot from a deployed device, with bluetooth being the only option accessible by the end user.

Do let me know if this still isn't a solution, and feel free to try Zafer's or Edgar's suggestions above as alternatives. 

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter 

R
RMLFD
a year ago

Hello,
sorry for the delay.

Here are some screenshots, and you can notice that when I create a Classic Android profile I do have the Soti Apps "Settings Manager" option. 

But when I want to make a professional profile, I don't have it :( 

Is this normal?

Yes, I will try the solutions proposed by Zafer and Edgar this week.

Thank you very much


If you have a work profile (not professional!) (which is used on a private device only) you have very limited possibilitys. So, yes this is how it should be if you choose work profile. 

But maybe you are looking for work managed (= fully managed) or COPE (Corporate Personal = less possibilitys then fully managed but more than work profile) instead?

But in COPE you don't have this option as well, so you can use it only in work managed or classic.

R
RMLFD
a year ago

Thank you for all these details.
We only use professional profiles and I'd prefer to keep it that way.

I'll see if the solutions proposed above can solve my request.
Thank you

Hi RMLFD,

there's no professional profile!

There's only BYOD (bring your own device = work profile), COPE (Company owned personally enabled) and COBO (Company owned business only = fully managed).

R
RMLFD
a year ago

Hello,
yes, sorry, I'm expressing myself between professional profile and work.

I understand, thanks for the clarification.
So I would have to do a classic profile or Work Manager to get SOTI's Settings Manager. 

I don't know the difference between the two yet, but I'll find out.
Thanks

ZC
Zafer Cigdem
a year ago

Hi,

Briefly, you need to create a profile based on your device type (let's say if your device is Android Classic device, then you should select as Android Classic, as shown below):

And these types may be depending on how to enroll your device and what enrollment option you selected.  You may review here for details as well: Managing Android Enrollment Policies (soti.net)

ZC
Zafer Cigdem
a year ago

Absolutely agree!

R
RMLFD
8 months ago

Hello,
I'm coming back to you on this subject because you helped me a lot last time.
It was working great until this week, when I can no longer access Bluetooth on all my devices.

Reminder of my goal: Open the Bluetooth page on my Android devices without being able to navigate elsewhere in the settings. 

I had taken one of your solutions to put these home screen settings on my profile:
Launch://com.android.settings/.SubSettings
Action://android.settings.BLUETOOTH_SETTINGS

Example of the result on the phone:

But since this week, when I press my Bluetooth icon, I get this error:

I tested in ADB with this command:
adb shell am start -a android.settings.BLUETOOTH_SETTINGS

And it works.


Why all of a sudden this error? No change on the server side.
This affects all my phones, even those with older or more recent Android versions.

Thank you very much for your help. 
I look forward to hearing from you,
Sincerely,

RS
Rafael Schäfer
8 months ago

It does think to open a website which doesn'T make sense at all.

I recommend to investigate with soti support.

EG
Edgar Gomez
8 months ago

Hi,

I have just tested and it works fine.

There must be something wrong in your configuration. It looks like you are configuring an http/https access.

Double check your lockdown items.

EG
Edgar Gomez
8 months ago

I think this is a bug in the latest agent (2025.0.5.1064) because I wiped the a device and enroll it again and now I have your same issue.  :(

R
RMLFD
7 months ago

Gee, maybe we'll have to wait for a new version of agent then :(

RS
Rafael Schäfer
7 months ago

don'T just wait for it, please report it to Soti.

RC
Raymond Chan Diamond Contributor
6 months ago

I don't think action://  officially supports your used argument

     android.settings.BLUETOOTH_SETTINGS

It worked for a while in some limited cases only.  Some other argument that used to work in the last 10 years fail recently, so I myself currently consider the action:// kiosk item more or less obsolete unless I can find new official document and successful tests that show otherwise.

Instead, you can try using

  Launch://com.android.settings/.Settings$BluetoothSettingsActivity

It might not work for your specific device model or OEM firmware version.   There are two possible drawbacks:  the activity launched should support bluetooth management other than mere bluetooth-device-pairing, and might have UI loophole for accessing other Settings' tabs/pages depending on the UI design of your device OEM firmware.