views:

69

answers:

1

I have an application that queries a server (not under my control). The server returns a serialized object. I have the model for the class - however the problem is that the class is in "default package"... something not recognizable by Android ClassLoader.

How can I resolve this issue?

A: 

And tell whoever created the class, possibly yourself, that Java classes within packages haven't been able to access classes not within packages since Java 1.4 came out, about eight years ago. Put the class into a package.

EJP
Wondering if this can be done by creating a custom class loader specifically for this purpose?
MasterGaurav