Closed ashjas closed 10 years ago
cool, need this feature :)
Did you make progress for non-local volumes? My use case would be having the encrypted volume on dropbox/google drive, but having the encfs6.conf locally.
Ashjas, thanks for your work. I'll review / try out your changes and hopefully merge them in.
@smessmer yes. the next commit in the pull does that for cloud volumes too.
I'm getting a crash when testing upgrade of the app from an older version:
07-13 04:09:27.738: E/AndroidRuntime(1905): FATAL EXCEPTION: main 07-13 04:09:27.738: E/AndroidRuntime(1905): Process: org.mrpdaemon.android.encdroid, PID: 1905 07-13 04:09:27.738: E/AndroidRuntime(1905): java.lang.RuntimeException: Unable to create application org.mrpdaemon.android.encdroid.EDApplication: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4347) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.ActivityThread.access$1500(ActivityThread.java:135) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.os.Handler.dispatchMessage(Handler.java:102) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.os.Looper.loop(Looper.java:136) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.ActivityThread.main(ActivityThread.java:5017) 07-13 04:09:27.738: E/AndroidRuntime(1905): at java.lang.reflect.Method.invokeNative(Native Method) 07-13 04:09:27.738: E/AndroidRuntime(1905): at java.lang.reflect.Method.invoke(Method.java:515) 07-13 04:09:27.738: E/AndroidRuntime(1905): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 07-13 04:09:27.738: E/AndroidRuntime(1905): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 07-13 04:09:27.738: E/AndroidRuntime(1905): at dalvik.system.NativeStart.main(Native Method) 07-13 04:09:27.738: E/AndroidRuntime(1905): Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.database.CursorWindow.nativeGetString(Native Method) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.database.CursorWindow.getString(CursorWindow.java:434) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51) 07-13 04:09:27.738: E/AndroidRuntime(1905): at org.mrpdaemon.android.encdroid.DBHelper.getVolumes(DBHelper.java:182) 07-13 04:09:27.738: E/AndroidRuntime(1905): at org.mrpdaemon.android.encdroid.EDApplication.onCreate(EDApplication.java:92) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007) 07-13 04:09:27.738: E/AndroidRuntime(1905): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4344) 07-13 04:09:27.738: E/AndroidRuntime(1905): ... 10 more
I believe your changes to the DBHelper.java don't properly handle the upgrade case?
Also please fix formatting by running the Eclipse auto format (Source -> Format) on all your changes.
I've merged your work - thanks for the contribution! I'm hoping to release this as part of the 2.1 release within a few weeks. If you're interested in contributing more I'd be very happy to review and merge more changes :)
Thanks for the merge. I feel great that I could be of some help to so many people that use your excellent application. I would be more than happy if i repeat this in the future. :)
Is the 2.1 release coming soon? I'm very looking forward to having this feature :)
Yes, sorry for the delay. I've been working on support for multiple file selection and am polishing a few remaining UI issues - I will do a 2.1 release relatively soon.
This patch takes care of issue #41 Adds a way to browse custom config file. I've tried to make minimal changes to existing ui. This patch only does this for local encfs volumes as of now.Tried for dropbox and drive too but for some unknown reason couldn't connect to any cloud accounts here. Would definitely add once I figure out the issue.