zengxiange / android-vnc-viewer

Automatically exported from code.google.com/p/android-vnc-viewer
0 stars 0 forks source link

Settings of several VncConnection should be storeable #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The settings of several VncConnections should be storeable.

In the best case a content provider should provide all stored settings and
the edit and view action on this content data type should trigger the
vnccanvas or the edit dialog activity.

this would lead to a vnccanvas activity that can easily be called from
other activities (probably in other apks).

Original issue reported on code.google.com by christian.koestlin on 15 Jan 2009 at 6:40

GoogleCodeExporter commented 9 years ago
Right now i'm trieing out, how this could work out, if you are interested i can 
keep
you informed if i make progress in that direction.

Original comment by christian.koestlin on 15 Jan 2009 at 6:41

GoogleCodeExporter commented 9 years ago
hi,

i have implemented the described approach.
there is now a Provider, that provides VncSettings in a sqlite database.
several activities respond to the the view, edit, delete and main/launcher 
intents.
the layout of the edit activity is not yet adopted to your cool table-layout in 
rev.
12 of the repository. the layout of the main/launcher-list is really totally 
basic,
but could be spiced up to be more attractive. i have changed the code of your
vnccanvasactivity to be able to handle the uri. perhaps an activity that 
responds to
a pick event would also be cool, if the vnc-functionality should be integrated 
into a
bigger program.

please see attached patch and screenshots.

please tell me if this stuff could be useful for you or not (my email is
christianDOTkoestlinATgmailDOTcom).

Original comment by christian.koestlin on 17 Jan 2009 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago
My version is in antlersoft branch r15

Original comment by googlec...@antlersoft.com on 20 Jan 2009 at 12:35

GoogleCodeExporter commented 9 years ago
Hi,

Congratulations! Very nice job!
How do we apply the patch, in order to have this improvement?

Original comment by mirox3m@gmail.com on 20 Jan 2009 at 3:09

GoogleCodeExporter commented 9 years ago
Hi mirox3m,

i emailed with Michael MacDonald and he added me as member of the project. So i
committed the changes (and a little bit more as in the patch above) into the 
trunk.
Please have a look at the trunk (the changes with the eclipse code generator of
Michael are in the branch) and tell me what you think of the current 
feature-set of
the trunk.

Original comment by christian.koestlin on 20 Jan 2009 at 10:04

GoogleCodeExporter commented 9 years ago
I have commited the changes on revision 12.

Original comment by christian.koestlin on 20 Jan 2009 at 10:06