Fix an issue (medium)
OpenIntents
Status: Closed
Time to complete: 336 hrs
Mentors: Peli, Friedger Müffke, Randy McEoin, Manuel R. Ciosici
The task is to fix one of the issues from the list of issues.
Your solution should consist of a patch (instructions) based on the latest version of the application. If you dont have it yet, you first need to download and install the Android SDK (instructions). Follow these instructions to build OI applications.
- Difficulty: medium
- Time limit: 14 days
- Prerequisites: Download the Android SDK (instructions)
- Requirements for completed entry:
- IMPORTANT: Ask first whether the issue you want to work on is still available and whether you should choose an easy, medium, or hard task.
- Send in a patch with your code modifications (instructions).
- The code must follow our StyleGuide.
- The code must fix the issue.
- Depending on the number of stars of the issue, select an easy (1 star), medium (2 stars), or hard (3 or more stars) task.
Uploaded Work
| File name/URL | File size | Date submitted | |
|---|---|---|---|
| http://www.youtube.com/watch?v=jydqCejlS78 | n/a | January 15 2012 05:09 UTC |
I would like to work on this task.
How about http://code.google.com/p/openintents/issues/detail?id=309&q=stack%3DNotepad&sort=-id&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stack%20Stars?
Can you elaborate on what you propose to do? The Notepad, like many apps, uses sqlite3 to store it's data, which it does on internal memory. The big downside to the SDCARD is that if the phone is attached via USB to a computer, /sdcard is unmounted. This can be problematic and tricky to deal with.
What I want to do would be best described as "exporting" all new notes to a user-selected directory on the SD card by default if it's mounted.
This task has been assigned to Aviral Dasgupta. You have 336 hours to complete this task, good luck!
I like the term export. Perhaps an option for "Auto export" to the sdcard with a default of /sdcard/OINotepad/ directory. Each note is a .txt file.
I would also assume no auto export of encrypted notes.
Be sure to test out OI Shopping List with it's notes. I don't think external notes like that should be auto exported.
Seems to me that the issue is requesting to treat the sdcard files as primary. One way to meet that goal would be: If the option is set, then on startup we should check the timestamp of each note on the SD card and read any note that has changed since we last wrote it. Then on pause or shutdown of OI Notepad, we should export any note which has been modified during the session.
There would need to be some reliable way of knowing which file on the card corresponds to each note in memory.
Randy's point about OI Shopping List is a good one. To put it a different way, when OI Notepad is launched from OI Shopping List it should ignore this preference and do things the old way. Might want to test what happens when OI Notepad was already running and the user used the Home button, launched OI Shopping List, and edited an item note.
I have another idea - instead of thinking about it as "exporting" or "sync", let's just simply edit it as an external note, and display it in the notes list by modifying NotesListCursor. When the app starts, it'll scan for .txt files in a preset directory and supply that list to NotesListCursor. How about this approach?
Sounds like a good idea to me.
There could be a small SD card icon next to each such note, indicating that it is located on the SD card (similar to the lock for encrypted notes).
I wonder how extensible this is, because once there is the possibility to preset one directory, I'm sure people will ask to preset several directories on the SD card, for text files organized in different folders.
Also, the question is whether to allow for scanning subdirectories (notes stored in Zim for example use a directory structure).
I guess as a start, as you said, it is simplest to allow for one directory only, without subdirectories, and see how people like this feature. Multiple and recursive directories would then be separate issues. For now the directory could simply be stored as a setting, and later if one needs to store multiple directory locations, this could be converted into a content provider.
The title of such notes would then be the name of the file (instead of the first line of the file).
I have some code written for this task already, however I have exams and I don't think that I'll be able to finish completing it before the deadline or before GCI ends, so I'll just submit this separately as a patch after my exams are over :)
The claim on this task has been removed, someone else can claim it now.
I would like to work on this task.
I plan to fix this issue: http://code.google.com/p/openintents/issues/detail?id=499
The current plot for the video is as follows:
After having just received a mobile bank transfer of $1,000,000 on his phone, the CEO of a major corporation's phone is is immediately stolen by the devious person at the bus stop. An epic chase ensues as the CEO runs for his money, but then he realizes he has the protection of OI Safe for his bank account password and ends the chase. The thief unaware thinks he has emerged victorious, and encounters a nasty surprise, and the day is saved thanks to OI Safe.
This issue is about creating a video:
http://code.google.com/p/openintents/issues/detail?id=499
(see the previous discussion)
This task has been assigned to Billy. You have 336 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
This one's funny :-)
The video is available here:
http://code.google.com/p/openintents/wiki/PromotionVideos#OI_Safe_#2
http://www.openintents.org/en/safe
Inclusion in Market and a Google+ post follow after a week or so, because there was just the Flashlight video.
What's the next video you want to do?
Congratulations, this task has been completed successfully.
The next task I'm planning on doing is OI Countdown
This seems to me what you are looking for:
http://code.google.com/p/openintents/issues/detail?id=500