read .txt file from URL
hi advance, i'm newbie here ;-)
could you please to help me :cry: my ex. case is: i've uploaded .txt file to server how can i read the .txt file from server URL and retrieve it to the app :oops: thanks before |
Re: read .txt file from URL
You will simply need to open a connection to the server with the appropriate URL and read the text file from the input stream.
If you are targeting BlackBerry OS 5.0 or later you may use the ConnectionFactory. For OS versions before that you will have to use the HttpConnection. |
Re: read .txt file from URL
thanks before, but could you mind giving me an example code
i use blackberry OS 5 |
Re: read .txt file from URL
There is example code in the API documentation for HttpConnection.
|
All times are GMT -5. The time now is 12:00 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.