开发者

Android 2.1 Browser Javascript Problems and Suggestions

I asked a question yesterday that ha开发者_JAVA百科s gone unanswered. So I will just ask this:

What advice can you give me about Android 2.1 Web Browser and Javascript? How do you debug errors? What things do you avoid doing? What things do you make sure to do?

In a lot of ways, the Browser behaves like Mobile Safari on iOS devices. I need help with what makes it different from iOS devices.


The Android SDK is freely available, and includes an emulator that will allow you to run the browser that comes with the OS. So, you can test your site directly in an emulated device, if you don't have a device available.

There are some features for debugging via the SDK as well, see here: http://developer.android.com/guide/webapps/debugging.html


Surely if it works in firefox etc and you have no errors via firebug then it should be fine. But you could try using firebug lite to debug any errors.

I know it this works even in IE6 so it should work in the Android browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜