mmssms.db is missing/not available
I can not view the mmssms.db (Android/data/com.android.providers.telephony) in my android 4.2 version. I do have root permission (allowed unknown resources from phone settings) but still its not visible.
Can you please explain where it is located ? I searched mmssms.db in entire phone but no use.
android sms
add a comment |
I can not view the mmssms.db (Android/data/com.android.providers.telephony) in my android 4.2 version. I do have root permission (allowed unknown resources from phone settings) but still its not visible.
Can you please explain where it is located ? I searched mmssms.db in entire phone but no use.
android sms
add a comment |
I can not view the mmssms.db (Android/data/com.android.providers.telephony) in my android 4.2 version. I do have root permission (allowed unknown resources from phone settings) but still its not visible.
Can you please explain where it is located ? I searched mmssms.db in entire phone but no use.
android sms
I can not view the mmssms.db (Android/data/com.android.providers.telephony) in my android 4.2 version. I do have root permission (allowed unknown resources from phone settings) but still its not visible.
Can you please explain where it is located ? I searched mmssms.db in entire phone but no use.
android sms
android sms
edited Nov 25 '18 at 9:50
J Sushil
asked Aug 6 '15 at 5:53
J SushilJ Sushil
331417
331417
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Uri uriSMURI = Uri.parse("content://sms/inbox");
Cursor result = getContentResolver().query(uriSMURI, null, null, null, null);
The messages are saved in /inbox
Edit: Are you trying to get them from programming or just using your phone? If you are not programming this isn't the right place to ask.
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f31847787%2fmmssms-db-is-missing-not-available%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Uri uriSMURI = Uri.parse("content://sms/inbox");
Cursor result = getContentResolver().query(uriSMURI, null, null, null, null);
The messages are saved in /inbox
Edit: Are you trying to get them from programming or just using your phone? If you are not programming this isn't the right place to ask.
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
add a comment |
Uri uriSMURI = Uri.parse("content://sms/inbox");
Cursor result = getContentResolver().query(uriSMURI, null, null, null, null);
The messages are saved in /inbox
Edit: Are you trying to get them from programming or just using your phone? If you are not programming this isn't the right place to ask.
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
add a comment |
Uri uriSMURI = Uri.parse("content://sms/inbox");
Cursor result = getContentResolver().query(uriSMURI, null, null, null, null);
The messages are saved in /inbox
Edit: Are you trying to get them from programming or just using your phone? If you are not programming this isn't the right place to ask.
Uri uriSMURI = Uri.parse("content://sms/inbox");
Cursor result = getContentResolver().query(uriSMURI, null, null, null, null);
The messages are saved in /inbox
Edit: Are you trying to get them from programming or just using your phone? If you are not programming this isn't the right place to ask.
answered Aug 6 '15 at 6:06
David MacNeilDavid MacNeil
969
969
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
add a comment |
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Thanks for reply Friar. I want to get it from phone so I can then learn the structure of db. Where should I place my question then ?
– J Sushil
Aug 6 '15 at 6:37
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Oh you just want to know the structure of the DB. I'm not sure how you would get that exactly, or where to ask that. It would more than likely be something like (_id, recipient, message, date(?)), but I couldn't say that for sure.
– David MacNeil
Aug 6 '15 at 7:08
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
Any chance you know the path.? I can not view it at Android/data/com.android.providers.telephony
– J Sushil
Aug 6 '15 at 7:56
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
All I know is the Uri which is linked above.
– David MacNeil
Aug 6 '15 at 8:36
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f31847787%2fmmssms-db-is-missing-not-available%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown