Google tablet..kapan kaluarna uy?

by Aap Jaehapni » Mon, 07 Jun 2010 22:27:20 GMT


Sponsored Links
 Salam Hormat Para Master2 android.....

Ada yang tau kapan keluarnya google tablet...maklum kurang update info nih
gan...japri ya..tankyu

-- 
"



Other Threads

1. android audio issue

Hi,
   i am using android SDK 1.5, below is the code where i am recording
voice from mic and playing it.

problems i am facing are :
 voice quality is not good,
 some background voice is there,
 write is getting blocked.

  i have set the permission in .xml file also like :
                   android.permission.INTERNET,
                   android.permission.MODIFY_AUDIO_SETTINGS,
                   android.permission.RECORD_AUDIO,
android.permission.WRITE_SETTINGS

help required

below is the code :
 to record the audio i am using read() and to play write() is being
called.
is my code correct ?

   public void onCreate(Bundle savedInstanceState)
   {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.main);

       byte[] Buffer = new byte [80000] ;

       int Size = 320 ;
       int BuffLen = 1 ;
       int     SizeSoFar = 0 ;
       int MinBuffSize ;
       int Written = 0 ;
       int temp = 0 ;

       AudioRecord audioRecord = new AudioRecord
(MediaRecorder.AudioSource.MIC, 8000,
 
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT, 4096) ;
       audioRecord.startRecording () ;

       MinBuffSize = AudioRecord.getMinBufferSize(8000,2,2);

       AudioTrack track = new AudioTrack (AudioManager.STREAM_MUSIC,
8000,
 
AudioFormat.CHANNEL_CONFIGURATION_MONO ,
AudioFormat.ENCODING_PCM_16BIT,
                       4096, AudioTrack.MODE_STREAM) ;

       track.play() ;

       while (BuffLen != 0)
       {
                SizeSoFar += audioRecord.read (Buffer, 0, Size) ;

               Written = track.write (Buffer, 0, Size) ;
               try
               {
                       Thread.sleep (5) ;
               }
               catch (InterruptedException e)
               {
                       // TODO Auto-generated catch block
                       e.printStackTrace() ;
               }
       }
       audioRecord.stop() ;
       track.stop() ;
   }

help required .






logcat message are :

D/AudioHardware(  556): AudioStreamInGeneric::set(0xad68, 7, 1, 1,
8000)
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408180, 320)
from fd 7
D/AudioHardware(  556): AudioStreamInGeneric::read(0x40408040, 320)
from fd 7
W/AudioFlinger(  556): AudioRecordThread: buffer overflow

-- 

2. Delay to write first video frame

Hi, list:
    As I changed our porting from based on cupcake to donut, I found there's
1sec to 2secs delay to write first frame when playing a video using
libopencorehw.so, the device specific video MIO.  I found this issue cause I
can see a green screen or an afterimage from previous videos that's in
framebuffer memory for 2 seconds before starting playing the video.

In cupcake, there's no such a phenomena, though I found this in Donut. It
seems like there's state machine like change in opencore from cupcake to
donut to make this.  Anyone has a clue or knowing to solve this?

thanks,
-Jeremy

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. G1 brick

4. how to call shell script from init.rc

5. How to get all the log from phone reboot to IDLE

6. Change ListView Color

7. How to add file .sqlite extension to our project