shahinfasihi / android-file-dialog

Automatically exported from code.google.com/p/android-file-dialog
0 stars 0 forks source link

How to integrate into existing app? #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This looks like exactly what I am looking for, how do I incorporate this into 
my existing android application?

I am guessing I just copy all these files ontop of my existing project and just 
assume there are no file collisions?

Original issue reported on code.google.com by scottedchapman@gmail.com on 27 Feb 2012 at 3:02

GoogleCodeExporter commented 8 years ago
2scottedchapman: Here is a way how to do it, if you are using Eclipse (other 
IDEs should have something similar). Grab the trank and create a separate 
project from it. In the project properties you should check the option "is 
library" (it is actually set already in the sources), then build the library. 
After this you can open the properties of your own project, select Android 
branch to the left, and press Add button in the Library group - a dialog will 
show up with a list of all available custom android libraries. If you have 
built the library, it will be listed there, just choose it and it will be added 
into Android dependencies of your project. Now you can use library classes as 
it is shown in the Wiki. I hope I did not miss something important.

Original comment by mo...@tushino.ru on 4 May 2012 at 12:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi, I am developing an emulator for Android and decided to make use of 
android-file-dialog for my load and save options. I have a button with an event 
which creates the intent and starts the activity. This works the first time but 
hangs on the second attempt. I followed the above directions and the only other 
thing I had to do was declare the activity in my manifest file. Is there 
anything else I have to do or does anyone have any idea why it would hang? 
Thank you.

Original comment by jdcorr...@gmail.com on 28 Jun 2012 at 1:51

GoogleCodeExporter commented 8 years ago
I figured out the problem and it was unrelated to the library. The library is 
great and very useful for my purpose. Thank you.

Original comment by jdcorr...@gmail.com on 6 Jul 2012 at 7:01