Saturday, February 22, 2014

How to add a system Setting interface without modifying the source code of the system Setting conditions


You brothers and sisters, how to add a System Setting interface without modifying the source code of the system Setting the situation, as follows: < br />


Thank you!<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Do not understand your needs yeah ~ ~
Reply:
Is to write an App, and then click a button above Setting up a system of interface, this interface can customize their own
Reply:
This should be relatively simple bar, which adds a button in the interface, and then let the corresponding button click event (setClickable ()), to the button to add Listner (setOnXXXListener ()), and then call in Lisnter inside:
/ / Of course there is more to call methods
Intent intent = getPackageManager () getLaunchIntentForPackage ("com.android.settings");.
startActivity (intent);

For reference.
Reply:
If this system is Setting interface also needs to write their own words, how to achieve, you can not modify the system Setting the source it?
Reply:
references, 4th Floor bailindouban reply:
If this system is Setting interface also needs to write their own words, how to achieve, you can not modify the system Setting the source it?


If you write your own Settings, I think it is too complicated, right?
And some system status is not necessarily the application can modify it (setting up certain items should change the system state), to deal with too many
Details.

I just Andriod novice, new to less than a week, huh.
Friendship Bangding.
Reply:
references, 4th Floor bailindouban reply:
If this system is Setting interface also needs to write their own words, how to achieve, you can not modify the system Setting the source it?


You're feeling good magic ah,
1 System Setting interface also need to write
2 Setting the system does not modify the source code
These two are not contradictory it?
Reply:
Thank you, has been resolved, before I got it wrong, in fact, this is one of Setting Setting your own applications, just like the original drawing very system Setting, so tangled for a long time.

No comments:

Post a Comment