I have done it with constructors, where i use to populate the values and add those values to the new object created. This can be retirved on the java side.
Say, if i have empty constructor and have setter methods(say, 4 methods), whose value will be filled in the native side and i have to create a object out of all these setter methods(say, 4 methods).
code below is for constructor.... how to create object using four different methods................
Can you give me a sample code of it please.... because, as of now i am populating the values in constructor and also NewObject is taking constrcutor as a parameter, which we are finding using GetMethodID. In case we have two setter methods, they ll ve different jmehtodID. How can i pass these two in NewObject? I am confused only at this point... Please clear me the air....