I want a second Activity to use the DropboxAPI object (mApi here) and invoke the Dropbox api methods….
how can i pass it….
basket.putParcelable("key", mApi);
basket being a Bundle object..
has the error”The method putParcelable(String, Parcelable) in the type Bundle is not applicable for the arguments (String, DropboxAPI)”
would casting work??basket.putParcelable("key", (Parcelable) mApi);
is it possible to send it as a Bundle??
please help…
If the
DropboxAPI<AndroidAuthSession>class does notimplement Parcelablein it’s code, you can’t put it in anIntent. You can only putParcelableobjects. If you have access to the source, you should make it implementParcelable.This is a good place to start