I should have mentioned that the file structure in question Dropbox, and 
the access methods are the Dropbox Sync API, but I think your suggestion is 
a good one, once I figure out the Dropbox equivalents for the native 
Android file access methods.  I will do that instead of spawn new instances 
of the Activity.


On Wednesday, June 18, 2014 1:32:58 PM UTC-6, Kostya Vasilyev wrote:
>
> How about:
>
> onBackPressed() {
>
> File newDirectory = mCurrentDirectory.getParentFile();
> if (newDirectory != null) {
>     mCurrentDirectory = newDirectory;
>     reloadFileList(mCurrentDirectory);
> }
>
> }
>
> -- K
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to