小编use*_*907的帖子

air push adview错误

我在我的Android应用程序中嵌入了空气推送广告.我在layout.xml文件中添加了adview.它有错误

      Multiple annotations found at this line:
  - error: No resource identifier found for attribute 'canShowMR' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'banner_type' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'placementType' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'refresh_time' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'animation' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'test_mode' in package 'com.GUI.traficsing'
Run Code Online (Sandbox Code Playgroud)

谢谢

android android-intent android-layout airpush

3
推荐指数
1
解决办法
1284
查看次数

Android:线程停止工作

它从通道读取图像并将其写入卡.卡片中的图像完全写好,很好.唯一的问题是挂起的线程,并且在该循环之后不执行任何行.

protected Bitmap doInBackground(String... arg0) {
    // TODO Auto-generated method stub'
      // Runtime.getRuntime().availableProcessors();
    System.out.println("Inside doinback"+ RemoteScreen.out.toString());
        try {
            RemoteScreen.out.write(210);
            //Home.threadloop = false;  
             Bitmap bitmap = null;  
            String baseDir = Environment.getExternalStorageDirectory().getAbsolutePath();
            String fileName = "a.png";
            String imageInSD = baseDir + File.separator + fileName; 
                System.out.println(imageInSD);
            if (is!= null) {
                FileOutputStream fos = null;
                BufferedOutputStream bos = null;
                try {
                    // Log.i("IMSERVICE", "FILERECCC-1");
                    //ContextWrapper context = null;
                    fos = new FileOutputStream(imageInSD);   
                    bos = new BufferedOutputStream(fos);

                    byte[] aByte = new byte[1024]; 
                    int bytesRead;  
                    //thread …
Run Code Online (Sandbox Code Playgroud)

java android

1
推荐指数
1
解决办法
192
查看次数

标签 统计

android ×2

airpush ×1

android-intent ×1

android-layout ×1

java ×1