Help in JAVA and JNI and C language

Dears ,

I have a small task , I have c code that define JNI . the java will call the header

the c code is :


JNICALL Java_project_projectNative_getdata

(JNIEnv *env, jobject, jstring password)


// example format , unsigned char pin[] = {0x31, 0x31, 0x31, 0x31};





what I want is just a code that receive the jstring Password and assign the value of it to unsigned char pin[] as hex

the input of password is String and it will be like this "1,1,1,1"

it should be converted to unsigned char : {0x31, 0x31, 0x31, 0x31}


Evner: C programmering, Java

Se mere: java jni unsigned char, what programming language is this, what programming language, what is programming language, what is a string in programming, what is a programming language, the java programming language, the c# programming language, the c programming language, the c language, string programming, string in c programming, string c programming, programming language and it, programming define, java programming help, in java programming, hex programming, help in programming, define programming language, define programming, define c programming, c string programming, c programming string, c programming example

Om arbejdsgiveren:
( 3 bedømmelser ) riyadh, Saudi Arabia

Projekt ID: #993800

2 freelancere byder i gennemsnit $40 på dette job


Hello, Please view PMB. Ashwin

$50 USD in 2 dage
(40 bedømmelser)

Please check PMB.

$30 USD in 2 dage
(65 bedømmelser)