Smit's Recent Forum Activity

  • I'm building an Android app that exceeds the size limit for a normal app. This is because of the amount of videos that need to be in the app. To make things more complicated the app needs to work offline and needs to be distributed from our own (my employers) website.

    How I would like to see it working:

    1. User downloads the app (without the video)

    2. The app starts, user is promted to a login

    3. Once logged-in, the user is promted to wait for the download to finish before the app can continue.

    4. Download is finished, the app can be used.

    The app only needs an internet connection for the initial download, other then that the app needs to work offline.

    Is anything like this possible from within Construct2? Any alternative solution or workarounds are welcome.

  • Can you download a (series) of files to a specific location on the sdcard of an Android device?

    I need a number of mp4 files to be downloaded to the device to a specific location on the sdcard, the app i'm making will then use the (local)path to the mp4 files. I need to this to bypass the maximum app size that is allowed. The app needs to work offline.

    It would also be helpful if I could create a progress bar for it.

  • Is it possible to detect what Android version your app is running on?

    I would also like to know if its possible to detect your connection (WiFi, 3G) from an Android app. The browser functionality doesnt work in my tests from within an app.

  • After doing some more research it turns out that the broken video tag is a problem with Webview and only effects older android versions. I've tested this on Android 4.0+ and the video plays correctly.

    However autoplay doesnt work, neither does the "on ended" event.

    Since I'm targeting android 4.0+ users the problem is solvable <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • RoSecco rexrainbow : on ipad/iphone (ios in general), the <video> can't work like that. In fact, if you want to launch a video, it's going to display in fullscreen, with the controls of the platform (meaning you can't style them, you can't autoplay the video, and you don't have any info about when it's finished).

    Does this mean you cant use the "on ended" event?

    I'm also having problems using this plugin when building an Android app. I found a post saying that the video tag is basically broken on Android. But there is a solution here, is it posible to combine/implement this in the plugin?

    Or another workaround?

Smit's avatar

Smit

Member since 7 Mar, 2013

None one is following Smit yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies