As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am going to develop a client side application such a way that my client should able to receive fixed line calls through a computer and the application which is running on client's machine able to save the caller's number to a remote database.
Is there any application currently available for this? What are the requirements should I have before begin the project?
You will probably have to setup a PBX system in your client computer if you are wishing to connect phone line to the computer. You'll have to buy a Terminal and input a SIM to it. Or you could buy a SIP trunk from a Service provider and you'll able to take calls via the Internet.
If you are connecting with Java you'll have to use Asterisk PBX API and some configurations are necessary inside the PBX system. For logging calls to the remote database would be easier since Asterisk can be configured to store Calls to a MYSQL database.
As for more customization of this process would require a remote database and manual logging.
If you are going to use the Asterisk API you will find it quite helpful since you can take calls directly using it. But if it's for a simple use you can go ahead and install a Softphone - something like X-Lite or Linphone.
You can refer this tutorial for more use of Asterisk Java.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to develop a mini application, but need to create database, i did't want to use sql, access or oracle because i just need 4 tables data. What is the best option for database storage? Desktop application.
Mongo db is a very light weight, very easy no-sql database, which is rather easy to learn and work with. It does require an instance running, I didn't check if you can have it embedded in your application but wouldn't be surprised if it's possible.
Check it out.
If you don't need SP's and you only need relational data (and not dealing with installation and dependency overhead) then you just reference SQL Server CE.
It's an embedded database and if you run C# it means that the Framework is there, and probably the SQL Server CE too, otherwise the install is very lightweight and can be included in your installer
Sqlite if you need relations and queries, ESENT if you don't.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing application on C# (WPF) for Windows. I need to store data for this application (in database, i think). But i need to secure this data (from modification). I'm planning to distribute this application, so filesystem protect doesn't fit for this situation. Also i wanna use NoSql database. My question is which NoSQL database support data protection and can be installed with minimum efforts as embedded with application database?
Upd: So, which is the better Single user NoSQL DB, no security, for redistributable WPF application?
When the data is on the users hard drive, there is no way to prevent the user from accessing it.
Storing it in an obscure format, like some uncommon database, wouldn't make it much harder. Even encrypting the database wouldn't be an insurmountable barrier. You need to store the decryption key somewhere inside your application where a determinded hacker will find it when searching for it long enough.
When you really want to protect your data, there is no way around storing it on your own server and let the program access it via the Internet. I would recommend to use a webservice for that.
This will, of course, mean some additional cost for you as you have to pay for the server. But you also get some additional perks for that:
You can give each user an own username and password. That makes it a lot harder to pirate your product (too many IPs from different networks using the same username = likely software pirates)
Updating your database doesn't require any deployment on the users machines
You can write "cloud" all over your marketing material :)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am writing an application in C#, that will be Compiling and Executing external code written in either C, C++ or Java. In this regard, I have a few questions to ask and following is the research that I have done so far:
There will be a server that will host the application that will receive requests of code submitted by users. These requests will be sent on a particular socket.
There will be a receiver thread that would en queue all such requests into a queue.
There will be consumer thread that will dequeue from the queue and compile and execute the programs (submitted code). While compiling and executing, appropriate compilers and loaders will be used from the command line, which will be executed as processes from the C# App.
As of now, it can be assumed that security issues such as sandboxing, not making the server access public, etc have been / will be considered later. My primary focus is on this execution logic.
I have the following questions to ask:
Can there be a better way of doing this / Am I doing anything wrong?
Approach looks good on paper, but it mostly depends on the implementation.
As many as you want, up to the capabilities of the machine. OS will handle them.
It doesn't really matter as long as you make it airtight: malicious/malformed/plainly wrong code will be submitted: Java can't do that much damage, but C/C++ is kinda dangerous.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Earlier today I was looking for an C# API which provides stock quotes for Indian market(BSE)/(NSE) in real time. But couldn't really find anything close to it.
I want to create a rich desktop application like MoneyControl.com for windows using C# .NET and expression studio. I am searching for an C# API or any webservice to get the quotes from NSE or BSE.
To be honest, I am not sure about your exact answer.
However, stock exchanges generally do offer their data feeds e.g. check this service from BSE: http://www.bseindia.com/about/abtip.asp . There are two levels of data feeds available and over HTTP, you can get one minute snapshot delivered - check out FAQ and vendors.
Another way would be do web scraping to gather the data - essentially, you mimic browser actions for target web-site (say www.bseindia.com) from your code to get the relevant data. For example, simulating this page (http://www.bseindia.com/debtbhav/BhavCopyDebt.aspx) would give you bhavcopy details for BSE. NSE also has similar pages to get the relevant data e.g. http://www.nseindia.com/archives/archives.htm.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm writing an application for windows mobile 6 and above that requires a local database.
I was wondering if anyone has any experience with database hosting on windows mobile and which database management system would be most suitable for development.
Thanks in advance,
Lloyd
I have used SqlServerCe as a local mini database for a WinMobile 6 application I've worked on. It is quite easy to use and gets automatically installed when you include the reference in Visual Studio.
Another option that seems popular is SQLite. For a comparison of the two look at this post: https://stackoverflow.com/questions/583278/sqlite-vs-sqlce-vs-in-a-mobile-application
This seems to be biased towards SQLite which I have not tried but I was happy with the performance of SqlServerCe for my application and it was sufficient.
SQL Server Compact Edition is widely used in Windows Mobile applications.
Another alternative is SQLite.
If you are not tied to RDBMS, you should try db4o, an embedded object oriented database with support for LINQ
I've used for some small applications Raima Database, and it proved to be reliable and fast, at least for our purposes.