- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having difficulties using the intel xdk to port my mobile website to apps on different platforms. I have simply used an iFrame which displays the website in fullscreen as an app.
This all works well and I am able to login to my site and see all the data. The problem is that I need to upload an image from my phone to the website. I am using an asp:fileupload control for this. This control is part of my website so I cannot use other upload options which are available in the xdk. But the upload is only working on iOS and it is not responding when used on Android or Windows Phone 8. When I acces the website from my phone's browser everything works fine. Below is part of the code from the website:
<div class="row-fluid">
<div class="col-xs-12" id="pictureBox" runat="server">
<img src="Images/loadingGif.gif" id="LoadImg" width="256" class="center-block"/>
<img id="signaturePic" src="Images/loading.gif" class="img-responsive loadimage center-block" runat="server" />
<div style="margin:10px;" id="uploadfile">
<asp:FileUpload ID="FileUpload1" CssClass="center-block" runat="server" Height="50"/>
</div>
<div style="margin:10px;">
<asp:Button ID="upload" CssClass="center-block autosize-btn" OnClick="upload_Click" runat="server" Text="Upload" Height="50" />
</div>
</div>
</div>
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just found out that if I build the project using Cordova everything seems to be working fine on Android at least. Will update once I get the chance to test it on iOS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "Android" build target builds Android apps (.apk files) targeting Android version 4.2 (API Level 17) which may be preventing some functionality/features within the WebView. The "Cordova for Android" can be set to target the latest version of Android which at this time is 4.4 (API Level 19).

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page