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. MediaScannerConnection

MediaScannerConnection provides a way to add a newly created (audio)
file to the phone's mediastore. However, I am wondering how to tell
the mediastore that the application deleted an (audio) file and
therefore is not available anymore ?

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

2. VerifyError with Maps Add-ons

After the first time I (re)install a new APK sometimes I get
VerifyErrors when an Activity references another Activity that extends
MapActivity.  The app will crash, and then when I restart it it works
fine.

This is only on 1.5 targets with the google API addons (target 3).  If
anyone has any suggestions please let me know.

Here is the logcat:
05-07 15:44:32.024: WARN/dalvikvm(16630): Unable to resolve superclass
of Lcom/tunewiki/lyricplayer/android/community/maps/MusicMapActivity;
(210)
05-07 15:44:32.024: WARN/dalvikvm(16630): Link of class 'Lcom/tunewiki/
lyricplayer/android/community/maps/MusicMapActivity;' failed
05-07 15:44:32.024: ERROR/dalvikvm(16630): Could not find class
'com.tunewiki.lyricplayer.android.community.maps.MusicMapActivity',
referenced from method
com.tunewiki.lyricplayer.android.player.VideoPlayer.launchMusicMap
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY: unable to resolve const-
class 464 (Lcom/tunewiki/lyricplayer/android/community/maps/
MusicMapActivity;) in Lcom/tunewiki/lyricplayer/android/player/
VideoPlayer;
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY:  rejecting opcode 0x1c
at 0x0004
05-07 15:44:32.024: WARN/dalvikvm(16630): VFY:  rejected Lcom/tunewiki/
lyricplayer/android/player/VideoPlayer;.launchMusicMap ()V
05-07 15:44:32.024: WARN/dalvikvm(16630): Verifier rejected class Lcom/
tunewiki/lyricplayer/android/player/VideoPlayer;
05-07 15:44:32.024: WARN/dalvikvm(16630): Class init failed in
newInstance call (Lcom/tunewiki/lyricplayer/android/player/
VideoPlayer;)
05-07 15:44:32.024: DEBUG/AndroidRuntime(16630): Shutting down VM
05-07 15:44:32.034: WARN/dalvikvm(16630): threadid=3: thread exiting
with uncaught exception (group=0x4000fe70)
05-07 15:44:32.214: ERROR/AndroidRuntime(16630): Uncaught handler:
thread main exiting due to uncaught exception
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):
java.lang.VerifyError:
com.tunewiki.lyricplayer.android.player.VideoPlayer
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.Class.newInstanceImpl(Native Method)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.Class.newInstance(Class.java:1472)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.Instrumentation.newActivity(Instrumentation.java:1097)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2186)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.os.Looper.loop(Looper.java:123)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
05-07 15:44:32.224: ERROR/AndroidRuntime(16630):     at
dalvik.system.NativeStart.main(Native Method)

Thanks,
Zach
--~--~---------~--~----~------------~-------~--~----~

3. canvas and android.graphics.camera 3d rotation issue

4. Settings.Secure.getInt got wrong value in AdbSettingsObserver

5. How to prevent Failed Binder Transaction

6. How to get Application Name from the process?

7. virgin map