短信长度问题及代码应该是不存在问题的,从网上多处直接拷贝的sendTextMessage代码都不行。真机当前版本4.03,高于minSDK

解决方案 »

  1.   

    Logcat也看不出来,在模拟器上是正常的,APK安装到手机上,就不行,一发短信就崩溃了。
    在手机上可以看到是有发短信权限的。05-30 23:38:38.592    2691-2691/com.example.txl.app D/dalvikvm﹕ GC_FOR_ALLOC freed 74K, 5% free 3203K/3352K, paused 56ms, total 110ms
    05-30 23:38:38.592    2691-2691/com.example.txl.app I/dalvikvm-heap﹕ Grow heap (frag case) to 4.268MB for 1127536-byte allocation
    05-30 23:38:38.682    2691-2700/com.example.txl.app D/dalvikvm﹕ GC_FOR_ALLOC freed 2K, 4% free 4301K/4456K, paused 83ms, total 83ms
    05-30 23:38:39.272    2691-2691/com.example.txl.app D/gralloc_goldfish﹕ Emulator without GPU emulation detected.
    05-30 23:38:53.942    2691-2691/com.example.txl.app I/Choreographer﹕ Skipped 30 frames!  The application may be doing too much work on its main thread.
    05-30 23:38:54.272    2691-2691/com.example.txl.app I/Choreographer﹕ Skipped 31 frames!  The application may be doing too much work on its main thread.
      

  2.   

    什么原因,4.0一下都可以,4.0以上会弹出message界面