[android-developers] Re: [android-kernel] repo intialization

2011-01-11 Thread Deva R
 i wanted to initialize the repo in specific folder. whenever  i initialized
 the  repo . it initialize in home folder only even i make the directory and
 run the command.

No such restrictions, and we can chose any directory we want.
whole project tree location depends on where we do repo init/repo sync

i would do below steps

$mkdir /data/build/new_froyo_build
$cd /data/build/new_froyo_build
$repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
$repo sync
$make
$mkdir /data/build/new_gb_build
$cd /data/build/new_gb_build
$repo init -u git://android.git.kernel.org/platform/manifest.git -b gingerbread
$repo sync
$make


On Mon, Jan 10, 2011 at 11:58 PM, peeyush varshney
varshney.peey...@gmail.com wrote:
 Dear All,

 i wanted to initialize the repo in specific folder. whenever  i initialized
 the  repo . it initialize in home folder only even i make the directory and
 run the command.
 my concerned is to keep the froyo and gingerbeard code in separate folder,
 but it will replace previous one.


 --
 Thank  Regards
 Peeyush Varshney

 --
 unsubscribe: android-kernel+unsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-kernel



-- 
Regards,
Deva
www.bittoggler.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: [android-porting] can't access SurfaceFlinger

2010-12-10 Thread Deva R
still the permission is failing on Permission.check()
http://git.omapzoom.org/?p=platform/frameworks/base.git;a=blob;f=libs/surfaceflinger/SurfaceFlinger.cpp;h=6079a628f00762ed665205986aa6756617271422;hb=refs/heads/p-froyo#l1637

is this apk built separtely outside system build??
from past threads
http://groups.google.com/group/android-porting/browse_thread/thread/6f649c42d30f7572
,

This is a system permission - you cannot access it from an application
unless it is signed with the system keys. It's a bad idea to be
messing around with SurfaceFlinger low-levels from an application.


On Fri, Dec 10, 2010 at 8:14 AM, 袁堂夫 yuantangf...@gmail.com wrote:

 I have used permission
 android:name=android.permission.ACCESS_SURFACE_FLINGER / in the
 AndroidMenifest.xml.
 But the error is still there. How to fix this error?
 -
 12-10 03:05:57.975: WARN/ServiceManager(1002): Permission failure:
 android.permission.ACCESS_SURFACE_FLINGER from uid=10056 pid=2250

 12-10 03:05:57.975: ERROR/SurfaceFlinger(1002): Permission Denial:
 can't access SurfaceFlinger pid=2250, uid=10056

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting




-- 
Regards,
Deva
www.bittoggler.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: [android-porting] how to set the SeekBar more narrow?

2010-12-01 Thread Deva R
seekbar of froyo video player??

GUI and video control of video players lies
in packages/apps/Gallery3D/src/com/cooliris/media
seek bar and update happens at
http://git.omapzoom.org/?p=platform/packages/apps/Gallery3D.git;a=blob;f=src/com/cooliris/media/TimeBar.java#l347
http://git.omapzoom.org/?p=platform/packages/apps/Gallery3D.git;a=blob;f=src/com/cooliris/media/TimeBar.java#l347
On Wed, Dec 1, 2010 at 1:21 PM, 袁堂夫 yuantangf...@gmail.com wrote:

 how to  set the SeekBar  more narrow and the thumb is still that big?

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting




-- 
Regards,
Deva
www.bittoggler.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: [android-porting] Patches in Android

2010-11-21 Thread Deva R
when u talk about android kernel = only board support patches are required
to make it work on a platform.
note: for kernel.org linus's kernel tree = u need android patchset and your
platform patches.

 I was just wondering if someone could explain to me the actual need of
patching the Android kernel before we can port Android to the target
hardware.
u can pick up a platform and do a mini case study.
say, start with beagbleboard kernel http://code.google.com/p/rowboat/
http://groups.google.com/group/beagleboard/browse_thread/thread/6984fd8ca8ffa203
http://groups.google.com/group/beagleboard/browse_thread/thread/6984fd8ca8ffa203

On Sat, Nov 20, 2010 at 1:20 PM, Abhyudai Shanker 
abhyudai.shan...@gmail.com wrote:

 Hi,

 I am a novice at Android Porting.

 Though I have a slight idea why it is done, I was just wondering if someone
 could explain to me the actual need of patching the Android kernel before we
 can port Android to the target hardware. Also a slight idea as to how it is
 done and what do we actually write in the patches.

 I am noob. Please pardon me for such a basic question.

 Looking forward to your help.

 Abhyudai

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting




-- 
Regards,
Deva
www.bittoggler.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: [android-porting] how to present the renderbuffer on the screen?

2010-11-17 Thread Deva R
i have a rough overview
To post data to screen = u need to have a surfaceflinger client handle and
post your buffer contents to surfaceflinger, which composes final
framebuffer to display on LCD.
see if attached demo helps (source:
http://people.debian.org.tw/~olv/surfaceflinger/ )

-- 
Regards,
Deva
www.bittoggler.com


On Wed, Nov 17, 2010 at 1:05 PM, 袁堂夫 yuantangf...@gmail.com wrote:

 I use opengl es 2.0 to draw some picture,and create the FBOs,
 but how to present the renderbuffer on the screen?
 --code like this
 
glGenFramebuffers(1, viewFramebuffer);
glGenRenderbuffers(1, viewRenderbuffer);
glBindFramebuffer(GL_FRAMEBUFFER, viewFramebuffer);
glBindRenderbuffer(GL_RENDERBUFFER, viewRenderbuffer);
glRenderbufferStorage (GL_RENDERBUFFER, GL_RGB565,
 g_WindowsWidth,
 g_WindowsHeight);
glFramebufferRenderbuffer(GL_FRAMEBUFFER,
 GL_COLOR_ATTACHMENT0,
 GL_RENDERBUFFER, viewRenderbuffer);
GLenum status=glCheckFramebufferStatus(GL_FRAMEBUFFER);
 //draw something,like glTexImage
 //but how to present the renderbuffer on the screen?

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

surfaceflinger.demo.tar.gz
Description: GNU Zip compressed data


[android-developers] Re: [rowboat] Gallery app cannot play the video

2010-10-13 Thread Deva R
 When I checked the Logcat, I noticed the two applications were issuing
 different Intents.
Intent is same., except that minor diff what u see is = file argument
is absolute path in file manager, and in case of gallery app, relative
clip database path is passed..
Its good as long as com.cooliris.media/.MovieView is used., (also it
could be stagefright/opencore underneath, runtime switchable)

More critical difference is, hows WxH is different (assuming you use same clip)
D/TIOverlay(  894): overlay_createOverlay:IN w=640 h=480 format=22
D/TIOverlay(  894): overlay_createOverlay:IN w=352 h=288 format=22

Check for dsp codec error logs. Probably wrong WxH is communicated to
codec during VideoOutputPort Configuration, and codec stopped giving
o/p, so no frame;s sent to TIHwRenderer (less logs, but you dont see
FPS prints).

So, that you confirmed, u have to see what causes it.
I would suggest enable more logs in stagefright player driver
(/frameworks/base/media/libstagefright/AwesomePlayer.cpp) and decoder
(./frameworks/base/media/libstagefright/AwesomePlayer.cpp),
for next level of hints...


-- 
Regards,
Deva
www.bittoggler.com

On Wed, Oct 13, 2010 at 8:39 PM, Joseph, Arun arunjos...@ti.com wrote:
 I was trying to play one video [h264 – 3gp 352x288] from Gallery on OMAP35XX
 EVM booted up with rowboat froyo port.[arowboat.org].

 I am able to hear audio, but no display is coming. But when I seek to
 different positions, I am able to see decoded snapshots.



 But with one File Manager application I could play the video correctly by
 clicking on the item.



 When I checked the Logcat, I noticed the two applications were issuing
 different Intents.



 Gallery



 I/ActivityManager(  894): Starting activity: Intent {
 act=android.intent.action.

 VIEW dat=content://media/external/video/media/7 typ=video/mp4 cm

 p=com.cooliris.media/.MovieView }



 File Manager



 I/ActivityManager(  894): Starting activity: Intent {
 act=android.intent.action.

 VIEW dat=file:///mnt/sdcard/images/marcelo_h264-528_aac-64.3gp
 typ=video/3gpp cm

 p=com.cooliris.media/.MovieView }



 I have attached the logcat output for both the cases.



 Please suggest what would have been gone wrong for the video started from
 Gallery.



 Thanks  Regards,

 Arun











 --
 You received this message because you are subscribed to the Google Groups
 rowboat group.
 To post to this group, send email to rowb...@googlegroups.com.
 To unsubscribe from this group, send email to
 rowboat+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/rowboat?hl=en.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Stagefright Mediaextractor: how to detect interlaced streams in video files?

2010-10-04 Thread Deva R
[resolved now]

i realized lately that its beyond the scope of file parser., and
supposed to be done by codec component.
written a custom parser to detect interlaced content,
and posted to local gerrit - http://review.omapzoom.org/#change,6889

-- 
Regards,
Deva
www.bittoggler.com

On Tue, Sep 7, 2010 at 4:14 PM, Deva R r.deva...@gmail.com wrote:
 Hi,
 Is it possible to detect scan type (progressive or interlaced) of a video
 file in stagefright?

 I see below listed fields are query-able with metadata of file through
 stagefright, but not scan-type which i guess is avaiable in MP4 file header.
 Any hint on how to detect scan-type of video file at Stagefright player
 driver? Or is it available in opencore??
 Thanks,
 Deva
 PS.
 From .\frameworks\base\include\media\stagefright\MetaData.h
 enum {
     kKeyMIMEType          = 'mime',
     kKeyWidth             = 'widt',
     kKeyHeight            = 'heig',
     kKeyChannelCount      = '#chn',
     kKeySampleRate        = 'srte',
     kKeyBitRate           = 'brte',
     kKeyESDS              = 'esds',
     kKeyAVCC              = 'avcc',
     kKeyVorbisInfo        = 'vinf',
     kKeyVorbisBooks       = 'vboo',
     kKeyWantsNALFragments = 'NALf',
     kKeyIsSyncFrame       = 'sync',
     kKeyIsCodecConfig     = 'conf',
     kKeyTime              = 'time',
     kKeyDuration          = 'dura',
     kKeyColorFormat       = 'colf',
     kKeyPlatformPrivate   = 'priv',
     kKeyDecoderComponent  = 'decC',
     kKeyBufferID          = 'bfID',
     kKeyMaxInputSize      = 'inpS',
     kKeyThumbnailTime     = 'thbT',
     kKeyAlbum             = 'albu',
     kKeyArtist            = 'arti',
     kKeyAlbumArtist       = 'aart',
     kKeyComposer          = 'comp',
     kKeyGenre             = 'genr',
     kKeyTitle             = 'titl',
     kKeyYear              = 'year',
     kKeyAlbumArt          = 'albA',
     kKeyAlbumArtMIME      = 'alAM',
     kKeyAuthor            = 'auth',
     kKeyCDTrackNumber     = 'cdtr',
     kKeyDiscNumber        = 'dnum',
     kKeyDate              = 'date',
     kKeyWriter            = 'writ',
 };



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: [android-porting] Need info on LOCAL_CFLAGS

2010-09-17 Thread Deva R
Android build system passes these flags to compiler while building.,

These are local to module being built., and roughly, whole heirarchy is
like:

- lots of CFLGAS initialized by default in .mk files under MYDROID/build/*
folder
- COMMON_GLOBAL_CFLAGS defined in platform board files (sample -
http://goo.gl/3H4v )
- LOCAL_CFLAGS defined in Android.mk per module, local to the module being
built.

Tip: You can cross check these flags by running 'make showcommands'

-- 
Regards,
Deva
www.bittoggler.com

On Tue, Sep 14, 2010 at 9:43 AM, Ajith Kamath sjce.aj...@gmail.com wrote:

 Hi

 Can anyone please tell me usage of  LOCAL_CFLAGS in android.mk.

 Regards,
 Ajith

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Stagefright Mediaextractor: how to detect interlaced streams in video files?

2010-09-07 Thread Deva R
Hi,

Is it possible to detect scan type (progressive or interlaced) of a video
file in stagefright?

I see below listed fields are query-able with metadata of file through
stagefright, but not scan-type which i guess is avaiable in MP4 file header.
Any hint on how to detect scan-type of video file at Stagefright player
driver? Or is it available in opencore??

Thanks,
Deva

PS.
From .\frameworks\base\include\media\stagefright\MetaData.h
enum {
kKeyMIMEType  = 'mime',
kKeyWidth = 'widt',
kKeyHeight= 'heig',
kKeyChannelCount  = '#chn',
kKeySampleRate= 'srte',
kKeyBitRate   = 'brte',
kKeyESDS  = 'esds',
kKeyAVCC  = 'avcc',
kKeyVorbisInfo= 'vinf',
kKeyVorbisBooks   = 'vboo',
kKeyWantsNALFragments = 'NALf',
kKeyIsSyncFrame   = 'sync',
kKeyIsCodecConfig = 'conf',
kKeyTime  = 'time',
kKeyDuration  = 'dura',
kKeyColorFormat   = 'colf',
kKeyPlatformPrivate   = 'priv',
kKeyDecoderComponent  = 'decC',
kKeyBufferID  = 'bfID',
kKeyMaxInputSize  = 'inpS',
kKeyThumbnailTime = 'thbT',

kKeyAlbum = 'albu',
kKeyArtist= 'arti',
kKeyAlbumArtist   = 'aart',
kKeyComposer  = 'comp',
kKeyGenre = 'genr',
kKeyTitle = 'titl',
kKeyYear  = 'year',
kKeyAlbumArt  = 'albA',
kKeyAlbumArtMIME  = 'alAM',
kKeyAuthor= 'auth',
kKeyCDTrackNumber = 'cdtr',
kKeyDiscNumber= 'dnum',
kKeyDate  = 'date',
kKeyWriter= 'writ',
};

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Eclair: MovieView App to put into background like Music App.

2010-05-30 Thread Deva R
guys, any hints for this issue?

On Thu, May 27, 2010 at 5:07 PM, Deva R r.deva...@gmail.com wrote:
 Hi,

 Android Music app (com.android.music) shall reamin active (continue
 playing music) in background, but not any other apps (say browser cant
 be put in background)?
 Is it possible to have android movie player
 (com.android.camera.MovieView) to behave in similar fashion?

 My requirement is - to launch video playback in a auxiliary display
 device, while regular display panel will be active with regular
 android apps (menu/lock screen/browser/...)

 Regards,
 Deva


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Eclair: MovieView App to put into background like Music App.

2010-05-27 Thread Deva R
Hi,

Android Music app (com.android.music) shall reamin active (continue
playing music) in background, but not any other apps (say browser cant
be put in background)?
Is it possible to have android movie player
(com.android.camera.MovieView) to behave in similar fashion?

My requirement is - to launch video playback in a auxiliary display
device, while regular display panel will be active with regular
android apps (menu/lock screen/browser/...)

Regards,
Deva

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: [android-porting] Re: Disable hardware codecs

2010-05-04 Thread Deva R
Hi Uander,

Hw codecs from TIOMX_Core library is still significant, and it
shouldnt be in picture if 01_Vendor_ti_omx.cfg is deleted completely.
is it like have u renamed the file? (confirm by 'ls /etc/' after android bootup)

Intention of deleting the file is, PV OMX component sw-codecs should
be chosen via /etc/pvplayer.cfg..

-Deva
On Tue, May 4, 2010 at 2:21 PM, Uander uandro...@gmail.com wrote:
 Hello  ,

 @Deva -

 I disable h/w acceleration by removing 01_Vendor_ti_omx.cfg file . now its
 using s/w codecs  .  But still same error comes up . logcat says :

 ***


 D/omx_interface(  906): DLOPEN SUCCEEDED (libOMX_Core.so)
 D/omx_interface(  906): TIOMXInterface: library lookup success
 D/TIOMX_CORE(  906): init count = 1
 D/TIOMX_CORE(  906): Found component OMX.TI.AMR.decode with refCount 0
 D/OMX_NBAMRDEC(  906): OMX_ComponentInit():202 202 ::OMX_ComponentInit
 D/OMX_NBAMRDEC(  906): NBAMRDECHandleCommand():829 829 :: OMX_AmrDec_Utils.c
 :: Error returned from    LCML_Init()
 W/MediaPlayer( 1441): info/warning (1, 26)
 D/OMX_NBAMRDEC(  906): NBAMRDEC_ComponentThread():102 :: Comp Thrd Exiting
 here...
 I/DEBUG   (  904): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 *** ***
 I/DEBUG   (  904): Build fingerprint:
 'NEC/pine/pine/pine:2.1/ERD79/eng.root.20100429.171703:eng/test-keys'
 I/DEBUG   (  904): pid: 906, tid: 1523   /system/bin/mediaserver 
 I/DEBUG   (  904): signal 11 (SIGSEGV), fault addr 
 I/DEBUG   (  904):  r0 0004a218  r1 80c20f18  r2 06f4  r3 80c229f0
 I/DEBUG   (  904):  r4 80c230f8  r5 40b0dbac  r6 00035420  r7 00021bb8
 I/DEBUG   (  904):  r8 0010  r9 a9d1b8e5  10 40a0e000  fp 00021b58
 I/DEBUG   (  904):  ip   sp 40b0db30  lr 80c1a69d  pc   cpsr
 a010
 I/DEBUG   (  904):  #00  pc 
 I/DEBUG   (  904):  #01  pc 0001a69a
 /system/lib/libOMX.TI.AMR.decode.so
 I/DEBUG   (  904):  #02  pc 10ca  /system/lib/libOMX_Core.so

 
 @Ricardo

 my file is AMR-NB formatted (mimetype set as audio/3gp in mediascanner.java
 ), I can find
  {OMX.TI.AMR.encode, audio_encoder.amrnb},
  {OMX.TI.AMR.decode, audio_decoder.amrnb},

 in platform/hardware/ti/omx/system/src/openmax_il/omx_core/src/OMX_core.c .
 so codecs support seem to listed there  .

 error comes up from LCML_Init () call in  OMX_AmrDec_Utils.c . that means
 its unable to load codec .


 Thanks :
 Uander

 On Mon, May 3, 2010 at 11:21 PM, Ricardo Martinez oscar2...@gmail.com
 wrote:

 Hi Uander,
 You can disable Hardware acceleration by editing this file:
 platform/vendor/ti/zoom2/BoardConfig.mk

 But I think it's better to find the root cause of the issue, probably the
 first step could be to verify if the audio format is actually supported,
 take a look at the supported OMX roles (tComponentName):
 platform/hardware/ti/omx/system/src/openmax_il/omx_core/src/OMX_core.c
 Thanks,
 Ricardo
 On Mon, May 3, 2010 at 7:54 AM, Deva R r.deva...@gmail.com wrote:

 [+porting list]
 you can delete  ./system/etc/01_Vendor_ti_omx.cfg in your file system,
 so as to use SW codecs from PVOMX components (picked up by
 ./system/etc/pvplayer.cfg).

 On Mon, May 3, 2010 at 6:23 PM, Uander uandro...@gmail.com wrote:
  Hello   ,
 
  I have a file a audio/3gp file that I can play in eclair-2.1 emulator
  but
  its throwing error on my Zoom2
  device  says Sorry , this player doesn't support this  type of audio
  file 
  .
 
  emulator will be using s/w codecs . while zoom2 has h/w codecs . The
  logic
  of  MMM framework is like if h/w codecs are not present it should look
  for
  s/w codec . if zoom2 is not finding h/w codec for my audio/3gp file ,
  it
  should search for s/w codec and play file , why does it fails with
  error ?
 
  How to disable hardware acceleration of codecs ?
 
  Please correct me If I am wrong .
 
 
 
 
  Thanks :
  Uander
 
  --
  You received this message because you are subscribed to the Google
  Groups
  android-platform group.
  To post to this group, send email to android-platf...@googlegroups.com.
  To unsubscribe from this group, send email to
  android-platform+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/android-platform?hl=en.
 

 --
 unsubscribe: android-porting+unsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting

 --
 You received this message because you are subscribed to the Google Groups
 android-platform group.
 To post to this group, send email to android-platf...@googlegroups.com.
 To unsubscribe from this group, send email to
 android-platform+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/android-platform?hl=en.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android

[android-developers] Re: Disable hardware codecs

2010-05-03 Thread Deva R
[+porting list]
you can delete  ./system/etc/01_Vendor_ti_omx.cfg in your file system,
so as to use SW codecs from PVOMX components (picked up by
./system/etc/pvplayer.cfg).

On Mon, May 3, 2010 at 6:23 PM, Uander uandro...@gmail.com wrote:
 Hello   ,

 I have a file a audio/3gp file that I can play in eclair-2.1 emulator but
 its throwing error on my Zoom2
 device  says Sorry , this player doesn't support this  type of audio file 
 .

 emulator will be using s/w codecs . while zoom2 has h/w codecs . The logic
 of  MMM framework is like if h/w codecs are not present it should look for
 s/w codec . if zoom2 is not finding h/w codec for my audio/3gp file , it
 should search for s/w codec and play file , why does it fails with error ?

 How to disable hardware acceleration of codecs ?

 Please correct me If I am wrong .




 Thanks :
 Uander

 --
 You received this message because you are subscribed to the Google Groups
 android-platform group.
 To post to this group, send email to android-platf...@googlegroups.com.
 To unsubscribe from this group, send email to
 android-platform+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/android-platform?hl=en.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: [android-porting] CTS not detecting Zoom2 device

2010-04-15 Thread Deva R
Hi,
Can you make sure of adb bridge, with emulator and zoom seperately one at a
time?

I guess the tag emulator-5554 is used by zoom2 too..
Pls check
http://omappedia.org/wiki/Android_Debugging#Debugging_on_Zoom2_with_Eclipse_ADT




On Thu, Apr 15, 2010 at 3:49 PM, Uander uandro...@gmail.com wrote:

 Hi ALL ,

 I am ruuning startcts script to run cts testtools .
 I have run emulator  as well as my zoom2 device is also connected to
 /dev/ttyUSB0 port

 When I am doing adb devices . it is only showing emulator not zoom2 .

 List of devices attached
 emulator-5554device

 What settings required so as zoom2 will also be detected ? I want to run
 startcts against zoom2 .


 Thanks :
 Uander

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: [android-porting] [PM] about late resume, when PowerManagerService write on to /sys/power/state to call late resume?

2010-04-14 Thread Deva R
 when the PowerManagerService(
PowerManagerSerivce.java) write on to /sys/power/state (using
SetScreenState(true) ),

Note that in android (for that matter, universally in java) java
applications cant access system resources (sys/power/state file in this
case) directly, as they have to bypass VM (dalvik in android).

so, usually its java-app - JNI - native library - kernel component
so, the sysfs entry sys/poewr/state will be updated in kernel component
finally. the call sequence will be like
com.android.PowerManagerSerivce  = android.app.ActivityManagerNative = JNI
= ... = kernel power - writing /sys/power/state

btw, ON is not supported in /sys/power/state, and supported state are
'standby' (Power-On Suspend)
'mem' (Suspend-to-RAM)
'disk' (Suspend-to-Disk).


System enters either of the above state, when user says so, and system will
resume on a scheduled event or user input..




On Tue, Apr 6, 2010 at 1:12 PM, ZhangJieJing kzj...@gmail.com wrote:

 Hi All:

 At android power manage service, it have early suspend and late resume
 mechanism to control devices such as LCD backlight, touchscreen, when wake
 lock free/expired or user request suspend, the kernel will call early
 suspend workqueue, and execute the registered early suspend handler. when
 the user(PowerManageService) request on (echo on  /sys/power/state) ,
 the late resume handlers will be called.

 My question is,
 1, when the PowerManagerService(PowerManagerSerivce.java) write on to
 /sys/power/state (using SetScreenState(true) ),
 2, and how the services know the resume of system to write /sys/power/state
 ?

 Thanks in advance,

 ---
 Best regards,
 Zhang Jiejing

 --
 unsubscribe: 
 android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com
 website: http://groups.google.com/group/android-porting


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using remove me as the subject.