Comments (11)
I've tested on these devices in the past with success. Can you get me a full log of the error?
from android-smsmms.
I will re-create and send you a full log within 24 hours. BTW, thank you for putting this excellent project together, saved me weeks of work on an app.
from android-smsmms.
Alright great, thanks a lot!
It has been a lot of work and stress, but definitely worth it in the end.
On Dec 31, 2013 12:54 PM, "Marius Dornean" [email protected] wrote:
I will re-create and send you a full log within 24 hours. BTW, thank you
for putting this excellent project together, saved me weeks of work on an
app.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-31406546
.
from android-smsmms.
Also, could it just be because it is trying to use the APIs from KitKat related to MMS on previous versions of Android? I've been slowly trying to phase out all of those constants and just use their literal strings be ensure compatibility and it looks like that line is one where Android Studio is telling me it will only work with API 19.
from android-smsmms.
It is very possible. When I first ran into the issue the constants were showing as null in Eclipse around the problem area. When I tried re-creating the issue, the constants showed up correctly. It is possible that there is a disconnect between Eclipse pulling the constants from the API and the code running on the phone. I will switch the constant to the literal string in the erroneous line and report back the findings.
from android-smsmms.
I have same issue on same devices Galaxy S3, S3, Note 3. When I try to send an MMS my app crashes in file Transaction.java with this exception: java.lang.ClassCastException: android.net.ConnectivityManager cannot be cast to android.net.ConnectivityManager.
I don't know how to fix it. :(
Thanks for sharing and answer
from android-smsmms.
Hi Klinker,
Thanks for your code first. I'm getting this error in the samsung devices.
04-15 17:47:48.150: W/System.err(1586): java.lang.UnsupportedOperationException: MmsSmsProvider does not support deletes, inserts, or updates for this URI.
04-15 17:47:48.150: W/System.err(1586): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
04-15 17:47:48.150: W/System.err(1586): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
04-15 17:47:48.150: W/System.err(1586): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:420)
04-15 17:47:48.150: W/System.err(1586): at android.content.ContentResolver.insert(ContentResolver.java:866)
04-15 17:47:48.150: W/System.err(1586): at com.google.android.mms.util_alt.SqliteWrapper.insert(SqliteWrapper.java:112)
04-15 17:47:48.150: W/System.err(1586): at com.android.mms.transaction.MmsMessageSender.sendMessage(MmsMessageSender.java:117)
04-15 17:47:48.150: W/System.err(1586): at com.klinker.android.send_message.Transaction.sendMmsMessage(Transaction.java:343)
04-15 17:47:48.150: W/System.err(1586): at com.klinker.android.send_message.Transaction.sendNewMessage(Transaction.java:157)
04-15 17:47:48.150: W/System.err(1586): at com.solution.morphicons.ConversationActivity.sendMMS(ConversationActivity.java:412)
04-15 17:47:48.150: W/System.err(1586): at com.solution.morphicons.ConversationActivity.onClick(ConversationActivity.java:328)
04-15 17:47:48.150: W/System.err(1586): at android.view.View.performClick(View.java:4191)
04-15 17:47:48.150: W/System.err(1586): at android.view.View$PerformClick.run(View.java:17229)
04-15 17:47:48.150: W/System.err(1586): at android.os.Handler.handleCallback(Handler.java:615)
04-15 17:47:48.150: W/System.err(1586): at android.os.Handler.dispatchMessage(Handler.java:92)
04-15 17:47:48.150: W/System.err(1586): at android.os.Looper.loop(Looper.java:137)
04-15 17:47:48.150: W/System.err(1586): at android.app.ActivityThread.main(ActivityThread.java:4960)
04-15 17:47:48.150: W/System.err(1586): at java.lang.reflect.Method.invokeNative(Native Method)
04-15 17:47:48.150: W/System.err(1586): at java.lang.reflect.Method.invoke(Method.java:511)
04-15 17:47:48.150: W/System.err(1586): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
04-15 17:47:48.150: W/System.err(1586): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
04-15 17:47:48.150: W/System.err(1586): at dalvik.system.NativeStart.main(Native Method)
04-15 17:47:48.180: W/Choreographer(1586): Already have a pending vsync event. There should only be one at a time.
from android-smsmms.
Hi celeronpm,
Did you got the solution for this.
from android-smsmms.
Hi Karthikeyan-Nila,
I had to download the android source and rebuild a few of the modules to make the code work. You can find those changes @: https://github.com/celeronpm/android-smsmms/tree/novoice
Please not these changes are based an a 4 month old fork of the main source.
from android-smsmms.
Thanks celeronpm, I will try with this.
from android-smsmms.
on Galaxy S4 mini
0-27 14:04:42.805 2839-3896/com.klinker.android.send_message.sample E/Transaction: exception thrown
java.lang.UnsupportedOperationException: MmsSmsProvider does not support deletes, inserts, or updates for this URI.
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:169)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
at android.content.ContentProviderProxy.insert(ContentProviderNative.java:420)
at android.content.ContentResolver.insert(ContentResolver.java:869)
at com.google.android.mms.util_alt.SqliteWrapper.insert(SqliteWrapper.java:112)
at com.android.mms.transaction.MmsMessageSender.sendMessage(MmsMessageSender.java:116)
at com.klinker.android.send_message.Transaction.sendMmsMessage(Transaction.java:371)
at com.klinker.android.send_message.Transaction.sendNewMessage(Transaction.java:140)
at com.klinker.android.messaging_sample.MainActivity$8.run(MainActivity.java:221)
at java.lang.Thread.run(Thread.java:856)
from android-smsmms.
Related Issues (20)
- SMS sending fails for NETWORK_TYPE_IWLAN and NETWORK_TYPE_EVDO_A types.
- Receive MMS Fail, Need change 3 lines of code to make it working HOT 6
- "path" variable from onReceived Intent extra is always null, causing app to crash.
- sms or ms on sending failure doesn't call the sentReceivers
- IOnlyOwnerSimSupport HOT 1
- i cannot send MMS only SMS HOT 2
- Can i send MMS with just Text, No Picture attach HOT 1
- Why does this project contain Android Internals? HOT 2
- Unable to start receiver com.example.mms_test.MmsReceiver: java.lang.NullPointerException: println needs a message
- Cannot call transaction.sendNewMessage to send MMS using system sending without being the default Messaging app
- get the id of the message when sending it HOT 1
- I think it needs more permissions when send Audio Files
- Sending MMS is failing on Android 12 with target API as 31 HOT 4
- com.android.mms.service_alt.exception.MmsNetworkException: Acquiring network timed out at Google Pixel Android 11 HOT 1
- can i use this library in my flutter project?? HOT 1
- App crash in Android 12 HOT 2
- MMS cannot be received when the system signature is present
- did u solve this issue ? i have the same issue HOT 1
- Compiled Jar
- compileSdkVersion 31 compiled and not received MMS,LMS Message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-smsmms.