Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zamberform/insertview
Insert some Views on cocos2d-x by Jni
https://github.com/zamberform/insertview
Last synced: about 6 hours ago
JSON representation
Insert some Views on cocos2d-x by Jni
- Host: GitHub
- URL: https://github.com/zamberform/insertview
- Owner: zamberform
- License: mit
- Created: 2014-01-30T04:06:04.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-31T17:40:43.000Z (almost 11 years ago)
- Last Synced: 2023-03-22T21:59:22.445Z (over 1 year ago)
- Language: C++
- Size: 902 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
InsertView
==========Insert some Views on cocos2d-x by Jni
3 hours want to do something release.
and As Result
Made a sample demo what is about Jni on Android By cocos2d-x3.0 With the NativeActivity.I hava made Dailog Webview Activity and CustomFragment which you can directlly call on C++ by Jni.
Demo Looks like 「LoveLive」 Openning.(I like LoveLive~)Easy to understand, also
You can make your own test projects,download my file and input to your projects.
I think it will work well.Take Care Point:
You must clear to know MainUIThread and OpenGLThread.
We must add my own view which should run on MainUIThread.Have a good luck~~
the screenshot of 2.3.5
![Preview](InsertWebview3/shotscreen/device-2014-01-31-002352.png "android2.3.5")
![Preview](InsertWebview3/shotscreen/device-2014-01-31-002622.png "android2.3.5")
the screenshot on 4.0 up
![Preview](InsertWebview3/shotscreen/device-2014-01-31-130153.png "android4.0.3")