Can we customize the android setting options and meta options? - android

I want to create an application but I want to use Setting Options in my UI (i.e. every device has a specific user interface but i want to display setting option and meta options in My User interface).
I have not done such type of work previously. Does anybody have an idea how to implement this?

Related

Disable Bluetooth Tile in Quick Settings Panel

I want to disable Bluetooth tile from the quick settings panel. I am using android 9 and I want to do it on a system app. So if there are some changes to be made in source, I would be happy to know it.
I have found many solutions telling how to add a new custom tile via TileService, but I need to disable tiles that are already present (like Bluetooth tile).
Note: I do not want the feature itself to be disabled, i.e. the user would be able to enable disable feature from the settings app itself. I just want to disable the qs tile.
Searched a bit on cs.android.com and this seems to be the relevant class.
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
From there you can handle click ( or not handle it actually), or show a "disabled" icon etc.
If you want to "remove" it, then frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSFactoryImpl.java seems to be the class that adds them. It reads from Settings.Secure.QS_TILES
frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSFactoryImpl.java
yes, This file we can edit and remove unwanted tiles.

React-Native: how to detect assistive technology and user preferences

We need to detect if a person is using VoiceOver, Switch Control, TalkBack, or Switch Access to display alternate buttons on our swipe-dependent application.
Normally we'd look for UIAccessibilityIsVoiceOverRunning, AccessibilityManager, and other hooks to detect the need to display these buttons.
We are also respecting the user's preference for bold fonts and simplified animation via hooks like UIAccessibilityIsBoldTextEnabled().
I couldn't find documentation within React that details how we can get this type of information from the device and write the logic for changing the app's interface.
I'm a web developer, so this may or may not be relevant: Could you not default to the non-VoiceOver view, but if a single item on the page becomes focused or scrolled without at least one ontouchdown event, then you now know that non-touch input is being used, and then enable the alternative behavior?

how to permanently override android soft keys behaviour and display through

I am relatively new to android and want to create an application that permanently overrides androids basic softkey behaviour and view (for devices with soft keys).
Some functionalities I want to implement are changing the size of the softkeys window at the bottom, change its images, and possibly change its functionality.
For example, the user can set the size to of the softkey to be "large", "medium" or "small". And I can change the functionality of the back button to open say a particular application instead of going "back".
I'm basically looking for a high level answer as to how to do this, a basic direction of what I should read/study in order to be able to accomplish this. I realise this may require root access.
Please note that I want this behaviour to change not only in my application but I want the effect to exist on all applications. If this requires the application to be running atleast at the backend, that is fine.
After doing some decent amount of search, it seems I will have to make changes in the systemUI.apk, or possibly get its source code and modify it. Is this correct?
Thanks in advance.
I don't think even root is going to be enough for the type of changes you are describing. You're going to need to edit the Android source code and build your own system image.
Well you can't override system resources because they are part of the system image.
What you are looking for is called Home Application which can be developed like any other android app no need for root , you can find an example for it in your sdk samples.
Home Sample Application.
your app would be responsible to have UI components to send the user to all of the phone functionalities which includes:
Place for wegits
Place for apps listing (menue)
Access telephony functionality (call, phone history ...)
Access settings.

Enabling my application to show up in the Android Global Search

I have an application that I have made searchable, and I want to include it in the Google Search bar by default, or give my users the option of enabling it from within my application. I have already exposed it by adding android:includeInGlobalSearch into my searchable.xml, but how would I enable it from my settings within the application?
I know I can also launch the Settings.ACTION_SEARCH_SETTINGS activity and have them select it, but how would I shift the focus/scroll to my application if it is below the initial fold?
AFAIK, you can't. The user has to enable it, you can't force them to. You can' control the focus scroll either, best you could do is experiment with different names and see how this affects sorting.

Android application preference in device setting opinion

How can I add application preference in device setting. I want to my preference setting be part of device setting opinion. My application setting can be appeared or displayed in device setting list.
Any API i need to use or keyword?
You are welcome to modify the firmware and distribute it on your own line of mobile devices -- then you can add a setting to the device setting list.
It is not possible to modify the device setting list from an ordinary SDK application, however.
Sorry!
As far as i know, currently there's no options on this as such. But you can maintain your application settings activity within your application itself.
You can use or create new keys to use content Provider values from System Settings so that you can store/access your settings even from other applications.

Categories

Resources