owncloud / android Goto Github PK
View Code? Open in Web Editor NEW:phone: The ownCloud Android App
License: GNU General Public License v2.0
:phone: The ownCloud Android App
License: GNU General Public License v2.0
I have a folder in my owncloud account that contains several 100 GBs of video files. As I quite surely never will need them on my mobile phone and they make the indexing of the whole folder structure a quite lengthy process it would be nice to tell the app to exclude some folders from syncing or indexing.
This could maybe be achieved similar to the way which k9mail goes: there one can set folders as main folders that are automatically synced with every sync process and other folders, where only the folder structure itself is indexed. If you enter one of the latter folders theres a button that lets one load the content of the folder if needed.
By this one could restrict the folders that one needs to be synced or indexed on the mobile phone and therefore keep syncing/indexing times short and battery saving.
While testing the behaviour of down- and uploads with a single file File.txt for editing, I now noticed a spooky file File_conflict_20121030_084503.txt on the Android.
I use
Perhaps this backup file (renaming, swapping names of current and backup version ???) is causing the reported issue. In previous tests I disabled the backup file creation in the Jota Text Editor settings and everything (editing on the server, editing in Windows client and editing on the Android device) appeared to work fine, at least I did not notice problems when synchronising the Android client manually - for this see przybylski/owncloud-android#43 )
The Delete button however only offers to the delete this particular file on the server(!).
The Windows client does not show such a file in the file list.
Questions:
On the log in screen, when the address and username field is also filled out correctly, pressing enter in the password field should trigger log in.
Instead it should only appear as soon as you check the »activate instant upload« function because the wifi photo upload is only relevant for that.
I followed the steps discribed in the README.setup. The output of the setup_env.sh is the following:
georg@linux:~/workspace/android$ ./setup_env.sh
Submodule 'actionbarsherlock' (git://github.com/JakeWharton/ActionBarSherlock.git) registered for path 'actionbarsherlock'
Cloning into 'actionbarsherlock'...
remote: Counting objects: 17237, done.
remote: Compressing objects: 100% (4640/4640), done.
remote: Total 17237 (delta 9681), reused 16864 (delta 9407)
Receiving objects: 100% (17237/17237), 10.00 MiB | 856 KiB/s, done.
Resolving deltas: 100% (9681/9681), done.
Submodule path 'actionbarsherlock': checked out '90939dc3925ffaaa0de269bbbe1b35e274968ea1'
./setup_env.sh: Zeile 5: android: Kommando nicht gefunden.
./setup_env.sh: Zeile 6: android: Kommando nicht gefunden.
./setup_env.sh: Zeile 9: android: Kommando nicht gefunden.
There are errors because the folders "tools" and "platform-tools" are missing in the PATH. There should be an information that its presupposed.
Hi.
Owncloud 4.5.1a & Android app 1.3.12 & Galaxy Note 1 on Android 4.0.4
I experiment an issue with the InstantUpload function.
I ever get the "Upload failed" notification with the InstantUpload function. In Wifi and in 3G.
I can upload manually any file on my Owncloud instance without any problem.
But the InstantUpload function is not working.
The fail alert is always sent after the upload process (i can the the upload working in the notification center, but at the end i get the error).
Precision : the InstantUpload folder is well created by the system on my owncloud instance.
With the app SendLog i have seen this kind of thing :
11-05 11:33:11.043 D/WebdavClient(16015): HEAD to /InstantUpload//20121105_113310.jpg finished with HTTP status 403(FAIL)
11-05 11:33:11.153 D/ChunkedUploadFileOperation(16015): Upload of /mnt/sdcard/DCIM/Camera/20121105_113310.jpg to /InstantUpload//20121105_113310.jpg, chunk index 0, count 27, HTTP result status 403
11-05 11:33:11.153 I/com.owncloud.android.operations.UploadFileOperation(16015): Upload of /mnt/sdcard/DCIM/Camera/20121105_113310.jpg to /InstantUpload//20121105_113310.jpg: Operation finished with HTTP status code 403 (fail)
11-05 11:33:11.158 D/PhotoTakenBroadcastReceiver(16015): Received: UPLOAD_FINISH
=> Double slash : /InstantUpload//20121105_113310.jpg
=> webdav403 failed
Any idea ?
Is there a way to find some log on the Android app or on the Owncloud instance to get more info about it ?
Regards
Currently I've been doing this with an app called "Folder Sync".
When you typed your password, as soon as you use the show password toggle, the cursor is set to the beginning. Instead the cursor position should be retained.
In spite of what the OC desktop clients do, it would be nice to have a "Keep directory up to date" option for directories, as well as it is available for files now.
The typical use case is a "magic folder" that is always in sync between your desktop, OC and your phone (so that you can work on the files also when you're offline, and as soon as you get back online, your changes are propagated). Another use case is a Music folder to be kept in sync (streaming is not very reliable, and definitely doesn't work when you're offline :-) )
It shouldn't be too hard to implement, as the file synchronizer already seems to be able to handle directories (am I wrong?), and so the only step is to add a long-press feature to directories to enable the synching option.
Another design issue is where to store the data. I believe the user should be able to choose where to mirror the OC directory locally (and the default "/sdcard/owncloud" is used for single-file sync).
Finally, like the desktop clients should do, the first sync should support a "merge" strategy. The use case here is: I have my files already stored on owncloud, and I also copied them to the phone via USB (because it's quicker and cheaper than using my 3G dataplan).
I'm a good Java developer, but new to Android. I'm willing to provide some programming help and all the necessary testing if you're keen on adding this feature.
In the list, time is displayed like »13/07/2012 08:12:31«. Instead it should show like in the web interface, relatively. »just now«, »yesterday«, »4 days ago« etc., with more info in the detail view.
In addition, just like in the web interface and for the size display, the older the file the lighter this time info should be displayed.
Would be nice to have an option to sync only when on wifi so as to avoid outrageous bandwidth charges by phone companies.
In settings, there is a header »General« up top. This is not really useful since there’s only this one category. The header can be removed.
Steps to reproduce:
Other files similarly sync'ed (ODT, PDF) open fine after downloading.
There are two very good open-source apps to sync calendars and contacts on android via caldav/carddav, both developed by Marten Gajda (http://dmfs.org/). According to Twitter he is currently working on an extension to sync tasks via caldav as well (caldav-todo app, http://code.google.com/p/caldavtodo/) and is looking for programmers to help him.
Maybe this would be a good chance to collaborate and push the integration of calendar/contact/tasks syncing into the owncloud android app?
Best,
PR
Hi :)
I installed the current version of the app on Android Jelly Beans (Asus tf201) .Everything works fine. But I changed the server-address (subdir to a subdomain), so I removed the account settings from the app. After that everything works fine too (other wedav clients and so on) but only the owncloud app doesn't work. The app can't connect to the new and the old server address. I get an unknown error.
I reinstalled the app many times (deleted the syncfiles on android too) but every time the same error...
As I said every other tool has no problems with the new OR the old settings. What's wrong? Is it a serverside problem?
Greetings
Edit: I use ownCloud 4.5.3 (current version)
Edit2: Same problem in ownCloud 4.5.4
Unlike files, folders don’t show any info about last modified date or file size.
Like in the web interface, if it’s displayed for the files, it should also be for the folders.
Just got a new Nexus 4. On the website my WebDAV URL is: http://example.com/owncloud/remote.php/webdav/ so this is what I tried to use in the client. It says "Testing connection..." and the text quickly disappears but the Connect button is simply greyed out. This is confusing, it would be nice if it threw a red error message saying "Unable to connect - please make sure to use the same URL as you use to access your web interface" or something like that, otherwise we are left with no idea ... trial and error. I think some people are giving up at that point and giving the app bad reviews on the store, "doesn't work" since they don't figure it out and give up.
Optimally the app would detect if they are using the WebDAV link as on their website and if so, automatically retry the correct URL stripping off the additional "/remote.php/webdav/" part but a simple error message would also fix it for 99% of the people too impatient to figure it out.
The android client will try to fetch status.php from the user-provided URL on account creation. If this fails with a 401 HTTP status (Unauthorized), it will show "Unknown error occurred!".
I gave the client the username and password, it should be able to use them and so would be able to fetch status.php and continue. For the situation when there are no or wrong credentials entered, it should show an approriate error message.
Am I missing something? Long click doesn’t work.
Hi
I want to start developing ownCloud for Android by adding some new features . Can anyone help me to import ownCloud for Android into my Eclipse ? I've tried but it always contain error when run the project
Thanks for your help !!!
When I click on a file there’s a bunch of details about that file, and also the ownCloud logo. That shouldn’t be there.
At the moment with version 1.3.12 on Android 2.3.6 the ownCloud client seems to sync with a hardcoded folder at /sdcard/owncloud.
On my phone /sdcard points to the internal memory of the phone, which is quiet small.
Please add an option to set the syncing target directory in the client.
I suggest to add a menu point and function in the client to display server certificate information (md5-, sha1- fingerprints, issue- and valid-until dates) like in modern browsers.
As the title says. This is especially bad because scrolling seems not possible, and the logo and password field is cut off and the connect button is not visible at all.
Quick fix would be to enable scrolling on that screen, real fix would be to optimize the layout for when the keyboard is shown, to show all elements above the keyboard (possible at least on a tablet).
Judging from the screenshot of the blog post: https://owncloud.com/blog/ownclouds-latest-android-and-ios-apps-increase-security-and-control
The cancel button is really destructive, on the right side, and looks the same like the connect button. It should just not be there – if you want to cancel you just leave the app.
In the root folder, the header has this empty dropdown with »/« and just the same as only entry when you click on it. Should just not be shown when in the root because it’s not useful at all.
Also, the ownCloud icon should in the root not be clickable / have no visual click effect).
In the file list view, file size magnitudes (B, KB, MB) are just mixed, which is super confusing. Rather it should be like in the web interface, where just MB is used, and only one decimal place.
In addition, also like in the web interface, the bigger the file, the darker (more opaque) the color of the size display should be. And vice versa, more transparent if lighter, until a certain limit to be still readable.
Like in the web interface, display the names of folders in bold to distinguish them from the files.
The show-password toggle »eye« only works as a one-way toggle, and it’s not possible to hide the star with asterisks by clicking it again. Should work.
(Tested with the version from https://ci.tmit.eu/job/ownCloud-Android/ )
Hi, was just going through the Android App would suggest if possible to have icons for each mimetype as we have in the webapp.
It could be even one way but I don't see a way to sync folders? Would be nice to have just a checkbox to download an entire folder. Not sure about two way syncs on this app since it could cause some outrageous bandwidth fees over 4G, so I guess this couldn't be done without the option to have owncloud only sync when on wifi. Otherwise you do it manually like it is now.
I have a user case which applies I think to a lot of users soon - I am trying to break free from iTunes. iTunes library has a folder hierarchy even for a single song e.g. /artist/album_name/song_name/song.mp4 ... so to try and sync over 1000 songs would take an incredibly long time.
But could apply to anything, "Documents" folder etc.
Every now and then after entering the apps security PIN I don't get to my owncloud root directory but get the configuration site where I should enter the URL and access details of my ownclod account. This is quite annoying as entering URLs and passwords with special characters on the mobile keyboard is rather unhandy.
Also after successfully reentering the account data it looks like the app does a full rescan of the file database which can take a while and eat a lot of battery depending on the size of the data in your owncloud.
The version of my app is 1.3.14
The »successfully downloaded« notification in the top bar / notification area doesn’t do anything on click, just vanishes. Rather I expect it to go to the file detail view so I can check it out.
Is that a pattern on Android though? I’m just testing on 2.2 so it’s probably skewed.
Judging from the screenshot of the blog post: https://owncloud.com/blog/ownclouds-latest-android-and-ios-apps-increase-security-and-control
The ownCloud logo is cut off on the top. It should have the same overall width as the input fields, and have some whitespace to the top and also some to the first input field for a bit of breathing room.
When clicking a file or folder in the list, it flashes up black. This is an annoying click/hover effect and should rather be a very subtle grey, say #eee.
Currently when you remove the last account, you just see the account list with no accounts in it. To add a new account you need to manually click the »Add account« in the corner. But what else are you going to do? Hence, when the last account is deleted you should automatically be redirected to the login screen.
Having downloaded a file adds the green downloaded badge. Then when you delete it and choose »only locally«, the badge still stays.
Only after navigating to a different folder removes the badge.
Is this a pattern on Android by the way? I didn’t check but we should introduce it either way. You probably also know from iOS the pull down to refresh – when you pull down the file list you’re in down more than the top file, it should force check for updates. Ideally check with an iOS device (e.g. Apple Mail or Gmail) to see what I mean.
Just installed the latest version from http://owncloud.org/support/android/
When I try to start it, there's a messagebox saying "the application had to be closed".
We discussed and debugged the issue already on IRC some time ago. It seems that the camera App from HTC does something different which doesn't trigger the instant upload. Tested with HTC Desire S (Android 2.3.5, HTC Sense 3.0) and the ownCloud Android Client 1.3.8
EDITED by @davivel
SUMMARY on 26/02/2016
The problem: third party camera apps often fail to broadcast the Intent
s with action android.hardware.action.NEW_PICTURE
and android.hardware.action.NEW_VIDEO
that the OC app listens for to know when a new picture or video was taken.
The probable solution: keep alive a FolderObserver on the official folder where pictures / videos are stored to know when a new picture or video was taken.
Main references on this:
#6 (comment)
#6 (comment)
#1059
To keep in mind:
Is there any place still to directly download the apk? I have an older Android phone with 2.3 or so, and only F-Droid market. @BartoszPrzybylski
Judging from the screenshot of the blog post: https://owncloud.com/blog/ownclouds-latest-android-and-ios-apps-increase-security-and-control
There should be some info at the bottom saying what ownCloud is. Maybe something like »ownCloud – web services under your control«, with the whole thing linked to http://owncloud.org or owncloud.com, and ownCloud in bold.
I’m in the folder »writing« of the folder »docs«. Now when I open a file in there, the header of the detail view just shows »< [ownCloud icon] ownCloud« which is not really useful, also because »ownCloud« is not clickable.
Instead it should say »< [folder icon] docs«, because that’s what I get back to. Or is that some weird Android convention?
I just connected my account (from free.owncube.com) and then get shown a modal:
»Account Configuration
No ownCloud accounts on your device. To use this application, you need to create one.
[Accept] [leave ownCloud]«
It’s weird because in the background the files already start rolling in. If I press »Accept« I am just redirected to where I was before, which is very confusing.
This popup should never show at all, because it’s not helpful and rather the account add screen should be shown then. But apart from this it also seems a bug which wrongly checks on first run if I have an account.
I suggest to close the bugtracker on https://github.com/bartoszprzybylski/owncloud-android/issues for new issues and to monitor and bugtrack everything here on https://github.com/owncloud/android/issues .
Every time the client Instant Upload feature is activated, I get a success message, but the file stored on the server is truncated, and so can not be displayed on the web interface or on computers syncing this folder.
After more tests, this is not an instant upload issue. All files I try to upload from the android client are truncated.
Currently every file uses the old grey icon, and every folder also the old grey one. Instead use the filetype icons as used in the webinterface. Or does Android have good-looking stock ones?
Connecting to SSL secured hosts that require SNI (Server Name Indication) support is currently not possible without accepting all certificates, which is of course undesirable. It would be nice if the owncloud Android client would properly support SNI so hostname based TLS negotiation can be performed, thus securing a valid trust chain and communication.
I've done some research and found a couple of resources indicating that SNI is possible on Android.
http://source-android.frandroid.com/libcore/luni/src/main/java/libcore/net/http/HttpConnection.java
There is an setHostname() method in OpenSSLSocketImpl that if called
causes NativeCrypto.SSL_set_tlsext_host_name() to be called. That in
turn calls SSL_set_tlsext_host_name().
Hopefully, this is helpful.
Hello,
we have a self signed SSL Server for Owncloud in iOS we have no problems with it. But the Android app didn't allow.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.