Reply
Thread Tools
Niwakame's Avatar
Posts: 120 | Thanked: 126 times | Joined on Nov 2011 @ Germany
#81
No, you have a table "services" which includes the
19|msn|MSN|msn|IM
because that's your service. Select * from services; selects all fields of all entries of available services.

Code:
insert into accounts values (null, 'blargh@blubb.xyz', 'msn', 0);
inserts into the "accounts" table. If you type
Code:
select * from accounts;
you're selecting all accounts on your phone. Even your e-mail adresses should show up there.

It is normal for SQL queries to not give any output if everything goes well, so the entry should be there. Seems like you're selecting from the wrong table.
 

The Following User Says Thank You to Niwakame For This Useful Post:
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#82
Originally Posted by Niwakame View Post
Seems like you're selecting from the wrong table.
Wow... I can't believe I missed that word...lol. Well thank you very much Niwakame, I got everything set up now after a reboot

But hmm... in the Accounts UI, when selecting Windows Live, is it normal I don't see any settings at all? Only an option to delete?
And is it possible to change the Display Name? I can only seem to change the "personal message", but I'd rather not have my first name as display name on MSN...
 
Posts: 307 | Thanked: 1,460 times | Joined on May 2011 @ Switzerland
#83
Yes that's normal. This is still just a workaround - a binary account handler is required to register new accounts and edit their parameters via the gui. For the moment though you can use mc-tool to change your display name:

Code:
mc-tool nick <account> newnick
Use quotes if your nick needs spaces in it.
 

The Following User Says Thank You to billranton For This Useful Post:
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#84
This is usually my display name...
†- ۩۞۩ ≈ îƵåḉḱ™ ≈ ۩۞۩ -† →
I guess it is near impossible to reproduce that on a command-line level...? lol
 
Naughty's Avatar
Posts: 39 | Thanked: 35 times | Joined on Dec 2009 @ Hellsinki
#85
Oops, help! After completing the steps I have lost all accounts from the Availability -menu, it is totally blank. The Accounts page lists all my 4 IM accounts. Windows Live has now a name and icon, and I can disable/enable it.

I don't know what went wrong. Selecting "All online" or "All offline" from the Availability page doesn't do anything either . Rebooting doesn't help. Any idea how to fix this?
__________________
~♥~ Phones: Nokia 3210, Nokia 3510i, Nokia N-gage, Nokia 7710, Nokia N80, Nokia 5800 XpressMusic, Nokia N900, Nokia N9 white ~♥~
- I'm a woman and I can always change my mind!
 
Niwakame's Avatar
Posts: 120 | Thanked: 126 times | Joined on Nov 2011 @ Germany
#86
@IsaacDFP:
We should have unicode support, try to encapsulate that in quotes "" <- or ''. Maybe it works, maybe not, but you can try

@Naughty:
Please give us the output of sqlite3:
Code:
select * from accounts;
select * from services;
select * from settings;
be sure to mask your ID's and passwords, or you will have many new friends soon :P

PS: Do we have a IRC Chat or something similar? I need to talk to other devs regarding that messaging integration...this documentation is a mess...

Last edited by Niwakame; 2011-12-09 at 20:07.
 
Posts: 307 | Thanked: 1,460 times | Joined on May 2011 @ Switzerland
#87
Originally Posted by Niwakame View Post

*gathering resources*
http://www.developer.nokia.com/Commu...n-in-Harmattan

I think I should be able to do something using the last link.
Shouldn't be more than distributing the xml files, adding dependencies and writing a binary account handler.
Hope I'll find some time today / weekend to get started
That's exciting stuff. It seems to imply that the generic plugin is vapable of everything we're doing in the sqlite db as long as the .provider file is right. The Skype one I copied uses its own plugin, so may have been a bad example - more playing around is needed which i'll try to do later. Could end up with full libpurple integration with no binary required...

Naughty: mc-tool list might also be useful, and if there is stuff missing then check /home/user/.rtcom-accounts/accounts.cfg
 
Niwakame's Avatar
Posts: 120 | Thanked: 126 times | Joined on Nov 2011 @ Germany
#88
Originally Posted by billranton View Post
Could end up with full libpurple integration with no binary required...
You seem to be right.
 
Naughty's Avatar
Posts: 39 | Thanked: 35 times | Joined on Dec 2009 @ Hellsinki
#89
Here it is, and it's not much ;D
Code:
sqlite> select * from accounts;
1|xxx@xxx.org|facebook|1
2|kxxx-kxxx|skype|1
3|Nxxxx|ovi|1
4|kxxx@xxx.org|msn|1

sqlite> select * from services;
1|ovi.com|qtn_comm_appname_cont|ovi|Sync
2|gmail|qtn_goog_gmail|google|e-mail
3|genericemail|Email|email|e-mail
4|GenericEmail|Email Mailbox|GenericProvider|e-mail
5|picasa-share|qtn_acc_sel_pro_ser_sharing|picasa|sharing
6|sip|SIP|sip|IM
7|mfecalendar|Microsoft Exchange|mfe|calendar
8|twitter|qtn_twit_twitter|twitter|social
9|facebook-share|qtn_fbk_sharing|facebook|sharing
10|mfemail|Microsoft Exchange|mfe|e-mail
11|youtube-share|qtn_acc_sel_pro_ser_sharing|youtube|sharing
12|twitter-share|qtn_twit_sharing|twitter|sharing
13|facebook-chat|qtn_fbk_facebook|facebook|IM
14|caldav|CalDAV|caldav|calendar
15|skype|Skype|skype|IM
16|flickr-share|qtn_comm_share_sharing|flickr|sharing
17|google-talk|qtn_goog_gtalk|google|IM
18|ovinotifications|qtn_push_notifications_title|ovi|ovinotifications
19|msn|MSN|msn|IM

sqlite> select * from settings;
1|13|enabled|b|1
1|0|username|s|xxx@xxx.org
1|0|CredentialsId|i|1
1|0|enabled|b|1
1|0|name|s|xxx@xxx.org
1|9|enabled|b|1
1|13|tmc-uid|s|gabble/jabber/kxxxx_40pxxxx_2eorg0
1|13|HasBeenOnline|s|true
1|13|AvatarMime|s|image/jpeg
1|13|NormalizedName|s|xxxxx@chat.facebook.com
1|13|avatar_token|s|24b75e664d9797d1fb8fc44a6101fc3fb5ef0cbb
1|13|Nickname|s|Kxxxx
2|15|parameters/CredentialsId|u|2
2|15|org.freedesktop.Telepathy.Account.Interface.Addressing.DRAFT.URISchemes|s|t            el;
2|15|enabled|b|1
2|0|username|s|kxxx-kxxx
2|0|CredentialsId|i|2
2|0|enabled|b|1
2|0|name|s|kxxx-kxxx
2|15|tmc-uid|s|spirit/skype/kxxx_2dkxxx0
2|15|HasBeenOnline|s|true
2|15|AvatarMime|s|image/jpeg
2|15|NormalizedName|s|kxxx-kxxx
2|15|Nickname|s|Nxxxx
3|1|enabled|b|0
3|0|CredentialsId|i|3
3|0|scheduler/schedule_peak_enabled|b|0
3|0|scheduler/schedule_peak_days|i|31
3|0|scheduler/schedule_peak|i|-1
3|0|scheduler/schedule_peak_start_time|i|540
3|0|name|s|Nxxxxx
3|0|SyncTarget|s|Ovi
3|0|scheduler/schedule_enabled|b|0
3|0|scheduler/schedule_peak_end_time|i|1020
3|0|scheduler/schedule_offpeak_enabled|b|0
3|0|enabled|b|1
3|0|scheduler/schedule_off_peak|i|-1
2|15|avatar_token|s|kxxxx-kxxx_d3687c3455bed31fa321814a150baffb844a0ed6
2|15|ConnectAutomatically|s|false
1|13|import-only-matching-contacts|b|0
1|0|scheduler/schedule_peak_enabled|b|0
1|0|scheduler/schedule_peak_days|i|31
1|0|scheduler/schedule_peak|i|-1
1|0|scheduler/schedule_peak_start_time|i|540
1|0|scheduler/schedule_enabled|b|0
1|0|scheduler/schedule_peak_end_time|i|1020
1|0|scheduler/schedule_offpeak_enabled|b|0
1|0|scheduler/schedule_off_peak|i|-1
1|13|ConnectAutomatically|s|false
3|18|parameters/require-encryption|b|1
4|19|tmc-uid|s|<telepathy uid>
4|0|username|s|kxxx@xxxx.org
4|0|password|s|xxxxxx
4|0|scheduler/schedule_peak_enabled|b|0
4|0|scheduler/schedule_peak_days|i|31
4|0|scheduler/schedule_peak|i|-1
4|0|scheduler/schedule_peak_start_time|i|540
4|0|scheduler/schedule_enabled|b|0
4|0|scheduler/schedule_peak_end_time|i|1020
4|0|scheduler/schedule_offpeak_enabled|b|0
4|0|enabled|b|1
4|0|scheduler/schedule_off_peak|i|-1
4|19|enabled|b|1
3|18|enabled|b|1
3|18|ConnectAutomatically|b|0
1|13|social-uid|s|facebook:xxx@xxx.org
sqlite>
This is interesting. It worked before.
Code:
mc-tool list
mc-tool: Message did not receive a reply (timeout by message bus)
No rights to go to this folder, can't do it even with root... how good am I
Code:
/home/user # cd .rtcom-accounts/
sh: cd: can't cd to .rtcom-accounts/
drwx------    4 user     operator      4096 Dec  9 19:44 .rtcom-accounts
Maybe we could talk in irc, if my phone can be saved?
__________________
~♥~ Phones: Nokia 3210, Nokia 3510i, Nokia N-gage, Nokia 7710, Nokia N80, Nokia 5800 XpressMusic, Nokia N900, Nokia N9 white ~♥~
- I'm a woman and I can always change my mind!
 
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#90
Originally Posted by Niwakame View Post
@IsaacDFP:
We should have unicode support, try to encapsulate that in quotes "" <- or ''. Maybe it works, maybe not, but you can try
It is indeed worth a try... I'm gonna wait til I get home, get on my WiFi, and do it via "NetView", lol, let's see what a simple copy-paste will achieve. (Now that I think about it... I should've just done the entire integration via NetView...wouldve made everything so easy)
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:45.