Flynn
Flynn

Reputation: 6181

Android: Store Class file in Resources?

I am trying to store a saved class binary file in my application's resources. Where should I put it and how can I access it in the application?

Upvotes: 0

Views: 116

Answers (2)

Argyle
Argyle

Reputation: 3394

Put it in res/raw and access it like any other file, but don't expect to actually be able to execute it.

Upvotes: 1

KoVadim
KoVadim

Reputation: 727

Dalvic machine can't work with .class file. It only work with .dex file.

Upvotes: 1

Related Questions