Aller au contenu
View in the app

A better way to browse. Learn more.

Forum de Frandroid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[TUTORIEL] Raccourcis Photo et/ou Google Now sur l'écran de vérouillage [JB 4.2.1]

Featured Replies

Posté(e)

Un tuto pour "rajouter" les raccourcis photo et google sur l'écran de verrouillage. Je mets des guillemets car les raccourcis existent déjà, mais allez savoir pourquoi ils ne sont pas activables...

 

Screenshot_2013-07-30-21-57-08.jpg

 

Pré requis : 
 - jdk 1.7 installé
 - apktool
 - connaissances de base d'apktool (voir ici). Toutes les commandes à taper sont indiqués en vert de toutes façons

 

1) installer le framework
   apktool if framework-res.apk

2) décompiler framework-res.apk
  apktool d framework-res.apk

3) ouvrir le fichier arrays.xml (dans framework-res/res/values) et chercher la ligne <string-array name="lockscreen_targets_unlock_only">
 

4) remplacer le pavé suivant :

   <string-array name="lockscreen_targets_unlock_only">

        <item>@drawable/ic_lockscreen_unlock</item>
    </string-array>
    <string-array name="lockscreen_target_descriptions_unlock_only">
        <item>@string/description_target_unlock</item>

    </string-array>


par celui là :

   <string-array name="lockscreen_targets_unlock_only">

        <item>@drawable/ic_lockscreen_unlock</item>
        <item>@drawable/ic_action_assist_generic</item>
        <item>@drawable/ic_lockscreen_camera</item>
        <item>@null</item>
    </string-array>
    <string-array name="lockscreen_target_descriptions_unlock_only">
        <item>@string/description_target_unlock</item>
        <item>@string/description_target_search</item>
        <item>@string/description_target_camera</item>
        <item>@null</item>

    </string-array>

sauvegarder et fermer arrays.xml

 

5) ouvrir le fichier arrays.xml (dans framework-res/res/values-land) (donc non ce n'est pas le même) et rajouter ce pavé à la fin du fichier, juste avant </resources> :

   <array name="lockscreen_targets_unlock_only">

        <item>@null</item>
        <item>@drawable/ic_action_assist_generic</item>
        <item>@drawable/ic_lockscreen_camera</item>
        <item>@drawable/ic_lockscreen_unlock</item>
    </array>
    <string-array name="lockscreen_target_descriptions_unlock_only">
        <item>@null</item>
        <item>@string/description_target_search</item>
        <item>@string/description_target_camera</item>
        <item>@string/description_target_unlock</item>

    </string-array>

 

6) recompiler

   apktool b framework-res
 

7) resigner
Récupérer le dossier META-INF de l'apk original et le mettre dans le nouveau

8) fini :)
 
 
Je ferais un tuto pour rajouter 2 autres raccourcis, mais c'est bien plus long et pénible donc ce sera pour plus tard 
Posté(e)

Waouh super ! Merci :-)

Pas sûre d'y arriver mais je regarderai demain :-)

Envoyé depuis mon Five :-)

Posté(e)

La rom d'origine y'a apn et déverrouillage, la JellyXperia que j'ai actuellement, y'a déverrouillage et phone... Mais j'aime l'accès vraiment direct à l'apn...

Il y est en glissant toute la page du lockscreen sur la droite, mais je préfère le p'tit bouton comme pour déverrouiller :-P

Envoyé depuis mon Five :-)

Posté(e)

C'est laquelle ROM que tu a ? car moi a chaque ROM que j'install y'a juste le cadna

c'est bien pour ça qu'il fait un tutoriel pour ajouter ces fonctions

Posté(e)

Pré requis :

 - jdk 1.7 installé

 - apktool

 - connaissances de base d'apktool (voir ici). Toutes les commandes à taper sont indiqués en vert de toutes façons

 

 

Ça commence mal, je ne sais même pas quel fichier du lien jdk 1.7 télécharger :p

Apktool j'ai téléchargé un .jar mais j'en fais quoi...

 

Mouarf, je vais attendre que ça soit intégré d'origine dans une rom :p

Rejoignez la conversation

Vous pouvez poster maintenant et vous enregistrez plus tard. Si vous avez un compte, connectez-vous maintenant pour poster.

Invité
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Répondre à ce sujet…

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.