- Added a null check I missed in my last commit.
- Fixed duplicated Permission ACCESS_NETWORK_STATE in manifest.
Change-Id: I0da93b3e83ac584cb8fe36b2c3b9f1c711b08a8a
This is a first shot at
https://code.google.com/p/camlistore/issues/detail?id=496.
A user can enter a SSID and the upload will only run over Wifis with
this SSID. If the SSID option is left empty, everything works as before.
Change-Id: Ief3642c5b9c14d059f42696531fa33d1d780ab1c
I scratched my own itch and addressed
https://code.google.com/p/camlistore/issues/detail?id=494
for my HTC One M8 which stores pictures taken with its camera
to /sdcard/DCIM/100MEDIA.
Hardcoding these paths is far from being a good solution. I hope I can
find the time to get deeper into Android coding and come up with some
for https://code.google.com/p/camlistore/issues/detail?id=37 over the
next weeks.
Change-Id: I4e351c1915c5c7f66948d434d72763c826a25a16
Import src/com/google/zxing from
https://github.com/zxing/zxing/android-integration/src/ at revision:
commit 7d35bd0bddbe84185b9f79c5cb07749a8767c952
Author: Sean Owen <srowen@gmail.com>
Date: Wed Aug 6 09:05:22 2014 +0100
Uses zxing dervied barcode scanner apps to do the heavy lifting. If the
user does not already have the app installed a dialog will open that
directs them to install it from the Google Play store.
Addresses https://camlistore.org/issue/372
Change-Id: Ic398b77cd9795aca533be101b2ebcd5631cc7f20
More secondary preimage resistance. Also better docs and less vague and less promoted Android
UI.
Feedback from Adam Langley, but likely misinterpreted.
Change-Id: I3bf1029b6fc07c0b8dab2af44926aa87b0d4cbad
A new client configuration parameter, "trustedCerts" (list of strings)
is introduced. A certificate fingerprint is defined as the 10 digits
prefix of the sha1 of the whole certificate (in ASN1. DER form).
trustedCerts should contain the list of fingerprints of the
certificates we trust. If not empty, the server's certificate
is checked against that list, instead of using the full x509 validation
on it.
-added a dial function and tls configuration, which check if we're using
SSL, and if we're in "trustedCerts" mode.
pkg/client/client.go
pkg/client/config.go
-moved android specific hacks from camput to the client layer, so that
the dial and tls config could reuse/access them. Also allows future
reuse for other commands, such as camget.
pkg/client/android.go
-adapted camput to the above changes:
cmd/camput/android.go
cmd/camput/camput.go
cmd/camput/files.go
-server prints a hint when it generates the self-signed:
pkg/misc/misc.go
server/camlistored/camlistored.go
-camliactivity:
clients/android/res/xml/preferences.xml
clients/android/src/org/camlistore/Preferences.java
clients/android/src/org/camlistore/SettingsActivity.java
clients/android/src/org/camlistore/UploadService.java
clients/android/src/org/camlistore/UploadThread.java
http://camlistore.org/issue/131
Change-Id: I6be20161549a69aafc8eb7b9e96e9351dc1c5b09
works, but UI is terrible and unreliable. but it uploaded and vivified a photo shared from the gallery.
Change-Id: I63199a4d25597739920b276ac240efa27c07926c