[android-developers] Re: Is this the limitation of Intent.ACTION_SEND
Kantesh you got it right :) - AJ On Mar 24, 7:14 am, Kantesh kantesh@gmail.com wrote: Hi mike, u r telling about the limitation made by network operators, but Aj is about where his framework limiting it. On Mar 24, 2:50 am, AJ ajeet.invinci...@gmail.com wrote: Hi Mike I think you misunderstood. I am just talking about limitation of sending text to SMS through IntentACTION_SEND. I am not talking about how the SMS is sending the message. Thanks AJ On Mar 23, 11:25 pm, mike enervat...@gmail.com wrote: Er, um, isn't SMS limited to 160 chars? Mike On 03/23/2010 02:08 PM, AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS throughACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. Thanks AJ On Mar 23, 10:32 pm, Mark Murphymmur...@commonsware.com wrote: AJ wrote: Hi All I am invoking SMS application through Intent.ACTION_SENDwith some text. My text has more than 200 characters. But when the SMS application gets invoked it has only first 200 characters. Is this is the limitation of Intent.ACTION_SEND? You have asked this several times today. I have just successfully sent 552 characters viaACTION_SENDto the Messaging application. Therefore, my guess is that the problem lies in your code somewhere. I would get rid of the sms_body extra and just use Intent.EXTRA_TEXT. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android 2.0 Programming Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Is this the limitation of Intent.ACTION_SEND
AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS through ACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. I peeked at the source code and could not find your limit, before I ran the test myself. I ran the test on a Nexus One (Android 2.1). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Is this the limitation of Intent.ACTION_SEND
ok thanks Mark, I will try to find in the source code. Is sure that some limit would be there to such intents? Thanks AJ On Mar 23, 11:10 pm, Mark Murphy mmur...@commonsware.com wrote: AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS through ACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. I peeked at the source code and could not find your limit, before I ran the test myself. I ran the test on a Nexus One (Android 2.1). -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Is this the limitation of Intent.ACTION_SEND
So any guesses where can I check this limit for SMS application? Thanks AJ On Mar 23, 11:17 pm, Mark Murphy mmur...@commonsware.com wrote: AJ wrote: ok thanks Mark, I will try to find in the source code. Is sure that some limit would be there to such intents? I am fairly sure there is no such limit. At most, the receiving activity might elect to truncate the message. But it is not intrinsic to ACTION_SEND. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.3 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Is this the limitation of Intent.ACTION_SEND
AJ wrote: So any guesses where can I check this limit for SMS application? You could try going back in the revision history of the ComposeMessageActivity. Or, just try it in a few emulator images and see when your behavior changes. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.3 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [android-developers] Re: Is this the limitation of Intent.ACTION_SEND
Er, um, isn't SMS limited to 160 chars? Mike On 03/23/2010 02:08 PM, AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS through ACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. Thanks AJ On Mar 23, 10:32 pm, Mark Murphymmur...@commonsware.com wrote: AJ wrote: Hi All I am invoking SMS application through Intent.ACTION_SEND with some text. My text has more than 200 characters. But when the SMS application gets invoked it has only first 200 characters. Is this is the limitation of Intent.ACTION_SEND? You have asked this several times today. I have just successfully sent 552 characters via ACTION_SEND to the Messaging application. Therefore, my guess is that the problem lies in your code somewhere. I would get rid of the sms_body extra and just use Intent.EXTRA_TEXT. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android 2.0 Programming Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Is this the limitation of Intent.ACTION_SEND
Hi Mike I think you misunderstood. I am just talking about limitation of sending text to SMS through Intent ACTION_SEND. I am not talking about how the SMS is sending the message. Thanks AJ On Mar 23, 11:25 pm, mike enervat...@gmail.com wrote: Er, um, isn't SMS limited to 160 chars? Mike On 03/23/2010 02:08 PM, AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS through ACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. Thanks AJ On Mar 23, 10:32 pm, Mark Murphymmur...@commonsware.com wrote: AJ wrote: Hi All I am invoking SMS application through Intent.ACTION_SEND with some text. My text has more than 200 characters. But when the SMS application gets invoked it has only first 200 characters. Is this is the limitation of Intent.ACTION_SEND? You have asked this several times today. I have just successfully sent 552 characters via ACTION_SEND to the Messaging application. Therefore, my guess is that the problem lies in your code somewhere. I would get rid of the sms_body extra and just use Intent.EXTRA_TEXT. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android 2.0 Programming Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[android-developers] Re: Is this the limitation of Intent.ACTION_SEND
Hi mike, u r telling about the limitation made by network operators, but Aj is about where his framework limiting it. On Mar 24, 2:50 am, AJ ajeet.invinci...@gmail.com wrote: Hi Mike I think you misunderstood. I am just talking about limitation of sending text to SMS through Intent ACTION_SEND. I am not talking about how the SMS is sending the message. Thanks AJ On Mar 23, 11:25 pm, mike enervat...@gmail.com wrote: Er, um, isn't SMS limited to 160 chars? Mike On 03/23/2010 02:08 PM, AJ wrote: Hi Mark, Thanks for the reply I am also using the same what you written. But in my device it is limited to only 200 characters. I checked the code and verified the result again. Intent intent = new Intent(Intent.ACTION_SEND); intent.setType(text/plain); intent.putExtra(Intent.EXTRA_TEXT, some very big tet); _activity.startActivity(intent); In my device the limit is 200 and in your device its 552. Its ok. Anyway we can't send unlimited data to SMS through ACTION_SEND. But I am curious to know where the limitation is being defined. So that I can check that. Thanks AJ On Mar 23, 10:32 pm, Mark Murphymmur...@commonsware.com wrote: AJ wrote: Hi All I am invoking SMS application through Intent.ACTION_SEND with some text. My text has more than 200 characters. But when the SMS application gets invoked it has only first 200 characters. Is this is the limitation of Intent.ACTION_SEND? You have asked this several times today. I have just successfully sent 552 characters via ACTION_SEND to the Messaging application. Therefore, my guess is that the problem lies in your code somewhere. I would get rid of the sms_body extra and just use Intent.EXTRA_TEXT. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy Android 2.0 Programming Books:http://commonsware.com/books -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.