When i run some of my ML scripts i can see that VM is not loaded fully. Make sure you not upgrade Oracle VM and use the one you installed with Genymotion. The issue seems that mac OS unzips the package if the option is checked and renders it unrecognisable by the Genymotion Emulator and hence does not get flashed but simply copied to the sdcard. Thanks to who found the problem and posted a solution in the comments! You may need to add similar adapters to your VBox copy at a new host box. Deleting the ova and deploying files did not work neither did reinstalling help. MoveWindow( hwnd, x, y, x + rectCurrentWindow.right - rectCurrentWindow.left, y + rectCurrentWindow.bottom - rectCurrentWindow.Genymotion ova files genymotion ova filesĭownload genymotion ova files Obviously, the new host must have Genymotion and VirtualBox installed. GetWindowRect( hwnd, &rectCurrentWindow ) HWND hwnd = pGLView ? pGLView->getWin32Window() : NULL Restore window position (Do this first, as it create black borders in the OpenGL window)Ĭocos2d::Director* pDirector = cocos2d::Director::getInstance() Ĭocos2d::GLView* pGLView = pDirector ? pDirector->getOpenGLView() : NULL #if defined(_COCOS2DX_) & defined(_WIN32) Void Graphics::SetWindowPosition( int x, int y ) Here is my SetWindowPosition() for example… // Set the window position to the provided coordinates You save/load the position in/from your user defaults.Īll you gotta do is retrieve the window handle from cocos, and use that to move the window (or access the position to store it). You dont always need to connect the device with the cable, instead you can enable wireless adb with some good apks from the app store, that would also work wonder (only if both the devices are connected wirelesly to the same router). Get an android device for test, GenyMotion is a bit faster but when it comes to android a real device is better to test. Where the number 20 is the android version number of your SDK Try to compile in the command prompt only. Use eclipse only if you are very naive (still I wouldn’t recommend) else use sublime text. ![]() I found an android tablet but then it was a pain in the butt to find it’s adb driver, ofcourse you can use universal adb drivers, if they are supported. So, like most of the post suggest to get a cheap android device to test, I would go with it.īut do check that they don’t need to install any drivers or if needed, they have their adb drivers available. Personally I found IOS simulators great, but they are not available when it comes to android development. When it comes to testing, android says that installing some intel HAXM will increase the speed of the emulator but that’s just a myth. So, I recommend not to use eclipse, if you are even little experieced. However, if you are new may be eclipse will help you in getting autocomplete feature, in return for a lot of crash. I used to develop in a windows device for android, so I used to edit on sublime on one side and command prompt on the other side. I was a part of android development team, where we were using very naive methods. I’ve only been through a couple of posts from the start. ![]() I love IntelliJ IDEs, they are for me the best IDEs. I’ll try what was suggested, to spend almost all the time developing under win32 or mac and just make few tests on android device when I figure it is applied don’t like Eclipse, never liked it, even I was using it for Java. ![]() My only complain was about the time to deploying to android emulator. I’d like to stand on C++ for some reasons (performance, “universal language”, native, some other enginers also use it, and so on). So I never used USB debugging before, I guess it suppose to work directly on device instead of emulator, sounds pretty good for me, and I’ll check it out for this work know the ability of Cocos2D to handle JS and Lua languages as a wrapper framework, but I really don’t want it. ![]() I’m new on mobile developing and still doing everything on my own. I have two android devices, one is my main phone, a Sony Xperia, the other I only bought for testing and this is a very cheap one because I want to test the app and game performance on low devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |