It is easy enough to read lots of different files, as long as you have access to the format they are in. I am sure you know it already, but there are reminders in the Java Tutorials. It depends whether it is text-based or binary; I am not familiar with gsm files myself. For entering into a database, if you go through the JDBC forum, somebody said earlier this week you should create a .sql file and call that from the database for better performance.
Thanks for your replies.I can able to read.But can i able to save a gsm file in a variable like String voice="hello.gsm" ?Is this possible? Coz if i need to store it in database ,I need to keep the gsm file only in String variable.Isn't it?
You didn't say what kind of file this is, but I'm assuming that it is a binary file, not a text file. So you can't keep it in a string (unless you want to use base-64 encoding or some such), but instead you need to use a byte. The corresponding DB type would be a BLOB.
Ping & DNS - updated with new look and Ping home screen widget