Giter Site home page Giter Site logo

android's People

Contributors

abelgardep avatar aitorbp avatar alexandbear avatar andyscherzinger avatar davcres avatar davigonz avatar davivel avatar deepdiver1975 avatar dependabot[bot] avatar dev-divyansh avatar dschmidt avatar fesave avatar hannesa2 avatar jabarros avatar jesmrec avatar joragua avatar jsoref avatar juancag05 avatar kulmann avatar malkomich avatar manuelplazaspalacio avatar micbar avatar ownclouders avatar parneet-guraya avatar przybylski avatar settermjd avatar shashvat-kedia avatar stoyicker avatar thescrabi avatar tobiaskaminsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android's Issues

feature request: exclude certain directories from syncing/indexing

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.

Files like File_conflict_TIMESTAMP.txt when editing files on the Android device (Jota Text Editor)

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

  • server 4.5.1a
  • Android 1.3.14
  • Jota Text Editor (Android) with enabled setting to use abackup version when editing. This editor creates a backup file with filename File.txt~ .

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:

  • Please can you explain why the Android client offers "delete on the server" ?
  • Should the text become "delete locally" because there is no File_conflict_TIMESTAMP.txt on the server but a conflicting backup file File.txt~ locally ? [UPDATE] I think I was wrong. The file is indeed on the server.
  • This exact local file name (File.txt~) should be listed locally in the Android client, or File.txt~___conflict_TIMESTAMP [UPDATE]
    I think I was wrong. The file is indeed on the server.

Update README.setup or setup_env.sh

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.

Android InstantUpload failed : 403 webdav error

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

Directory synchronization

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.

use relative time

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.

settings general header

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.

Android client recognizes epub files as directories, can't download/open them

Steps to reproduce:

  • Download valid .epub file to ownCloud directory on GNU/Linux
  • Wait for client to sync to ownCloud (tested on 4.5.1 server default install, 1.1.1 client)
  • Open OwnCloud Android client (tested 1.3.12)
  • The .epub file then appears as a folder clickking on it "opens" an empty folder

Other files similarly sync'ed (ODT, PDF) open fine after downloading.

Possible Support for App Development

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

Bug: after remove acc,new acc can't connect to server

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

folders don’t show date and size info

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.

Setup dialog URL

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.

Unknown error when fetching http basic auth protected status.php

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.

[Newbie] Help me to start developing ownCloud Android !!!

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 !!!

Configure download folder (external_sd)

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.

login screen is cut in half with keyboard visible

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).

shows »/« with empty dropdown when in root folder

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).

mix of file size magnitudes

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.

Same Icon for all File types

Hi, was just going through the Android App would suggest if possible to have icons for each mimetype as we have in the webapp.

Sync folders

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.

app loses owncloud access data when installed in the SD card

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

»Successfully downloaded« notification does nothing

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.

black click effect

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.

deleting last account should automatically move you back to the login screen

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.

Locally deleted file still has download badge

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.

pull down to refresh

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.

Instant Upload based on folder observance instead of broadcasted events

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 Intents 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:

  • There are third party camera apps that don't use the official DCIM folder to store their captures; let's ignore them first.
  • Android Services are not granted to be there forever; this could result in problems to keep the FolderObserver alive; risk is low, since that's the approach already used to observe kept-in-sync / favourite files, and our experience in this point has been fine.
  • The app keeps too many Services. We should tend to merge them in a different architecture, with a more uniform synchronization model. Internally, the concept of 'instant upload' should evolve to 'automatic addition, later sync'.

header in detail view

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?

configuration popup

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.

Instant Upload store truncated files

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.

distinguish file icons

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?

Add SNI support for SSL hostname verification

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/HttpsURLConnectionImpl.java

http://source-android.frandroid.com/libcore/luni/src/main/java/libcore/net/http/HttpConnection.java

http://source-android.frandroid.com/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.