add settings in Android builtin Settings - android

I want to add an item in android builtin settings, for my application.
Can any body guide me through any tutorial or code that how can i acheive this?
Thanks a bunch in advance!

Something tells me this is not what you want... I don't know how to achieve it but I have a feeling if it is even possible, it wouldn't work on all devices. I'd stick to an in app settings menu like everything else. At least that way you know it's possible and will work on all devices.

Related

Android SoftKeyboard shortcut

I have a question. I wanted to develop an app that would add a shortcut to the keyboard (Samsung SoftKeyboard).
The shortcut should be accessible via the dots at the top right (see attachment).
I would like to add a circle ("floating") over my app, as shown in the picture on the right.
Something specific should then be carried out via this circle (but that's not the point yet).
I've done a little research, but don't really know what to look for.
I hope you can help me.
thanks in advance
Example
afaik there is no such possibility to add anything in there. it's another app with own custom settings and options, you can't edit such or change in any way. your last chance is possibility of published API/some communication way for that app, which would allow to add such actions, but I very doubt Samsung made such API for own keyboard app and allowed ANY 3rd-party app to mess in their software... (btw. that would be very insecure for user)

How to change settings from within my app with code in Android

Does anyone know how I should go about disabling all the phones notifications in code from within my app? I've been Googling for a bit but haven't really found anything related to what I want to do. I would like to be able to change the Android settings(like ringer volume or vibrate settings.) Any help would be greatly appreciated.
Here is some code that does just that:
https://code.google.com/r/sergeymishkovskiy-timeriffic/source/browse/#hg%2FTimerifficBase%2Fsrc%2Fcom%2Frdrrlabs%2Ftimeriffic%2Fapp

Show suggestions of AutoCompleteTextView

Is it possible to have the AutoCompleteTextView show the suggestions above the keyboard just like when using the default dictionary? (If yes, how:))
Or can I use my own database to show suggestion when using EditText?
Hope you understand what I mean:)
Thank you
Bastaixen
I don't think this is possible. The suggestions shown above the keyboard are actually part of the IME, so completely unrelated to your application / activity.
The only way to do this would be for you to build-in your own IME and then you can customize what suggestions would be there. You can base it on latinIME, but there are still a couple of things you would need to figure out:
You would need to figure out how to tell Android to use your custom IME in your app. Or, like this answer say, just build in the keyboard in your app.
if your user is using a different keyboard (for different language, or swype or something like that), they would probably not like it much...

Android Notification Bar

I am trying to make an app that will allow you to have like a bar of settings or toggles like in cyanogen. http://i.imgur.com/cYhkd.png
Is there a specific way to attack this. It can be just a normal notification, but I want it to be in one bar with multiple icons. The api doesn't allow for this. I heard there is a way to access android's internal apis. The user should not have to root to make this work. Thank you soo much for any help you guys have to offer!
AFAIK, this can't be done using the SDK. Check out the Cyanogen source for how they do it, but it is impossible to make it work across regular devices with stock ROMs.

Is there an Android Tablet equivalent of UIPopOverController?

I'm just mucking around with Android tablet stuff in 3.0. I have fragments set up to do the equivalent of UISplitViewController for iPad. Anyone know what the best solution to get something like the iPad UIPopOverController is?
I'm thinking the options are either a separate dialog or something in the Action Bar ...?
I haven't actually seen any Android tablets running 3.0 so not clear what the standard will be ...
Many thanks in advance
This may not be exactly what you are looking for because I'm not all that familiar with UIPopOverController but I think you can accomplish something similar using a Toast with a customized layout.
I would take a look at Creating Toast Notifications and see if it works for you.
Depending on the functionality needed it might work, otherwise you might need to look into trying to generate a modeless dialog with a custom layout.
As for your other question, yes options are generally stored in a separate activity within your application and following Honeycomb design the options activity would be accessible from the Action Bar and the options itself could be a fragment.
Its nothing official but I would crack open the source code to the contacts app for 2.0+ They emulate the popover UI using an Activity in a pretty creative way. It might be a little over kill as it was designed to be usable by any application not just itself. But it should help give you a nudge in the right direction.
Also depending on what the behavior you are looking for exactly a combination of fragments and action bar could be the way to go, but its not going to be as easy as iOS.

Categories

Resources