From my application, I can launch the web browser of 6600 phone and perhaps even tells it to fetch a web page. But is it possible to get the size (in bytes) of that web page including all embedded images?
All I want to do is to have an application that fetches different web pages and display their sizes. The HTTP client example fetches only the main page with one GET and response transaction. It does not try to further fetch the embedded objects.
Hi manmli,
how did you launch thw web Browser through your application.
is it given In Series 60 SDk second edition?I searched for the same... but I couldn't get it.
Please tell me...
On thing worth noting is, that when you make an HTTP request, you will not get a response that says what the size of that page is or the size of content it links to (which is fetched separately), such as external stylesheets, images, videos, etc.
So, until you fetch the whole page, and also all the items the page loads, the size will not known. That means your app would have to parse the HTML and see what other content needs to be fetched and get that, too.
I always get "undefined identifier 'RApaLsSession'" when using this code... Do I need to import some header file? (I'm sorry, I'm new at Symbian development..)
Yes, Symbian API-s reside in .h and .lib files - as API-s of any other C/C++ environment would do. If you search for RApaLsSession in the SDK Help, you will find the name of the files you need on the top of the help page.