Sony Ericsson / Sony : GPRS, WAP, MMS and Email setup : Local homepage for faster startup of browser on k790/800.
>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
GPRS, WAP, MMS and Email setup
> Local homepage for faster startup of browser on k790/800.
Bookmark topic
Hello.
I finally found out how to make a "saved page" the homepage/startpage in the browser on my k800, and want to share this with other users. I'm sorry if this is already covered in some other threads, I did try searching for it here witout finding anything, though. I don't know how this will work on other SE models.
Anyway, this will achieve two things; faster startup of the browser, and less gprs traffic for you wich in turn means less cost.
First save a HTML page of your choice. (I just saved the "about:blank" from IE) on your handset. I don't know if it will work with an empty file. Adding a local "portal" with searches like the one in Opera could also be a good idea, but I havent gotten that far yet myself. Note the name of the saved page.
Then, change the homepage by entering Settings - Connectivity - Internet profiles (your prefered profile should be chosen here) - More - Advanced - and ofcourse change homepage.
Set the name to whatever you want. Remember, this will appear at the top of to "Go to" menu item in the browser.
And now, the tricky part, (before you learn how, anyway) the URL:
." target="_blank" rel="nofollow]file:///usb/Webpage/saved_pages/[the_name_of_the_page_you_saved].
I hope this can be of some usefullness to some of you. Cheers!
[ This Message was edited by: mikeri on 2006-09-17 02:45 ]
--
Posted: 2006-09-17 03:41:25
Edit :
Quote
Ever heard of cache? Well your phone automatically saves page content for efficiency.
:Edit:
I take that back, not a bad idea max!!
_________________
Sony Ericsson For Life
Proud Owner OF

T68i

p800

K750i

K800i

T226

K700

V800

W900i

[ This Message was edited by: Sirhackalot on 2006-09-17 04:06 ]
--
Posted: 2006-09-17 04:11:05
Edit :
Quote
still, it means you can design your own start page. The trick works on most SE handsets from K750 onwards.
--
Posted: 2006-09-17 04:22:31
Edit :
Quote
Sirhackalot, I know what caching is, I am not a n00b. There are html/xml tags for disabling cache, and a lot of branded phones tend to be pre-set with dynamic pages as their homepage.
My NetCom (Norwegian provider) branded set always insisted on connecting to their wap portal (easily changable, but anyway...) on browser start. It -never- loaded from the internal cache. This created a delay that in the worst cases lasted for up to 10 seconds or more, if you include loading of the whole page. If I cancelled the connection before the downlading started, the browser quit, and sent my back to the main screen. Frustrating for users that are obsessed with responsiveness.
By pointing to a local saved pages, you will be assured that the phone will never need to connect and download (even though it says "connecting" for half a second or so) when firing up the browser.
So forgive me for my ignorance, but for me this trick has helped a lot. Now i click the browser button, and after one second, it's ready for use. And, as max_wedge pointed out, you don't need to have a web-space for having your own start-page.
--
Posted: 2006-09-17 16:35:13
Edit :
Quote
Thanks Mikeri, great idea!
I tested this, hacked up a simple HTML file straight in the phone using MobyExplorer and saved it on the memory card of my K800i, and noticed that the browser would not find it. The address you have is for a file in phone memory. Do you, or anyone else, know the (browser) address for files on the card?
Also, does anyone have the file system address for the

start page on unbranded phones?
I plan on making a simple start page similar to the Opera one, but I guess that it is not possible to include history and bookmarks, even with Javascript.
--
Posted: 2006-09-20 14:19:46
Edit :
Quote
jadler,
try to replace "usb" with "card" in the URL when pointing to a page saved on the memory stick.
I'm afraid you're right concerning a dynamic local page, it can't be done. (afaik) Personally, I'm more than happy with a fast Google-search. And you do ofcourse know that a Google query pops up when you press the 3-key.
--
Posted: 2006-09-21 00:12:44
Edit :
Quote
@mikeri
Javascript works fine, but as I understand it (have not coded in javascript in years) I do not have access to history URL:s or titles from javascript. There was no problem getting e.g. navigator.userAgent though:
SonyEricssonK800i/R1ED
Browser/NetFront/3.3
Profile/MIDP-2.0
Configuration/CLDC-1.1
According to Access the browser understands ECMA Script 262 3rd edition, and according to ecma-international.org this is the official vendor-neutral specification for what is usually called JavaScript. News to me, but I guess some of you knew this already.
Mikeri, would you mind if I make a generic start page, write a readme with instructions (of course giving you credit), zip it up and upload it on my server, link from here?
--
Posted: 2006-09-21 08:32:16
Edit :
Quote
What is the internal address to the internal start page you get when you select the internet icon on the desktop menu? (The one with the google search entry)
--
Posted: 2006-09-21 09:23:06
Edit :
Quote
An alternative to the saved_pages location is to create a index.xhtml file, as complex as you like, with images, icons and subpages and store them in a subdirectory of the others folder in the phone. On the K800, the address will be
file:///usb/other/your_folder_name/index.xhtml
Of course, this requires some xml skills, but in the end, you will have a really cool customised startpage, located on the phone.
Replace usb with card for memory stick locations. Also, note that the folder name is "other" regardless of which language that is active in the phone.
--
Posted: 2006-09-21 10:03:00
Edit :
Quote
Quote:
On 2006-09-21 09:23:06, altemyr wrote:
What is the internal address to the internal start page you get when you select the internet icon on the desktop menu? (The one with the google search entry)
I asked the same question earlier, still no answer. That is currently the major reason that I tried to get the URL of the previous page in history.

(Going to the internal start page, then to my own start page, letting it display the URL of the previous page, but no luck so far. Have not tried document.referrer yet, but as the internal start page does not link to my start page I doubt that it will work.)
By the way, I think 'Other' should be capitalized, as in
file:///card/Other/myStartPage/start.html
-- but I have not tested it on my phone yet, it is in USB file transfer mode for start page transfer.
Addition: Have a test version at
http://usr.se/src/mobile/ -- will update in a few minutes.
_________________
Johan Adler
Stockholm, Sweden
photo blog, K800i
=johan.adler
[ This Message was edited by: jadler on 2006-09-21 09:47 ]
[ This Message was edited by: jadler on 2006-09-21 11:25 ]
--
Posted: 2006-09-21 10:43:08
Edit :
Quote
New Topic
Reply