Conversation
|
Wow, it seems like your putting a lot of effort into this, nice! I have just set off to an extensive holiday, trip so I probably won't have time to have a closer look for the next couple of weeks Once I'm back I can try out on an A6500 and perform a thorough code review. Ah and just an idea, unit tests would make your features more sustainable. I didn't write any in this project to begin with because I didn't have much time and needed the feature desperately 🙈 |
|
Thanks for your feedback. Regarding unit tests: I have looked into this a bit but there are some strange limitations when I run them on my camera. |
…d a different one
Must be run via "connectedAndroidTest" command! Pushing test files fails so we have to rely on existing files on the device. Also, code coverage doesn't return any data.
|
I have now pushed all the unit tests I could think of for the new API. There are some limitations when I run those tests on the actual camera:
The travis build now fails because of the "connectedCheck" command in the build script |
|
Sounds great!
|
I have no updated the project with some test files that get pushed to the emulator before running the tests.
I don't have any experience with robolectric but the current unit tests do run in the emulator. Given how "special" the Android OS on those cameras is, I'd suggest to run the tests on a actual hardware as well. At lease for release builds. |
- EXIF response for non existent file must be 404. - Calling EXIF on invalid file returns a valid response (200) with the json property "success" set to false
Should shorten build times drastically and make TDD more efficient. Also simplify exception and file handling in tests.
|
@ov3rk1ll I changed the unit tests to run without emulator via robolectric. Next stop is manual test on my device and code review. |
9b5d898 to
ee0c575
Compare
|
Getting started with the JavaScript part, I introduced webpack to get JavaScript modules with clearer scoping and dependencies, which also builds a single There were some global variables that made the whole process challenging for me. I'm not sure if I converted all globals properly. Also, jquery is horrible for getting tests bootstrapped, but my proof of concept should give an idea how it could work. |
|
Hi @ov3rk1ll , Did I ask too many questions 🙈 ? Are you planning to continue working on this? If not, could I ask you to answer my question on the Java code and maybe have a quick review of my changes to JavaScript? I can then merge the PR and decide how to go on from there myself. Either way, thanks for your efforts up to this point! |
|
@schnatterer I sadly had absolutely no time to work on this over the last months so it's definitely not the number of questions. I'll try to get back to you with the information in the next few days but I can't really say how much time I'll have to work on this. |
|
@ov3rk1ll thanks for getting back to me. |
|
Hey Guys I just tried to install it on my Sony Alpha 7II - i built it in Android Studio on Mac OS and tried to install on camera, but i got many errors. At the same time, i haven't any problem when installing from the app list. for example,
I understand that you are planning to do a little optimisation, but i would like to have it installed the way it is. *tried to build it on windows - the same |
|
Hi @oresamp, I built it back then and running it on my 6500 ever since. Building it with a contemporary version of the Android tools might be difficult now 😐 |
01756cd to
0b9169b
Compare
|
@schnatterer I finally tried the apk you attached. I have the same error as before in October.
this happens both with this apk and the previous one, which was part of Sony-PMCA-RE. I suggest it got the same apk now. |
|
@oresamp have you tried installing it via adb?
|
|
@schnatterer unfortunately for me is : |
|
@oresamp What about |
|
@schnatterer I'm thinking about API Version but it's interesting, that some people cannot also install from Sony-PMCA-RE with the same error: |
|
Sony A6000 PAL: I installed the stable 0.2.0 and noticed there was no GUI, so I decided to try the 0.3.0-pre. 1: Sony-PMCA-RE I also ran into this error: ( The pmca\ file path suggests that some uncaught error in the installation logic was eventually caught by the PMCA-RE usb driver. ) 2: adb (via OpenMemories-Tweak, over wifi) I was looking around for fixes online, so the camera turned off a couple of times meanwhile. I can use the GUI pretty flawlessly. What could have worked: Hope this helps. |
|
I wasn't able to install with PMCA-RE either, and when I tried installing with ADB I got INSTALL_FAILED_TEST_ONLY. I was able to successfully install with
Looks like something wrong in the manifest? https://stackoverflow.com/questions/25274296/adb-install-fails-with-install-failed-test-only |
|
Thanks, @dan-r , that sounds plausible. I uploaded a dev version which I installed on my camera using Android Studio. So it might well have the test attribute 💡 I'll update my instructions posted above. |
works! |
|
Thanks for your app, I was able to install on my Nex 5r with -t parameter in adb. If you alrealdy have an older version of app you have to remove it before install with -t command. |
I have tried by unpacking apk, removing test attributes in AndroidManifest.xml file and packing it again. new apk still gives same error in pcma gui v0.17. seems video is not possible to run in "v0.3.0-pre" which was possible to run in "v0.2.0" |
|
I tried to install it on a5100 through the pmca gui Installation crashes with this error: Then tried over adb with: adb install -t NAME.apk |
|
@schnatterer |
Summay
I have been using this app for a file to get images but it's sometimes hard to quickly find the image you want.
So I decided to build a new web interface with thumbnails and some more information.
The communication is done via a JSON API to get a list of files and exit data.
The initial list groups the files by day so you can easily jump to a specific date and also let's you filter by file type.

When clicking on a entry, you get more details from EXIF data, a larger preview and also a download button that opens the actual file

ToDo