You won't be able to do this with the API that Android gives you.
Hopefully some day they will give us a better multimedia framework.
Doug
On Sep 26, 9:11 am, Raj wrote:
> I have some mp3 files in my /res/raw folder. What I am doing is that,
> whenever a user clicks on a button a
oogle account.
Anyone know if I am reading this correctly?
Doug
--
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 emai
ahead in the video stream to try
to process video frames ahead of the current audio. To skip ahead in
the video, you would also have to skip ahead in the audio which would
result in both audio and video frames dropped.
Doug
--
You received this message because you are subscribed to the Google
is forum. You are
asking something extremely complicated.
Doug
--
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
e with the setting 'property >
> builder > add cmd line'. I expect that possible. Does it possible?
It does possible. Build them on your command line outside of eclipse.
> - and how to package multiple shared library in one apk? possible?
Give them different names and load th
ve to provide and handle the raw PCM.
Doug
On Sep 20, 8:48 am, Raj wrote:
> Hello all,
> I googled a lot for this and went through all possible forums but I couldn't
> find any solution so I thought of giving it a last try here. Coming back to
> the point-
>
> In my app,
The API is declared in bitmap.h. You will have to learn how to use it
on your own. Just make sure you have a Bitmap object and can set its
pixels directly using the config it was created with. Your pixels
array must exactly match what the config demands.
Doug
On Sep 19, 10:32 pm, Siji T G
that state or use an image.
Doug
--
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+unsubscr...@g
7;t decode in time.
V takes a whole lot more processing power, so it will always fall
behind if there is not enough CPU to process both.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send em
Create the Bitmap in native code and return it to the java layer. The
NDK supports this starting beginning with Android 2.2.
Doug
On Sep 16, 12:02 am, Siji T G wrote:
> Thanks for the reply Zsolt.
> My data stream comes from h264 video decoder , which is native.
> Format of this data
If authentication over rtsp is a documented standard, then you could
file a bug with details and hope that it gets resolved in a future
version.
Doug
On Sep 15, 12:17 am, "B.Arunkumar"
wrote:
> Hi,
>
> Regarding your question, MediaPlayer supports RTSP streaming but
I'm sorry, I mean to say: how about AudioRecord? It gives you access
to raw PCM from your recording source.
Doug
On Sep 13, 10:15 am, Nadav wrote:
> Playing with the MediaRecorder Java code I have found the
> MediaRecorder class to be quite limited, there is no way to control
How about AudioTrack?
Doug
On Sep 13, 10:15 am, Nadav wrote:
> Playing with the MediaRecorder Java code I have found the
> MediaRecorder class to be quite limited, there is no way to control
> the media before it is encoded/compressed, and, there is no way to
> control the result,
't see any way to
change that value. Am I missing something?
Doug Gordon
GHCS Software
--
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 unsub
Android only gives you the ability to detect the platform ABI as
armeabi or armeabi-v7a. You can also detect neon extensions to v7a.
That's pretty much it, unless you want to take a non-standard
unsupported approach. You should read the NDK docs for more info.
Doug
On Sep 10, 7:
What do you mean by "manually control"?
Doug
On Sep 10, 1:51 pm, 3ast wrote:
> I am a beginner programmer in Android and I would like to create an
> app that will act as an audio control. The main goal is to be able to
> manually control the output of audio to the headse
ediaPlayer to get more improvements than the
> MediaPlayer (support more RTSP Url formats) and things like that?
Why do you say that MediaPlayer does not support rtsp? I ask this
because it does support rtsp. It's documented. The audio/video
format of the stream still has to be supporte
e) a thread with a Handler attached to it to
process the messages in the thread's Looper. If you don't need or use
a Handler for processing messages, then you don't need HandlerThread.
Doug
--
You received this message because you are subscribed to the Google
Groups
On Sep 7, 10:08 am, dani maoz wrote:
> Can i ffmpeg on Android Emulator?
Yes, and you can use Google to find out more information.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send ema
r this, but I'm wondering if it
would be OK to call layout() on my child views from within onDraw
instead of within onLayout. The parent view does get drawn first, so I
would guess that this wouldn't hurt anything.
Doug Gordon
GHCS Software
--
You received this message because you are
w.curious-creature.org/2010/12/08/bitmap-quality-banding-and-dithering/
Doug
--
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, se
w, if you can to better suit the actual size of the
ImageView. Otherwise your views will have to do a lot more
computation than need be every time the bitmap needs to be drawn to
screen.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers"
a G1.
The hardware is obsolete; the software requirements quickly outpace
old hardware. Welcome to the wold of fast-paced mobile development.
Doug
On Aug 27, 11:20 am, bob wrote:
> i have a G1,and the sim was put in the 1.5 mb200 cliq,i had activation
> until 04/10/2009,when the price of t
ut then it doesnt update. when i
> create a new android app from scratch it works.
Try closing the project (right click -> Close Project) then open it
again. That might help rebuild R.java. Sometimes ADT isn't too smart
when there are library project dependencies. Someone should
offset. You may have to delay
the scroll even later -- I'm not certain.
Doug
--
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 t
"can't be obfuscated"?
Doug
--
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+
work there.
Motorola has highly modified the internals of things too. Maybe I'm
just skeptical.
Doug
--
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 uns
On Aug 24, 5:23 am, Naveen wrote:
> what are the best practices for good coding skills and classes,
> methods, and variables naming +android
There are two:
1. Whatever has already been defined for Java
2. Whatever suits you personally
Doug
--
You received this message because y
m
just going about this the wrong way and that there is a more elegant
solution. In the absence of that, having a hook into a view's
onSizeChanged would be a huge win, IMO.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" g
ome activities
could declare that they accept "audio/*" which matches "audio/wma",
without actually doing WMA decoding. Or maybe it does WMA, but not
the version expected (7? 8? 9?).
Doug
--
You received this message because you are subscribed to the Google
Groups "Andro
Also, don't forget to consumeContent() on the HttpEntity you're
reading. The doc suggests that it's required.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-de
n't be trusted. I think I started the
very first thread here about install % over a year ago (back when I
was easily incensed over these kinds of things) but now it's just
plain comical!
Doug
--
You received this message because you are subscribed to the Google
Groups "Android De
umber ratio reported is 179686 total to
187915 active (so, actually 105%?). Unbelievable. :-)
Doug
--
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 un
ling rate so your
synthesis can process more information on limited mobile devices.
Doug
--
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
e you might have third party apps logging
your keypresses and possibly stealing your passwords.
Doug
--
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 f
ering because Android will try to
optimize away any part of the drawing that lies outside the dirty
rect. If you're allowing every pixel in view to update on every call
to onDraw, well, that can be expensive.
Doug
On Aug 6, 3:59 pm, Jeffrey wrote:
> The problem isn't tearing, as the i
If so, please consider starring and commenting on the following bug
report to give it attention:
http://code.google.com/p/android/issues/detail?id=16263
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this g
You probably just need to google for libraries that process PCM data
to apply effects. What you're asking is not specific to Android,
since AudioTrack and AudioRecord just deal with raw PCM data.
Doug
On Aug 2, 6:17 am, nicoletto wrote:
> Hi there,
> I've spent days already tr
t
think it would be in your best interest to bind yourself to to the
event bus concept, as handy as it may be.
Doug
--
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
them, so complaining about the system
rarely sees anything get done. It's like complaining about government
without being an activist.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
and you'd retain all your data types. You could
also put bundles within bundles in you need to handle nesting/
recursion. And Bundles don't throw checked exceptions. :-)
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers
N serialization library.
But I am curious why you're serializing to JSON but not sending or
saving it anywhere, unless I'm misunderstood your previous message?
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To pos
uard unless you are
using java reflection APIs or anything that depends on a java class
name. Sometimes there are launch problems if you have multiple
activities that want to handle MAIN and LAUNCHER intents without
sorting that out properly.
Doug
--
You received this message because you are su
isn't very robust and I imagine
you'll have a hard time getting "precision" out of it, if that's what
your app requires. I'd be interested to know if you are able to work
around this in any way.
Doug
--
You received this message because you are subscribed to the Go
s to know what was in the 95% that you got rid of and what
you did to deal with what were previously checked exceptions?
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develop
t to be clear, I'm not just a "java guy". I'm totally a current
technology chaser with fairly broad experience whot has happened to
make great use of checked exceptions to create bulletproof Android and
web applications. I'm open to seeing any alternatives toward that
d
> eclipse . I have searched on the Internet, and havan't found any
> conclusions.
>
> Can anyone help me ?
At the end of your build, is there something not working? I think
what you're seeing is just a warning and not a significant error.
Doug
--
You received this mess
On Jul 27, 6:35 pm, Nikolay Elenkov wrote:
> On Thu, Jul 28, 2011 at 3:35 AM, Doug wrote:
> > On Jul 27, 1:25 am, Nikolay Elenkov wrote:
> >> On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote:
>
> > I see checked exceptions as a compile-time reminder that it's
y the list itself. Usually, one would do this through
the Adapter that backs the list. You'll need some sort of bridge
between the two, perhaps a listener type interface or a broadcast.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developer
On Jul 27, 1:25 am, Nikolay Elenkov wrote:
> On Wed, Jul 27, 2011 at 5:07 PM, Doug wrote:
>
> > By the way, when you you advocate NOT checking the return value of C
> > runtime functions? You'd just write to an unknown file descriptor
> > even after a failed call to
proof code. But then again,
I actually care about my customers and the user experience of the
applications I've written. My apps haven't generated any exception
crash in over a year and customer satisfaction is high. Thank you,
checked exceptions.
Doug
--
You received this message b
artificial.
I'm sorry I missed that universal memo. Please tell me more?
Doug
--
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 t
On Jul 25, 11:23 pm, Zsolt Vasvari wrote:
> > A checked exception is an exceptional state that you expect to happen, like
> > the user entering some wrong values, you check that ant throw the ckecked
> > exception.
>
> No, exceptions shouldn't be used as a program flow control mechanism,
> which i
On Jul 22, 2:20 pm, kai wrote:
> Is there a way to query what media format is supported on a particular
> device running android (1.6+)?
Nothing built into Android, sorry.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" g
er to interact with the activity at all
after you show a dialog, I'd recommend putting a call to finish() in
the dismiss and cancel handlers for your dialog so that the activity
will be on its way out ASAP.
Doug
--
You received this message because you are subscribed to the Google
Groups "
t Google's compatibility tests don't check for. Maybe they have a
slower device that makes it easy to register a back button press
before onCreate is called.
Maybe you could dive into Android's source for Activity for some
clues. Or maybe you could just check for null and be done wit
Sounds like it might be possible that onBackPressed can get called
before onCreate in some circumstances where the device is being slow?
If that is at all a possibility, maybe you should check for null in
onBackPressed! :-)
Doug
On Jul 23, 4:00 pm, Zsolt Vasvari wrote:
> I am getting s
Use AssetManager to get an InputStream for your image, then feed that
stream to the relevant method in BitmapFactory.
Doug
On Jul 15, 2:14 pm, bob wrote:
> Can someone point me to a good example of loading a Bitmap from
> assets? It's in a PNG asset called nugget.png.
--
You re
postponed until the component starts (at which point you
will definitely know the process)?
Doug
--
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 unsu
Why not query the pid of each process and keep track of them? That
shouldn't be so hard.
Doug
On Jul 10, 11:46 pm, elDoudou wrote:
> Mark, your answer does not answer to my problem.
>
> I am an Android advanced developer and I have a good reason to spawn a
> new process. Anyon
The documentation for ThumbnailUtils.createVideoThumbnail says it
takes a file path (local) for the first argument, not a URL. I
wouldn't expect it to somehow download the video and make a thumbnail
out of it.
Doug
On Jul 8, 5:45 am, Anusha D wrote:
> Hi,
>
> I am trying to disp
sue, though.
Doug
--
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+unsubscr...@googlegroups.com
Fo
stuff in
there, the user might have the chance to click the button again before
it gets disabled.
Doug
On Jul 6, 5:31 pm, William Ferguson
wrote:
> I'm finding that some of my users are occasionally getting a button
> firing twice in rapid succession (less than 100 millis) even though
d on that device.
Doug
--
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+unsubscr...@googleg
Is that URL a streamable media file playable by Android? It doesn't
look like that to me.
Doug
On Jul 7, 1:51 am, Thanh Le Cong wrote:
> Hello Everybody,
> I want to use MediaPlayer play a file mp3 or video with Streaming. I have
> code:
> try {
>
an Android issue because
PCM is used everywhere in the world of audio.
Doug
--
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,
using fragments on 3.x without having to start with too much of a clean
sheet? I could see some real ugly code and kludges creeping in if I try
to force fragments into what I currently have.
Doug Gordon
--
You received this message because you are subscribed to the Google
Groups "An
your device if you want to be able to see everything.
Every device is different and Google will help you get more
information. You will void your warranty and possibly brick your
device though, so be careful.
Doug
--
You received this message because you are subscribed to the Google
Groups &
ork with.
Doug
--
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+unsubscr...@googlegroups.co
>
> My first question is: Does MotionEvent fit for my purpose?
> If yes, Any one can give or suggest a way to do this?
OnTouchListener feeds you a stream of MotionEvent callbacks describing
the user's gesture on screen. It's the only way to accomplish what
you're tryi
Start with the documentation:
http://developer.android.com/sdk/ndk/overview.html
Doug
On Jul 4, 12:44 am, "s.rawat" wrote:
> HI All,
> How to set the target as ARM-v7 on eclipse for developing android
> application , by default it supports ARMv5 arch.I am using Eclipse u
other.So how can I do it using
> SoundPool and where I have to write code to play it in my Activities.
I would use MediaPlayer instead, especially if it's a long sample and
you can encode it as ogg.
Doug
--
You received this message because you are subscribed to the Google
Groups "Andr
ds, withhold the most helpful features of your app for the
paying customers. Plug the upgrade every time they try a restricted
feature. That is incentive to upgrade if the missing features are
really worth the money you're asking.
Doug
--
You received this message because you are subscribed to the
On Jun 24, 11:51 am, naveen kumar wrote:
> What is best third party mediaplayer(Video) api.Which able to
> interface with my own created app.
Do you know what your choices are?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to th
users to give feedback on
your app
You have now distributed and tested your app for free.
Doug
On Jun 23, 10:59 pm, Raghav Sood wrote:
> Nikolay, I cannot pay the testers. I am 14 years old. It is unlikely that
> someone would do it for free but it is worth a shot as opposed to buying the
>
What does logcat say?
On Jun 24, 8:16 am, Raghav Sood wrote:
> Yes I did. It didn't work. Any other ideas.
--
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 unsubsc
I've used it today without any trouble.
Honestly, I can't tell the difference between 3.6 and 3.7 yet, other
than installing some extensions.
Doug
On Jun 22, 1:41 pm, goosedroid wrote:
> With the new release of Eclipse Indigo 3.7, does google officially
> bless ADT 11 to work o
I'm more concerned there will be a _maximum_ age and I'll have to drop
out of the community. :-)
On Jun 19, 3:07 pm, Mehwar Raza wrote:
> Is there a minimum age requirement to become an android developer? I
> have been trying to hunt down the answer to no avail.
--
You received this message bec
ff the activity
stack). It probably had been continuing to run the whole time while
the installer was working. If you want to make your app appear to
have completely finished, you will have to finish ALL your activities
on the stack. But there could still be other activities behind yours
that would
ayout work.
Doug
On Jun 18, 12:36 am, Budi Wibowo wrote:
> Hello group,
> I'm a beginner in developing in android. I'm used to using visual
> studio for my IDE.
>
> here is a problem i'm having. When i launched an app in AVD, it keeps
> on forcing me to close. i t
Are you using stream or static mode? With stream, you need to feed
the AudioTrack a stream of zeroes to get it to silence without
clicking. I don't think that you can pause in stream mode, but I
might be wrong.
Doug
On Jun 15, 5:27 pm, Stefan Alder wrote:
> I need to pause the Au
What did you intend for this line to do?
_webview.addJavascriptInterface(this, "Question");
Doug
On Jun 15, 4:38 am, Vivek Tamrakar
wrote:
> I have a value inside javascript variable and would like to value of that
> variable in Sting variable in Android code. I have on
You have to write code to glue the functions and callbacks of the
SeekBar to the functions of the MediaPlayer.
Doug
On Jun 13, 4:51 am, sriramtej wrote:
> Hi,
>
> I am using seekBar to show the progress of the video which I
> implemented using Media Player / Video View.
>
> B
http://www.google.com/events/io/2011/sessions/html5-versus-android-apps-or-web-for-mobile-development.html
On Jun 12, 11:20 pm, Ishwar Chawla wrote:
> I just want your opinion which option is better I am about to start a
> project looking at ease of coding and UI which according to you is
> bette
Try using getPixels() on the bitmap and write out the array of pixels
it generates. No need to use bmp if you don't absolutely need to
export it to some other program that requires it.
Doug
On Jun 8, 9:53 pm, PMR wrote:
> Hi all,
> I am new to this group...sorry if I make a
s to know?
Doug
--
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+unsubscr...@googlegroups.com
For
On Jun 8, 10:33 pm, Rajender wrote:
> How can i generate a build.xml ?
It's created for you when you create a new android project using the
latest tools. Keep reading the docs.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Develope
On Jun 7, 4:32 am, Rajender wrote:
> I want to do all these using batch file (command line)..
Use ant.
http://developer.android.com/guide/developing/building/index.html
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" g
t; Plz urgent help required
I don't think you can change the order without changing Android or
Gallery source code.
Doug
--
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@goo
ng stripped
out. Strings can't contain images. You need to retain the Spannable
interface and work with that or assemble the whole thing differently.
Doug
On Jun 7, 1:02 pm, Agnes Despicable Me wrote:
> directions += Html.fromHtml("", imageGetter, null)
> + " Turn t
I think you just need to read up on web services and JSON. Android
comes with a JSON parser.
On Jun 6, 11:25 pm, mike wrote:
> I need to create a news feed that takes the string from the following
> link and displays each on separate links, like the google news and
> weather feed. Im not sure h
They should be using layouts to position views relative to each
other instead of trying to draw views within other views' canvases.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
ng! I heard that the groups have the masterminds so please,
> help me Google Jedi Order, you're my only hope.
I'm not sure what about your sample code is actually trying to play
music.
Also, you are calling setWebViewClient twice with two different
things. That's probably not doi
user id, the first package will silently fail yet have a
fully workable SharedPreferences object to play with that is just
unable to commit changes! So yes, you do need to use sharedUserId in
the manifest and use the same signature in both apps.
Doug
--
You received this message because you are
On May 30, 8:11 pm, Francisco Dalla Rosa soares
wrote:
> Funny to see how people still look at Macs like a blackbox.
>
> https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstall...
> Mac OSX and Ubuntu
That document is a little scary. I'll stick with VMware, t
is going to rapidly decrease (from already
small numbers) and you'll find yourself at a point of diminishing
return for the effort you put into supporting them. Mobile devices
aren't expected to last nearly as long as desktop computers.
Doug
--
You received this message because
oth be installed with the same underlying linux user id. What you're
talking about is what's required when you need two apps to run in the
same linux process.
http://developer.android.com/guide/topics/security/security.html
Doug
--
You received this message because you are subscribed to
hing, even NDK work. And I have never had to
find and and install device drivers like my peers using Windows. One
major exception is with Samsung Galaxy S products -- if you want to
install a new firmware on those devices, you need Windows to run
Samsung's crappy Kies software.
Doug
--
You
it the screen, be able to handle that. Or subclass View and do your
own image drawing and event handling in there. It is not a trivial
amount of work like imagemaps in in HTML.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
troller and overriding
what you did at the time you call setMediaController.
I have never liked VideoView. I just copy the source and make it do
what I really want.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to t
201 - 300 of 675 matches
Mail list logo