WML support in Android Browser (WebKit)

by Senthil » Wed, 15 Apr 2009 13:41:04 GMT


Sponsored Links
 Recent Cupcake version (3281) of Android source picks up WML source
code (from WebKit).

I want to know whether or not WML feature works on Android phone.

When I try to open a WML page thru Android Browser, it just opens
the .wml file in text mode but it does not render it in WML page
format.

Thanks,
-Senthil
--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by XiangCheng He » Wed, 15 Apr 2009 21:17:47 GMT


 maybe you have to enable webkit's compile option first.

iPod €
2009/4/15 21:40 Senthil <senthilkumara...@gmail.com> 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


WML support in Android Browser (WebKit)

by Senthil » Thu, 16 Apr 2009 00:59:20 GMT


 Hello,

Since recent Cupcake version of Android picks up WML source from
Webkit, I tried compiling after enabling (ENABLE_WML) WML feature.
When I try to access some .wml page, Browser just opens .wml file in
text mode , but it does not creating WAP page.

Does Android support WML functionality in full-fledge ?

Thanks,
-Senthil

--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Jean-Baptiste Queru » Thu, 16 Apr 2009 01:00:36 GMT


 No.

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by stantonpk » Thu, 16 Apr 2009 07:57:12 GMT


 Why not?
Or rather -- since WML code from Webkit is in Cupcake build, is it
fair to expect that WML will be parseable and viewable?






--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Senthil » Thu, 16 Apr 2009 12:03:38 GMT


 Hello,

Any suggestions on required changes to make WML work on Android?
Does it require minimal changes or would take much time to make it
work?

Appreciate your answers on this.

-Senthil




--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Jean-Baptiste Queru » Thu, 16 Apr 2009 22:09:58 GMT


 The majority of WML is the management of the history state, the
multiple cards, the variables, events, the histry interaction with
WMLscript, which is all outside the realm of WebKit.

JBQ (who used to manage an engineering team that did a WML-compatible browser).








-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Mark Murphy » Thu, 16 Apr 2009 22:22:53 GMT


 > The majority of WML is the management of the history state, the

Moreover, the WML support in WebKit may not be complete, since the issue
for it is still "NEW" and has not been updated in months:

https://bugs.webkit.org/show_bug.cgi?id=20393


MLM (who remembers when WML was HDML)


-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Jean-Baptiste Queru » Thu, 16 Apr 2009 22:32:56 GMT


 Argh, you mentioned HDML, now I'm gonna have nightmares.

Android also doesn't support HDML (and we're not planning to do it).

JBQ (who still had engineers implementing HDML support in 2006-2007,
but thinks that HDML was more spiffy than WML).






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Anonymous Anonymous » Fri, 17 Apr 2009 23:49:30 GMT


 Is HDML still having a scope , i coudnt see any progress after HDML 3.0
which i guess happened back in 99.






--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Dave » Fri, 24 Apr 2009 00:23:27 GMT


 Hi Senthil,

Browser renderes .wml file as text file is because it treats .wml file
as "text/plain". Please comment one line in file "frameworks/base/core/
java/android/webkit/LoadListener.java" as follows to make it work.

private void handleHeaders(Headers headers) {
            ...

            } else if (mMimeType.equalsIgnoreCase("text/vnd.wap.wml"))
{
                // As we don't support wml, render it as plain text
                // mMimeType = "text/plain";
            } else {

            }
}

Dave







--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Anonymous Anonymous » Fri, 24 Apr 2009 08:18:55 GMT


 :) ,  "// As we don't support wml, render it as plain text ". This change
will not help to make wml work.
If you comment that it will  get downloaded as a file rite ? :)

2009/4/23 Dave <web668_...@hotmail.com>






--~--~---------~--~----~------------~-------~--~----~



WML support in Android Browser (WebKit)

by Dave » Mon, 27 Apr 2009 11:11:48 GMT


 Sure, you should do something else like Senthil said to make wml build
enabled, then browser should work for wml page rendering.  It already
works in my try :)

-Dave


On Apr 24, 8:18 am, Anonymous Anonymous <firewallbr...@googlemail.com>






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Is android available for SE P1i?

is there any community that is developing android for existing mobile
phones. i know about android for htc phones but is there anyone who is
working on sony ercisson phones like P1i? i have a P1i and i would
desparately want to have android on my phone.
kindly help.

--

2. Activity - calling finish() in onStart()/onCreate()

Hi,

I am confused with the SDK documentation which describes that Activity
states "onCreate" through "onResume" are "not killable" by the
system.

However, calling finish() in onCreate() (for example, as a response
to  SW error) seems to be working - the Activity goes directly from
onCreate to onDestroy skipping all the intermediate states. This seems
to be different from the documentationj  - see the Activity states
diagramm which doesn't show onCreate-->onDestroy path:
http://developer.android.com/reference/android/app/Activity.html.

Am I missing something?

Thanks
Alex

--

3. Not sure why my app installs twice (I see two identical ICON's).

4. BitmapFactory OOM driving me nuts

5. glgetfloatv

6. how to intergrate a graphic card driver to Android Kernel

7. Synchronous activity intent launch ???