adplus-dvertising
Connect with us

Tech

Android 11’s power menu may turn into control center for home automation

Published

 on

When Google released Android 11 Developer Preview 1 yesterday, we found mostly surface-level changes in our initial hands-on. It seems that Google will once again leave the bulk of the user interface changes and new features for a public beta after an announcement at Google I/O 2020. However, we discovered several in-development user interface tweaks that suggest big changes are coming for the Android OS in 2020. We discovered that Google may put a media player in the Quick Settings panel, separate the notification shade from the Quick Settings panel, and now, we’ve found that Google may be tweaking the power menu to accommodate user-selected home automation shortcuts.

On my Pixel 2 XL running Android 11 DP1, I managed to activate a new UI for the long-press power menu, as shown below. The existing power menu icons, including Emergency, Screenshot, Restart, and Power off, shift to the top of the screen, leaving a lot of empty space underneath. In addition, a new “Home” text appears above the icons. The icons shifting upward suggests that Google plans on adding something to fill up the empty space, which we initially assumed was in preparation for the new Quick Access Wallet feature that’s now in Android 11. However, the presence of the “Home” text raises the question of why it’s there—could Google be in the process of creating categories in the power menu for different kinds of actions?

Digging into the code, we discovered multiple classes in SystemUIGoogle related to a feature called “Controls.” The code suggests that the user can set shortcuts as “favorites” to show up in this menu, which are stored by the system in an XML file with the shortcuts’ IDs, titles, types, and components. There are new activities in SystemUIGoogle related to Controls: ControlsFavoritingActivity and ControlsProviderSelectorActivity. Launching the former raises a permission denial as it’s an unexported activity and we don’t have root access while launching the latter brings up the following UI:Android 11 Controls ProvidersAndroid 11 Controls ProvidersUnfortunately, this UI is empty at the moment, so we aren’t able to add our own favorite shortcuts to the power menu. We found references to a new permission called “android.permission.BIND_CONTROLS” and a new service called “android.service.controls.ControlsProviderService” that suggest that third-party applications will be able to create a “Controls” service that the Android System can bind to and show in this list, much like with Quick Settings tiles. That there are no third-party applications that support the “Controls” API would explain why the activity shown above is empty at the moment.

It looks like Google is taking cues from the iOS Control Center here, though we aren’t entirely sure why Google is working on this feature in the first place given that the Quick Settings panel already exists, and it can be filled with custom shortcuts. We’ll keep track of the development of this feature in case anything changes in future Android 11 Developer Previews.

Android 11 News on XDA

Update 1: Possibly for Home Automation Controls

After publishing this article, XDA Recognized Developer Quinny899 reached out to inform us of his own finding. The updated framework.jar in Android 11 reveals what kinds of shortcuts may appear in the “Controls” menu in the power menu. He discovered a list of appliance types that are accepted as “valid device types” in the Controls service. Here is the full list:

Supported Home Automation Device Types for Android 11 Controls API

private static final int NUM_CONCRETE_TYPES = 51;
private static final int NUM_GENERIC_TYPES = 7;
public static final int TYPE_AC_HEATER = 1;
public static final int TYPE_AC_UNIT = 2;
public static final int TYPE_AIR_FRESHENER = 3;
public static final int TYPE_AIR_PURIFIER = 4;
public static final int TYPE_AWNING = 33;
public static final int TYPE_BLINDS = 34;
public static final int TYPE_CAMERA = 50;
public static final int TYPE_CLOSET = 35;
public static final int TYPE_COFFEE_MAKER = 5;
public static final int TYPE_CURTAIN = 36;
public static final int TYPE_DEHUMIDIFIER = 6;
public static final int TYPE_DISHWASHER = 24;
public static final int TYPE_DISPLAY = 7;
public static final int TYPE_DOOR = 37;
public static final int TYPE_DOORBELL = 51;
public static final int TYPE_DRAWER = 38;
public static final int TYPE_DRYER = 25;
public static final int TYPE_FAN = 8;
public static final int TYPE_GARAGE = 39;
public static final int TYPE_GATE = 40;
public static final int TYPE_GENERIC_ARM_DISARM = -5;
public static final int TYPE_GENERIC_LOCK_UNLOCK = -4;
public static final int TYPE_GENERIC_ON_OFF = -1;
public static final int TYPE_GENERIC_OPEN_CLOSE = -3;
public static final int TYPE_GENERIC_START_STOP = -2;
public static final int TYPE_GENERIC_TEMP_SETTING = -6;
public static final int TYPE_GENERIC_VIEWSTREAM = -7;
public static final int TYPE_HEATER = 0x2F;
public static final int TYPE_HOOD = 10;
public static final int TYPE_HUMIDIFIER = 11;
public static final int TYPE_KETTLE = 12;
public static final int TYPE_LIGHT = 13;
public static final int TYPE_LOCK = 45;
public static final int TYPE_MICROWAVE = 14;
public static final int TYPE_MOP = 26;
public static final int TYPE_MOWER = 27;
public static final int TYPE_MULTICOOKER = 28;
public static final int TYPE_OUTLET = 15;
public static final int TYPE_PERGOLA = 41;
public static final int TYPE_RADIATOR = 16;
public static final int TYPE_REFRIGERATOR = 0x30;
public static final int TYPE_REMOTE_CONTROL = 17;
public static final int TYPE_SECURITY_SYSTEM = 46;
public static final int TYPE_SET_TOP = 18;
public static final int TYPE_SHOWER = 29;
public static final int TYPE_SHUTTER = 42;
public static final int TYPE_SPRINKLER = 30;
public static final int TYPE_STANDMIXER = 19;
public static final int TYPE_STYLER = 20;
public static final int TYPE_SWITCH = 21;
public static final int TYPE_THERMOSTAT = 49;
public static final int TYPE_TV = 22;
public static final int TYPE_UNKNOWN = 0;
public static final int TYPE_VACUUM = 0x20;
public static final int TYPE_VALVE = 44;
public static final int TYPE_WASHER = 0x1F;
public static final int TYPE_WATER_HEATER = 23;
public static final int TYPE_WINDOW = 43;

It’s possible that Google will allow you to control your smart home appliances through the power menu in Android 11. This explanation makes sense in context of the “home” text appearing up top. We’ll update you if we learn more about this feature or if we manage to get our own shortcut to appear in the menu.

Update 2: Controls Provider Hacked to show a custom “Lightbulb” app

Here’s a screenshot provided by developer Kieron Quinn showing a quick “Lightbulb” app he put together and managed to surface in the “Controls Providers” activity in Android 11. Tapping on the icon currently makes the system crash. We’ll update this post if we manage to get it working beyond this.

Want more posts like this delivered to your inbox? Enter your email to be subscribed to our newsletter.

Source link

Continue Reading

Health

Here is how to prepare your online accounts for when you die

Published

 on

 

LONDON (AP) — Most people have accumulated a pile of data — selfies, emails, videos and more — on their social media and digital accounts over their lifetimes. What happens to it when we die?

It’s wise to draft a will spelling out who inherits your physical assets after you’re gone, but don’t forget to take care of your digital estate too. Friends and family might treasure files and posts you’ve left behind, but they could get lost in digital purgatory after you pass away unless you take some simple steps.

Here’s how you can prepare your digital life for your survivors:

Apple

The iPhone maker lets you nominate a “ legacy contact ” who can access your Apple account’s data after you die. The company says it’s a secure way to give trusted people access to photos, files and messages. To set it up you’ll need an Apple device with a fairly recent operating system — iPhones and iPads need iOS or iPadOS 15.2 and MacBooks needs macOS Monterey 12.1.

For iPhones, go to settings, tap Sign-in & Security and then Legacy Contact. You can name one or more people, and they don’t need an Apple ID or device.

You’ll have to share an access key with your contact. It can be a digital version sent electronically, or you can print a copy or save it as a screenshot or PDF.

Take note that there are some types of files you won’t be able to pass on — including digital rights-protected music, movies and passwords stored in Apple’s password manager. Legacy contacts can only access a deceased user’s account for three years before Apple deletes the account.

Google

Google takes a different approach with its Inactive Account Manager, which allows you to share your data with someone if it notices that you’ve stopped using your account.

When setting it up, you need to decide how long Google should wait — from three to 18 months — before considering your account inactive. Once that time is up, Google can notify up to 10 people.

You can write a message informing them you’ve stopped using the account, and, optionally, include a link to download your data. You can choose what types of data they can access — including emails, photos, calendar entries and YouTube videos.

There’s also an option to automatically delete your account after three months of inactivity, so your contacts will have to download any data before that deadline.

Facebook and Instagram

Some social media platforms can preserve accounts for people who have died so that friends and family can honor their memories.

When users of Facebook or Instagram die, parent company Meta says it can memorialize the account if it gets a “valid request” from a friend or family member. Requests can be submitted through an online form.

The social media company strongly recommends Facebook users add a legacy contact to look after their memorial accounts. Legacy contacts can do things like respond to new friend requests and update pinned posts, but they can’t read private messages or remove or alter previous posts. You can only choose one person, who also has to have a Facebook account.

You can also ask Facebook or Instagram to delete a deceased user’s account if you’re a close family member or an executor. You’ll need to send in documents like a death certificate.

TikTok

The video-sharing platform says that if a user has died, people can submit a request to memorialize the account through the settings menu. Go to the Report a Problem section, then Account and profile, then Manage account, where you can report a deceased user.

Once an account has been memorialized, it will be labeled “Remembering.” No one will be able to log into the account, which prevents anyone from editing the profile or using the account to post new content or send messages.

X

It’s not possible to nominate a legacy contact on Elon Musk’s social media site. But family members or an authorized person can submit a request to deactivate a deceased user’s account.

Passwords

Besides the major online services, you’ll probably have dozens if not hundreds of other digital accounts that your survivors might need to access. You could just write all your login credentials down in a notebook and put it somewhere safe. But making a physical copy presents its own vulnerabilities. What if you lose track of it? What if someone finds it?

Instead, consider a password manager that has an emergency access feature. Password managers are digital vaults that you can use to store all your credentials. Some, like Keeper,Bitwarden and NordPass, allow users to nominate one or more trusted contacts who can access their keys in case of an emergency such as a death.

But there are a few catches: Those contacts also need to use the same password manager and you might have to pay for the service.

___

Is there a tech challenge you need help figuring out? Write to us at onetechtip@ap.org with your questions.

Source link

Continue Reading

Tech

Google’s partnership with AI startup Anthropic faces a UK competition investigation

Published

 on

 

LONDON (AP) — Britain’s competition watchdog said Thursday it’s opening a formal investigation into Google’s partnership with artificial intelligence startup Anthropic.

The Competition and Markets Authority said it has “sufficient information” to launch an initial probe after it sought input earlier this year on whether the deal would stifle competition.

The CMA has until Dec. 19 to decide whether to approve the deal or escalate its investigation.

“Google is committed to building the most open and innovative AI ecosystem in the world,” the company said. “Anthropic is free to use multiple cloud providers and does, and we don’t demand exclusive tech rights.”

San Francisco-based Anthropic was founded in 2021 by siblings Dario and Daniela Amodei, who previously worked at ChatGPT maker OpenAI. The company has focused on increasing the safety and reliability of AI models. Google reportedly agreed last year to make a multibillion-dollar investment in Anthropic, which has a popular chatbot named Claude.

Anthropic said it’s cooperating with the regulator and will provide “the complete picture about Google’s investment and our commercial collaboration.”

“We are an independent company and none of our strategic partnerships or investor relationships diminish the independence of our corporate governance or our freedom to partner with others,” it said in a statement.

The U.K. regulator has been scrutinizing a raft of AI deals as investment money floods into the industry to capitalize on the artificial intelligence boom. Last month it cleared Anthropic’s $4 billion deal with Amazon and it has also signed off on Microsoft’s deals with two other AI startups, Inflection and Mistral.

The Canadian Press. All rights reserved.

Source link

Continue Reading

News

Kuwait bans ‘Call of Duty: Black Ops 6’ video game, likely over it featuring Saddam Hussein in 1990s

Published

 on

 

DUBAI, United Arab Emirates (AP) — The tiny Mideast nation of Kuwait has banned the release of the video game “Call of Duty: Black Ops 6,” which features the late Iraqi dictator Saddam Hussein and is set in part in the 1990s Gulf War.

Kuwait has not publicly acknowledged banning the game, which is a tentpole product for the Microsoft-owned developer Activision and is set to be released on Friday worldwide. However, it comes as Kuwait still wrestles with the aftermath of the invasion and as video game makers more broadly deal with addressing historical and cultural issues in their work.

The video game, a first-person shooter, follows CIA operators fighting at times in the United States and also in the Middle East. Game-play trailers for the game show burning oilfields, a painful reminder for Kuwaitis who saw Iraqis set fire to the fields, causing vast ecological and economic damage. Iraqi troops damaged or set fire to over 700 wells.

There also are images of Saddam and Iraq’s old three-star flag in the footage released by developers ahead of the game’s launch. The game’s multiplayer section, a popular feature of the series, includes what appears to be a desert shootout in Kuwait called Scud after the Soviet missiles Saddam fired in the war. Another is called Babylon, after the ancient city in Iraq.

Activision acknowledged in a statement that the game “has not been approved for release in Kuwait,” but did not elaborate.

“All pre-orders in Kuwait will be cancelled and refunded to the original point of purchase,” the company said. “We remain hopeful that local authorities will reconsider, and allow players in Kuwait to enjoy this all-new experience in the Black Ops series.”

Kuwait’s Media Ministry did not respond to requests for comment from The Associated Press over the decision.

“Call of Duty,” which first began in 2003 as a first-person shooter set in World War II, has expanded into an empire worth billions of dollars now owned by Microsoft. But it also has been controversial as its gameplay entered the realm of geopolitics. China and Russia both banned chapters in the franchise. In 2009, an entry in the gaming franchise allowed players to take part in a militant attack at a Russian airport, killing civilians.

But there have been other games recently that won praise for their handling of the Mideast. Ubisoft’s “Assassin’s Creed: Mirage” published last year won praise for its portrayal of Baghdad during the Islamic Golden Age in the 9th century.

The Canadian Press. All rights reserved.

Source link

Continue Reading

Trending