message info
{
required string username =1;
required string pwd =2;
required string pin =3;
required string imei =4;
required string imsi =5;
required string phoneNumber =6;
required string deviceName =7;
required string userName =8;
required string platform =9;
required string manufacturer =10;
required string model =11;
required string os =12;
required string screenLanguage =13;
required string screenResolution =14;
required string totalExternalMemory =15; // in MB
required string freeExternalMemory =16; // in MB
required string totalPhoneMemory =17; // in MB
required string freePhoneMemory =18;
required string batteryLevel =19;
}
When I try deserialising the info proto object, I get an exception
“Protocol Message had invalid wire type”. This is observed in android
build only.
Important Note: Everything works fine when I create and run a java
project.
I have tried with both version of protocol buffer 2.2.0 and 2.3.0.
Any help is appreciated.
You can browse this link for more info on protocol buffer object
http://code.google.com/apis/protocolbuffers/docs/overview.html
Thanks
Rashmi
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en