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. butuh konsultasi langsun

permisi suhu2 dan suhi2. nubie mau tanya nih.
saya mau tanya kira2 kalo mau konsultasi langsung sama suhu2 atau suhi2
harus kmn yaa?
saya tinggal di jakarta.
saya ada masalah sama dream saya, ga bisa nerima sinyal walaupun udah nyoba
ganti2 kartu. trs udah nyoba masuk ke network selection tetep ga bisa.
awalnya kemarin2 saya nyoba root,trs pas sampe cupcake ane berenti gara2 pas
masuk ke recovery modenya ga bisa2. trs lama2 dream ane ga bisa nerima
sinyal. apa ada kemungkinan dreamnya ke-lock ke T-mobile ya?? mohon sekali
bantuannya. saya mau konsultasi langsung biar sekalian bisa diliat dreamnya
knp.

-- 
"Indonesian Android Community [id-android]" 

2. (OOT) Need Help : Petinggi HTC/Sistech

Maaf crossposting,

Ceritanya begini, saya mempunyai HTC Magic garansi resmi. Pada awal
Mei, tiba2 handsetnya habis batere dan tidak bisa dinyalakan. Akhirnya
saya bawa ke Gadtorade di BEC karena belinya di situ. Dicoba-coba sama
bos Lucky untuk perbaiki ga bisa nyala juga, akhirnya diputuskan
dimasukkan ke service center. Nah kasusnya sampai kemarin, dibantu
sama bos Lucky nanyain ke service center Sistech di Bandung, tetap
dibilang masih belum ada kabar dari Jakarta. Dan sama sekali tidak ada
informasi kerusakan apa, dan perbaikan apa yang dilakukan sehingga
memakan waktu 2 bulan ini.

Semoga di sini ada petinggi/orang dalam HTC/Sistech yang bisa membantu saya.


Thanks.

-- 
"Indonesian Android Community [id-android]" 

3. Contacts listview question

4. How AJAX requests work on Android 2.0/2.1 vs. Android 2.2

5. ada androider surabaya yang bisa bantu ane root spica ane gak? :) pleaseeee

6. Newbie Android Only

7. Milestone dan Milestone XT720