JoakimForslund
11/27/2018, 12:52 PMprintf("Event: %s Value: %s ", event, value);
in a cinterop *.def file it does not seem to be sent to the stream output, is there anyway to make it show up the same way as println(..) does from commonCode ?svyatoslav.scherbina
11/27/2018, 12:54 PMprintf("Event: %s Value: %s \n", event, value);
JoakimForslund
11/27/2018, 1:04 PMJoakimForslund
11/27/2018, 1:06 PMvoid BroadcastEventToUser(const char* event, const char* value){
printf("Event: %s Value: %s \n", event, value);
if(bce){
bce(event, value);
}
}
but I can't spot any errors in the setupJoakimForslund
11/27/2018, 1:07 PMsvyatoslav.scherbina
11/27/2018, 1:20 PMJoakimForslund
11/27/2018, 1:24 PMsvyatoslav.scherbina
11/27/2018, 1:34 PMsvyatoslav.scherbina
11/27/2018, 1:35 PMprintf
function is not supposed to produce output to Android log streams: https://stackoverflow.com/questions/10274920/how-to-get-printf-messages-written-in-ndk-application
Can this be the cause of your issue?JoakimForslund
11/27/2018, 1:37 PMsvyatoslav.scherbina
11/27/2018, 1:39 PMprintln
!= printf
.
println
doesn’t use printf
when compiling to Android NDK.JoakimForslund
11/27/2018, 1:41 PMJoakimForslund
11/27/2018, 1:41 PMJoakimForslund
11/27/2018, 1:41 PM