[webkit-dev] S60WebKit MIME type question

Jack Wootton jackwootton at gmail.com
Tue Jul 14 08:04:49 PDT 2009


Plugins should follow the NPAPI
(https://developer.mozilla.org/en/Gecko_Plugin_API_Reference) and so
it shouldn't really matter if it pre-dates WebKit.  No doubt someone
else on this mailing list can offer more help here (since I'm new to
webkit).

If you sign up to the Symbian Foundation, then you can browse S60 code
online.  Unfortunately having had a quick look it seems there are no
reference plugin implementations in the code.  There are some s60
specific plugin files, using the Symbian Foundation cross referencing
tool, they can be found in:

/MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins
(http://developer.symbian.org/xref/oss/xref/MCL/sf/mw/web/webengine/osswebengine/WebKit/s60/plugins/)

On Tue, Jul 14, 2009 at 3:35 PM, Sam Critchley<scritchley at gypsii.com> wrote:
>
> Hi Jack,
>
> Thanks for taking the time to reply. The Nokia Platform Services resources
> are great, but currently only available in WRT on their S60 5th edition
> devices (5800 and N97). I think we're also going to look closely at the
> plug-in route as well - I wonder if there's a repository of standard
> plug-ins somewhere...
>
> I found the following on S60 browser plug-ins:
>
> http://www.forum.nokia.com/main/resources/technologies/browser_plug-in_api.html
>
> Unfortunately I think this pre-dates the WebKit browser, so I'm not sure it
> still applies....
>
> I did find some documentation on Ecom plug-ins as well. I assume that's also
> available through S60WebKit as well. The main question is whether there's a
> repository of existing plug-ins somewhere (e.g. if there's a camera plug-in)
> or if you have to code your own.
>
> Thanks,
>
> Sam
>
>
> On Jul 14, 2009, at 2:46 PM, Jack Wootton wrote:
>
>> If a browser finds a MIME type it cannot display (for example from an
>> <embed> or <object> tag) then is will iterate through available
>> plugins and load the plugin which handles that MIME type.
>>
>> Regarding camera on S60, you may want to take a look at:
>>
>> Nokia hvave released a beta version of the their new "Platform
>> Services" (JavaScript API to you and me), this includes a camera API
>> (the download includes a sis file which adds the new api to the
>> device, but it also comes with a JavaScript library which allows
>> pictures to be taken using the camera app and displayed using
>> JavaScript).  There are also sample widgets which use the camera API.
>>
>>
>> http://www.forum.nokia.com/info/sw.nokia.com/id/cccea743-f4e5-418f-ad9f-0a7a7f50868f/Nokia_Platform_Services_2_0.html
>>
>> For something which isn't in beta, Nokia provide a JavaScript API for
>> launching 3rd party applications (you just supply the UID of the app
>> you wish to launch - I don't know how you can transfer data from the
>> app to the webkit environment though).  The API is part of Nokia's Web
>> Developer Library found here:
>>
>>
>> http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-4D13AF3F-4733-44E7-996F-F27A11C9D6BF_cover.html
>>
>> You want to look at Web Developer's Library 1.7 > Web Runtime widgets
>>>
>>> Developing widgets > Web Runtime API reference > JavaScript Service
>>
>> API reference
>>
>> On Tue, Jul 14, 2009 at 1:21 PM, Sam Critchley<scritchley at gypsii.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Apologies for the very basic question, but I'm trying to find out how you
>>> can use custom MIME types in WebKit on S60 (3rd and 5th editions). We're
>>> looking at doing something like triggering the S60 camera app using a
>>> camera
>>> button in a web form (which is accessed in an app using Webkit for
>>> content
>>> display), take a picture, insert it into the form, and POST it to the
>>> website. Can anyone point me to information on how/whether we could do
>>> this?
>>>
>>> Thanks,
>>>
>>> Sam
>>>
>>>
>>> ***********************************************
>>> Sam Critchley
>>> VP, Products and Co-Founder
>>> GyPSii
>>> http://www.gypsii.com/
>>> scritchley at gypsii.com
>>> GyPSii HQ Amsterdam
>>> Mobile: +31 6 28 233 133
>>> Landline: +31 20 715 5915
>>> Fax: +31 20 524 8896
>>> Join the GyPSii mobile lifestyle
>>> Download GyPSii to your phone
>>> Latest GyPSii Place
>>> ***********************************************
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>>
>>
>>
>>
>> --
>> Regards
>> Jack
>
> ***********************************************
> Sam Critchley
> VP, Products and Co-Founder
> GyPSii
> http://www.gypsii.com/
> scritchley at gypsii.com
> GyPSii HQ Amsterdam
> Mobile: +31 6 28 233 133
> Landline: +31 20 715 5915
> Fax: +31 20 524 8896
> Join the GyPSii mobile lifestyle
> Download GyPSii to your phone
> Latest GyPSii Place
> ***********************************************
>
>
>
>
>
>
>



-- 
Regards
Jack


More information about the webkit-dev mailing list