Commit Graph

18 Commits

Author SHA1 Message Date
akwizgran
020e4df8d9 Added boilerplate bundle encryption code to HelloWorldActivity.
It would be nice to be able to put this code in a superclass, since in
the case of an activity like this it only deals with superclass state.
2013-02-19 00:54:21 +00:00
akwizgran
d136964bea Fixed a logging message in the bundle decrypting code. 2013-02-19 00:43:36 +00:00
akwizgran
9215537d80 Refactored bundle encryption code. 2013-02-19 00:41:50 +00:00
akwizgran
f33348ff98 Use static injection to allow superclass state to be encrypted.
Mutable static fields should be avoided, but this is the only way to
make the bundle encrypter available before calling
RoboActivity.onCreate(), which needs to be passed the decrypted state.
2013-02-19 00:11:10 +00:00
akwizgran
51db9ce1fd Encrypt bundles in case the OS writes them to unencrypted storage.
Only the bundle contents created by Briar classes are encrypted.
2013-02-18 18:56:00 +00:00
akwizgran
49e6113e5d Allow binding to the local BriarService instance. 2013-02-18 18:54:07 +00:00
akwizgran
00c0729f10 Add the new contact to the DB when the invitation process completes. 2013-02-18 17:47:34 +00:00
akwizgran
d1fedaed57 Replaced InvitationManager with a generic ReferenceManager for Android. 2013-02-14 13:04:51 +00:00
akwizgran
4307d516a6 Use net.sf.briar namespace for all bundle keys. 2013-02-12 20:33:18 +00:00
akwizgran
d3a8dae583 Set android:allowBackup to false, updated target API version to 17. 2013-02-12 15:54:36 +00:00
akwizgran
e6de8efed2 Show an ongoing notification so the background service isn't killed. 2013-02-12 15:43:18 +00:00
akwizgran
e3c90f56ed Updated Roboguice module list. 2013-02-12 14:20:19 +00:00
akwizgran
19106ae044 Log exceptions with stack traces. 2012-12-07 15:22:34 +00:00
akwizgran
dca9470c28 Updated ant build files for multi-project structure. 2012-12-05 23:15:35 +00:00
akwizgran
f5626bee05 Moved API classes into a separate project to enforce dependency rules. 2012-12-05 22:19:12 +00:00
akwizgran
5204e0b907 Fixed ant build files for Android project. 2012-12-05 21:31:13 +00:00
akwizgran
29d25cce6b Fixed classpaths of Android and test projects. 2012-12-05 21:00:47 +00:00
akwizgran
f4f7b96d50 Separated Android code and core code into distinct Eclipse projects.
This should make it possible to develop the core in Eclipse without the ADT.
2012-12-05 20:39:31 +00:00