My company A has made an app and I don't want the app to be installed
on B's device.
So I tried to add a library & permission files like vendor/sample/
frameworks/PlatformLibrary
and the app refers the library.
It succeeded. the app can't be installed on B's device. because
AndroidManifest.xml i
I found that AudioMixer can choose resampler between
AudioResamplerOrder1, AudioResamplerCubic, AudioResamplerSinc by
property.
but when I changed to AudioResamplerSinc the audio quality is not as
good as I expected.(I used some sound-specific measures.)
Are 'AudioResamplerCubic, AudioResampler
How is it possible that an app supports the media format OpenCORE
doesn't?
Does it mean the app uses its own media framework?
or somehow register parser node to OpenCORE?
Is it possible and encouraging?
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.
I thought MediaPlayer's invoke() is for using OpenCORE's
PlayerExtensionCommand.
but when I actually used invoke(), I got an error
E/MediaPlayer( 1263): invoke failed: wrong state 10
I found that invoke() is supposed to be called between
MediaPlayer.setDataSource() and prepare()
which is quit
Some CPM plugins have to write drm information on external
storage(nand, sdcard).
I added WRITE_EXTERNAL_STORAGE permission in app's AndroidManifest.xml
but didn't work.
because opencore is used by MediaPlayer process. <- MediaPlayerService
<- mediaserver
and mediaserver doesn't have 'sdcard_rw'
Hello. I have a question about DRM in android.
If a encrypted file has time limit to play, the time should be RTC-
based.
but I found that Settings-Time resets RTC as well, which means the
time-limit is no use.
I don't think google developers overlooked this issue because opencore
already has dr
There is a METADATA_KEY_WRITER in
frameworks/base/include/media/mediametadataretriever.h
frameworks/base/media/java/android/media/MediaMetadataRetriever.java
but it is not considered in
external/opencore/android/metadatadriver.cpp
external/opencore/android/metadatadriver.h.
I found this bug whe
I've added some attributes about audio sound in Settings.System.
I thought I could edit MediaPlayer.java so MediaPlayer can see the
attributes.
but I realized that's not possible...because MediaPlayer doesn't know
about context resolver.
Is there any workaround about this?
--
unsubscribe: andr
My mistake.
I mean not PRODUCT_PACKAGE_OVERLAYS.
I mean PRODUCT_PROPERTY_OVERRIDES.
Any help here?
On Feb 3, 6:24 pm, NoraBora wrote:
> in vendor/xxx/system.prop
> ro.sf.lcd_density = 160
>
> in vendor/xxx/xxx.mk
> PRODUCT_PACKAGE_OVERLAYS += ro.sf.lcd_density = 240
&g
in vendor/xxx/system.prop
ro.sf.lcd_density = 160
in vendor/xxx/xxx.mk
PRODUCT_PACKAGE_OVERLAYS += ro.sf.lcd_density = 240
after I build
on the device,
> cat /system/build.prop
...
ro.sf.lcd_density = 160
...
#
# ADDITIONAL_BUILD_PROPERTIES
#
...
ro.sf.lcd_density
/
pv_cpm_developers_guide.pdf and oma1 plugin.
oma1 passthru plugin is a dummy plugin and a good reference. I made my
cpm plugin like oma1 passthru plugin.
On Dec 15, 1:34 am, KeepGoing wrote:
> Hi NoraBora:
>
> As I know there is DRM implement in frameworks\base\media\libdrm
>
te
> need to be change ?
>
> I think either Ravi or NoraBora are right persons for this querry.
>
>
> Regards,
> Raghu.M
>
>
>
>
>
>
> On Oct 31, 7:44 pm, Atish wrote:
> > Hiii All,
> >
> > i am trying to work with CPM plugin for playing o
,0x8b,0x08,0x00,0x20,0x0c,0x9a,0x66)
all you need to add is
(0x8c988150,0x9b1b,0x11dd,0xad,0x8b,0x08,0x00,0x20,0x0c,0x9a,0x66),"libmycpmplugin.so".
2009/10/28 Malapati Raghavendra
> Hi NoraBora,
>
> thank u for your valuable reply, your explanation is so good.
> I have one more doub
If your opencore version is 2.04 or later,
it supports loadable cpm plugin module. (I suggest 2.05, because 2.04 has
some bugs about cpm plugins.)
To see oma1 passthru sample plugin, check
opencore / pvmi / content_policy_manager / plugins / oma1<- cpm plugin
opencore / modules / cpm_oma1_pass
Is this what you want?
> what do u say??isn't there any way to move the usage complete code to
> any other state??
>
if you call UsageComplete() in START state,
MediaPlayer.start->pause->start->pause will cause consumption many times..I
think.
> On Oct 15, 2:2
es from pause to start it should at least call AuthorizeUsuage
> and UsuageComplete..
>
> what do u say??
>
> On Oct 15, 12:28 pm, NoraBora wrote:
> > I tested what you said.
> > MediaPlayer.start() ... wait...play complete..MediaPlayer.start()
> > In the second start(), none o
art state.
> PvPlayerEngine->Resume->ParserNode->Start.
> So AuthorizeUsage() won't be called.
>
> As all the cpm calls are enqued in Init of Parser node only if u
> change media file or call Reset from App then only cpm commands will
> be invoked.
>
> Please guide me
music player doesnot call Reset.That means it
> can play DRM files with no constratint
>
> So where should i put that UsuageComplete code so that every case is
> considered??
>
> On Oct 14, 6:44 am, NoraBora wrote:
> > DoReset() is invoked by MediaPlayer.reset();
> >
DoReset() is invoked by MediaPlayer.reset();
2009/10/13 Atish
>
> Hi All,
> I m trying to run CPM plugin thru opencore for playing DRM contents in
> Android.
>
> I was succesfule in registrering and checking the rights for DRM
> content thru CPM plugin.
>
> But consuming rights is not working be
To understand how the cpm plugin works in OpenCORE 2.04, I tried to
play a mp3 with oma1 passthru cpm plugin. but it never worked and I
found out why.
1. error in oma1 passthru source code
in opencore/pvmi/content_policy_manager/plugins/oma1/passthru/src/
pvmf_cpmplugin_passthru_oma1.cpp
PVMFCPMP
When I build OpenCORE latest release (CORE/7.508.1.1 OpenCORE/2.05) in
Ubuntu 9.04, I got a few errors.
The errors are all same "format not a string literal and no format
arguments"
/home/norabora/oc_latest/opencore/engines/player/test/src/
test_pv_player_engine.cpp:2146: error: fo
21 matches
Mail list logo