Commit Graph

14 Commits

Author SHA1 Message Date
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