foxcode Posted January 31, 2015 Share Posted January 31, 2015 Hi everyone. I have some pet HTML5 game projects that work great on my desktop, and on my phone. I wanted to try and convert them to an android app, so used cocoonJS. Everything seemed to work well. I installed the app onto my phone using the android sdk, and it worked great. The problem came when I left the house and thus the range of my wifi, the app installed on my phone stopped working. The ludei flash screen shows up but after that I just get a white screen. I tested again when I regained internet access and it worked fine. There is nothing in my code that requires internet access, and I am not sure why this is a problem. Has anyone else run into this issue before? or can anyone recommend a similar alternative. Thanks Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 31, 2015 Share Posted January 31, 2015 I don´t understand what you´re doing here... but anyway, you can zip your project and upload it to your phone. That way you can test it without any kind of problem. Quote Link to comment Share on other sites More sharing options...
foxcode Posted January 31, 2015 Author Share Posted January 31, 2015 I am simply installing an app onto my phone. But the app doesn't work when the phone is not connected to the internet. The app does not use the internet so this makes no sense to me Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 31, 2015 Share Posted January 31, 2015 To be honest I use the app connected, usually I test the games locally but I upload it often to my host to try them with the cocoon launcher because it´s easier than the zip file thing... but well, you shouldn´t have any kind of problem with the zipped file, that´s pretty weird. Quote Link to comment Share on other sites More sharing options...
Olle Posted January 31, 2015 Share Posted January 31, 2015 You're not confusing the ludei launcher with your own apk? Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 31, 2015 Share Posted January 31, 2015 Hahaha, ok, sorry, pretty tired tonight Anyway, why do you install that app with the Android SDK? Why don´t you installing "normally"? Usually I copy that .apk to a folder (I have the TEST folder in my devices) and click on it. I tried an apk with the wifi and data off and it works perfectly, are you sure you´re not loading externally a lib, asset...? Quote Link to comment Share on other sites More sharing options...
foxcode Posted January 31, 2015 Author Share Posted January 31, 2015 Sorry guys, I'm retarded and this is why. <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> Thank you for indulging a moron, will include it locally next time Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 31, 2015 Share Posted January 31, 2015 Hahahaha, no worries mate, that was easy Quote Link to comment Share on other sites More sharing options...
Gods Posted January 31, 2015 Share Posted January 31, 2015 Cocoonjs wrapper doesnt download the external sources? I believe phonegap does. This is good to know! tho I always use local. Quote Link to comment Share on other sites More sharing options...
totallybueno Posted January 31, 2015 Share Posted January 31, 2015 Not sure, but I think it doesn´t... but I´m not gonna try it now, enough coding for today Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.