R Rajesh kannan MJ Member Licensed User Longtime User Apr 7, 2015 #1 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: Apr 10, 2015
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
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2015 #2 I'm not familiar with the ionic framework. However WebView does support ajax. You can also load complex layout web sites with WebView. However you need to load them correctly. If you like upload the html and css files and we can help you load them. Upvote 0
I'm not familiar with the ionic framework. However WebView does support ajax. You can also load complex layout web sites with WebView. However you need to load them correctly. If you like upload the html and css files and we can help you load them.
R Rajesh kannan MJ Member Licensed User Longtime User Apr 8, 2015 #3 It is so kind of you Erel. I am attaching the zip files that contain all the required files. The file can be downloaded from https://dl.dropboxusercontent.com/u/13171300/ionic-basic.zip Please check Last edited: Apr 8, 2015 Upvote 0
It is so kind of you Erel. I am attaching the zip files that contain all the required files. The file can be downloaded from https://dl.dropboxusercontent.com/u/13171300/ionic-basic.zip Please check
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2015 #4 The angular framework is missing. Upvote 0
R Rajesh kannan MJ Member Licensed User Longtime User Apr 8, 2015 #5 Erel, They are called from CDN. Upvote 0
R Rajesh kannan MJ Member Licensed User Longtime User Apr 8, 2015 #6 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, Upvote 0
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,
Erel B4X founder Staff member Licensed User Longtime User Apr 8, 2015 #7 Please create a project with all the files and then export it with File - Export as zip. Upvote 0
R Rajesh kannan MJ Member Licensed User Longtime User Apr 8, 2015 #8 Erel, Here I created zip file in B4A , the ionic files are in Files folder. Basically the project runs. Please note that, in rapid mode it does not work. But in legacy and release mode, the browser shows html pages. Still, it is broken, https://www.dropbox.com/s/bmueetaje7yg4sj/ionic.zip?dl=0 Thanks for your help, Upvote 0
Erel, Here I created zip file in B4A , the ionic files are in Files folder. Basically the project runs. Please note that, in rapid mode it does not work. But in legacy and release mode, the browser shows html pages. Still, it is broken, https://www.dropbox.com/s/bmueetaje7yg4sj/ionic.zip?dl=0 Thanks for your help,
R Rajesh kannan MJ Member Licensed User Longtime User Apr 9, 2015 #9 Hi @Erel Please tell me if I need to provide more information, Thank you, Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2015 #10 See this thread about webview files: https://www.b4x.com/android/forum/t...g-rapid-”-b4a-3-50-version.38981/#post-230988 Upvote 0
See this thread about webview files: https://www.b4x.com/android/forum/t...g-rapid-”-b4a-3-50-version.38981/#post-230988
R Rajesh kannan MJ Member Licensed User Longtime User Apr 10, 2015 #11 @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
@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,