|
@@ -282,7 +282,6 @@ public class ShareActivity extends BaseActivity {
|
282
|
282
|
String nickname = shopDataBean.getUserinfo().getNickname();
|
283
|
283
|
String invite_code = shopDataBean.getUserinfo().getInvite_code();
|
284
|
284
|
Bitmap bitmap1 = ShareImgUtils.getInstance().newBitmap(title, drawable, bitmap, qrBitmap, headerBitmap, discount_price, parseDouble, nickname, invite_code);
|
285
|
|
-// testImage.setImageBitmap(bitmap1);
|
286
|
285
|
WxChatUtils.getInstance().shareImage(bitmap1);
|
287
|
286
|
} catch (WriterException e) {
|
288
|
287
|
e.printStackTrace();
|
|
@@ -321,7 +320,6 @@ public class ShareActivity extends BaseActivity {
|
321
|
320
|
String nickname = jdData.getUserinfo().getNickname();
|
322
|
321
|
String invite_code = jdData.getUserinfo().getInvite_code();
|
323
|
322
|
Bitmap bitmap1 = ShareImgUtils.getInstance().newBitmap(title, drawable, bitmap, qrBitmap, headerBitmap, discount_price, price1, nickname, invite_code);
|
324
|
|
-// testImage.setImageBitmap(bitmap1);
|
325
|
323
|
WxChatUtils.getInstance().shareImage(bitmap1);
|
326
|
324
|
} catch (WriterException e) {
|
327
|
325
|
e.printStackTrace();
|
|
@@ -360,7 +358,6 @@ public class ShareActivity extends BaseActivity {
|
360
|
358
|
String nickname = pddData.getUserinfo().getNickname();
|
361
|
359
|
String invite_code = pddData.getUserinfo().getInvite_code();
|
362
|
360
|
Bitmap bitmap1 = ShareImgUtils.getInstance().newBitmap(title, drawable, bitmap, qrBitmap, headerBitmap, discount_price, price1, nickname, invite_code);
|
363
|
|
-// testImage.setImageBitmap(bitmap1);
|
364
|
361
|
WxChatUtils.getInstance().shareImage(bitmap1);
|
365
|
362
|
} catch (WriterException e) {
|
366
|
363
|
e.printStackTrace();
|
|
@@ -399,7 +396,6 @@ public class ShareActivity extends BaseActivity {
|
399
|
396
|
String nickname = dyRst.getUserinfo().getNickname();
|
400
|
397
|
String invite_code = dyRst.getUserinfo().getInvite_code();
|
401
|
398
|
Bitmap bitmap1 = ShareImgUtils.getInstance().newBitmap(title, drawable, bitmap, qrBitmap, headerBitmap, discount_price, price1, nickname, invite_code);
|
402
|
|
-// testImage.setImageBitmap(bitmap1);
|
403
|
399
|
WxChatUtils.getInstance().shareImage(bitmap1);
|
404
|
400
|
} catch (WriterException e) {
|
405
|
401
|
e.printStackTrace();
|
|
@@ -439,7 +435,6 @@ public class ShareActivity extends BaseActivity {
|
439
|
435
|
String nickname = wphData.getUserinfo().getNickname();
|
440
|
436
|
String invite_code = wphData.getUserinfo().getInvite_code();
|
441
|
437
|
Bitmap bitmap1 = ShareImgUtils.getInstance().newBitmap(title, drawable, bitmap, qrBitmap, headerBitmap, discount_price, parseDouble, nickname, invite_code);
|
442
|
|
-// testImage.setImageBitmap(bitmap1);
|
443
|
438
|
WxChatUtils.getInstance().shareImage(bitmap1);
|
444
|
439
|
} catch (WriterException e) {
|
445
|
440
|
e.printStackTrace();
|
|
@@ -481,12 +476,4 @@ public class ShareActivity extends BaseActivity {
|
481
|
476
|
linearLayout.draw(canvas);
|
482
|
477
|
return bitmap;
|
483
|
478
|
}
|
484
|
|
-
|
485
|
|
-
|
486
|
|
- @Override
|
487
|
|
- protected void onCreate(Bundle savedInstanceState) {
|
488
|
|
- super.onCreate(savedInstanceState);
|
489
|
|
- // TODO: add setContentView(...) invocation
|
490
|
|
- ButterKnife.bind(this);
|
491
|
|
- }
|
492
|
479
|
}
|