[Q] "Use location" popup in some new android apps - Java for Android App Development

Hi i have seen these popups in some new android apps,Clicking on yes will automatically turn on location services and wifi. I want to know how is this done or is this a new feature from play services?I like to implement some thing like this for next update of my app. The popup image can been seen in the following url http://i.stack.imgur.com/EP4Qd.png
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

See this - http://android-developers.blogspot.com/2015/03/google-play-services-70-places-everyone.html
I'm pretty sure if you use the new Fused Location Api the prompt will appear automatically
Edit: Here's what you want - https://stackoverflow.com/questions/29801368/how-to-show-enable-location-dialog-like-google-maps

Related

How to get the four fancy shortcut-buttons I see on some pictures?

On some pictures I see 4 ¨large icons at the bottom of the HTC UI. Assuming it is shortcuts, I would very much like to have them, but I dont know how. I downloaded the TD 2 Tools program, which also have the "Enable Programs Tab", but I dont know if its the same. Anywho, when trying to enable it has always removed the tick in the box when I apply settings and restart my device.
To put it short: Is it possible to get the shortcut icons, and how?
Here it is:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Get it here:
http://forum.xda-developers.com/showthread.php?t=625483

Note 3 not showing up on Google Play Web interface

I know its not strictly a Note 3 issue but was hoping someone might know why:
My device doesn't show up as an option in the Play Store. So I cant browse for an app and push the app to the phone.
I can browse the app store and pull apps down FROM the phone... but I would like to be able to do it the other way like I can for my other Android devices..
I'm running a Stock ROM and am not rooted or Knox triggered.
Do you mean like this?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mine picked it up straight away.
Can you see the device in settings? (Gear icon --> Settings). Could be that "Show in Menu" isn't checked.

INFO on 10.5.2014

OK guys today i recieve some wierd update from google xD. I turned on my phone to take photo at work and i noticed my CAM icon was changed hmmm wierd but OK and after that i turn on CAM and al UI was changed, and Setings menu i mean ALL. So any of you have this update without any notice or info or notification from google or system????
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You're likely on a 4.4/kitkat rom, Google Camera was released a couple weeks ago to all nexus and google play edition devices.
It's also optionally available to oem KK devices.

Problem with test dpc

Hello,
Before I start, if any mistake in my language, excuse me, because my English is not very good.
I bought Huawei P Smart, it's new and everything,
However, once I connect to the Internet for the first time after it is activated or after the format, this notification appears:
(Just edit the links if the pictures don't appear, because I am a new member and not allowed to put them)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The application says I don't have Permissions of the phone and restarts itself to become a phone without applications
Even when I tried to using recovery mode to format it didn't allow me
What I have to do now? As it appears to you even if I did not accept what appears in the notification, as you see it will do by force after an hour.
And well what is this? I did not understand anything !!
Thank You

hello friends, do you know how I can remove this annoying message from my tv, it happens every time I connect it to the internet through the internet

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have reset the tv but the message still appears
Your device is probably looking for a launcher App, which will organize your Apps for browsing.
Definition: A launcher is to your Android phone as a desktop is to your computer—launchers provide the background interface on your phone and help you organize everything that you need quick and easy access to.
So Nova Launcher is supposed to be the leader, grab this app it will display your installed apps nicely: https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher

Categories

Resources