How to read all Skype contacts and messages without using Skype API? - c#

I need to find a way to read all contacts and chat messages from Skype without API.
By Microsoft they will not support the Skype API any more. This is why I need it.
In the C:\Documents and Settings**username**\Application Data\Skype there are some files but need to parse them and not sure how if it is the right approach.
Of course the chat messages are always synchronized from the cloud. I need at least the messages saved on the disk.

According to Ilya Ivaonv Skype saves all the data in the SQLLite main.db file situated in %AppData%\Skype folder.

I recommend two ways to do this:
A. Easiest way is to use Skyperious. Available for Windows, Linux and Mac. You can do all this
This is the search function:
And here is sample output from an export:
B. The harder, but naturally more flexible way, is to install a SQLite Browser, such as this one, and export the messages yourself. You can see some information on how to do that by looking at this article, or you could also search for other similar articles (AlexS' answer also provides clues). You will need some experience with SQL to use this option.

Related

SMS from Android device to C# application on computer

I want to make a fullscreen application that can display the latest messages received on the Android device (an SMS wall).
I've tried pulling the MMSSMS.db file from the device with ADB, but the file can't be read on my computer. It seems like it's encrypted or something, because on the phone itself you can open and view it.
Is there any library or other solution available that can accomplish that? I've searched a lot and didn't find anything on the web...
Edit: i've tried using the sqlite.dll both with SQLite Browser and in C# itself. Both showed an empty database while it was readable (and not empty) in the built-in Database Viewer of Root Explorer.
I am not specifically asking for third-party libraries or tools, only if someone has had any experience with this and/or can help me further...
Edit 2: I came here only when I didn't find a solution after searching a lot on the web.
Thanks!
I imagine that its a database file, most likely sqlite. You need to install a library to address such a file. http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

Exposing contacts and calendar data with own backend

Assume you have an encrypted file containing contact and calendar data (in some proprietary format) which can be loaded by some .net application. On a local (Windows) machine, I'd like to make these contacts and calendar entries accessible by clients like Thunderbird or Outlook.
I would prefer not to convert the encrypted data to unencrypted files but rather provide an open port for these applications to connect to, especially as write support (for editing the data) would be nice to have as well.
I was looking around if I could adopt anything from the free groupware implementations but except for OpenMAPI I haven't found anything which was designed for custom backends - and OpenMAPI doesn't seem to exists outside its German Wikipedia article.
Do you know about any code or approaches which would allow to make such data available to client apps?
one solution I found is to use IronPython and run Radicale which allows to use a custom backend.

A lot of data in WP 7 App, how?

I would like to have a lot of data (quotes of famous people, arround 100 k quotes). And I want that users are able to search, sort on category and sort on authors.
Got a big big xml file at the moment, but what is smart to do? How can i get all the quotes in the app? maybe a sql lite database? or just loop the xml when app starts?
Any tips are most welcome!
Kevin
UPDATE: Thanks for all the replies and tips, I really appreciate it and I am looking forward to program my App, did make a runkeeper-like app yesterday, now starting the quotes app.
I would recommend storing this data on a webserver somewhere and using some SOAP interface of something like this, to access it. I wouldn't be positively surprised when a downloaded application all of a sudden decides to download a big file of quotes.
I would recommend a SQL CE database (.sdf file)
Great overview here: http://windowsphonegeek.com/tips/Windows-Phone-Mango-Local-Database%28SQL-CE%29-Introduction
And here: http://msdn.microsoft.com/en-us/library/hh202860%28v=VS.92%29.aspx
There's no SQLite on WP7. There's SQL Server Compact though. Read up on the latter, and also on LINQ. WP7.5 only.
Alternatively, store data on the Web server, and use a service to pull it on demand. In that case, read up on services and SOAP.
With the fact that you are looking at a 500mb file I think you have a couple of options.
1) Put all of this data in a database on a webserver, then have your phone application use whatever method you like to contact the database to get specific data that is needed. Obviously your UI would have to be optimised to allow a user to sort by the type of quote and / or the person to whom the quote is attributed.
2) If you want this to be done without the use of the webserver you could have a stripped down basic database of quotes in the application itself, to extend this connect to the database and download more data.
This method may be best as it lets you use the database data to say populate a website if you wanted to (make a bit of money from ad revenue / promote your app) and also it means if your users dont have an internet connection they can still get some use from your app.
Without more knowledge of the platform I couldnt say what would happen if you try load a 500mb application but I doubt it would be good, though having such a large file locally is a bad idea for a mobile device. I can see this going two ways.
1) Im out and see your application, I set it downloading, pay it no attention and then later check to find it has downloaded 500mb over my mobile phone data package. This could mean a big bill.
2) I start to download your application, it hasnt finished downloading after 10mins, I delete it and dont bother trying again.
You can do something like let the user to enter three character minimum before search from webservice ans user the service result to bind the data.
Check the following links
How to connect to a Webservice from a Windows Mobile Device 6.0
http://msdn.microsoft.com/en-us/library/aa446547.aspx
Let me know if this helps.

Using windows explorer for other file storage via .net

I've seen software products that interface with windows explorer for sharing cloud drives, one was for using gmail as a drive. Is there any documentation on what libraries etcetera are used to accomplish this task?
I'm not looking to use Gmail (specifically)
I'm more concerned about
how to access the windows-explorer interface for showing items that
are not on a real disk.
You'll need to create a Windows shell extension.
This article looks promising - although quite old.
However, as stated in that article, you are discouraged to build a shell extension with managed code.
You should download open-source software such as gDisk to see how they are doing it. Or you can see how it is done in Firefox using Gspace. Here are some general guidelines for developing such applications:
You need some way to distinguish files from email (labels, subject line, etc).
You need an interface to login to the GMail website and cache those credentials.
You need an interface to send an email to yourself.
Finally, you need a way to access those "files".

How to get files to WP7?

Let's say I'm writing a eBook reader for Windows Phone 7. Now the first thing that the user will need to do is add some books to his device, and since I don't offer a online book store or similar service, the only option is file transfer from his PC to the phone. Is he able to do this, how? Then how do I access this file. Can this file be placed in Isolated Storage of my app? I was searching around and didn't find any solution, in fact I believe that similar scenario is currently impossible but I just wanted to hear your toughs on the problem and probably some workaround ideas.
I haven't seen any way to add files from the desktop the phone is connected to. However, you can build your own software for the desktop that uses a WCF service and allows connections from the phone. The phone can download files from the desktop WCF service. See a similar concept here, you can implement the concept discussed in the post the other way round.
HTH, indyfromoz
Would you not be able to download the ebooks using some kind of webservice/http?
(Obviously you'll need a website, somewhere for this)

Categories