Android Question [Solved] WebView that supports ionic framework

Rajesh kannan MJ

Member
Licensed User
Longtime User
Hi,

Is it possible to support and display ionic framework files in B4A?

I tried using file:// option but, it broke css. Also not sure whether it will support ajax.

I understand B4A and WebView based apps are completely different. But just thought whether it is possible.

Also, If anyone could create wrapper for Cordova, It can help to embed server in webview.

Thank you,

UPDATE: April 10, 2015
It is not the bug from webview. It is how ionic is supposed to render in Android webviews. So, the display differs from iOS. Thanks to Erel for yous cool and patience replies.

For more information about why/how ionic renders please visit this external site thread http://forum.ionicframework.com/t/s...k-good-in-android-device-and-emulator/20619/6
 
Last edited:

Rajesh kannan MJ

Member
Licensed User
Longtime User
Erel, Please download this file https://dl.dropboxusercontent.com/u/13171300/ionic-basic.zip and see if you can show it in webview.

Actually, the view should be looking like this below. But when I view, I see that broken in webview,

screenshot.png
 
Upvote 0

Rajesh kannan MJ

Member
Licensed User
Longtime User
@Erel I apologize on the webview issue. Actually, webview renders it correctly.

I asked ionic people on it. They told me that ionic is instructed to display things this way when rendered in Android. So, the look and feel differs from iOS.

You can see the thread here http://forum.ionicframework.com/t/s...ook-good-in-android-device-and-emulator/20619 . I wanted to post this link, because, it may be useful to any one who wish to combine ionic and B4A :)

Thanks again Erel,
 
Upvote 0
Top