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, Y
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 i
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 Su
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 tri
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
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 = (env)->Ge
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 wrote:
> JSR 226 is not supported.
>
> On Sun, Nov 8, 2009 at 10:39 PM, Latha Shivanna wrote:
>> Hii All
>>
>>
>> Wh
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 android-developers@
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 wrote:
>
> On Oct 23, 3:51 am, Latha Shivanna
;s a more advanced tool called traceview you might 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 wrote:
>> Hii All,
>>
>&g
o 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 wrote:
>> > You can directly draw onto surface bound w
> graphics/fb0 is not recommand by android platform.
>
> On Nov 4, 12:35 am, Latha Shivanna 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 cal
use opengl also
>
> On Tue, Nov 3, 2009 at 5:54 PM, Latha Shivanna 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
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
--
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 instan
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 tha
sion attribute and just setting minSdkVersion to 4 also
> gave 480x800. No uses-sdk tag at all gave 480x533. Not sure if you
> meant these attributes or the build target when you wrote that the API
> version is set.
>
> On Oct 21, 6:34 am, Latha Shivanna wrote:
>> Yes .. API ve
ve you set your API version to 4 (SDK 1.6)?
>
> If I remember correctly - if your API is set to version 3 (or lower)
> the platform will run your application in emulation mode and scale it
> to the actual screen size. So you will never see the large screen.
>
> --
> RichardC
>
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 S
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 canv
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
"fra
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 ha
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 Windo
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