dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by yukuza 2 years 11 weeks ago

pic
 yukuza
mobiForge Newbie
Posts: 8
Joined: 2 years ago
[offline]

Hello everybody,

does anybody know how dashcode created webapps can be viewed in other Browsers than Safari / Mobile Safari? I tried to load a simple dashcode Webapp with the Browser of the Android emulator and it doesn't worked properly. Simple javascript handled links aren't working.. Can it be possible?

thanks alot

Posted by ruadhan 2 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

I find that a bit surprising.. have you tried on a real Android device?

Ruadhan O'Donoghue
dotMobi

Posted by yukuza 2 years ago

pic
 yukuza
mobiForge Newbie
Posts: 8
Joined: 2 years ago
[offline]

No I haven't, because I don't have a real one. Tried a simple very basic dashcode "browser template" an the android simulator is displaying it but the js handled list elements aren't working at all. These are represented by a js function called browser.goForward. First of all I thought the corresponding js librarys wouldn't be available. But they are in the right directions.

I am wondering myself, because it's all simple javascript, html and css. I might work!!

By the way: I tried Google Chrome on the Desktop and it works perfekt!

Posted by ruadhan 2 years ago

pic
 ruadhan
dotMobi logo
Mobile Champion
Posts: 710
Joined: 5 years ago
[offline]

Well even though the Android browser and Mobile Safari are both based on Webkit, there are still differences, but often an iPhone optimised site will work with no problems on Android browser. Do you have a link to your webpage and I can check it out on a real device?

Ruadhan O'Donoghue
dotMobi

Posted by yukuza 2 years ago

pic
 yukuza
mobiForge Newbie
Posts: 8
Joined: 2 years ago
[offline]

ruadhan wrote:
Well even though the Android browser and Mobile Safari are both based on Webkit

This is, what I thought! They are both based on Webkit!

Well, that would be very appreciate.. Here's a link, not to my Website, but just to a very very basic dashcode Webapp. Just uploadet the standard browser template, for checking a miminum of compatibility, try this:

http://www.dashcodetest.mynetcologne.de/androidtest/index.html

thanks alot..

Posted by yukuza 2 years ago

pic
 yukuza
mobiForge Newbie
Posts: 8
Joined: 2 years ago
[offline]

Any suggestions? I found out, that the user-agent-string of the android emulator sends another Webkit version than Safari. Could that be the reason.

My idea is still, that some javascript librarys might be missing, so that the goForward Method doesn't work. But I don't know wich or why..

Posted by yukuza 2 years ago

pic
 yukuza
mobiForge Newbie
Posts: 8
Joined: 2 years ago
[offline]

Well, I'm still into it and maybe this helps you, to help me:

ok.. the thing is, in my opinion the android's browser isn't even getting the onclick functions. I just alerted some simple status messages in the javascript files, right at the beginning of each js function, the event must go through. So I added an alert called "itemClicked reached" in main.js and one called "goForward reached" in Browser.js and none of them is being displayed in android after clicking on an item.

The other thing is, that (as you might have noticed) this blue color highlightning hasn't been displayed after clicking an item, so that it seems, that the availability of the onclick event is just not supported. So the problem starts right at the beginning and is probably less an incompatibility of the functions themselfes! But how could it be, that standard html/javascript onclick handlers aren't supported?

Posted by RCCollins 2 years ago

pic
 RCCollins
mobiForge Newbie
Posts: 1
Joined: 2 years ago
[offline]

I have also been trying to run dashcode sites on an android device and can verify that it does not work. I have a Droid (2.0) and even a basic site is no dice.