Hi,
I want to play video file that exists in one of my servers.
I am using MediaPlay and VideoView classes and it works fine but the
problem is that the video start to play only when it finished
downloading the whole file.
How can i stream it, meaning play the video while it continues to
There is no system key. Each manufacturer signs the platform with their
own certificate (or even different certificates for different devices). If
these apps are getting this permission at all, it will only be on a small
subset of devices; there is no way to be signed to get such permissions on
http://groups.google.com/group/android-developers/browse_thread/thread/6b2b900d44836788
--
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,
On Sep 29, 11:13 am, Anton Okolelov gemo...@gmail.com wrote:
I tryed VideoView, but no result...
You might want to keep trying with VideoView, because if you can't get
that to work, then it probably won't work at all. The source for
VideoView will help you understand what to do if VideoView
Hi All,
I am facing some issue in downloading the source code from CyanogenMod for
Donut branch. I am following the steps as explained in link:
http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Dream_%26_Sapphire
But after i do repo sync,it is giving error :
* bash-4.0$ repo
hi sharma.
hw r u ?
On Sat, Oct 2, 2010 at 1:02 PM, Suchita Sharma suchi.bhard...@gmail.comwrote:
Hi All,
I am facing some issue in downloading the source code from CyanogenMod for
Donut branch. I am following the steps as explained in link:
On Fri, Oct 1, 2010 at 2:11 PM, DanH danhi...@ieee.org wrote:
What you really want to be sure of is that the application is signed
with your certificate. (Of course, I've not yet found a way to access
that info.)
On Fri, Oct 1, 2010 at 2:07 PM, Prakash Iyer thei...@gmail.com wrote:
Service, OTOH, is designed to work in the background without requiring user
interaction. Problem is that for your Activity to display the results it
must somehow interact with your service. Ideally you will want to spawn the
I have a currency exchange rate watcher application. The user could
choose if he would like to get currency rates or foreign exchange
rates. An other preference is to choose the selling, buying or middle
rate.
If the user choose to see currency rates I would like to disable midde
rate from the
Asked and answered.
http://groups.google.com/group/android-developers/browse_thread/thread/4a4d8fbc87d20c/ec0177df1fa1534c?lnk=gstq=We+have+an+application+where+we%27d+like+to+use+the+Wifi+connection+on+a+#ec0177df1fa1534c
Only works on 2.2+ - and the current solution is somewhat hackish..
On 1
You need to serve it with a streaming server instead of a mere HTTP
server. Red5 will work. Or Darwin. Or ffserver. You'll have to decide
which is best for your needs. Darwin can be hard to install and
configure, but it is very good and handles many streaming formats/
protocols. ffserver handles
Your point that they are 'orthogonal' is a surprise, and could use
more elaboration. After all: from the Javadoc on AsyncTask, it sounds
like the whole purpose of it is for one purpose only: to set up easy
communications between an Activity (the normal owner of the UI main
thread) and a worker
hi,
i want to play video on android
can anyone help me to play video ?
thanks,
--
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
On Oct 2, 2:50 am, Dianne Hackborn hack...@android.com wrote:
There is no system key. Each manufacturer signs the platform with their
own certificate (or even different certificates for different devices).
I see. Several Google-made applications in the Market request many
signature
Hi, I have a ListView with 4 rows and I want to color the text inside
each row when a row is clicked, the code below works fine but if I
change the selection mode of the ListView to single mode the View
object received is not the correct one. In this case :
if I click row number 1 it colors the
Hi!
I am debugging my game directly on the device (Nexus One), so the
width and height of the screen should NEVER change, am I right?
When I start
DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
System.out.println(dm.widthPixels+
Applications built with sdk 3 (Android 1.5) and not having
supports-screens tag in the manifest are assumed to only be able to deal
with HVGA / mdpi screens. Android runs them in compatibility mode, and
presents fake screen dimensions / density to the application (HVGA,
320x480, 160 dpi).
Thank you!! :-)
My game worked perfekt with android:targetSdkVersion=3. I changed it
to 8 and all my Bitmaps, which I draw with canvas.drawBitmap are
cropped after this change.
I draw my Bitmaps, for example the background-bitmap like this:
canvas.drawBitmap(Global.imageBackground,
I put a free trial version of my game (RGBbot Trial Version)
out on the market and although it seems to run well on my
N1 and a friend's Droid X, I'm getting error reports
from Samsung Galaxy S owners with an IllegalStateException
trying to play an audiotrack.
If a Galaxy S owner could send me a
Martin,
Game code should be adapted to use real screen dimensions.
You will most likely want to have high-res versions of your game
artwork, and possibly low-res versions, provided in the application.
Having high-res (hdpi) images is important so your game looks crisp on
high-res devices.
Could you point me to that thread? Yes the 2 problem customers have LG
phones. How can they do a re-install of the app without my having to make a
fake release and have the Market update all users? I do not want them to do
a un-install as that would cause them to lose their data. Right?
The best IntentService pattern I use is handling online web services,
which can take several seconds to respond. I launch IntentServices to
get data from various web services, and the data is placed in an
SQLite db. The IntentService broadcasts a message back to the UI
activity when it's done and
Maybe set swap interval. I have to say I feel your pain as Android is
starting to feel like PC when it comes to graphics drivers.
On 10/1/2010 9:03 PM, Robert Green wrote:
Update - I just tested with eglWaitGL right before swapBuffers and I
got the same nasty performance hit as glFinish.
If anybody know the code for create scrollable menubar in app..
Insted of tab i want that scrollable menu
thankyou.
--
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
I'm not mixing Native in with anything either, straight Java is enough
trouble as is. :P
I noticed a definitely framerate hit with glFinish as well, but I'd
rather suffer through that than have it forcibly lock up and reboot
people's phones. The worst thing is everybody but HTC seems just fine
The GLES20Activity in the API Demos uses an alternate OpenGL ES 1.x
render implementation when it detects that OpenGL ES 2.0 is not
supported, like on the emulator. Look at the source code. That's
pretty much the whole point of that sample activity.
On Oct 1, 6:50 am, Andy milind...@gmail.com
Is there any way to control the name of the link that Eclipse makes
when it integrates a library project? I have inconsistency going on
depending on the machine, and I don't understand why.
The project structure is really simple, basically there's a library
called _engine and a set of other
I think you don't have the same version of ADT on your different machines.
We released 0.9.8* a few weeks ago which changed how we handle
libraries in Eclipse.
There's a migration document here:
http://developer.android.com/guide/developing/eclipse-adt.html#libraryMigrating
* actual current
The link you referenced shows which version of the 1.6 SDK component
supports library projects
(http://developer.android.com/guide/developing/eclipse-adt.html#libraryReqts).
I'm guessing you have an older version. rev 3 (for 1.6) is needed. Use
the SDK updater to get an update to the 1.6 SDK
Is this possible? It seems that all of the GSM location services use
the Google maps API, or OpenCellID.org. Is it possible to convert CDMA
BSID, SID, and NID to the CellID and LAC values from a GSM cell, in
order to use these common API's? If not, how does my Droid find cell
location? I want to
Hi,
You can try the below code and see if it works:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
this would be at the window where you want to hide the keyborad.
or
I had used the below piece of code in the onClick event of a button (*Butto*n
is my
That interface says signatureS. How does one know which is which?
And is there a way to actually access the public certificate?
On Oct 2, 4:05 am, Dianne Hackborn hack...@android.com wrote:
On Fri, Oct 1, 2010 at 2:11 PM, DanH danhi...@ieee.org wrote:
What you really want to be sure of is
I tried your code on a simple activity, with a handful of widgets
organized with a LineraLayout and it doesn't work. The virtual
keyboard shows up all the time, takes over half the screen, and
refuses to go away. What on earth can I be doing wrong?
Thanks,
Eyal
On Oct 2, 8:07 pm, Prajakta
I actually am adding a safe mode setting to the game that people can
use if it's freezing on their device. I can't have it on all the time
or the game really is unplayably slow on the first gen phones and it
never seems to lock up on those - just snapdragons.
What are you guys talking about with
Back in the day glSwapInterval is what you'd use to synchronize with a
CRT's refresh rate. Setting it to one basically means that
swapBuffers wouldn't happen until the next display refresh. I'd
thought it was dead and buried, but this appears to indicate
otherwise:
That said, I just sat down to test that, and eglSwapInterval doesn't
appear to be supported on Android, at least I don't see it in either
EGL10 or EGL11.
On Oct 2, 3:06 pm, Jeremy Statz jst...@gmail.com wrote:
Back in the day glSwapInterval is what you'd use to synchronize with a
CRT's refresh
I am developing on 2.1 and location updates will not resume after
removing them and adding them again. Is this an issue with the system?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
READ THE DOCUMENTATION.
http://developer.android.com/guide/index.html
Google is your friend, use it.
On Oct 2, 6:57 am, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote:
hi,
i want to play video on android
can anyone help me to play video ?
thanks,
--
You received this message
I'm not sure I agree with your comment that it is the wrong question. In
fact your explanation of how a majority of the cases a Service runs in the
same process is precisely why most people will consider these as
alternatives. I was trying to point out to the OP that if the OP ever wanted
to
PS: Google on the groups website actually works. Here, I have done it for
you...
http://groups.google.com/group/android-developers/browse_thread/thread/d1380717b108b7db/d15fbc13dc64647d?lnk=gstq=LG+Verizon+OTA#d15fbc13dc64647d
Seems like is the user uninstalls and then reinstalls from the Market
Sorry to spam so many replies into this thread here...
I just went and tested a couple of my wallpapers on the G2, since I've
been getting new and strange reports about them. One that was NOT
using glFinish seemed to behave okay, but the other that was using it
was locking up every single time
Hi all,
I'm having a hard time resolving a crash report.
It's an OutOfMemory exception that occurs during the setContentView in
the onCreate of my main activity.
I just want to be sure I understood Android LifeCycle well :
1) The onCreate of my main activity is called once and only once
during
AsyncTask is excellently documented:
http://developer.android.com/reference/android/os/AsyncTask.html
http://developer.android.com/reference/android/os/AsyncTask.htmlAsyncTask
has no interaction with the Activity lifecycle, except for that which you
introduce with your own code.
It's for
On Sat, Oct 2, 2010 at 6:14 PM, Yahel kaye...@gmail.com wrote:
Hi all,
I'm having a hard time resolving a crash report.
It's an OutOfMemory exception that occurs during the setContentView in
the onCreate of my main activity.
I just want to be sure I understood Android LifeCycle well :
1)
You haven't shown us enough of your code (code snippets) for us to
begin figuring out what may be wrong with your app. Could you provide
more details?
But to your questions;
1. The onCreate is called once per Activity instance.
If you have instance-variables/fields in you activity, you can assume
Each his own. Try writing a AsyncTask that say lives for more than 10s and
in the final result say updates a text field. Now before the AsyncTask
completes, just change the orientation. I'd bet most developers would assume
the text field will get updated. Most developers would be wrong as the
Hi all,
I have a weird behaviour on T-mobile ,as I made an application,then
after closing it and reopen it immediately after closing ,a message
box telling me that the application had to stop and fatal error
occurred,then I reopen it again after this,it opens normally
Any Idea ? Do I miss
you have some automatic tools to do that or something I never saw in
my console ? Seems like a daunting task ...
I ended up writing a web scraper for the publishing console using
HtmlUnit. The numbers in the console are populated using JavaScript
(generated via Google Web Toolkit), so you
the alert box is as the follow :-
The process com.android.phone has stopped unexpectedly. Please try again.
On Sun, Oct 3, 2010 at 1:56 AM, tarek attia tarek.m.at...@gmail.com wrote:
Hi all,
I have a weird behaviour on T-mobile ,as I made an application,then
after closing it and reopen it
AsyncTasks can be used in a number of contexts, not only in Activities. And
where they are used in activities, there are many way of plumbing them to
the activity lifecycle. Here are three scenarios that I would generally use
AsyncTasks for (rather than services):
1) Dynamically rendering an
What does the logcat/stacktrace say? Your app may be being destroyed when
you navigate from it.
On Oct 2, 2010 4:02 PM, tarek attia tarek.m.at...@gmail.com wrote:
the alert box is as the follow :-
The process com.android.phone has stopped unexpectedly. Please try again.
On Sun, Oct 3, 2010 at
Technically, you can draw the faces separately, binding a different
texture in between each draw. That'll be really slow, though. It's
usually better to put all six images into a single texture, then for
each face use texture coordinates into that single texture to only
show the part with one of
Based on my experience with similar implementations, I would recommend this
approach.
In my case, I used a ContentProvider to accumulate data from an
IntentService. This allowed me to obtain data in the form of Cursors that
would automatically trigger view updates in response to change
Thank you for your answer.
So now I understand that the onCreate method can be called several
time, for example on orientation change.
My app is set to Portrait mode only using manifest's
android:screenOrientation=portrait so I don't expect any orientation
change in the app.
Could there be any
item #5 seems not user friendly to me.
assuming that user can open other applications on the phone and since
that the sync takes 10-20 minutes i suggest initiating an asynctask in
a service. If you use a service, android will try hard not kill your
application process.
On Tue, Sep 28, 2010 at
i have a View subclass and i overrode the onDraw method
void onDraw(Canvas canvas)
when i do a canvas.getHeight() - i get 480 in the emulator.
that's the full screen height - i'm pretty sure the canvas
does not include the title bar etc.
shouldn't canvas.getHeight() return the true height of
Thank you for your answer.
You haven't shown us enough of your code (code snippets) for us to...
Yes sorry about that, it's just that I don't seem to understand where
everything goes wrong. The line giving me an error is a simple
setContentView with a simple background image in a FrameView. So
The lack of users on alternative app stores is a big disadvantage.
Still, if they had a method for in app purchases, including of
expendable virtual goods and of extra subscription services, that is
super easy for users to use, I'd probably use their store. Selling
unlock apps like we have to on
You might want to try just tossing a System.gc() in early on in your
onCreate. That almost always solves out of memory problems for me on
Android. It's a shame the memory management is so badly written that
it needs this. You aren't supposed to be able to get an out of memory
error when garbage
Why don't I get LogCat messages when I debug on a real device as
opposed to the emulator?
Thanks
--
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
You have to click device/emulator first in Eclipse show view devices
On Sun, Oct 3, 2010 at 8:22 AM, John Gaby jg...@gabysoft.com wrote:
Why don't I get LogCat messages when I debug on a real device as
opposed to the emulator?
Thanks
--
You received this message because you are subscribed
You are mistaking the size of the Canvas with the size of your View.
There is usually one Canvas shared by all the Views, so the Canvas is
as big as the window.
On Sat, Oct 2, 2010 at 4:50 PM, dashman erjdri...@gmail.com wrote:
i have a View subclass and i overrode the onDraw method
void
I guess that I don't know what you mean by clicking the 'device/
emulator' in Eclipse. When I run the program, I choose the device.
Note that the debugger works fine with the device, but I do not see
any LogCat messages. Can you be more specific about what I have to
set?
Thanks.
On Oct 2, 6:27
I agree that this is more of a HTML/JS question, but I've posted it
here because the Browser implementation behind WebView is Android
Specific and wish to understand a generic way to put innerHTML if any
one has done the same in Android Development. Android's WebView and
browser implement the
Hi all,
does the default browser in Android support JS/AJAX and the
XMLHttpRequest
object? Running it in small test scripts using the browser in the
emulator does
not seem to (a) generate the correct set of HTTP headers (no Content-
Type or
Length, no GET statement and instead it shows an
Hi,
I have a suite of components that perform some asynchronous processing
and post results back to UI thread (pretty standard thing
utilizing AsyncTask).
Now I'm trying to come up with the unit tester (utilizing android.test
classes) that would call the components APIs, wait for result and
On Sat, Oct 2, 2010 at 3:39 PM, Prakash Iyer thei...@gmail.com wrote:
Each his own. Try writing a AsyncTask that say lives for more than 10s and
in the final result say updates a text field. Now before the AsyncTask
completes, just change the orientation. I'd bet most developers would assume
Hi,
I had a general question regarding the Object clone method in Android.
Is there a particular reason that in Android, the object clone method
was split up into two methods, effectively creating a wrapper (clone)
and wrapped methods (internalClone) which is not the way Java does
it? (I just
68 matches
Mail list logo