For a location aware app that i am developing, i need to start the GPS programatically, but after a lot of research i found that, this is no longer allowed in newer versions of android (yes, there are some solutions like this, but they exploit some bugs in android- not a solid solution). so i use the enable location dialog (it is way much better than redirecting the user to settings page, to enable the GPS).
As you can see in this link, i want to customize the looks of this dialog with a custom layout to make it look like the rest of my app.
Related
I want to make an application that does something in the background, and to control its behavior, I wanted to have a quick-settings tile.
I managed to get the toggle working just fine, but now I want to know if it is possible to have a 'drop down' menu for the user to be able to choose an option out of 3 possible options. (3 different modes for the 'on' state)
Something like the wifi and bluetooth tiles here, that have that little arrow
Is this a feature only for system apps, or is there a way to do it?
It seems from here that unfortunately third party apps cannot use this feature.
Quote:
Note: You’ll notice some of the system tiles have an additional UI that replaces the whole quick settings pane with a custom UI. Unfortunately, this isn’t available to third party tiles.
What i wanted to do, and didn't find any suitable solution, is :
create a scene in tasker (no problem on doing it :) )
display this scene on overlayed mode on other app (ex: waze,). Overlay is mandatory (as i know but i am maybe wrong) to let's the underlayed application work and refresh screen normally
allow interaction with button on the scene, just like we can do it if i choose the dialog mode for my scene. The problem with dialog mode is that the underlayed apps screen does not refresh.
In fact what i wanted to to is to display some button when i am running waze, to allow me to sens ETA Sms to my wife, or skip to the next track on my musics apps, or close waze quickly.....
As a resume i want to do what is
create floating windows like offered by apps like Overlays
but only using tasker
Best regards
Best
Please share some images of your requirements so that we can help you better but anyways I found a solution maybe it'll help you with some little customization.
According to my understanding, you need something like this:
You can download the whole project and customize it according to your requirements from Here
I noticed that Yandex maps application change the title in the Google Location Services dialog (or they completely repeated the design and implemented 'Ok' button tap to turn on setting immediately, if so, please let me know how I can do this). I've made this conclusion, because a default text is a bit different , e.g. screenshot from the Google maps application .
Is there way to customize the mentioned dialog?
I've confused since there is an answer about this, but I wanted to be sure that it's impossible, because I found the app which was able to do it.
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 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.