android - Java for each issue -


Actually I was searching for the same question in an example or stackoverflow and I get this one. That's why I'm using Android-Drôde in my example, which I give code. Whatever I have to do, the purpose is similar to the C code that he is using:

StPacketInjectQueryPackage qType = (StPacketInjectQueryPackage) [[Q objectForKey: @ "Type"] intValue]; .

According to your code ... My question is how can I do this ... code using my java

Edit (my problem):

If I use his code, then how can I get the item: "Type" in Java. I think it should be like this:

  RPCPacketInjectQueryPackage qType = (RPCPacketInjectQueryPackage) b.getKeys   

or b.get ("type "

p> Every Java is well documented in standard Java documentation For example:

If it does not adequately explain what you are trying to do, then I would suggest taking a knife in Java and then ask a question on stack overflow Your code is wrong with it if you can not get to work.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -