[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-24 Thread Mark Murphy

> I believe I did mention the problem I met even though I didn't make it
> very clear. If I have to be more specific, here it is
> a query liks this
> Cursorc = this.getContentResolver().query(Uri.parse("content://
> mms/"),null,null,null,null);

Do you have any evidence that this content provider is supported in the SDK?

> returns the following columns
>// These constants are used to construct union queries across the
> // MMS and SMS base tables.
>
> // These are the columns that appear in both the MMS ("pdu") and
> // SMS ("sms") message tables.
> private static final String[] MMS_SMS_COLUMNS =
> { BaseColumns._ID, Mms.DATE, Mms.READ, Mms.THREAD_ID };

The android.provider.Telephony.Mms class is not in the SDK, as far as I
can tell.

If you are modifying the firmware, you may have better luck getting the
answers you seek from one of the firmware forums:

http://source.android.com/discuss

You might also consider examining the source code to the provider you are
attempting to access (com.android.providers.telephony.MmsProvider).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-24 Thread CJ

I believe I did mention the problem I met even though I didn't make it
very clear. If I have to be more specific, here it is
a query liks this
Cursor  c = this.getContentResolver().query(Uri.parse("content://
mms/"),null,null,null,null);
returns the following columns
   // These constants are used to construct union queries across the
// MMS and SMS base tables.

// These are the columns that appear in both the MMS ("pdu") and
// SMS ("sms") message tables.
private static final String[] MMS_SMS_COLUMNS =
{ BaseColumns._ID, Mms.DATE, Mms.READ, Mms.THREAD_ID };

// These are the columns that appear only in the MMS message
// table.
private static final String[] MMS_ONLY_COLUMNS = {
Mms.CONTENT_CLASS, Mms.CONTENT_LOCATION, Mms.CONTENT_TYPE,
Mms.DELIVERY_REPORT, Mms.EXPIRY, Mms.MESSAGE_CLASS,
Mms.MESSAGE_ID,
Mms.MESSAGE_SIZE, Mms.MESSAGE_TYPE, Mms.MESSAGE_BOX,
Mms.PRIORITY,
Mms.READ_STATUS, Mms.RESPONSE_STATUS, Mms.RESPONSE_TEXT,
Mms.RETRIEVE_STATUS, Mms.RETRIEVE_TEXT_CHARSET,
Mms.REPORT_ALLOWED,
Mms.READ_REPORT, Mms.STATUS, Mms.SUBJECT, Mms.SUBJECT_CHARSET,
Mms.TRANSACTION_ID, Mms.MMS_VERSION };

there is no address regardless of the body of mms.

i am not sure if it is intended to be this way or not. but, either
way, that was my question. HOW TO get more info out of the query like
sms does?

also, i didn't mean to hurt anybody's feelings here. i know somebody
here such as Ms. Hackborn might be working hard to solve issues like
this one. but, i do wish to arouse center people's attention.

FYI, if you do a search with a keyword MMS like what I did, you might
realize it too.

P.S.
http://groups.google.com/group/android-developers/browse_thread/thread/802bf6dad154efe2/8f40dd4bf4454345?lnk=gst&q=mms#8f40dd4bf4454345
http://groups.google.com/group/android-developers/browse_thread/thread/5aeb72b2ef2c8b79/3e40785883a7d6d0?lnk=gst&q=mms#3e40785883a7d6d0
http://groups.google.com/group/android-developers/browse_thread/thread/239c6248ad7fdf6b/6eb488c3610462a3?lnk=gst&q=mms#6eb488c3610462a3
http://groups.google.com/group/android-developers/browse_thread/thread/62c8e713525f595b/a87b1916e158389d?lnk=gst&q=mms#a87b1916e158389d
http://groups.google.com/group/android-developers/browse_thread/thread/e3efcedeadb23ee5/37b2747ed1335d3d?lnk=gst&q=mms#37b2747ed1335d3d





On Feb 23, 10:11 pm, Mark Murphy  wrote:
> CJwrote:
> > as a matter of fact, i do need a real expert's expert. the reason is
> > so obvious that if i have enough time and energy, i can be an expert
> > in many things. but because i don't have them, i come here for
> > opinions and help. if some kind of experts only say, check your own, i
> > would suggest them to remain silence.
>
> You did not ask a question in your original post other than "can any
> google employee give us a break?", which is not really a useful question.
>
> Furthermore, you did not provide any source code and error messages to
> demonstrate whatever problem you may be experiencing with MMS.
>
> If you are unable or unwilling to ask questions and provide information
> to help us understand the questions, nobody can provide you with much
> help. In that case, Ms. Hackborn's answer remains the best advice anyone
> can give you: if you have questions regarding the MMS implementation,
> look at the source code and see if you can find your answers yourself.
>
> Now, even if you ask a focused question and ensure we can understand
> what is happening in your code, whether or not anyone can help you is
> another matter. The fact that "there are so many mms related questions
> unanswerd [sic] on this forum" suggests there are a shortage of experts
> working in this area.
>
> So, the choice is yours: follow Ms. Hackborn's advice, or ask a focused
> question and hope for the best.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Published!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-23 Thread Mark Murphy

CJ wrote:
> as a matter of fact, i do need a real expert's expert. the reason is
> so obvious that if i have enough time and energy, i can be an expert
> in many things. but because i don't have them, i come here for
> opinions and help. if some kind of experts only say, check your own, i
> would suggest them to remain silence.

You did not ask a question in your original post other than "can any
google employee give us a break?", which is not really a useful question.

Furthermore, you did not provide any source code and error messages to
demonstrate whatever problem you may be experiencing with MMS.

If you are unable or unwilling to ask questions and provide information
to help us understand the questions, nobody can provide you with much
help. In that case, Ms. Hackborn's answer remains the best advice anyone
can give you: if you have questions regarding the MMS implementation,
look at the source code and see if you can find your answers yourself.

Now, even if you ask a focused question and ensure we can understand
what is happening in your code, whether or not anyone can help you is
another matter. The fact that "there are so many mms related questions
unanswerd [sic] on this forum" suggests there are a shortage of experts
working in this area.

So, the choice is yours: follow Ms. Hackborn's advice, or ask a focused
question and hope for the best.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-23 Thread CJ

as a matter of fact, i do need a real expert's expert. the reason is
so obvious that if i have enough time and energy, i can be an expert
in many things. but because i don't have them, i come here for
opinions and help. if some kind of experts only say, check your own, i
would suggest them to remain silence.

On Feb 23, 9:13 pm, Dianne Hackborn  wrote:
> You don't need a Google employee, you should have the full source available
> to look at.
>
> On Mon, Feb 23, 2009 at 5:51 PM, CJ  wrote:
>
> > there are so many mms related questions unanswerd on this forum. it
> > looks to me that even a common mms query won't work. the most
> > ridiculous thing is the sender/receiver address won't show up in such
> > a query. i don't feel that is the way it is supposed to be.
> > can any google employee give us a break?
> > thx
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: it seems nobody here answer questions regarding mms

2009-02-23 Thread Dianne Hackborn
You don't need a Google employee, you should have the full source available
to look at.

On Mon, Feb 23, 2009 at 5:51 PM, CJ  wrote:

>
> there are so many mms related questions unanswerd on this forum. it
> looks to me that even a common mms query won't work. the most
> ridiculous thing is the sender/receiver address won't show up in such
> a query. i don't feel that is the way it is supposed to be.
> can any google employee give us a break?
> thx
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---