I'm not quite sure what you mean - the android browser app is built on
top of WebView, which is in turn built on top of WebKit..

Writing a browser is a major task, even if you build it on top of WebView.

JBQ

On Wed, Dec 3, 2008 at 10:35 PM, ifelder <[EMAIL PROTECTED]> wrote:
>
> Curses.
> How big of a pain would it be to write my own browser?
> it would be essentailly just a webview would it not?
> i dont understand why the android team put so much effort into
> building their browser up and not bulding up webkit...
>
>
> On Dec 3, 11:41 pm, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
>> Indeed, the built-in android browser uses a variety of private system
>> APIs, very unfortunately, which means that rebuilding it in order to
>> be able to install it on a G1 as if it was a 3rd-party application is
>> hard enough to be essentially almost imporsible.
>>
>> JBQ
>>
>> On Wed, Dec 3, 2008 at 4:22 PM, ifelder <[EMAIL PROTECTED]> wrote:
>>
>> > I changed the user agent variable (from 0 to 2) in the source code,
>> > compiled the source and swapped the system.img files in the android
>> > SDK emulator images folder (/android-sdk-linux_x86-1.0_r1/tools/lib/
>> > images/system.img).
>>
>> > The emulator loads the new browser fine and displays an iPhone user
>> > agent string. (the setUserAgent() method in webview.websettings has a
>> > preset function to set user agent as iphone).
>>
>> > What i dont know how to do, is get the browser that i created, off the
>> > emulator and onto my physical g1.
>> > I tried loading the files located in ~/bin/mydroid/packages/apps/
>> > Browser into the folder created when i created a new project in
>> > Eclipse using the file name Browser, activity name com.android.browser
>> > etc. (matching the file as if it were alone) but when i tried to build
>> > just the browser application eclipse throws 100 errors and 49
>> > warnings.
>> > I assume this is because there are file dependancies that exist in
>> > their proper places in the source code, but not when i try to compile
>> > just the browser application.
>>
>> > What do i need to do to compile the browser and create a .apk file i
>> > can transfer to my g1?
>>
>> > Any help is appreciated,
>> >  thanks
>>
>> > Ian
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to