google-play-services

Android@Home e Nearby tornano a farsi vedere nell’ultimo apk di Play Services

Lorenzo Quiroli - Sono tante le novità nascoste nell'ultimo apk di Google Play Services: ecco le prime

Google ha iniziato silenziosamente il rollout di una nuova versione di Play Services da qualche giorno, senza annunciarne la novità, e la vicinanza con il Google I/O è sospetta. Non a caso infatti l’apk contiene molte stringhe che si riferiscono a novità future, che potrebbero (come non potrebbero) essere presentate sul palco del Moscone Center.

Iniziamo da Android@Home: sì, avete capito bene. Il promettente progetto che riuscì a far parlare di sé in occasione della presentazione, per poi morire nell’indifferenza, forse tornerà tra di noi, magari sotto una nuova veste. È anche vero però che da anni stringhe simili si alternano in questi apk e tutto potrebbe concludersi in una nuvola di fumo.

LEGGI L’EDITORIALE: 7 progetti dimenticati

Ieri però abbiamo parlato di Android Brillo e il fatto che queste due notizie provengano da diverse fonti forma un indizio: forse Google è davvero pronta a rilasciarsi in modo deciso nell’internet delle cose e nel campo della domotica.

Le stringhe si riferiscono a vari smartdevices e suggeriscono di scaricare app, fanno riferimento all’accoppiamento dei dispositivi (che potrebbe iniziare anche tramite comandi vocali), alla comunicazione tramite onde sonore e si menziona l’accesso remoto.

<string name=”smartdevice_install_app_reason” formatted=”false”>Get the <g example=”Remote Control” id=”app_name”>%s</g> app to control and manage your new <g example=”Philips Hues Lightbulb” id=”device_name”>%s</g> from this device</string>
<string name=”smartdevice_error_add_account”>There was a problem adding your account to the lightbulb.</string>
<string name=”smartdevice_setup_title_app_install”>Install the app</string>
<string name=”smartdevice_setup_info_installing_app”>Installing the app…</string>
<string name=”smartdevice_setup_title_verify_code”>Verify code</string>
<string name=”smartdevice_setup_info_whisper”>Listening for confirmation code…</string>
<string name=”smartdevice_setup_info_pairing_not_supported”>Your device uses pairing confirmation mechanism that is not yet supported.</string>
<string name=”smartdevice_setup_enter_code”>Enter the code on your device. It should appear on a sticker.</string>
<string name=”smartdevice_setup_enter_code_fallback”>Hmm. That is not working. Enter the code on your device instead. It should appear on a sticker.</string>
<string name=”smartdevice_setup_enter_code_hint”>Enter code</string>
<string name=”smartdevice_setup_enter_pin_4″>Enter the 4-digit code currently shown on your device.</string>
<string name=”smartdevice_d2d_target_nfc_description”>“To copy:

1. Make sure your other device is on and unlocked

2. Place the two devices back-to-back until you hear a tone, then set aside”</string>
<string name=”smartdevice_d2d_target_nfc_having_trouble_description”>“Tap &amp; Go uses NFC to copy your Google Accounts, apps, and data from your other device. Make sure that device’s NFC is on by going to Settings > Wireless &amp; networks > More.”</string>
<string name=”smartdevice_d2d_target_pin_code_description”>Enter this code on your other device:</string>
<string name=”smartdevice_d2d_target_pin_verification_text”>Enter this code on your other device: <g id=”A1B2C3″>%s</g></string>
<string name=”smartdevice_no_account_warning”>If you don’t choose an owner, you won’t be able to access this device remotely or share access with others.</string>

<string name=”smartdevice_d2d_target_description”>Back to your other device:&lt;br/>&lt;br/> 1. Say &lt;b>”OK Google, set up my device”&lt;/b> or type “set up my device” and tap to confirm&lt;br/>&lt;br/> 2. Touch &lt;b>&lt;xliff:g id=device_name>%s&lt;/xliff:g>&lt;/b> on the list, and follow the on-screen instructions</string>
<string name=”smartdevice_d2d_target_help_needed_description”>On your other device:&lt;br/>&lt;br/> 1. Open the &lt;b>Google Settings&lt;/b> app&lt;br/>&lt;br/> 2. Select &lt;b>Set up nearby device&lt;/b>&lt;br/>&lt;br/> 3. Touch &lt;b>&lt;xliff:g id=device_name>%s&lt;/xliff:g>&lt;/b> on the list, and follow the on-screen instructions</string>

<string name=”smartdevice_action_cancel”>Cancel</string>
<string name=”smartdevice_action_close”>Close</string>
<string name=”smartdevice_action_continue”>Continue</string>
<string name=”smartdevice_action_device_settings”>Settings</string>
<string name=”smartdevice_action_install”>Install</string>
<string name=”smartdevice_action_next”>Next</string>
<string name=”smartdevice_action_ok_got_it”>Ok, Got it</string>
<string name=”smartdevice_action_open_app”>Open app</string>
<string name=”smartdevice_action_skip”>Skip</string>
<string name=”smartdevice_action_try_another_way”>Try Another Way</string>
<string name=”smartdevice_alert_cancel_button”>Cancel</string>
<string name=”smartdevice_alert_disconnected_message”>“Your device was disconnected.
To continue with setup, connect it and start over.”
</string>
<string name=”smartdevice_alert_disconnected_title”>Device disconnected</string>
<string name=”smartdevice_alert_generic_error_title”>Sorry, something went wrong</string>
<string name=”smartdevice_alert_generic_error_toast_text”>Sorry, something went wrong</string>
<string name=”smartdevice_alert_no_accounts_generic_text”>To setup your device, you need at least one Google account.</string>
<string name=”smartdevice_alert_no_accounts_text”>To setup your <g example=”Nexus” id=”device”>%s</g>, you need at least one Google account.</string>
<string name=”smartdevice_alert_no_accounts_title”>No accounts to copy</string>
<string name=”smartdevice_alert_ok_button”>OK</string>
<string name=”smartdevice_alert_start_over_button”>Start over</string>
<string name=”smartdevice_choose_account”>Choose an account</string>
<string name=”smartdevice_choose_device”>Choose your device</string>
<string name=”smartdevice_choose_owner”>Choose an owner</string>
<string name=”smartdevice_connect_to_wifi”>Connect your device</string>
<string name=”smartdevice_connect_to_wifi_known_device_type”>Connect your <g example=”printer” id=”device_type”>%s</g></string>
<string name=”smartdevice_connecting”>Setting up your <g example=”tablet” id=”device_type”>%s</g>…</string>
<string name=”smartdevice_d2d_connecting_to_device_text”>Connecting to your device…</string>
<string name=”smartdevice_d2d_copy_account_button”>Copy</string>
<string name=”smartdevice_d2d_copy_account_text”>Copy your Google Account, apps and data to your device?</string>
<string name=”smartdevice_d2d_copy_account_title”>Copy to your device?</string>
<string name=”smartdevice_d2d_lockscreen_verification_text”>For security, confirm your screen lock to continue setup</string>
<string name=”smartdevice_d2d_lockscreen_verification_title”>Verify it’s you</string>
<string name=”smartdevice_d2d_source_bluetooth_unavailable_text”>Cannot set up other device because Bluetooth is not available on your device.</string>
<string name=”smartdevice_d2d_source_disabled_text”>For security, this feature has been disabled. On your other device, touch Skip and continue with setup.</string>
<string name=”smartdevice_d2d_source_nfc_handler_title”>Set up new device</string>
<string name=”smartdevice_d2d_source_notification_title”>Tap &amp; Go complete</string>
<string name=”smartdevice_d2d_source_restricted_user_text”>Cannot set up a new device from a restricted user profile.</string>
<string name=”smartdevice_d2d_source_setup_complete_generic_device_text”>“Success!
Finish setup on your other device”
</string>
<string name=”smartdevice_d2d_source_setup_complete_text”>” Success!
Finish setup on your “<g id=”other_device”>%s</g>” “
</string>
<string name=”smartdevice_d2d_target_choice_description”>“If you’re using another Android device, grab it now to quickly copy your existing device setup to this device.”</string>
<string name=”smartdevice_d2d_target_choice_setup_fresh”>No, thanks</string>
<string name=”smartdevice_d2d_target_choice_title”>Got another device?</string>
<string name=”smartdevice_d2d_target_choice_use_old_device”>Copy your Google Accounts, apps, and data from your other device</string>
<string name=”smartdevice_d2d_target_continue_description”>Continue setup on your other device.</string>
<string name=”smartdevice_d2d_target_help_needed_link”>Having Trouble?</string>
<string name=”smartdevice_d2d_target_help_needed_title”>Try this instead</string>
<string name=”smartdevice_d2d_target_instruction_cant_find_it”>“Can’t find it?”</string>
<string name=”smartdevice_d2d_target_instruction_description”>Open the Google app</string>
<string name=”smartdevice_d2d_target_instruction_title”>On your other device</string>
<string name=”smartdevice_d2d_target_more_info_close”>Got it</string>
<string name=”smartdevice_d2d_target_nfc_having_trouble_title”>Having trouble?</string>
<string name=”smartdevice_d2d_target_nfc_title”>Tap &amp; Go</string>
<string name=”smartdevice_d2d_target_other_device_description”>The Google app comes pre-installed on all Android devices. Touch the “All apps” button on your home screen and look for the icon shown above.</string>
<string name=”smartdevice_d2d_target_title”>In the Google app</string>
<string name=”smartdevice_d2d_target_user_aborted”>Setup process aborted on other device.</string>
<string name=”smartdevice_d2d_wifi_connected”>Connected</string>
<string name=”smartdevice_d2d_wifi_saved”>Saved</string>
<string name=”smartdevice_default_device_name”>device</string>
<string name=”smartdevice_error_phone_offline”>This phone is offline. It needs to be online to continue setup.</string>
<string name=”smartdevice_error_something_went_wrong”>Something went wrong</string>
<string name=”smartdevice_error_tablet_offline”>This tablet is offline. It needs to be online to continue setup.</string>
<string name=”smartdevice_error_try_again”>Please try again.</string>
<string name=”smartdevice_error_wifi”>Couldn’t connect to your device. Please enter Wi-Fi details again.</string>
<string name=”smartdevice_gcd_setup_error_certificate_mismatch”>Could not verify device certificate</string>
<string name=”smartdevice_go_to_wifi”>Go to Wi-Fi</string>
<string name=”smartdevice_install_app”>Install the app</string>
<string name=”smartdevice_install_no”>No, thanks</string>
<string name=”smartdevice_install_on_this_device”>Install on this device</string>
<string name=”smartdevice_installing_app”>Installing the app…</string>
<string name=”smartdevice_no_account”>Continue without an account</string>
<string name=”smartdevice_no_account_confirm_button”>Skip anyway</string>
<string name=”smartdevice_no_account_confirmation”>Skip choosing an owner?</string>
<string name=”smartdevice_no_owner”>Continue without an owner</string>
<string name=”smartdevice_searching_for_devices”>Searching for devices</string>
<string name=”smartdevice_setup_enter_pin_4_fallback”>Hmm. That is not working. Enter the 4-digit code currently shown on your device instead.</string>
<string name=”smartdevice_setup_info_connecting”>Connecting to your device…</string>
<string name=”smartdevice_setup_info_setting_up”>Setting up your device…</string>
<string name=”smartdevice_setup_info_success”>Success!</string>
<string name=”smartdevice_setup_intro_continue”>Continue</string>
<string name=”smartdevice_setup_intro_text”>To setup your device, your phone’s Bluetooth will be used.</string>
<string name=”smartdevice_setup_intro_title”>Getting started</string>
<string name=”smartdevice_setup_password”>Password</string>
<string name=”smartdevice_setup_show_password”>Show password</string>

Insomma, questo potrebbe essere il nuovo Android@Home: uno standard che permetterà di connettersi in modo integrato e semplice con l’internet of things. I dettagli ricavabili però sono limitati e aspettiamo di settimana prossima per saperne di più.

LEGGI ANCHE: Copresence, l’Android Beam senza contatto

Ricordate Nearby invece? A differenza di Android@Home non è mai stato presentato ufficialmente ma se ne è parlato più volte ormai e l’idea che ci stiamo facendo è che possa essere più di quanto ci si aspettasse.

Nearby rimane ancora avvolto nel mistero: ci sarà un’interfaccia dalla quale si potranno condividere alcune informazioni con altre app. L’impressione è che dovremo aspettare per saperne di più, ma possiamo lasciarvi un paio di immagini come consolazione:

nearby 2

nearby 1

<activity android:enabled=”false” android:excludeFromRecents=”true” android:finishOnCloseSystemDialogs=”true” android:icon=”@drawable/nearby_sharing_opt_in_icon” android:label=”Nearby” android:logo=”@drawable/nearby_sharing_opt_in_icon” android:name=”com.google.android.gms.nearby.sharing.sharesheet.ShareActivity” android:noHistory=”true” android:process=”com.google.android.gms.ui” android:theme=”@android:style/Theme.NoDisplay”>
<activity android:excludeFromRecents=”true” android:finishOnCloseSystemDialogs=”true” android:name=”com.google.android.gms.nearby.sharing.sharesheet.ShareHintActivity” android:noHistory=”true” android:process=”com.google.android.gms.ui” android:theme=”@android:style/Theme.Black.NoTitleBar”/>
<activity android:excludeFromRecents=”true” android:exported=”true” android:name=”com.google.android.gms.nearby.sharing.AppNotInstalledDialogActivity” android:process=”com.google.android.gms.ui” android:theme=”@style/common.Theme.Light.Dialog”/>
<activity android:excludeFromRecents=”true” android:exported=”true” android:name=”com.google.android.gms.nearby.sharing.AppNotSupportedDialogActivity” android:process=”com.google.android.gms.ui” android:theme=”@style/common.Theme.Light.Dialog”/>

L’ultima piccola novità riguarda lo Smart Lock con Android Wear: quando il dispositivo è in carica e quindi non indossato, pur essendo nelle vicinanze, dovremo inserire la combinazione di sblocco dello smartphone. Questa funzionalità sembra già attiva per un piccolo numero di utenti. Questa è solo la prima parte delle novità contenute nell’apk e nelle prossime ore potrebbero essercene di nuove riguardanti gli account per bambini e altri progetti segreti.

Fonte: AndroidPolice
apk teardownGoogle I/O 2015google IO