In Your App
61 |Integrates into your usual OpenIntents apps with a menu item.
62 |These specifiers extend the standard Android specifiers.
25 | */ 26 | public final class FileManagerIntents { 27 | 28 | /** 29 | * Activity Action: Pick a file through the file manager, or let user 30 | * specify a custom file name. 31 | * Data is the current file name or file name suggestion. 32 | * Returns a new file name as file URI in data. 33 | * 34 | *Constant Value: "org.openintents.action.PICK_FILE"
35 | */ 36 | public static final String ACTION_PICK_FILE = "org.openintents.action.PICK_FILE"; 37 | 38 | /** 39 | * Activity Action: Pick a directory through the file manager, or let user 40 | * specify a custom file name. 41 | * Data is the current directory name or directory name suggestion. 42 | * Returns a new directory name as file URI in data. 43 | * 44 | *Constant Value: "org.openintents.action.PICK_DIRECTORY"
45 | */ 46 | public static final String ACTION_PICK_DIRECTORY = "org.openintents.action.PICK_DIRECTORY"; 47 | 48 | /** 49 | * The title to display. 50 | * 51 | *This is shown in the title bar of the file manager.
52 | * 53 | *Constant Value: "org.openintents.extra.TITLE"
54 | */ 55 | public static final String EXTRA_TITLE = "org.openintents.extra.TITLE"; 56 | 57 | /** 58 | * The text on the button to display. 59 | * 60 | *Depending on the use, it makes sense to set this to "Open" or "Save".
61 | * 62 | *Constant Value: "org.openintents.extra.BUTTON_TEXT"
63 | */ 64 | public static final String EXTRA_BUTTON_TEXT = "org.openintents.extra.BUTTON_TEXT"; 65 | 66 | } 67 | -------------------------------------------------------------------------------- /app/src/main/java/org/openintents/provider/NotePad.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2008 OpenIntents.org 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /** 18 | * Original copyright: 19 | * Based on the Android SDK sample application NotePad. 20 | * Copyright (C) 2007 Google Inc. 21 | * Licensed under the Apache License, Version 2.0. 22 | */ 23 | 24 | package org.openintents.provider; 25 | 26 | import android.net.Uri; 27 | import android.provider.BaseColumns; 28 | 29 | /** 30 | * Convenience definitions for NotePadProvider 31 | * 32 | * @version 2009-01-12, 23:09 UTC 33 | */ 34 | public final class NotePad { 35 | public static final String AUTHORITY = "org.openintents.notepad"; 36 | 37 | // This class cannot be instantiated 38 | private NotePad() {} 39 | 40 | /** 41 | * Notes table 42 | */ 43 | public static final class Notes implements BaseColumns { 44 | // This class cannot be instantiated 45 | private Notes() {} 46 | 47 | /** 48 | * The content:// style URL for this table 49 | */ 50 | public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/notes"); 51 | 52 | /** 53 | * The MIME type of {@link #CONTENT_URI} providing a directory of notes. 54 | */ 55 | public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.openintents.notepad.note"; 56 | 57 | /** 58 | * The MIME type of a {@link #CONTENT_URI} sub-directory of a single note. 59 | */ 60 | public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.openintents.notepad.note"; 61 | 62 | /** 63 | * The default sort order for this table 64 | */ 65 | public static final String DEFAULT_SORT_ORDER = "modified DESC"; 66 | 67 | /** 68 | * The title of the note 69 | *Type: TEXT
70 | */ 71 | public static final String TITLE = "title"; 72 | 73 | /** 74 | * The note itself 75 | *Type: TEXT
76 | */ 77 | public static final String NOTE = "note"; 78 | 79 | /** 80 | * The timestamp for when the note was created 81 | *Type: INTEGER (long from System.curentTimeMillis())
82 | */ 83 | public static final String CREATED_DATE = "created"; 84 | 85 | /** 86 | * The timestamp for when the note was last modified 87 | *Type: INTEGER (long from System.curentTimeMillis())
88 | */ 89 | public static final String MODIFIED_DATE = "modified"; 90 | 91 | /** 92 | * Tags associated with a note. 93 | * Multiple tags are separated by commas. 94 | *Type: TEXT
95 | * @since 1.1.0 96 | */ 97 | public static final String TAGS = "tags"; 98 | 99 | /** 100 | * Whether the note is encrypted. 101 | * 0 = not encrypted. 1 = encrypted. 102 | *Type: INTEGER
103 | * @since 1.1.0 104 | */ 105 | public static final String ENCRYPTED = "encrypted"; 106 | 107 | /** 108 | * A theme URI. 109 | *Type: TEXT
110 | * @since 1.1.0 111 | */ 112 | public static final String THEME = "theme"; 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi-v9/ic_menu_convert_csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable-hdpi-v9/ic_menu_convert_csv.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-ldpi-v9/ic_menu_convert_csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable-ldpi-v9/ic_menu_convert_csv.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi-v9/ic_menu_convert_csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable-mdpi-v9/ic_menu_convert_csv.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi-v9/ic_menu_convert_csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable-xhdpi-v9/ic_menu_convert_csv.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_folder_new_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable/ic_launcher_folder_new_small.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_folder_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable/ic_launcher_folder_small.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu_convert_csv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openintents/convertcsv/3b7cee426ab443112f0890f53c78be66b8b6de18/app/src/main/res/drawable/ic_menu_convert_csv.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_account.xml: -------------------------------------------------------------------------------- 1 | 2 |Backup your notes and shopping lists on Android.
45 |
46 | Your data never get out of your control.
47 | Works with Blockstack (and
48 | other storage providers if you really need).
49 |
51 | Requires OI Notes or 52 | OI Shoppinglist. 54 |
55 | 56 |Integrates into your usual OpenIntents apps with a menu item.
62 |70 | Many settings available to meet your requirements across devices. 71 |
72 |Your data becomes available in the system UI for storage.
80 |90 | This is the first (of hopefully more) OpenIntents app that received 91 | permission to access the internet due to the advances in decentralized 92 | technologies by Blockstack. Please read our blog article why this is a big deal 93 | for OpenIntents. 94 |
95 | 96 | 107 |