Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17075

What will be the substitute for "runOnUiThread" in cocos2dx C++

$
0
0

@sanjaya wrote:

runOnUiThread(new Runnable() 
 {
    @Override
    public void run() 
    {
      progressDialog = ProgressDialog.show(GameActivity.this, "", Constants.ALERT_CONN_ERR_RECOVABLE);
    }
 });

How we achieve the same functionality in cocos2dx C++? Without using JNI Call.
Tutorial or code snippet or link regarding this will be helpful.

Posts: 13

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 17075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>