Commit Graph

31 Commits

Author SHA1 Message Date
Markus Doits
0502be7652 Documentation update of ApgCon 2011-06-05 19:47:41 +00:00
Markus Doits
24205b8dbc Cleanup of code, AIDL-calls renamed! 2011-06-05 19:05:57 +00:00
Markus Doits
3be076d024 Little better log-managing for release-versions of ApgCon 2011-05-18 18:19:47 +00:00
Markus Doits
7278932990 Make callback use an interface 'the java way'_tm 2011-01-25 19:39:07 +00:00
Markus Doits
1036eb6bd5 Log stacktraces the android way 2011-01-25 19:38:56 +00:00
Markus Doits
3372e57157 Allow to retrieve connection status
This tells, if a connection to APG *might* be possible (right version of
APG found)
2011-01-23 21:37:06 +00:00
Markus Doits
66263ab6e3 Allow to return itself on callback 2011-01-23 21:36:59 +00:00
Markus Doits
cb4f1933d5 Dont remove result and warnings from result
Some more debug output, too
2011-01-23 21:36:51 +00:00
Markus Doits
efc5575d56 Change the way the complete result can be retrieved 2011-01-23 21:36:44 +00:00
Markus Doits
1ec5fc0541 Allow to retrieve fingerprints and user ids through AIDL
Update ApgCon and doc accordingly.

Not very tested.
2011-01-23 21:36:35 +00:00
Markus Doits
c9f6f56827 Work on errors and documentation - once more 2011-01-20 20:00:28 +00:00
Markus Doits
730b44bc73 Make the stacktrace enabler static 2011-01-20 18:19:34 +00:00
Markus Doits
dfb4f4e030 Allow at compile time to enable stacktraces on exceptions 2011-01-20 17:38:25 +00:00
Markus Doits
d4901f5999 Catch callback's and apg-call's (are there any?) exceptions 2011-01-20 16:53:51 +00:00
Markus Doits
72ab7fb25f Some more error output 2011-01-20 16:40:45 +00:00
Markus Doits
3e158d0afc Some better errors (hopefully more information)
Some smaller fixes and some new functions/doc, too
2011-01-20 16:36:03 +00:00
Markus Doits
e73794a5cc Add javadoc on public things
Small other changes, too.
2011-01-20 11:55:36 +00:00
Markus Doits
be2476e0ba Allow async execution of an AIDL call
Calls can now be executed asyncronously. Callback methods are supported,
too. See comments of "set_callback()".

First tries with javadoc.
2011-01-19 22:33:06 +00:00
Markus Doits
945e8bb25b Add another verbose hint for ApgCon constructor 2011-01-18 22:19:48 +00:00
Markus Doits
209b300638 Print api_version if matching 2011-01-18 22:12:47 +00:00
Markus Doits
fd24d128fe Check for AIDL Api version and ApgService
This prints out errors on console when APG cannot work with the help. It
will initialize correctly, though.
2011-01-18 22:09:05 +00:00
Markus Doits
9fb631d599 Clear result, too 2011-01-13 20:28:08 +00:00
Markus Doits
9c06bb03b6 Prepare ApgCon for asymetric enc and clean up 2011-01-13 20:12:02 +00:00
Markus Doits
fc05dfd8b7 Prevent null pointer exception
Error-msg should be better, though.
2011-01-11 22:24:08 +00:00
Markus Doits
51b63d099c Allow helper to clear args and set booleans 2011-01-09 20:12:12 +00:00
Markus Doits
a29dfc0add Reset errors before calling, make some vars final, minor cleanups 2011-01-09 17:17:27 +00:00
Markus Doits
91da2dd2ea Remove obsolete import 2011-01-09 17:17:18 +00:00
Markus Doits
b1e8194ce2 Remove weird line 2011-01-09 17:17:08 +00:00
Markus Doits
1a338de47e Redesign AIDL-Interface once more
Using Bundles makes passing data easier and does not need to redefine
the interface if the internel functions change.

The helper class has been updated accordingly. In addition, it wrappes
completely around all input and output (if wanted).
2011-01-05 14:07:09 +00:00
Markus Doits
dbb46f1633 Remove forgotten line 2011-01-04 23:09:56 +00:00
Markus Doits
6477f60764 Add connection helper for other projects
This eases using the AIDL-Interface and is the recommended way for other
project to implement the connection.
2011-01-04 23:08:08 +00:00