From d588cb7fc3a6db9100a50e8a598bfd83b5c4c6da Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Wed, 23 Sep 2009 02:42:47 -0700 Subject: [PATCH] add definition for Mms.TempStorage content uri and filename. Change-Id: Idfab085f2ecc8c7c835208805ccf1d94d6380780 --- core/java/android/provider/Telephony.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index c637e02b115a7..e21918454de35 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -1481,6 +1481,21 @@ public final class Telephony { public static final String SENT_TIME = "sent_time"; } + public static final class ScrapSpace { + /** + * The content:// style URL for this table + */ + public static final Uri CONTENT_URI = Uri.parse("content://mms/scrapSpace"); + + /** + * This is the scrap file we use to store the media attachment when the user + * chooses to capture a photo to be attached (and could be used for other media types + * if necessary). We pass {#link@Uri} to the Camera app, which streams the captured + * image to the uri. Internally we write the media content to this file. + */ + public static final String SCRAP_FILE_PATH = "/sdcard/mms/scrapSpace/file"; + } + public static final class Intents { private Intents() { // Non-instantiatable.