Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Handle IM (Jabber) "add to contact" intent URI

Aperta
#467 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

The payload names no files. Start by finding where the app receives the android.intent.action.INSERT_OR_EDIT contact intent (the manifest intent filter and the activity that handles it) and how it reads the im_protocol and im_handle extras. Run the sample intent from the issue on a device or emulator and check whether the IM field is saved. Done when the Jabber IM field is filled with the handle from the sample URI.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.5.0

Affected Android/Custom ROM version

Any

Affected device model

Any

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. Open a Conversations-based XMPP client (e.g. Conversations, Cheogram, monocles chat)
  2. Open a contact's details and choose "Save to contacts" (or click on the avatar if that button isn't present)
  3. Choose a contact to add the IM Jabber (=XMPP) field to
  4. See that no IM field is filled in
Expected behavior

Handle the intent by the XMPP client properly and add the IM field to the selected contact.

Actual behavior

Nothing is added to the selected contact.

Screenshots/Screen recordings

No response

Additional information

The exact intent URI as sent by the XMPP client is as follows

intent:#Intent;action=android.intent.action.INSERT_OR_EDIT;type=vnd.android.cursor.item/contact;launchFlags=0x3000000;extendedLaunchFlags=0x4;B.finishActivityOnSaveCompleted=true;i.im_protocol=7;S.im_handle=user%40server.tld;end

where im_protocol=7 means the Jabber IM field and [email protected] is the value.

Lingua principale
Kotlin
Stelle
917
Fork
73
Merge medio
5g 8h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FossifyOrg/Contacts

Tutte le issue di FossifyOrg/Contacts

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.