After two days of work I managed to build Android version of all dependencies of MnMS, and the game itself.




acme_pjz {l Wrote}:Finally, it works
acme_pjz {l Wrote}:The next thing to do is improve UI and performance (currently it runs smoothly on my Samsung Galaxy SIII except for the fading screen), after V0.5 release
acme_pjz {l Wrote}:In order to compile it, the name of findlocale.c must be changed to findlocale.cpp and change some code in itI don't know if it's OK to change SVN version to that?
Edward_Lii {l Wrote}:There is however a small problem with the included md5 code.
The license of the code segment seems quite permissive and might be DFSG compliant, but I'm not sure...
As far as I can see the code is in Debian's curl package and no patch file is changing/removing it.
Edward_Lii {l Wrote}:Anyway, maybe I'll try to compile it and run it on an android devices myself if I find the time for it.
acme_pjz {l Wrote}:Maybe we should write some comments says that this code is taken from libcurl md5.c, it is in turn taken from MD5 reference implementation (not sure)![]()
acme_pjz {l Wrote}:EDIT: I have uploaded it here: http://sourceforge.net/projects/meandmy ... y/download Somehow the file name is incorrect, at first I want to create a "android_dependency" folderThe actual file name is "mnms_android_dep_src.7z"
Edward_Lii {l Wrote}:I will try and extract the md5 code and implement it into meandmyshadow.
Should this become the default method, or should we still depend on openssl?
Edward_Lii {l Wrote}:I see, there are quite a few changes and to libraries that aren't really bundled with meandmyshadow at the moment.
We need a way to separate desktop and android development in a clean way.
What could work is creating a new separate svn repository for the android libraries and configuration files.
That way the main repository will not contain android specific files like the appsettings and icon.
acme_pjz {l Wrote}:I think your code has some obvious mistake. Did you test your code?I fixed it in latest SVN.
acme_pjz {l Wrote}:If we separate a new SVN then it's hard to make the code up to dateIMHO there are only some #ifdefs and two additional files which are only a few KBs. For the dependency libraries, because it changes not so often, so IMHO we don't need to put them into SVN, and let the developers download them on SourceForge.
acme_pjz {l Wrote}:Unfortunately, addons doesn't work on Android even if wifi is connedted, it just freezes
acme_pjz {l Wrote}:Finally, it worksThe document of SDL 1.2 Android port is frustrating and confusing
It said that we should use SDL_SWSURFACE and 16bpp in the code and use software mode in the fmwhatsapp config file, but maybe it's wrong because I can only get black screen
And there http://www.anddev.org/code-snippets-for ... 8-270.html also said that
![]()
The corrent one is use SDL_HWSURFACE and 32bpp (?) in the code, but use software mode in the config file. Then it works![]()
There are some photos:
The next thing to do is improve UI and performance (currently it runs smoothly on my Samsung Galaxy SIII except for the fading screen), after V0.5 release
Users browsing this forum: No registered users and 1 guest