Change the message in the Google Location Services dialog - android

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.

Related

Android Google place picker

I am using google place picker in my app and each and everything is working fine. But there are some requirements of my app too.
When we open the place picker via intent it just look like this
As you can see there is a search field on the top of Place picker , I just want to change the hint from the search to the string that I want. let say locate or anything else.
Please tell me how can I do this . I am pretty sure it can be done. But from intent builder it seems impossible.
Please help.
I'm afraid currently this is not possible to set custom placeholder text in search element. I can see the following feature requests in Google issue tracker you might be interested in:
https://issuetracker.google.com/issues/64892097
https://issuetracker.google.com/issues/62256415
Feel free to star these feature requests to add your vote and subscribe to notifications.

Displaying Google Map within service using window manager system service

In my app I need to be able to display google map as overlay up on other applications.
For doing so I am using service and window manager to show google map view as TYPE_SYSTEM_ALERT .
I am already able to the display the map twice inside the activity using 2 different google API clients with same valid API key.
I can't figure it out but for some reason when attaching the 'View' which contains 'SupportMapFragment' to 'WindowManager' the map wont display , only google logo at the bottom .
I was thinking maybe it has to do something with pixel format ?
Any suggestions ?
It has to do something with kind of views which window manager supporting , maybe window manager cannot display fragments ?
Is it possible to archive what am I trying to ?
There is no problem in the implementation so I don't past code here .
maybe window manager cannot display fragments ?
Correct. Use MapView directly. It may not work especially well in your case, as not everything is designed to go in an alert window, but it is the only chance that you have.
Also note that your app may have problems starting with Android O, as Google slowly starts to rein in apps that do these sorts of overlays.

How to customize "enable location" dialog in android?

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.

Google App Invite - Theme change

Is it possible to set the app invite activity that shows the list of users/friends to use the app's current theme? Right now its a bit different from mine and for the sake of continuity I'd like it to be the same.
Checked with official doc and didn't find anything. This feature might be added in the future.

How to make "Google Play Service"-like overlay prompt on android?

Sorry for my bad English.
I need to make an native SDK to show an overlay popup window to show a message on the top of the current activity.
The window will show about several seconds and then dismiss.
When the window is showing, the content behind needs to be active.
I try several methods, such as startActivity with not touchable and popupWindow.showAtLocation, but no one can act as the same behavior like Google Play Service-overlay window when you log in using Google account in applications.
I cannot get the current activity context or the current view since I don't have the GET_TASK permission.
Google Play popup overlay window Screenshot:
I need advise, thanks.
I think you need to create a showCase for your app.
This library will help you .
if you want more customization. you have to create a Service. And read this question if you want an overlay.

Categories

Resources