mitchdowd / jnipp

C++ wrapper for the Java Native Interface
MIT License
106 stars 29 forks source link

method call does not support null arg #31

Closed qtfreet00 closed 4 years ago

qtfreet00 commented 4 years ago

such as


registerReceiver(null,new IntentFilter())

in jnipp

context.call(register_method,NULL,intentFilter)

this will cause compile error

error: call to 'valueArg' is ambiguous valueArg(values, arg);

qtfreet00 commented 4 years ago

use jni::Object()