My Contacts Plugin (1 Viewer)

TimmyT

Portal Pro
October 18, 2004
107
11
Zurich
Home Country
Switzerland Switzerland
Hi cubii
Indeed I am looking into a possibility to use VoIP, but I'm far away from a test version. But I'll let you know when I'm ready - I'll be happy if you could be my beta tester. Unfortunately I am pretty busy right now (school, work) so I don't have much time to keep working on this feature...

Cheers,
TimmyT
 

Zarra

Portal Member
March 24, 2008
26
0
Home Country
Germany Germany
question

Hi TimmyT,

i saw in your Contact plugIn the way you pose your images,
i have a problem in my plugIn i like to have many images that are numerated somthing like the filmstrip but i d ont know the way, i try with a spincontrol but i dont think its right
How kann i set many images that are numerated like a filmstrip?
Have you any idea or an exempel
to make a image with the image.SetFileName("totalEnergy" + fileCounter.ToString() + ".png");

Code:
    <control>
      <animation effect="fade" time="300">WindowOpen</animation>
      <description>parameter</description>
      <type>label</type>
      <id>37</id>
      <posX>310</posX>
      <posY>215</posY>
      <label></label>
      <font>font12</font>
      <align>left</align>
      <textcolor>ffffffff</textcolor>
    </control>
    <!-- Graph oben mitte -->
    <control>
      <animation effect="fade" time="300">WindowOpen</animation>
      <description>Grafik</description>
      <type>image</type>
      <id>0112</id>
      <posX>275</posX>
      <posY>175</posY>
      <width>350</width>
      <height>300</height>
    </control>

and my filmstrip:

Code:
<control>  <description>Filmstrip view</description> 
 <type>filmstrip</type>  
<id>50</id>  
<onleft>10</onleft>  
<onright>2</onright>  
<onup>2</onup> 
 <ondown>2</ondown>  
<background>context_background.png</background>  
<backgroundx>275</backgroundx>  
<backgroundy>175</backgroundy>  
<backgroundwidth>420</backgroundwidth>  
<backgroundheight>350</backgroundheight>  
<backgrounddiffuse>60ffffff</backgrounddiffuse>  </control>

thank you
 

Attachments

  • image.jpg
    image.jpg
    130.2 KB
  • image2.jpg
    image2.jpg
    103.9 KB

TimmyT

Portal Pro
October 18, 2004
107
11
Zurich
Home Country
Switzerland Switzerland
Hi Zarra,

I'm using a "thumbnailpanel" to display the pictures... I'm not sure if that fits your problem, but it's the only way I know yet. Check out my sources ("MyContacts.xml" and class "MyContacts.cs") to see the code (link in first post).

Cheers,
TimmyT
 

Zarra

Portal Member
March 24, 2008
26
0
Home Country
Germany Germany
Hi TimmyT,

thank you for your answer, yes i try with your plugIn and i use the Thumbnail Panel, but i became many small images in the same screen, have you any idea how can i control the size to have just one big in the screen



item.ThumbnailImage = "totalEnergy" + fileCounter.ToString() + ".png";

thumbnailView.Add(item);
thumbnailView.Add(item);


Code:
   <control>
      <type>group</type>
      <description>group element</description>
      <animation effect="fade" time="250">WindowOpen</animation>
      <animation effect="fade" time="500">WindowClose</animation>
      <control>
        <description>listcontrol</description>
        <type>listcontrol</type>
        <id>1222</id>
        <onleft>51</onleft>
        <onright>51</onright>
        <onup>51</onup>
        <ondown>51</ondown>
      </control>

      <control>
        <description>Thumbnail Panel</description>
        <type>thumbnailpanel</type>
        <id>51</id>
        <scrollOffset>1</scrollOffset>
        <posX>275</posX>
        <posY>175</posY>
        <width>420</width>
        <height>350</height>
        <onleft>2</onleft>
        <onright>2</onright>
        <onup>51</onup>
        <ondown>51</ondown>
      </control>
    </control>
 

boozelclark

Portal Pro
March 26, 2007
191
10
Johannesburg/Cape Town
Home Country
South Africa South Africa
Format

What format is the data in this plugin stored in. i have made a cell phone caller id plugin but i'm not too sure yet as to what method would be best for getting the callers name. i've looked at making my own type of phone book but when looking for code of something quite similar i've seen that there are quite a lot of apps that use this type of infomation and thought it may be better to have one centralised contacts database or vCard folder that all plugins can use.
 

TimmyT

Portal Pro
October 18, 2004
107
11
Zurich
Home Country
Switzerland Switzerland
hi boozelclark

the data are stored in a database. check out the code in the svn directory (link posted a couple of entries earlier) for more information (db fields etc.)

cheers,
TimmyT
 

boozelclark

Portal Pro
March 26, 2007
191
10
Johannesburg/Cape Town
Home Country
South Africa South Africa
Hi i just tried out the plugin. uploaded all my contacts onto the web site but when i click synchronize i get this exception

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MyContacts.RequestResponse.handleResponse(String response)
at MyContacts.gui.Setup.Sync()
at MyContacts.gui.Setup.btnSync_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

TimmyT

Portal Pro
October 18, 2004
107
11
Zurich
Home Country
Switzerland Switzerland
it seems that my contacts plugin is not compatible with version 1.0.0.0 (yet). unfortunately, I don't have the time to look at the problem this week... I hope I can fix this soon.

TimmyT
 

cybergeek

Portal Pro
November 21, 2007
190
0
Home Country
Canada Canada
I installed this plugin but all I get is the names of the people no phone # and no email ect. it shows up as ******** for everything ******
 

Users who are viewing this thread

Top Bottom