android
  #1  
Old 12-04-2010, 05:37 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default Contacts app

hey guys i was thinking of making an app with which you may can add contacts without connecting to your pc and use the central. So first of all
i'm new too the language so i will may need your help scripting it but befor that i got some questions:
- is it even possible(yes;no,why not)
- which datas are in the contact site because i'm not able to create contacts with my creative central ( i wonder why)
- when i hit on hardeggs , who of you will may help me

thats all for the beginning^^

with friendly regards Moonmancer

Last edited by Moonmancer; 12-04-2010 at 06:15 AM.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 12-04-2010, 06:22 AM
ZaPx64's Avatar
ZaPx64 ZaPx64 is offline
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 136
Default

Hi, this is a good idea for an app. I think it's indeed possible and even easy to implement. Since I'm storing my contacts on my mobile device (cell phone) I don't use the Creative Centrale...
So first/last name, phone number(s), email address, home address, birthdate and maybe some personal comments would be useful.

Good luck with that one
__________________
Zen X-Fi2 Apps: Notee-fi (notepad) | TicTacToe | Mahjongg
http://www.starfare.eu/ - a free real-time strategy game.
Reply With Quote

  #3  
Old 12-04-2010, 07:05 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

i know that those datas would be usefull but i'm thinking of using the orignial contact viewer on the x-fi2 so i need to know which data can be stored exacly

Last edited by Moonmancer; 12-04-2010 at 08:03 AM.
Reply With Quote

  #4  
Old 12-04-2010, 10:08 AM
Habhome's Avatar
Habhome Habhome is offline
Moderator
 
Join Date: Jan 2010
Location: Sweden
Posts: 1,081
Default

Quote:
Originally Posted by Moonmancer View Post
i know that those datas would be usefull but i'm thinking of using the orignial contact viewer on the x-fi2 so i need to know which data can be stored exacly
Ah, then I understood it right. You want to make a Contact Manager for the built-in contact application. Unfortunately you will either have to build your own contact application from scratch, or give up the idea. Because we cannot access files used by the firmware. We cannot reach outside of the "Applications" folder.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine
Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it!
Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it.
Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^
Reply With Quote

  #5  
Old 12-04-2010, 10:22 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Yes we are currently limited to our app's directory. You say Creative Centrals contact maker doesnt work? same what i ended up using was making the contacts through windows which ends up with .contact (but even if you tried to acces these in your directory they are in an xml format, though you can make an xml pasher( yes possible i even have a tut) but that would be a bit hard. So you would be better off making (if you even make one) with simple ie: .lua or .ctc or whatever you choose
Code:
contacts={{}}

contacts[1].name="Jbob"
contacts[1].email = "email@email.com"
e.c.t
heres what a .contacts look like


Quote:
<?xml version="1.0" encoding="UTF-8"?>
<c:contact c:Version="1" xmlns:c="http://schemas.microsoft.com/Contact" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:MSP2P="http://schemas.microsoft.com/Contact/Extended/MSP2P">
<c:CreationDate>2010-12-04T15:17:43Z</c:CreationDate><c:Extended xsi:nil="true"/>
<c:ContactIDCollection><c:ContactID c:ElementID="f49aa56a-1b82-4eeb-a3d5-5c980cddf8e8"><c:Value>27bd3b9a-3de4-43b1-b47a-44fae0a44a49</c:Value></c:ContactID></c:ContactIDCollection><c:EmailAddressCollection><c :EmailAddress c:ElementID="02cd91a0-9a28-491d-b872-12441e7ce1d1"><c:Type>SMTP</c:Type><c:Address>jbob182***********</c:Address><c:LabelCollection><c:Label>Preferred</c:Label></c:LabelCollection></c:EmailAddress><c:EmailAddress c:ElementID="6c2c4ab5-c7a9-4165-8007-0281fdb9385f" xsi:nil="true"/></c:EmailAddressCollection><c:NameCollection><c:Name c:ElementID="1653002c-0ed0-4890-9d24-f0216a2fe6b1"><c:NickName>jbob182</c:NickName><c:Title>jbob</c:Title><c:FormattedName>JBob Jbob jbob</c:FormattedName><c:FamilyName>jbob</c:FamilyName><c:MiddleName>Jbob</c:MiddleName><c:GivenName>JBob</c:GivenName></c:Name></c:NameCollection><c:PhoneNumberCollection><c:Phone Number c:ElementID="bdcda144-bcb3-4b21-8018-76ef718512dd"><c:Number>999-999-999-999</c:Number><c:LabelCollection><c:Label>Voice</c:Label><c:Label>Personal</c:Label></c:LabelCollection></c:PhoneNumber></c:PhoneNumberCollection><c:PhotoCollection><c:Phot o c:ElementID="bb36b6f1-fef0-4237-a881-369a0bd634a5"><c:LabelCollection><c:Label>UserTile </c:Label></c:LabelCollection></c:Photo></c:PhotoCollection></c:contact>
Reply With Quote

  #6  
Old 12-04-2010, 01:10 PM
datallboy's Avatar
datallboy datallboy is offline
Member
 
Join Date: Feb 2010
Posts: 143
Default

i dont see why they even added the option for contacts on the mpe. its not like u can call them or instant message them or anything.
__________________
I wUz he3R
Reply With Quote

  #7  
Old 12-04-2010, 02:58 PM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 636
Default

Quote:
Originally Posted by datallboy View Post
i dont see why they even added the option for contacts on the mpe. its not like u can call them or instant message them or anything.
Me neither, I never use it. It would be useful if you could add contacts on the player, and sync it with Outlook or something. So I like the idea of making an app for this, but would it be possible to sync the data in any kind of way with a pc application? Else you would just have a Zen Addressbook, which is not that bad either.
__________________
this is a link to my personal homepage which I haven't
Reply With Quote

  #8  
Old 12-04-2010, 03:35 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

I think it would be possible to convert the contacts table i suggested into a .contact file, all depends though if ContactID needs to be specific if so how do we generate it?

Last edited by jbob182; 12-04-2010 at 04:59 PM.
Reply With Quote

  #9  
Old 12-07-2010, 11:40 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

I don't know, i think one of the easyest ways would be to try it and see if it work or not.
Reply With Quote

  #10  
Old 12-07-2010, 04:42 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

i got alot of open time right now so i will try and make a sample contact maker, no promises. Soon as i finish my color eqaution for alpha values, i think i already know how it works so should be pretty soon
Reply With Quote

  #11  
Old 12-07-2010, 04:47 PM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

sounds good to me.
i'm still learning the basics from lua
but i hope i can come up with a menu in the next few days^^''
Reply With Quote

  #12  
Old 12-07-2010, 05:46 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Good News the id does not have to be specific so here is a simple contact maker. I will add the lua to contact file part later today hopefully.

Note my new app that will auto convert all contacts in the lua file will be a diff gui setup



-------------------------------------------------------------------------------------------------------------------------------------------------------------

The current languege i programed that in does not allow intergration with lua which makes loading the required variables a pain in fact i think impossible,. So i need to think of another way to load the variables declared in lua maybe lua blind idk right now.
----------------------------------------------------------------------------------------------------------------------------------------------------------
I just figured out a way that might work without lua binding but it is a little tediouse so i am reconfiguring my setup to test it.
---------------------------------------------------------------------------------------------------------------------------------------------
After a bit more adjusting i got a working system up a running know i just have to finish some parts here and there
Attached Files
File Type: zip X-fi2 Contact Maker.zip (154.6 KB, 49 views)

Last edited by jbob182; 12-07-2010 at 10:24 PM.
Reply With Quote

  #13  
Old 12-08-2010, 09:47 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

good job jbob^^
i din't even finished the menu i was making on (blame on my head) ^^
Reply With Quote

  #14  
Old 12-08-2010, 10:10 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

i played a bit with your creator and figured out that the contacts are saved on the zen as .vcf in the folder /my organizer. think that gonna behelp full while programming^^
Reply With Quote

  #15  
Old 12-08-2010, 05:11 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Lol right now i finished an auto detect feature that will import all the first names of the contacts(maybe last , got any suggestion) Right now name, email ect can only be 20 char long but i can adjust that accordingly.

As for your setup for saving please follow something like this

contacts = {{}}

contacts[1].first = "Jbob" --
contacts[1].middle = "Middle name" --
contacts[1].last = "Cool"
contacts[1].email = "jbob182***********" --
contacts[1].phone = "(999)999-9999" --

otherwise i need to rethink my system, you can add more saved things in the contacts like nickname but right now that is the format i am using for my program.And yes the -- is needed for my program to only select the needed values



Does anyone want to make an .ico for the program? I am finishing up my programm and adding some final touches. Just finished a printing option that works great but it sure was a pain to print a table and keep the appropiate format

Last edited by jbob182; 12-09-2010 at 08:14 PM.
Reply With Quote

  #16  
Old 12-09-2010, 08:15 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Here is a quick sample of the basic functionality of the program.

Any suggestion feel free.
Attached Files
File Type: zip Contact Converter.zip (264.1 KB, 40 views)

Last edited by jbob182; 12-09-2010 at 08:20 PM.
Reply With Quote

  #17  
Old 12-10-2010, 10:50 AM
Moonmancer Moonmancer is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

what about split phone into mobile nr. and home nr.?
Reply With Quote

  #18  
Old 12-10-2010, 04:26 PM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

Any adjustments like adding more columes of info it not a problem at all, i will just wait until you finialize what info there should be before i make any changes
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:33 AM.