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.

Parsing du AndroidManifest.xml

Featured Replies

Posté(e)

Bonjour,

Je souhaiterai créer une application (PC) en java, qui testerai si une application (android) est valide ou pas. Le problème est que je souhaiterai parser le manifest avec un parser type API Sax. Lorsque que je lance mon parser il ne me retourne rien dans pour la valeur des attributs:

static void printAll(){

List listEtudiants = racine.getChildren("uses-permission");

int j=0;

Iterator i = listEtudiants.iterator();

while(i.hasNext())

{

j++;

Element courant = (Element)i.next();

System.out.println(courant.getAttributeValue("android:name"));

System.out.println("la valeur de courant est : "+ courant.getName());

System.out.println("i : " + j);

// System.out.println(courant.getChild("uses-permission"));

}

}

Je pense que le problème viendrai du formats des attributs (android:....). Quelqu'un aurait-il une idée? Merci d'avance!

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

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.