Jayden
1
I read this http://www.cocos2d-x.org/boards/10/topics/655?r=657#message-657 and still have a few questions/would like to know if it applies to my situation.
What I am looking to do is
- open up a layer inside my cocos2d-x app
- User enters Username and Password
- Webserver sends back some data
- app takes the data, continues to the next scene
walzer
2
Use CCTextFieldTTF if you only need to input username & password.
Please read the source in tests/TextInputTest/ for as the sample.
Jayden
3
I actually still don’t understand how to do this.
Ideally, I have a webpage on my webserver.
I want the app to open up the web page in a layer.
Listen for data.
Store data and pass it to next page.
Close web page, go to next scene
walzer
4
Oh, in this situation, you had to implement your wrapper of web view in java layer, than invoke it via JNI.