我發送與Glaxy Tab 3(Intel x86 cpu)共享意向。 但是這樣會導致崩潰。與Galaxy Tab發送意向時崩潰3
這是從系統
03
-13 16:08:19.738: D/CrashAnrDetector(2321): Build: samsung/santos10wifixx/santos10wifi:4.2.2/JDQ39/P5210XXUAMG7:user/release-keys
03-13 16:08:19.738: D/CrashAnrDetector(2321): Hardware: clovertrail
03-13 16:08:19.738: D/CrashAnrDetector(2321): Revision: 8
03-13 16:08:19.738: D/CrashAnrDetector(2321): Bootloader: P5210XXUAMG7
03-13 16:08:19.738: D/CrashAnrDetector(2321): Radio: unknown
03-13 16:08:19.738: D/CrashAnrDetector(2321): Kernel: Linux version 3.4.34-1142284 ([email protected]) (gcc version 4.6 20120106 (prerelease) (GCC)) #1 SMP PREEMPT Thu Jul 18 22:33:33 KST 2013
03-13 16:08:19.738: D/CrashAnrDetector(2321): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-13 16:08:19.738: D/CrashAnrDetector(2321): Build fingerprint: 'samsung/santos10wifixx/santos10wifi:4.2.2/JDQ39/P5210XXUAMG7:user/release-keys'
03-13 16:08:19.738: D/CrashAnrDetector(2321): Revision: '8'
03-13 16:08:19.738: D/CrashAnrDetector(2321): pid: 20644, tid: 20644, name: il.co.yes.yesgo >>> il.co.yes.yesgo <<<
03-13 16:08:19.738: D/CrashAnrDetector(2321): signal 4 (SIGILL), code 2 (ILL_ILLOPN), fault addr 4000e370
03-13 16:08:19.738: D/CrashAnrDetector(2321): eax 4003bec8 ebx 40028ff4 ecx 00000000 edx 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): esi 00000016 edi 00000067
03-13 16:08:19.738: D/CrashAnrDetector(2321): xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
03-13 16:08:19.738: D/CrashAnrDetector(2321): eip 4000e370 ebp 00000004 esp bf8c058c flags 00010212
03-13 16:08:19.738: D/CrashAnrDetector(2321): backtrace:
03-13 16:08:19.738: D/CrashAnrDetector(2321): #00 pc 0000a370 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): #01 pc 000089b4 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): #02 pc 0000040c [vdso]
03-13 16:08:19.738: D/CrashAnrDetector(2321): stack:
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c054c bf8c0680 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0550 bf8c0680 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0554 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0558 40022baf /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c055c 4001803e /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0560 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0564 bf8c0578 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0568 00000000
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c056c 410cbbd1 /system/lib/libdvm.so
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0570 00000003
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0574 00000003
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0578 bf8c05a0 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c057c 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0580 40021f28 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0584 00000005
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0588 bf8c0680 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): #00 bf8c058c 4000a3bf /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0590 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0594 4000a3a6 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c0598 40028ff4 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c059c 4000c9b4 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): #01 bf8c05a0 00000067
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05a4 bf8c05e8 [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05a8 00000001
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05ac 00000004
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05b0 40021ecf /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05b4 4000e370 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05b8 00000002
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05bc 000050a4
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05c0 bf8c05ec [stack]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05c4 00000008
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05c8 0000002e
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05cc 00000073
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05d0 60f70099 /data/dalvik-cache/[email protected]@[email protected]
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05d4 00000004
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05d8 40021f28 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): bf8c05dc 40021ecf /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): ........ ........
03-13 16:08:19.738: D/CrashAnrDetector(2321): memory map around fault addr 4000e370:
03-13 16:08:19.738: D/CrashAnrDetector(2321): 40003000-40004000 /system/bin/app_process
03-13 16:08:19.738: D/CrashAnrDetector(2321): 40004000-40028000 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): 40028000-40029000 /system/bin/linker
03-13 16:08:19.738: D/CrashAnrDetector(2321): processName:il.co.yes.yesgo
03-13 16:08:19.738: D/CrashAnrDetector(2321): broadcastEvent : il.co.yes.yesgo SYSTEM_TOMBSTONE
03-13 16:08:19.768: W/ContextImpl(2321): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1375 com.android.server.analytics.data.collection.application.CrashAnrDetector.broadcastEvent:291 com.android.server.analytics.data.collection.application.CrashAnrDetector.processDropBoxEntry:254 com.android.server.analytics.data.collection.application.CrashAnrDetector.access$100:60 com.android.server.analytics.data.collection.application.CrashAnrDetector$1.onReceive:102
意向代碼
Intent i = new Intent(Intent.ACTION_SEND);
String mUrl;
try {
mUrl = URLEncoder.encode(media.getWebLink(), "UTF-8");
} catch (UnsupportedEncodingException e) {
mUrl = media.getWebLink();
}
String m = TvinciSDK.getApplicationContext().getString(R.string.share_message__f_s,
TvinciSDK.getSessionManager().getFirstName(),
media.getName(),
media.getWebLink());
// i.putExtra(Intent.EXTRA_SUBJECT, "text");
i.putExtra(Intent.EXTRA_TEXT, m);
// i.putExtra(Intent.EXTRA_HTML_TEXT, message);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
i.setType("text/plain");
Context context = v.getContext();
if (context != null) {
Intent chooserIntent = Intent.createChooser(i, context.getString(R.string.yesshare_title, title));
chooserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(chooserIntent);
}
它可以與其他設備(虛擬或不是)一起使用,還是僅與Galaxy Tab 3一起使用? –
併發布您的代碼,請... –
是的,它適用於銀河系s3和星系標籤2 – orelzion