Hellboy42 Posted June 5, 2015 Share Posted June 5, 2015 (edited) Bonjour à tous Voila en voiture j'utilise "app remote" de sony pour commander coyote/musique/maps, ect sur un autoradio Avec les profils Tasker qui vont bien j'arrive à faire presque tous ce que je veux sauf empêcher de revenir sur le bureau en appuyant sur la touche retour ou la touche home. Ne trouvant pas de moyen de régler ce problème avec tasker on m'a soumis l'idée de transformer l'apk "app remote" en launcher. Vu que l'appli est mise a jour tous les 6 mois pas trop de problème à ce niveau la. Mais voila comment transformer une appli pour qu'elle apparaisse dans la liste des launchers du téléphone ? Si quelqu'un pouvait me dire quoi faire comme modif avec un bon tuto en FR (sachant que je ne suis pas dev) ça serait génial. Merci d'avance EDIT il semblerait que j'ai une piste : il faut modifier le fichier androidmanifest.xml et lui ajouter ceci <activity android:name="com.domain.youractivityname"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.HOME" /> </intent-filter> </activity> Bon j'ai peur de faire une connerie si quelqu'un peut m'indiquer ou insérer modifier ces lignes la dedans <?xml version="1.0" encoding="utf-8"?> <manifest android:versionCode="7" android:versionName="2.1.20" package="com.sony.evc.app.launcher" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.READ_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <uses-permission android:name="android.permission.GET_TASKS" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <supports-screens android:largeScreens="true" android:xlargeScreens="true" /> <uses-feature android:name="android.hardware.bluetooth" /> <uses-feature android:name="android.hardware.telephony" android:required="false" /> <uses-feature android:name="android.hardware.microphone" android:required="false" /> <uses-feature android:name="android.hardware.location" android:required="false" /> <uses-feature android:name="android.hardware.location.gps" android:required="false" /> <permission android:name="com.sony.evc.app.launcher.NOTIFICATION_MESSAGE_PERMISSION" android:protectionLevel="signature" /> <uses-permission android:name="com.sony.evc.app.launcher.NOTIFICATION_MESSAGE_PERMISSION" /> <application android:theme="@style/AppRemoteTheme" android:label="@string/app_name" android:icon="@drawable/icon" android:name="com.sony.evc.app.launcher.AppRemoteApplication" android:allowBackup="true" android:hardwareAccelerated="true"> <meta-data android:name="loglevel" android:value="@integer/logLevel" /> <activity android:name=".TandemActivity" android:exported="true" android:clearTaskOnLaunch="true" android:launchMode="singleTask"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="com.sony.evc.app.launcher.action.LAUNCHER.ON" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="com.sony.evc.app.launcher.action.LAUNCH" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="com.sony.evc.app.launcher.action.SOURCE.OFF" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <intent-filter> <action android:name="com.sony.evc.app.launcher.action.INTERRUPT" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <activity android:theme="@style/TandemVoiceDialogTheme" android:name=".textread.TandemTextReadActivity" android:permission="com.sony.evc.app.launcher.NOTIFICATION_MESSAGE_PERMISSION" android:exported="false" android:taskAffinity="com.sony.evc.app.launcher.textread" android:finishOnTaskLaunch="true" android:excludeFromRecents="true" /> <activity android:theme="@style/TandemMailSendTheme" android:name=".mailsend.TandemMailSendActivity" android:exported="false" android:taskAffinity="com.sony.evc.app.launcher.mailsend" android:finishOnTaskLaunch="true" android:excludeFromRecents="true" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".settings.SettingsICSActivity" android:exported="false" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".settings.SettingsGBActivity" android:exported="false" /> <activity android:theme="@style/AppStandardTheme" android:name=".settings.TandemApplicationSettingActivity" android:exported="false" /> <activity android:theme="@style/AppStandardNoBarTheme" android:name=".settings.TandemAboutBoxActivity" android:exported="false" /> <activity android:theme="@style/AppStandardNoBarTheme" android:name=".settings.TandemHelpBoxActivity" android:exported="false" /> <activity android:theme="@style/Theme.VoiceRecog" android:name=".voice.TandemVoiceLauncherActivity" android:exported="false" android:taskAffinity="com.sony.evc.app.launcher.voice" android:finishOnTaskLaunch="true" android:excludeFromRecents="true" /> <activity android:theme="@style/SoundSettigsTheme" android:name=".settings.ActionBarSoundSettingActivity" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".settings.VoiceLaunchAppSettingsICSActivity" android:exported="false" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".settings.VoiceLaunchAppSettingsGBActivity" android:exported="false" /> <activity android:theme="@style/SCSettingsTheme" android:name=".smartconnect.ExtensionConfigrationGBActivity" android:exported="false" /> <activity android:theme="@style/SCSettingsTheme" android:name=".smartconnect.ExtensionConfigrationICSActivity" android:exported="false" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".smartconnect.ExtensionPreferenceGBActivity" android:exported="false" /> <activity android:theme="@style/AppPreferenceTheme" android:name=".smartconnect.ExtensionPreferenceICSActivity" android:exported="false" /> <service android:name=".TandemService" /> <service android:name=".service.TandemSppService" android:process=":remote" /> <service android:name=".smartconnect.SmartConnectService" /> <receiver android:name="TandemSppConnectBroadcastReceiver" android:exported="false"> <intent-filter> <action android:name="com.sony.evc.app.launcher.service.spp_accept_connect" /> </intent-filter> </receiver> <receiver android:name=".service.TandemSppWakeUpReciver" android:exported="true"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" /> <action android:name="com.sonyericsson.extras.liveware.aef.registration.EXTENSION_REGISTER_REQUEST" /> </intent-filter> </receiver> <receiver android:name=".smartconnect.SmartConnectInstallStatusReceiver"> <intent-filter> <action android:name="android.intent.action.PACKAGE_ADDED" /> <action android:name="android.intent.action.PACKAGE_REMOVED" /> <data android:scheme="package" /> </intent-filter> </receiver> </application> </manifest> Un grand merci par avance Edited June 5, 2015 by Hellboy42 Quote Link to comment Share on other sites More sharing options...
Hellboy42 Posted June 9, 2015 Author Share Posted June 9, 2015 up Quote Link to comment Share on other sites More sharing options...
frankee Posted June 9, 2015 Share Posted June 9, 2015 Waou... Pas simple ;) si tu mets la ligne à la fin du fichier tour simplement ? Quote Link to comment Share on other sites More sharing options...
Hellboy42 Posted June 10, 2015 Author Share Posted June 10, 2015 déja testé de juste rajouter les lignes mais ça à pas l'air de marcher. doit y'avoir une toute petite modif à faire mais ou ? ça reste pour moi un mystère Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.