Hi everyone,
I'm developing a notepad app in Eclipse, and I'm having some trouble figuring out how to implement file browser dialogs when I press a button on MainActivity. I want to have an Open button that lets the user search the device storage for a .txt file to open, and a save button that lets the user save a new file with a custom name, anywhere in device storage. Something like the screenshots below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The open file dialog from Root Browser.
The save file dialog from FX TextEdit.
Would anyone know a simple way to do this - like a tutorial or something? I've scoured the web trying to find an easy way of doing this, but all I keep finding is database tutorials that take hours upon hours to understand, let alone follow.
I don't want anything that just displays lists in the notepad and saves new files to the list... Like a lot of the notepad apps out there.
Thanks
On github theres a project called aFileChooser
Gesendet von meinem LG-D855 mit Tapatalk
tschmid said:
On github theres a project called aFileChooser
Gesendet von meinem LG-D855 mit Tapatalk
Click to expand...
Click to collapse
Thanks for the reply - that looks interesting, but doesn't that just create a file browser (like Gallery.apk and the like)?
I'd want it to be a file browser inside the actual app that doesn't interfere with Gallery, and other file browser apps (like the screenshots)
I'd need instructions on how to actually implement it as well...
Thanks anyway though.
Hmm im not sure if i understand you fully so you want a simple example for a file manager? If so have a look here: http://android-er.blogspot.ch/2012/07/example-of-file-explorer-in-android.html?m=1
Gesendet von meinem LG-D855 mit Tapatalk
Related
MY FIRST GADGET FOR WM6.5 !!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(click image to view it a little bit bigger)
Screenshot is from the german version for ppcfreaks.de
to enable widgets in WM6.5 download : View attachment enable_widgets_wm6.5.cab
and here is th zip-file with an QVGA & VGA version : View attachment google_search_widget_xda-devs.zip
short info about this gadget:
enter a what r u looking for, select www or forum.xda-developers.com to search, tap on "start search", it will open ur default webbrowser (OPERA or else) and u will see the results
Good work mate really useful!
Nice work!
Could you make a Wikipedia (de.m.wikipedia.org) widget and a studiVZ (m.studivz.net) widget? Oh, and a Google Reader (http://www.google.com/reader/i/) widget?
do u can read my mind ? i worked the last days also on a german wikipedia widget but i cannot say when i can release it because it to buggy at th moment
Yeah, that sounds great! Take your time, I'm glad that you are working on these
i don't see a use for this, when you search it loads opera, you can just bookmark google
Thanx man gonna give it a try... and hope to see more from you..
Great job.
how can i use this, i have installed enable widgets.cab
restart device
and trying to run search vga.wgt and no luck. any ideas?
thanks
Do u use a stock wm6.5 rom? If not ur rom is missing the widget engine or u have to rename *.wgt to *.widget that can help but i'm not sure
Sent from my Samsung GALAXY Tab GT-P1000 using XDA App
how is this different than just a desktop shortcut?
In my s4 the clipboard isn't like it was in the s3. It just remembers the last text copied, it doesn't allow you to see a list of previously copied items and it doesn't let you copy paste images.
In the s3 android 4.1.2 I could do all those things.
What gives?
I don't know what you're doing, but works fine for me...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-I9505 using Tapatalk 2
beaver2233 said:
I don't know what you're doing, but works fine for me...
Sent from my GT-I9505 using Tapatalk 2
Click to expand...
Click to collapse
Same here, in fact, I didnt know you could do this until I saw this post, I knew it was on my previous Note II but didnt realise it was on the S3 or 4.
Anyway, I just hold down my finger, say in a text message box and get the pop-up of 'paste' and 'clipboard'. Great :laugh:
ya this is how i worked on my gs3
however now i am only getting the option to PASTE with no popup selection and it only pastes the last text copied
******* solved
I was using Dolphin browser and Qpick gallery, apparently the clipboard does not work in those apps wierd. works just fine in stock browser and gallery
colonels said:
ya this is how i worked on my gs3
however now i am only getting the option to PASTE with no popup selection and it only pastes the last text copied
******* solved
I was using Dolphin browser and Qpick gallery, apparently the clipboard does not work in those apps wierd. works just fine in stock browser and gallery
Click to expand...
Click to collapse
Yeah a lot of the fancy stuff dont work in anything but stock but thats probably more the coding of the app than samsungs issue.
Its little 'add ons' like this that make the Galaxy range that little bit better than other 'droids IMO.
Edit 21/09/13: added fullscreen
I made these recently and just wanted to post them.
edit: I can link now.
"Circle Clock"
http://db.tt/bkfHNhps
"Lines Clock"
http://db.tt/dLrEUd5M
"Thrown together clock"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://db.tt/Q16NAkT9
***** FULL HOMESCREEN CHANGES ***
Action launcher, 8 rows and 5 columns,clickui icons, and the wall from a wallpaper pack called poly.
Top clock:
https://db.tt/34q5UHJX
Middle Weather
https://db.tt/mmLP5hDm
Bottom battery bar:
https://db.tt/QdOWFFST
Just drop the .zw into sdcard/zooperwidget/templates.
Don't know how to upload non-picture files, just used drop box.
Feedback is appreciated, thanks.
Looks really fine!
Any chance, that you will tell me, how to make own clock?
Gesendet von meinem Nexus 4 mit Tapatalk 2
Well, sadly I can't link to better instructions (I'm new) but mainly you:
Make the empty widget,
Add a module (think: numbers for the clock, rectangles)
then look through the settings for it.
Mainly the format string matters, it has pre built ones like date, battery, etc.
Hope this helps.
Sent from rooted carbon note 2, with the xda app.
Added new clock.
Sent from rooted carbon note 2, with the xda app.
Hej,
will give it a try after work(or on the toilet! )
Want to make my own clock´s and not copied ones^^
Test
inthedark22 said:
Test
Click to expand...
Click to collapse
the links are not working for me
Hi, I really want to remove this shortcuts in PAC ROM, anyone knows how van I do that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Enviado de meu Nexus 4 usando Tapatalk 4
lucasbitencourt said:
Hi, I really want to remove this shortcuts in PAC ROM, anyone knows how van I do that
Enviado de meu Nexus 4 usando Tapatalk 4
Click to expand...
Click to collapse
I think this is part of the ROM. If there is no option in settings, change rom
luiseteyo said:
I think this is part of the ROM. If there is no option in settings, change rom
Click to expand...
Click to collapse
This is awfully unhelpful. This is android. There should be a way to remove this "feature" manually by some file manipulation.
Does anyone know of an ACTUAL answer? (regardless of difficulty. Don't say there's no answer if you think the awnser would be too hard for people to understand.) It would be really great to remove this pointless clutter from my recents screen.
And to luiseteyo, this rom is the ONLY one that works on my device. I would like a way to remove this clutter from the only rom that works on my device.
JamesR624 said:
This is awfully unhelpful. This is android. There should be a way to remove this "feature" manually by some file manipulation.
Does anyone know of an ACTUAL answer? (regardless of difficulty. Don't say there's no answer if you think the awnser would be too hard for people to understand.) It would be really great to remove this pointless clutter from my recents screen.
And to luiseteyo, this rom is the ONLY one that works on my device. I would like a way to remove this clutter from the only rom that works on my device.
Click to expand...
Click to collapse
Ok, dude, then I don't know the exact answer, continue searching
I suggest you ask in PAC thread.. more chances of getting answers..
This exclusive application is included the Samsung Ativ and comes with S Note Metro App.
Install S Note Metro App isn´t required but recommended. http://forum.xda-developers.com/showpost.php?p=47800742&postcount=49
1. To install Mini S Note, download this rar LINK
2. Copy folder, for example in c:/program files (x86)/Samsung. So everything is more organized :good:
3. Execute Quicknote.exe and voila. Now you can create a shortcut on the desktop.
Tested in Windows 8.1 Spring Update with Media Center and Surface Pro 2.
My blog, in Spanish. LINK
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
thank you
Thank you for all your help, I just finished installing snote, gallery, camera, and player. I thought I'd try snote mini, but Im not having any success with your link. when I click on it there are several options. Does it matter which one I download? when I put it in the folder and run the file it opens and then says an error caused it to close. I don't use it much, but would like to get it working on my cpu if I can. Thanks again for all your help
acwpalmer said:
Thank you for all your help, I just finished installing snote, gallery, camera, and player. I thought I'd try snote mini, but Im not having any success with your link. when I click on it there are several options. Does it matter which one I download? when I put it in the folder and run the file it opens and then says an error caused it to close. I don't use it much, but would like to get it working on my cpu if I can. Thanks again for all your help
Click to expand...
Click to collapse
Hello. You need all the files and create a shortcut to quicknote.exe. It is very easy.
In GDrive if you select "File", you will see the option to download the .zip with all the files. :good: