[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread NoraBora
I tested what you said. MediaPlayer.start() ... wait...play complete..MediaPlayer.start() In the second start(), none of the cpm function called. Under this opencore structure, all I can think of is to reset MediaPlayer in CompletionListener. I hope there is a better solution. 2009/10/14 Atish

[android-porting] Re: how to add own OMX plugin to the system?

2009-10-15 Thread shadow
documentation rulezz, sorry for the stupid question... thread is no more actual -- Best regards On Oct 14, 3:28 pm, shadow yuri.bul...@gmail.com wrote: Hi All,    Could someone give me some start point for adding own OMX decoder plugin to the system? Should i create own open core wrapper

[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread Atish
yeah we can do that but i feel that won't be a gud solution as anybody can write an application which won't call reset. So that app can play the DRM content for ever by continous playing the file. So some changes need to be done in ParserNode level so that each time node goes from pause to start

[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread NoraBora
Yes. the app can play a drm content with one consumption(because AuthorizeUsage called during prepare) until reset(). but isn't this a normal scenario? Imagine that near the playback end, user can seek to the first and can watch forever by one consumption. What's the difference? If you

[android-porting] Device Driver Development for Android

2009-10-15 Thread Rajesh N
Hi, I would like to if there is any documentation on implementing device driver for Android devices, I don't see much information regarding this. I understand there is User abstraction layer and Hardware abstraction layer for making any devices work by which no Linux device driver cannot be

[android-porting] Re: Device Driver Development for Android

2009-10-15 Thread Shankar Ganesh
On 10/15/09, Rajesh N rajesh.andr...@gmail.com wrote: Hi, I would like to if there is any documentation on implementing device driver http://kernelnewbies.org/ http://free-electrons.com/docs/ http://lwn.net/Kernel/LDD3/ for Android devices, I don't see much information regarding this. I

[android-porting] Re: Device Driver Development for Android

2009-10-15 Thread -chew-
Hope these will help you in starting: * If your using the emulator for testing, download the goldfish kernel (this is the kernel used in emulator build). You can do the ARCH=arm make goldfish_defconfig for its .config. I suggest you enable the Enable Loadable Module Support config since you need

[android-porting] Re: STILL WORKING ON SH4

2009-10-15 Thread Jimmy-Creupagu
Because my toolchain is different from the one here: https://review.source.android.com/#dashboard,1001893 and I'm trying to modify my config in order to compile libc and then dalvikvm. I'm using libgcc_eh.a from the provided toolchain ( https://review.source.android.com/#dashboard,1001893 )

[android-porting] Re: Device Driver Development for Android

2009-10-15 Thread NP.hard
Hi, I would just like to ask a more specific question. I am trying to do some low level things with GSM/GPRS but I am not able to find the drivers or implementation of various protocols which are part of GPRS (for bluetooth and wifi drivers are there). May be a lot of the protocol stack is there

[android-porting] Re: Closing TCP socket problem

2009-10-15 Thread mav
Yogi, A quick check on SO_LINGER socket option might help.. Regards, mav On Oct 14, 3:54 pm, Yogi yogesh.agrawal2...@gmail.com wrote: Thanks for ur quick response. We have tried SO_REUSEADDR but with that also bind() fails with the same error Address already in use. On Oct 14, 3:12 pm,

[android-porting] IP, GPRS in Android

2009-10-15 Thread NP.hard
Hi all, I want to know where is the code which handles GPRS and GSM. As far as i know there are various layers in GPRS. I want to know which are in hardware and which are implemented in software(and where in the code). thanks, Anurag. --~--~-~--~~~---~--~~

[android-porting] Android legacy bootloader -nandwrite and usbloader concept

2009-10-15 Thread Deeksha
Hi, Can anybody provide some insight into android legacy bootloader in context of nandwrite and usbloader.My understanding goes that these are two ways to flash the images.However,I am clueless about what next? How final bootloader image gets built?How do we decide which init and main functions

[android-porting] Re: Closing TCP socket problem

2009-10-15 Thread mav
a quick check on SO_LINGER option might help... On Oct 14, 3:54 pm, Yogi yogesh.agrawal2...@gmail.com wrote: Thanks for ur quick response. We have tried SO_REUSEADDR but with that also bind() fails with the same error Address already in use. On Oct 14, 3:12 pm, సురేష్ కుమార్

[android-porting] Re: IP, GPRS in Android

2009-10-15 Thread joao
Hi, It's the Telephony stack. More information here: http://www.kandroid.org/android_pdk/telephony.html Also check the source code Java packages: android.telephony com.android.internal.telephony And the platform C code: hardware/ril (ril = Radio Interface Layer) JMG On Oct 15, 8:21 am,

[android-porting] Re: Test RIL on service layer

2009-10-15 Thread joao
Hello, Check out GSMPhoneTest.java. It's in: /frameworks/base/tests/CoreTests/com/android/internal/ telephony/GSM Or: http://www.google.com/codesearch/p?hl=frsa=Ncd=8ct=rc#uX1GffpyOZk/tests/CoreTests/com/android/internal/telephony/gsm/GSMPhoneTest.javaq=invokeOemRilRequestStrings JMG On Oct

[android-porting] Re: Closing TCP socket problem

2009-10-15 Thread David Turner
try using SO_REUSEADDR. Also using shutdown() before closing the socket might help. On Wed, Oct 14, 2009 at 2:52 AM, Yogi yogesh.agrawal2...@gmail.com wrote: Hi All, I have a server-client pogram on android where server will be listening on 3000 port and client will send request on the same

[android-porting] Ku990

2009-10-15 Thread thXer
It's possible on ku990 run google android? The ku990 specs: ARM Processor: ARM9 (ARM926EJ-S) Instruction set compatible with ARM7TDMI® Qualcomm MSM6280 Chipset solution Zoran ZR3453 Graphics: ARM Mali-JSR184 Touch driver: TSC2007IYZGR all information:

[android-porting] Re: DRM rights consumption in Android

2009-10-15 Thread NoraBora
2009/10/15 Atish atish...@gmail.com Whatever u said is absolutely correct.But imaging actual use case scenario user doesnot want to remain in the player screen to play the content infinitely(unless he is fanatic about the song!!!) But what i m talking about is u can come out of the player