Click here to Skip to main content
15,888,351 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Looking for cross platform development/framework feedback Pin
Kent Sharkey30-Oct-13 11:01
staffKent Sharkey30-Oct-13 11:01 
GeneralRe: Looking for cross platform development/framework feedback Pin
Joe Woodbury1-Nov-13 6:54
professionalJoe Woodbury1-Nov-13 6:54 
GeneralRe: Looking for cross platform development/framework feedback Pin
Kent Sharkey1-Nov-13 7:28
staffKent Sharkey1-Nov-13 7:28 
AnswerRe: Looking for cross platform development/framework feedback Pin
docdal2-Jan-17 23:09
docdal2-Jan-17 23:09 
QuestionGPS Coordinate system Pin
i gr825-Oct-13 3:46
i gr825-Oct-13 3:46 
AnswerRe: GPS Coordinate system Pin
Member 1036859130-Oct-13 6:53
Member 1036859130-Oct-13 6:53 
AnswerRe: GPS Coordinate system Pin
Black68cougar4-Nov-13 6:28
Black68cougar4-Nov-13 6:28 
QuestionBitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
arifkomurculer23-Oct-13 1:42
arifkomurculer23-Oct-13 1:42 
Hello friends.
I am developing a software which is sending some picture from pc to android.
it is working for Android 4.0.2 or earlier versions.

But the same code does not work for android 4.2.2 (JB)
Does not return any error message back.

It's all right, but the picture shown in the imageview (on by default have a picture of) an empty changing.

my code are
private void runTcpImageServer() {
     ServerSocket ss = null;
      Boolean end = false;
      Message msg;
      Socket s;
     
      
      //myImg = (ImageView) findViewById(R.id.imgBckGround);
      
      InputStream in ;
     
      
     try {

     ss = new ServerSocket(vrSolPort);
              
     while(!end){ 
//ss.setSoTimeout(10000);
//accept connections
     
      s = ss.accept();
     
     in = s.getInputStream();
         //BufferedInputStream bufIn = new BufferedInputStream(in); 
         
         bmpSol= BitmapFactory.decodeStream(in);

         
                        s.close();
                        
                                                
                        msg = threadHandlerIMGSol.obtainMessage();
                      msg.obj = "Geldi";
                      threadHandlerIMGSol.sendMessage(msg);

        
     }   //while  
        ss.close();

     } catch (Exception e) {
/*
         Toast.makeText(getBaseContext(), e.getMessage(),
Toast.LENGTH_SHORT).show();
*/
}
     
     
    }



can you help me
Komurcu

AnswerRe: BitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
Xiao Ling28-Oct-13 21:12
sponsorXiao Ling28-Oct-13 21:12 
GeneralRe: BitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
arifkomurculer30-Oct-13 23:23
arifkomurculer30-Oct-13 23:23 
GeneralRe: BitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
Xiao Ling30-Oct-13 23:44
sponsorXiao Ling30-Oct-13 23:44 
GeneralRe: BitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
arifkomurculer31-Oct-13 0:03
arifkomurculer31-Oct-13 0:03 
GeneralRe: BitmapFactory.decodeStream problem for Android 4.1.2 or grater Pin
arifkomurculer1-Nov-13 12:34
arifkomurculer1-Nov-13 12:34 
QuestionAndroid Pin
Member 1035100221-Oct-13 19:42
Member 1035100221-Oct-13 19:42 
AnswerRe: Android Pin
thatraja21-Oct-13 20:58
professionalthatraja21-Oct-13 20:58 
QuestionAndroid: Image Gallery Groupbed By Date like Android Photo Calendar Pin
gonzaloleon11-Oct-13 17:15
gonzaloleon11-Oct-13 17:15 
QuestionC++ XML Parser for Android Pin
Don Guy9-Oct-13 16:57
Don Guy9-Oct-13 16:57 
Questionhow to implement pause on countdowntimer Pin
chandan kumar8-Oct-13 22:27
chandan kumar8-Oct-13 22:27 
AnswerRe: how to implement pause on countdowntimer Pin
Pete O'Hanlon8-Oct-13 22:52
mvePete O'Hanlon8-Oct-13 22:52 
GeneralRe: how to implement pause on countdowntimer Pin
chandan kumar8-Oct-13 23:03
chandan kumar8-Oct-13 23:03 
GeneralRe: how to implement pause on countdowntimer Pin
Pete O'Hanlon8-Oct-13 23:09
mvePete O'Hanlon8-Oct-13 23:09 
GeneralRe: how to implement pause on countdowntimer Pin
chandan kumar8-Oct-13 23:18
chandan kumar8-Oct-13 23:18 
GeneralRe: how to implement pause on countdowntimer Pin
Richard MacCutchan8-Oct-13 23:21
mveRichard MacCutchan8-Oct-13 23:21 
GeneralRe: how to implement pause on countdowntimer Pin
Pete O'Hanlon8-Oct-13 23:29
mvePete O'Hanlon8-Oct-13 23:29 
GeneralRe: how to implement pause on countdowntimer Pin
chandan kumar8-Oct-13 23:44
chandan kumar8-Oct-13 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.