[jitsi-dev] Show contact details in Android


#1

Hi,

I'm working on this feature, to show contact details in the Android version
of Jitsi.

My idea is to create a small popup window when the user touches a contact's
avatar, with a few contact details like protocol and email
address/username, similar to the way the desktop version shows some details
when you hover over a contact with the mouse. (see attached picture)

I am trying to find the code that displays those details in the desktop
version, so that I can figure out how to get the required contact info.
Does anyone know which package, class and method this code is in?

Thanks,
Sandeep

<img src=’/uploads/jitsi/original/2X/c/c4f74857f446741eab71369a737a344baa87630e.png’ width=‘400’ height=‘348’>


#2

Hi,

Hi,

I'm working on this feature, to show contact details in the Android version of Jitsi.

My idea is to create a small popup window when the user touches a contact's avatar, with a few contact details like protocol and email address/username, similar to the way the desktop version shows some details when you hover over a contact with the mouse. (see attached picture)

I am trying to find the code that displays those details in the desktop version, so that I can figure out how to get the required contact info. Does anyone know which package, class and method this code is in?

Thanks,
Sandeep

This tooltip from the screenshot is displayed from:
net.java.sip.communicator.impl.gui.main.contactlist.DefaultTreeContactList:192

For contact info we have a separte plugin in package:
net.java.sip.communicator.plugin.contactinfo
This is the info displayed from right button menu->"Contact info"

Regards,
Pawel

···

On Sat, Dec 7, 2013 at 6:07 AM, Sandeep <sandy.8925@gmail.com> wrote:

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Not what Sandeep has offered to work on but perhaps someone could look
at obtaining the XMPP address via this first function in order to
display it in the Right-click -> Contact Info screen, from where it's
missing at the moment and it's useful to be able to show the address
on a static screen, rather than a popup, even if it isn't currently
possible to cut and paste from there (imagine if trying to type the
address manually into another program or document, alt-tabbing between
the other program and Jitsi (probably more than once) and then having
to put the cursor over the contact to bring up the pop-up each time
you tabbed to Jitsi would be rather annoying)

There might be a less convoluted way to acheive this though as I
really have no idea when it comes to coding I'm afraid.

Regards
Derek

···

On 9 December 2013 10:07, Paweł Domas <pawel.domas@jitsi.org> wrote:

Hi,

On Sat, Dec 7, 2013 at 6:07 AM, Sandeep <sandy.8925@gmail.com> wrote:

Hi,

I'm working on this feature, to show contact details in the Android version of Jitsi.

My idea is to create a small popup window when the user touches a contact's avatar, with a few contact details like protocol and email address/username, similar to the way the desktop version shows some details when you hover over a contact with the mouse. (see attached picture)

I am trying to find the code that displays those details in the desktop version, so that I can figure out how to get the required contact info. Does anyone know which package, class and method this code is in?

Thanks,
Sandeep

This tooltip from the screenshot is displayed from:
net.java.sip.communicator.impl.gui.main.contactlist.DefaultTreeContactList:192

For contact info we have a separte plugin in package:
net.java.sip.communicator.plugin.contactinfo
This is the info displayed from right button menu->"Contact info"

Regards,
Pawel


#4

Thank you for the information, I am going through that code and trying to
figure out how to do the same in the Android version.

- Sandeep

···

On Mon, Dec 9, 2013 at 2:07 AM, Paweł Domas <pawel.domas@jitsi.org> wrote:

Hi,

On Sat, Dec 7, 2013 at 6:07 AM, Sandeep <sandy.8925@gmail.com> wrote:
>
> Hi,
>
> I'm working on this feature, to show contact details in the Android
version of Jitsi.
>
> My idea is to create a small popup window when the user touches a
contact's avatar, with a few contact details like protocol and email
address/username, similar to the way the desktop version shows some details
when you hover over a contact with the mouse. (see attached picture)
>
>
> I am trying to find the code that displays those details in the desktop
version, so that I can figure out how to get the required contact info.
Does anyone know which package, class and method this code is in?
>
> Thanks,
> Sandeep

This tooltip from the screenshot is displayed from:

net.java.sip.communicator.impl.gui.main.contactlist.DefaultTreeContactList:192

For contact info we have a separte plugin in package:
net.java.sip.communicator.plugin.contactinfo
This is the info displayed from right button menu->"Contact info"

Regards,
Pawel

>
>
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev