Hii All,
I am trying to use the youtube android api jar the samples from here :
https://developers.google.com/youtube/android/player/
But everytime, i run this app press the back key continously, before the
video is loaded in the activity, I see youtube crashing.
It says : Unfortuantely,
Hi All,
In one of my applications i have 2 views(1 surfaceview and 1
videoview). And my main requirement now is
to disable videoview( its corresponding surface obtained thru
videoview-getholder-getsurface()) when i dont need it.
The reason for me to do this,
I have created these 2 views in
Hii All,
In one of my applications, i am doing some video playback and other
display related stuffs in Surfaceviews and i create them in XML
layouts. I am all fine in Java here.
But now i need to do all this in C/C++(native layer),
I have this doubt in this regard.
Is it possible to create
Hii All
I need your help/suggestion on this issue.
In my application, i have a surfaceView and a videoView which are
occupying the full screen.
SurfaceView is on the top and thus VideoView is hidden below.
But i need to see both SurfaceView and VideoView together. How do i
achieve this?
I
Hii All,
I just got a new SDK 'android-sdk_r05-windows'
from the site and tried the
{android-sdk_r05-windows\android-sdk-windows}\samples\android-7\ApiDemos
, but I found something strange with the MediaPlayerDemo_Video.java
When i tried running a 3gp file ( which used to run perfectly fine on
Hii All
I always face this problem in my eclipse.
I would like have a copy of the apps in all the versions of SDKs/NDKs.
And once i have a project in eclipse, and if i have to import the same
project from a new location, i get the message saying can't import,
project of the same name already
Hi All,
I need to have an app where i can play both video and audio using
mediaplayer APIs.
But my problem here is , for video . i have to use
SURFACE_TYPE_PUSH_BUFFERS and pass this to mp.setDisplay().
SurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
Where as, An audio
Hi All
Is it possible to get the decoded frame of a video in a buffer using
Opencore Apis? Or is it like, the Opencore Media APis would directly
update these frames on screen display?
Any reply is greatly appreciated. Please do advise.
thanks
Latha
--
You received this message because you are
Hi All
I am stuck in a very simple problem.
I have one lengthy string I need to draw that on the device display.
My code is as follows:
void ShowText(String text) {
canv = thread.mSurfaceHolder.lockCanvas();
if (text!= null) {
Hi All
In my Android app, I need to call a non static java method from C/C++.
But i get a blunt crash when i do it using
GetMethodID/CallVoidMethod()1 methods.
I have done like this:
1. Register the method using GetMethodID() as follows (mine is a cpp file):
jmethodID xyz =
Hii All
Does anybody know about the behavoir of Android’s compiler for target
on wide strings like L”string” ??
I have a piece of code like this:
Unsigned short* TESTWSTRING[] =
{
L.jpg”, L”.txt”
};
Will TESTWSTRING[0] TESTWSTRING[1] be widestrings ?
In Win32, memory used
oh thanks ..but any idea on what all JSRs supported in android?
please do share this info
-Latha
On Mon, Nov 9, 2009 at 12:11 PM, Romain Guy romain...@google.com wrote:
JSR 226 is not supported.
On Sun, Nov 8, 2009 at 10:39 PM, Latha Shivanna latha...@gmail.com wrote:
Hii All
What
Hii All
What are all the JSR s supported in Android?
Is JSR 226 supported?
Can anybody please let me know this.
Thanks a lot
Latha
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
passed to it. You basically draw directly
to this object (Use Canvas's methods to do the drawing). However, you
won't be double buffering then so you may see some flicker.
-niko
On Nov 4, 5:33 am, Latha Shivanna latha...@gmail.com wrote:
You can directly draw onto surface bound with canvas passed
want to look
into as well:
http://developer.android.com/intl/fr/guide/developing/tools/traceview.html
I haven't needed to use that one yet.
On Oct 26, 8:10 am, Latha Shivanna latha...@gmail.com wrote:
Hii All,
My android app is running very slow and I doubt that it is not given
enough CPU
ya...I now create the new array only once in the beginning and release
it once my app ends.
Untill this release my array would be retained n used without being
created once again.
thank you
Latha
On Fri, Oct 23, 2009 at 11:39 PM, fadden fad...@android.com wrote:
On Oct 23, 3:51 am, Latha
by android platform.
On Nov 4, 12:35 am, Latha Shivanna latha...@gmail.com wrote:
I need some 2D apis. can anybody suggest something?
Are there any ways to display a buffer on screen in native layer? I am
aware of using some ioctl calls on /dev/graphics/fb0.(But it needs
root access)
Please do
Hii All
Can anybody please tell me how can we display a buffer on screen?
Currently I create a bitmap using Bitmap's CreateBitmap() and render
it on screen using canvas' drawBitmap().
Is there any other way of doing this in Java layer?
Please do share your thoughts.
thanks in advance
Latha
wrote:
you can use opengl also
On Tue, Nov 3, 2009 at 5:54 PM, Latha Shivanna latha...@gmail.com wrote:
Hii All
Can anybody please tell me how can we display a buffer on screen?
Currently I create a bitmap using Bitmap's CreateBitmap() and render
it on screen using canvas' drawBitmap
Hii All,
My android app is running very slow and I doubt that it is not given
enough CPU. So wanted to know if there is any way to check the CPU
utilization by all apps at the time when I am running my app.
Or any tool, by which we can get to know what all applications are
running at some
Hii All,
I am facing a problem in my Android app which is calling native
functions through JNI. So thought somebody in this group can help me
to resolve this.
The current code :
1. Create an array in JNI layer ( by NewIntArray()) which can be used
by both Java C.
2. we can name
that the API
version is set.
On Oct 21, 6:34 am, Latha Shivanna latha...@gmail.com wrote:
Yes .. API version is set to 4 in my app. Even all the samples under
SDK 1.6 are all 4. Still there is problem.
Has anybody seen seen the APIDemos in SDK1.6 in a large screen by any chance?
Please do
Hii All,
I am facing a small problem in my android app regarding its display
resolution. Getwidth()/height() in my app is always giving me a screen
size of (320x480) though the actual screensize of the target is
(480x640).
I checked APIdemos/lunarlander n other sample examples from the
Android
21, 10:22 am, Latha Shivanna latha...@gmail.com wrote:
Hii All,
I am facing a small problem in my android app regarding its display
resolution. Getwidth()/height() in my app is always giving me a screen
size of (320x480) though the actual screensize of the target is
(480x640).
I checked
Hii All
I have a requirement in my application where i need to do 2 things :
1.use canvas to display a bitmap
2.use mediaplayer class to display a video.
I tried using getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
and could see the video alone followed by an exception for
Hi All
In one of my Android app, I need to get the number of milliseconds
that have elapsed since the system was started.(soemthing like
GetTickCount() in Windows mobile)
Is there any API for the same ?
Or can anybody share the code, if they have done it already?
Please do share your thoughts.
Hii All,
I need to understand how an audio is being played by Android in its
native level. I started looking at its
'\frameworks\base\media\tests\MediaFrameworkTest' to track down the
call sequence into the native level.
I gave a LOG statement everywhere in all the functions that come under
Hii All,
In one of my applications, I am pushing few image files say xyz.png
into the device using adb push command. And I use these files in my
application by giving their exact filepaths (say if I have pushed them
into /data, I wud say /data/xyz.png).
So to short it down, i wud say, I have a
Hi All
I am writing an application in which i need to handle mouse events. I am
infact not sure on how Android supports mouse pointers. With all the
discussions on android groups, i got a vague idea that it is nto suported.
But could anyone please tel me if mouse is suported on Android.
On
Hi All
I am writing an application in which i need to handle messages between the
main thread(the deafult UI related thread) and the user created Gamethread.
The requirement is like this.
An activity(say Activity_X) is setting the view by setContentView(some
View_Y). In Activity_X i have
30 matches
Mail list logo