SMS from Android device to C# application on computer - c#

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

Related

BLOB file to display via a GUI

This is more of a, "hey, any ideas on how to go about doing this?", type of question.
So,
I'm working on a READ-ONLY GUI in Visual Studios, that loads data from an Oracle database. -- I am currently stumped on how to go about doing something: Loading an BLOB file from the oracle database and having it display via the GUI, so that the person reading it would be able to download said file by clicking a logo or text field or whatever works really. The person wouldn't be the ones uploading files; they should just be able to download them from what the GUI is pulling from the database.
Keep in mind, this file should not be limited to a single file type, should be able to upload .pdf, .txt, .wordx, .png, etc)... from Oracle, into Visual Studio.
I'm not sure which tool to use, nor the best way to go about this.
Tried looking it up, haven't really found any examples worth-mentioning or ideas pertaining to loading FROM Oracle into displaying for C#.
Any examples or ideas would be much appreciated.
SQL Developer offers this feature - via Java. You asked about tools...

Unity3D Android file browser

does anyone know how would I create a file browser in Unity for an android OS? I don't actually know where to even start, even after I did a lot of search on it.
What I want, is for the user to be able to go through his folders on the phone or the SD card and he should be able to choose a text file, I would then save the text from the file into a string in my app and continue from there.
Thank you!
The file navigation is as simple as using the .net 2.0 file browsing functions.
http://msdn.microsoft.com/en-us/library/system.io%28v=vs.80%29.aspx
However you will have a lot of headaches trying to get Unity to play ball with Android's Intent broadcasters/receivers and will require a lot of fiddling with Java to launch the other Activity.
http://developer.android.com/training/basics/firstapp/starting-activity.html
You might want to look into this: http://wiki.unity3d.com/index.php/ImprovedFileBrowser and its relevant forum post. You might need to modify the script to work on Android, but it should be a good start.

Extract gps data storage

I am using dotSpatial labrary in c#, I only can read realtime data.
but my problem is this.. how could I extract gps data storaged in my usb-gps device (it is passive gps)?
device information
brand : landairsea
Model: Gps Tracking Key
webPage: http://www.landairsea.com/gps-tracker/gps-tracking-key
From looking at their user guide:
http://www.landairsea.com/downloads/past-track-10.pdf
You could use the past-track software to save the stored data as .las format.
I believe that DotSpatial has a LIDAR plug-in that can read .las files:
Dotspatial.Plugins.LiDAR
If you are asking how to write a C# replacement for the Past-Track program that connects directly to the USB however, I don't know exactly.
DotSpatial has a positioning library that is DotSpatial.Positioning that was originally ported from http://geoframework.codeplex.com/. It is possible that this utility will have the capability to connect to your device, but I think it would probably only support a limited subset of GPS devices, and I never used it myself at all.
Hopefully that information is a little helpful though and will point you in the right direction.
Edit:
I have downloaded the Past-Track 10 software that is designed to retrieve data from the unit. This in turn installed Antaris4 and u-blox5 USB drivers. I think this is half of what you will need to write a C# app that can talk to your GPS and do things in code. You can find the drivers on the web. I think I found it here:
http://www.driverguide.com/driver/detail.php?driverid=1869444
But make sure you find a version of the driver that matches your PC configuration (32/64 and correct operating system). Incidentally, that will probably mean you will need to make x86 and x64 builds for your C# app.
The next step is to find some documentation for it and then attempt to use the drivers from C#. So far I haven't found a good document showing how to work with the drivers, but I'm sure it exits. I will update with a link when I find it.

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

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.

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