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.
Related
In one of requirement I need to develop an application where user can launch two application in separate area of screen.
Say Application A in half of the part of screen and in rest of part other application.
I know this could not be straight way to achieve it, but is there any possibility to build such kind of app/launcher. I checked some of mobile ROM support multi application window support.
Any suggestion to achieve this.
You'd have to have this support done on system level, same way Samsung did for example. W/o this you are out of luck.
this is system level thing unless you make you own customize rom it pretty much impossible to do ,if you want to make customize rom then you will be able to do since its an system level this launcher uses system property to do so.
I try to explain better:
I want to put some tablets in my shop for my customers. I want them to use only a few apps that I've created.
So I need an Android version (or a launcher version, maybe?) where you can only choose between some apps to be played. All the settings, all the other apps and everything else must be unreachable (or, better, only reachable if you know the password).
Anyone has any suggestion on how to do it or where do I start?
Thanks a lot.
One Google search led me to the following:
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
Just whichever one you want and and hide the apps you don't want. It will hide them in the drawer as well. Nova Launcher already looks like stock Android, or close enough if you want that. In fact they both do.
I want to develop an android application that will be an alternative lockscreen.
I searched a lot and i couldn't found an explanation about how to make an app to work like a lockscreen. I understand that there is no official android API for lockscreens, but there must be way, because there are a lot of alternative lockscreens applications in the market.
Does someone know how could i make my app work like a lockscreen? Or if there is a basic code out there of lockscreen app that i can learn from it how to do it?
Thanks a lot (:
The way this is usually accomplished is creating an app that becomes the home application and then when the screen is turned on display your custom lockscreen and hide it when the user successfully unlocks it so they can use the device.
Make sure to take a look at the numerous questions on SO that are very similar to this.
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.
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.