Giter Site home page Giter Site logo

Comments (11)

klinker41 avatar klinker41 commented on July 20, 2024

I've tested on these devices in the past with success. Can you get me a full log of the error?

from android-smsmms.

celeronpm avatar celeronpm commented on July 20, 2024

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.

klinker41 avatar klinker41 commented on July 20, 2024

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.

klinker41 avatar klinker41 commented on July 20, 2024

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.

celeronpm avatar celeronpm commented on July 20, 2024

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.

Cromir avatar Cromir commented on July 20, 2024

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.

Karthikeyan-Nila avatar Karthikeyan-Nila commented on July 20, 2024

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.

Karthikeyan-Nila avatar Karthikeyan-Nila commented on July 20, 2024

Hi celeronpm,

Did you got the solution for this.

from android-smsmms.

celeronpm avatar celeronpm commented on July 20, 2024

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.

Karthikeyan-Nila avatar Karthikeyan-Nila commented on July 20, 2024

Thanks celeronpm, I will try with this.

from android-smsmms.

KurdAppDev avatar KurdAppDev commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.