google-play-services

Le novità nascoste nell’ultimo apk di Google Play Services

Lorenzo Quiroli

Durante questa settimana Google ha iniziato il rollout di Play Services 6.5 che contiene nuove API per sviluppatori e anche un importante aggiornamento per Smart Lock, funzionalità disponibile su Android 5.0 Lollipop; come spesso accade però, ci sono stringhe e altri indizi all’interno dell’apk che ci forniscono una panoramica su ciò su cui Google è al lavoro per il futuro.

LEGGI ANCHE: Le nuove API di Google Play Services 6.5

Molto del material presente si riferisce ad Android Auto, che dovrebbe vedere la luce molto presto visto che Google ha rilasciato solo pochi giorni fa le prime API per gli sviluppatori; ci sono anche dei permessi, con livello di protezione massimo e non ancora documentati, il che significa che sarà avvisato l’utente che potrà concederli o negarli e che per il momento non potranno essere usati da app di terze parti, per accedere ai dati del contachilometri, del tachimetro, del livello di benzina e così via. Ecco le stringhe relative:

<string name=”car_app_mode”>Application Mode</string>
<string name=”car_app_mode_default”>Release</string>
<string name=”car_app_name”>Android Auto</string>
<string name=”car_app_name_wifi”>Android Auto Wifi</string>
<string name=”car_collect_gps_data”>Collect GPS Data</string>
<string name=”car_dim_screen”>Dim Screen</string>
<string name=”car_disable_anr_monitoring”>Disable ANR Monitoring</string>
<string name=”car_dump_screenshot”>Dump screenshot</string>
<string name=”car_empty” />
<string name=”car_error_message”>Communication Error <g example=”5″ id=”error_code”>%1$d</g> – <g example=”The phone and car are running incompatible software versions.” id=”error_code”>%2$s</g></string>
<string name=”car_feedback_client_service_name”>FeedbackSenderService</string>
<string name=”car_feedback_service_name”>FeedbackMarshallerService</string>
<string name=”car_force_logging”>Force logging</string>
<string name=”car_frx_android_auto_logo”>Android Auto logo</string>
<string name=”car_frx_cancel”>Cancel setup</string>
<string name=”car_frx_exit”>Exit Android Auto setup</string>
<string name=”car_frx_google_maps_logo”>Google Maps logo</string>
<string name=”car_frx_google_now_logo”>Google Now logo</string>
<string name=”car_frx_google_play_music_logo”>Google Play Music logo</string>
<string name=”car_frx_ok”>Accept and move to next setup step</string>
<string name=”car_frx_ok_”>Allow car connection and move to next setup step</string>
<string name=”car_frx_try_again”>Try again</string>
<string name=”car_notification_message”>Connected to your car.</string>
<string name=”car_permission_desc_fuel”>”Access your car’s fuel level information.”</string>
<string name=”car_permission_desc_mileage”>”Access your car’s mileage information.”</string>
<string name=”car_permission_desc_popup_dialogs”>Required for displaying popup dialogs on the phone from a car application.</string>
<string name=”car_permission_desc_speed”>”Access your car’s speed.”</string>
<string name=”car_permission_desc_vendor_extension”>”Access your car’s vendor channel to exchange car specific information.”</string>
<string name=”car_permission_label_fuel”>car fuel level</string>
<string name=”car_permission_label_mileage”>car mileage</string>
<string name=”car_permission_label_popup_dialogs”>display popup</string>
<string name=”car_permission_label_speed”>car speed</string>
<string name=”car_permission_label_vendor_extension”>car vendor channel</string>
<string name=”car_save_audio”>Save Audio</string>
<string name=”car_save_video”>Save Video</string>
<string name=”car_setup_accept”>ACCEPT</string>
<string name=”car_setup_app_label_gearhead”>Android Auto</string>
<string name=”car_setup_app_label_gmm”>Google Maps</string>
<string name=”car_setup_app_label_gsa”>Google Search</string>
<string name=”car_setup_app_label_music”>Google Play Music</string>
<string name=”car_setup_asking_installing_applications_message”>Please stay parked. It should take a few minutes to download and configure your app.</string>
<string name=”car_setup_asking_installing_applications_title”>Download Android Auto applications</string>
<string name=”car_setup_authorizing_car_connection_message”>Your Android device needs permission to connect to the car.</string>
<string name=”car_setup_authorizing_car_connection_title”>Connect your device</string>
<string name=”car_setup_cancel”>CANCEL</string>
<string name=”car_setup_car_moving_message”>Android Auto setup will resume when the car is parked.</string>
<string name=”car_setup_downloading_message”>Downloading Android Auto applications.</string>
<string name=”car_setup_error_message”>Failed to set up Android Auto. Resolve the issue and reconnect your phone to the car.</string>
<string name=”car_setup_exit”>EXIT</string>
<string name=”car_setup_failed_message”>Android Auto needs permission to make your car smarter.</string>
<string name=”car_setup_failed_title”>You have hit a roadblock</string>
<string name=”car_setup_install”>Install</string>
<string name=”car_setup_install_cancel_confirm_message”>Android Auto requires you to enable Google Maps, Google Play Music, and Google Now.</string>
<string name=”car_setup_install_cancel_confirm_title”>You have hit a roadblock</string>
<string name=”car_setup_logo”>”android
auto”</string>
<string name=”car_setup_no_thanks”>NO THANKS</string>
<string name=”car_setup_ok”>OK</string>
<string name=”car_setup_try_again”>TRY AGAIN</string>
<string name=”car_share_screenshot”>Share screenshot now</string>
<string name=”car_skip_disclaimer”>Skip Disclaimer</string>
<string name=”car_take_vf_on_start”>Request video focus on start</string>

<string-array name=”car_error_user_friendly”>
<item>The phone and car are running incompatible software versions. Please re-flash both of them to the latest version.</item>
<item>The car has advertised an incorrect set of audio and/or video configurations.</item>
<item>The USB connection had an error. Please make sure that you cable fits snugly on both ends and also try using another cable. Also, please make sure that the date and time have been set correctly on your head unit and phone.</item>
<item>The head unit requested that the session be terminated.</item>
<item>Session terminated as requested.</item>
<item>The car sent an unexpected message. The head unit software may be out of date.</item>
<item>It appears that you have tried to connect to an unauthorized head unit.</item>
<item>The car said that you are unauthorized. Please check the date and time on your head unit. Also, please verify that you are runnning the latest version of the code.</item>
<item>An action timed out. You should grab a bug report and file feedback.</item>
<item>”You don’t seem to have a launcher installed, is your phone set up correctly?”</item>
<item>The graphics pipeline just died. You should grab a bug report and file feedback.</item>
<item>Car is not responding to messages from phone. Car may be in wrong state.</item>
</string-array>

Google per le famiglie è la seconda novità, con un rafforzamento del parental control per chi ha figli o usa un tablet con più persone in comune: sarà possibile limitare l’uso del dispositivo in alcune ore e addirittura inserire un messaggio che ricorderà ai figli di andare a dormire e dal momento che queste protezioni saranno sincronizzate sui server di Google potrete modificarle in qualsiasi momento da un PC.

C’è poi LockBox, una nuova funzionalità che dovrebbe essere relativa ai furti di smartphone e quindi probabilmente integrata con Gestione Dispositivi Android: esso sfrutta il telefono e la posizione, ma non si capisce bene in cosa consista per il momento.

L’ultimo capitolo è dedicato alla schermata degli aggiornamenti, che ha cambiato volto come sappiamo, ma la vera novità consisterebbe nella possibilità futura di selezionare e installare gli update dalla scheda SD.

<activity android:hardwareAccelerated=”true” android:launchMode=”singleTop” android:name=”com.google.android.gms.update.UpdateFromSdCardActivity” android:theme=”@style/systemUpdateActivityTheme”>
<intent-filter>
<action android:name=”android.settings.SYSTEM_UPDATE_SDCARD_INSTALLER”/>
<category android:name=”android.intent.category.DEFAULT”/>
</intent-filter>
</activity>
<service android:name=”com.google.android.gms.update.UpdateFromSdCardService”/>

strings.xml

<string name=”system_update_file_browser_cancel_button”>Cancel</string>
<string name=”system_update_file_browser_ok_button”>Select</string>
<string name=”system_update_file_browser_title”>Select update file</string>
<string name=”system_update_from_sd_card_button”>Install from SD Card</string>
<string name=”system_update_from_sd_card_title”>Update from SD Card</string>
<string name=”system_update_from_sd_card_unknown_status”>Checking…</string>
<string name=”system_update_from_sd_card_verified_description”>Update is verified and ready to be installed.</string>

Ciò potrebbe essere un modo più semplice di adb sideload per chi vuole avere subito l’ultimo aggiornamento, dunque speriamo divenga presto realtà.

Fonte: AndroidPolice