CopyPastor

Detecting plagiarism made easy.

Score: 0.8159128000304967; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2014-12-23
by Ravi Makvana

Original Post

Original - Posted on 2013-03-05
by Mohsin Bagwan



            
Present in both answers; Present only in the new answer; Present only in the old answer;


Use this code...
AudioManager am1 = (AudioManager)getSystemService(Context.AUDIO_SERVICE); Log.i("WiredHeadsetOn = ", am1.isWiredHeadsetOn()+""); Log.i("MusicActive = ", am1.isMusicActive()+""); Log.i("SpeakerphoneOn = ", am1.isSpeakerphoneOn()+"");

Use this code snippet
AudioManager am1 = (AudioManager)getSystemService(Context.AUDIO_SERVICE); Log.i("am1.isWiredHeadsetOn()", am1.isWiredHeadsetOn()+""); Log.i("am1.isMusicActive()", am1.isMusicActive()+""); Log.i("am1.isSpeakerphoneOn()", am1.isSpeakerphoneOn()+"");


        
Present in both answers; Present only in the new answer; Present only in the old answer;