Android :: Possible To Use Directly OpenCore From Java
Sep 27, 2009Anybody know if it is possible use directly OpenCore from java or native with NDK ?
View 2 RepliesAnybody know if it is possible use directly OpenCore from java or native with NDK ?
View 2 RepliesI am trying to integrate VP8 video codec into PV opencore FW in Froyo & test at PV test application level. I have done the following steps, 1. Made a new folder for vp8 @ external/opencore/codecs_v2/omx/ omx_vp8. 2. Made appropriate modifications in the omx_baseclass, omx_common etc. 3. Modified the PV test app (external/opencore/codecs_v2/omx/ omx_testapp) for testing VP8. 4. included the VP8 source code to froyo. 5. Included new oscluuid for VP8 With these modifications, the build is fine. The shared libraries and binaries are creating properly. Also OMX-MasterInit is passing. But the application fails at OMX_GetHandle(). *pHandle is coming as zero. I am using the PV OMX core. I am just adding a new codec which is not supported by PV Opencore and test at PV test_app level.Can you please answer my below queries: 1. Do we need to change the pvplayer.cfg file? Bcoz i am using the PC omx_core itself. 2. Any other changes needs to be done for integrating a new component into Opencore? Please provide you valuable inputs. Let me know if need any additional informations.
View 4 Replies View RelatedHere is what I got while running a test case of open core . *************** # pvplayer_ engine _test -test 1 1 SDK Labeled: PVDEV_ CORE_RELEASE_6.506.4.1 built on 20090312 Test Program for pvPlayer engine class. Input file name 'test.mp4' Test case range 1 to 1 Compressed output Video(No) Audio(No)Log level 8; Log node 0 Log Text 0 Log Mem 0 Starting Test 1: Open-Play-Stop-Reset Results for Test Case 1: Successes 1, Failures 1 Total Execution time for file test.mp4 is : 2.712000 seconds# *************** I want to ask why it shows 1 success and 1 failure . there should be only 1 pass or 1 fail only . Do each test case have multiple sub-tests within them ? which class in source code finally decide whether it is pass or faiL?
View 2 Replies View RelatedI am trying to add flash (flv) support to openCORE, i found some hints in this forum but still there are many things that unclear. I would like in the beginning to play local .flv file,from SDCARD, without streaming. As i understand i need to implement Parser within fileformats, "parser node" and "recognizer" and register it with player engine, and of cause add h.263 Sorenson codec. Can someone point me to the information on the data flow from the main Player Engine to the "parser node", what API is used,? How will "parser node" send the data to the Codec Engine? Which parts will i have to add to enable streaming later? I also looked inside the documentation within opencore but did not find relevant information, perhaps i missed something and someone can point me to where should i look.
View 2 Replies View RelatedWhat are the differences between StageFright and Opencore? What does this mean to app developers? Please point me to any links, tutorials online. 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies View RelatedIm experiencing an intermittent and very frustrating issue with MediaPlayer on Android when streaming MP3 over HTTP. Ive done as much research and debugging as I possibly can to try and find a solution, but am coming up short. I cant find reference to this issue anywhere, including b.android.com. Essentially, whats happening is MediaPlayer will not come out of the preparing state. The device is receiving audio data during this time, as indicated by network sniffs and the MediaPlayer buffering callback being invoked repeatedly with increasing percentage values, but eventually the buffer appears to become full and stops receiving. Because prepare() never returns, or more accurately when prepareAsync() is used and the onPrepared callback is never invoked, and neither the onError() nor onInfo() callbacks are invoked, the application can neither call MediaPlayer.start() nor make any sort of recovery. Other notable observations: The problem is intermittent, meaning that subsequent attempts to play the exact same MP3 stream from the exact same server may exhibit this behavior or not - The problem seems to be exasperated when the device is connected via 3G versus wifi - The problem occurs on different MP3s encoded by different software - The problem occurs when streaming from different HTTP servers - The problem cannot be reproduced on any of the Android SDK emulators - The problem can be reproduced on the HTC Incredible, Verizon Motorola DROID, and HTC Touch - When MediaPlayer successfully returns from the preparing state, there is an info message (what=1, extra=44) received. This info message is not received during the problematic case. Anyone ever experienced this, or even find a solution?
View 10 Replies View RelatedI guess ur doing it correctly.While running the test cases already provided by the PVcore,one can only see the logs and not the output on the screen or the speaker. This is what my experience says.Other people who worked on this can confirm.
when a video is played over http (progressive download), in some cases, the application stops the current http connection and continues the download using a new http request with a range header. closing the connection is the phone choice, not server. somebody knows in which cases the phone behaves this way?
I am not able to use MediaPlayer/VideoView to make rtsp to work in Android. So I have created a client to interact with RTSP server, I have succeeded in doing this.I am able to get the video/audio frame from RTSP server (MySpace) in Android. Now I want to play the frames. I have searched OpenCore APIs to play the frames, but didn't get any APIs. My investigation: There is a class PlayerDriver.c It creates two sinks one audio and other video. handleSetVideoSurface handleSetAudioSink Two objects of type PVPlayerDataSinkPVMFNode are created. I suspect this class has a way to give the stream as input, but I am not getting the definition of this class. Can you suggest me is there any class I need to look into it?
View 1 Replies View RelatedI create aviparsernode folder by coping from MP4 parser node folder under /external/opencore/nodes/. But when I type "make" command under /external/opencore/build_config/opencore_dynamic/. The files under aviparsernode folder are not compilied. Does any one knows how to let OpenCore to make files under aviparsernode folder?
View 4 Replies View RelatedWhat are the video resolutions supported by the PV codes in the opencore module? Is there a manual or guide describing this?
View 2 Replies View RelatedThe following what written on the Android 1.6 Platform Highlights: Android 1.6 includes the updated OpenCore 2 media engine, which has: * Support for OpenMAX encoders * Support for additional audio codecs in AuthorEngine * Improved buffering model supports shared buffers allocated in the decoder Could someone explain to me how this affects us the developers? Does this mean now we can play other media types? What in reality is new to us on Android 1.6 in regards to OpenCore?
View 2 Replies View RelatedI am trying to integrate my codec on the ARM side using my own OMX core. Now I would like to test it on the Android Emulator using the Eclipse and Android SDK. I would like to know, *Tool chain used to compile openCore * How to set up Android Emulator to test my latest openCore (after integrating the Codec)?
View 2 Replies View RelatedI want to use the codecs in Android from my application. For now I just want to use the H.264 codec for testing, unless the mp3 or aac codecs provide functions for sending the audio to the device's speaker in which case I would prefer one of those.I have the NDK installed along with Cygwin, GNU Make, and GNU Awk. I can't figure out what I need to do from here though. I'm downloading the entire OpenCORE tree right now but I don't even know how to build it or make Eclipse plugin know it needs to include the files.An example or a tutorial would be much appreciated.EDIT:It looks like I can use JNI like P/Invoke which would mean I don't have to build the OpenCORE libraries myself. However, I can't find any documentation on the names of the libraries I need to load. I'm also confused as to how to do it. I'm looking at http://www.koushikdutta.com/2009/01/jni-in-android-and-foreword-of-why-jni.html and I don't understand what the purpose of writing a library to access a library is. Couldn't you just use something like System.loadLibrary("opencore.so")?
View 2 Replies View Relatedi have two files
App.java
Gallery.java
App. java contains frontend buttons and functionalities Gallery.java lists the imagesin the sd card. i want to call Gallery.java in click event in app.java
App.java
package gallery.display;
import android.app.Activity;
import android.os.Bundle;
import android.view.View.OnClickListener;
import android.view.View;...........
I'm trying to call a java method from javascript using addJavascriptInterface(); but seems does not work, it always display "failure"; java code...
View 2 Replies View RelatedJava packages like Java.io, Java.Lang etc used in android, are they different from Java packages in windows ? means specially made for android ?
View 2 Replies View RelatedI'm having some problems porting a Java application to work in Android platform. I detected an incompatibility problem between java sun and Adroid sdk in java.lang.Class. I oberved that: public Field[] getFields() Returns an array containing Field objects describing all fields which are defined. That's array is sorted as attributes are declared in the main Class in sun jdk. For example, next Class is defined as: public class Example { public boolean stop; public int atr1; public String name; ....
}
I do an import of the full package name / java file, and if I do a <classname>.<method>, SOMETIMES I can get it to access - other times I get a lot of can't use a static in a non static bunch of talk. I'll admit I'm new to Java, so what do I need to do? Call a class instance first, then call my methods? I'm rather confused by this, as I want to put all of my 'functions' into a FunctionsList.java file, and all of my main Activity (UI) into a MyActivity.java file.
For example:
<MyActivity.java>
import com.example.FunctionsList;
private class MyActivity extends Activity {
FunctionsList.function();
}
9/10 times I get that static/non-static error. If I put all of my functions into MyActivity.java, I have zero problems!
i hav two classes...both classes are extends activity.. i need call other class method on main class on android development..its urgent..please.. i done something like subclass sub = new subclass()...its not work..
package org.me.intent_testing;
import android.app.Activity;
import android.os.Bundle;
import android.widget.;
import android.view.;
import android.content.Intent;...........
My activity stack is ABC, in activity C I press back, and return to B, then press back again and go to A. What should I do to return to A directly from C?
View 5 Replies View RelatedIt would be immensely helpful to me if I could make a logcat app to run directly on my G1 for when problems occur on the road that I can't seem to reproduce at home (one problem in particular) Any experts out there know if this is possible? If it is what do I need to know?
View 13 Replies View RelatedCan I download. Nes rom directly to my Droid.
View 1 Replies View RelatedI want to know how to connect G1 to pc directly through wifi. The pc has a wireless network card. I know how to connect between 2 pcs. But I need to set up the ip address of them. Since I can not do that on android, I've no idea. And it seems that the G1 cannot find my pc's signal.
View 3 Replies View RelatedIs there a command that i can access directly a key into an application? I don't wanna capture when user press the key, i wanna access it without press.
View 3 Replies View RelatedI am trying to retrieve the Android OS Version (like 1.5 or 1.6 or 2.1) and I am using this code :
TelephonyManager mTelephonyMgr = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); String softwareVer = mTelephonyMgr.getDeviceSoftwareVersion();
When I try this on a ADP2 (Google Ion with Android OS 1.6) it will return 02... Is there any table or something that relates such a return value to a specific OS ? Is there any other way to actually retrieve the OS version directly, as in returns directly 1.6?
Want to use the image directly from website .i did not place that image in drawable folder. for this purpose what can i do.
View 1 Replies View RelatedIs it possible and if yes, how to start application directly from email, or browser. What I want to achieve:
user receives in email some activation link, clicks it and he is redirected to app, possibly with some Extras put into intent.
I tried gsyncit, google calendar sync and they always miss 20% of my entries. I have 10 years worth of important calendar entries (about 20000). And I know the reason why they miss it because there are sometimes server issues and when Google thinks your spamming, they block you. So I want to directly offline sync from my outlook. No way to directly sync from Outlook calendar? No 3rd party sync software works 100%.
View 3 Replies View RelatedI regularly download Podcasts which I then play as MP3's on my current HTC TYTN2. Rather than download to the laptop then transfer to the new Desire I would rather download directly to the Desire but when I go to the Podcast I want - on the BBC site, the instructions of 'Right Click and Save as Target' don't apply.
If I click that instead it simply plays the Podcast - which I don't want. What I really want is to be able to download the Podcast/MP3 directly to my phone SD card - is there an app which would help or am I forced to download via the laptop?