johnkx's Forum Posts

  • R0J0hound I just checked, there's a Load Image in the action list, however, pasting the object works! Thanks alot!

  • Ragevortex I had tried your php script, it works just fine, thanks! By the way, can your script save .png files to server too?

  • R0J0hound

    Hi there, I'm trying to use paster to load an image, and get the Paster.imageURL to upload the image to my web server. However, it doesn't work as I thought. The saved image ( on webserver) is not the image I load, it is just a blank white image, I think the blank white image is the paster default image.. Why am I not getting the loaded image url but paster itself's url?

  • Hi there, I'm trying to build an application that is capable to let user choose an image from their mobile device and upload it to my web server. I had covered the image picking, but how could I upload the image to web server? Is it even possible to do so??

  • I have solved my problem by

    On button touched,

    • browser execute javascript "window.plugins.socialsharing.share(null, null, '"&CordovaScreenCapture.CapturedImage&"', null);"
    • browser execute javascript "stop();"

    At intel XDK,

    import third party plugin SocialSharing

    The trick is at the javascript, for more expression, please visit

    https://github.com/EddyVerbruggen/Socia ... Gap-Plugin

  • To do that, I used system take snapshot of canvas to take screenshot and Cordova ScreenCapture Plugin to save the screenshot into mobile device, works on android, but I haven't try on IOS..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there, can anyone share with me how to save a screenshot into a mobile device? I know the browser's invoke download doesn't work in mobile device.. Help please, thanks

  • Hi there, I'm trying to make Cordova ScreenCapture plugin work, I tried

    On touched button, Take snapshot of canvas (PNG, quality 75)

    System on canvas snapshot, Cordova ScreenCapture save screen capture to image file (tag("")

    But it doesn't work, can anyone please help me out?

  • Hi there, I'm trying to make Cordova ScreenCapture plugin work, I tried

    On touched button, Take snapshot of canvas (PNG, quality 75)

    System on canvas snapshot, Cordova ScreenCapture save screen capture to image file (tag("")

    But it doesn't work, can anyone please help me out?

  • Hi there, may I know is there any way to share a screenshot from a mobile app to other social application such as whatsapp, wechat, facebook? If yes, can anyone tell me how could this be done?

  • nice! It's working perfectly, thanks dude!

  • Hi there, I'm trying to build a mobile application. Testing the app on mobile devices, it shows black bar on top and bottom of the device, to solve this and to support multiple screen size, is there anyway to stretch the layout to fill the whole screen instead of showing the black bar?

    I had some idea, but it doesn't really work..

    Set a global variable myScale,

    At start of layout,

    • set myScale = WindowWidth/LayoutWidth
    • set layout scale = myScale
    • set layer scale = myScale

    Can anyone share how they make fullscreen on mobile device please..?

  • Hi guys, I have completed a game, and I tested the application, besides heavy loading time (about 4-5 second) between layout, everything works fine. I know large image will use up alot of RAM, so I had resized all my images. but when I tried my game with other phone, it doesn't work well, the app crashes sometimes or the background is missing. Below I'll show my app details, please give me some advise is my app very heavy for smartphones,

    Approx. download: 35.1mb

    memory use: 169.8mb

    Events: 381

    The largest background size: 2881,2010

    All the layout background size: 533,854

    Average animation frame per sprite: 80

    DEVICE USED FOR TESTING

    Asus Zenfone 5

    Android version 4.4.2

    ram 2gb

    Everything works fine

    Samsung S4

    Android version 5.0.1

    ram 2gb

    Could not load background image

    Samsung S3

    Android version 4.0

    ram 1gb

    Could not load background image

    Sometimes app crash

    Is my layout background size too large? Usually what is the appropriate size for layout?

    Please, I need advise..

  • cajarville hi there, I used Cordova Camera to get access to Android mobile camera and gallery, but it does not work for IOS app.. Let me know if you still wanted that demo

  • Whao, thanks guys! I have tried all of the method, it works great!