Generally speaking, video streams need to be seekable in order to play.
The exception to this is video streams that were specially constructed to
be streamable, which I'm pretty sure you will not get out of a
MediaRecorder.
Doug
On Tuesday, March 13, 2012 2:40:38 PM UTC-7, Jeff wrote:
You can save yourself the trouble of writing serializing and deserializing
code using a library such as XStream which will do all that for you using
reflection. Just don't try to send big objects that way.
Doug
On Sunday, March 11, 2012 6:45:20 PM UTC-7, kahou wrote:
>
> Hi,
>
Read up on the broadcast intent ACTION_USER_PRESENT to know if the user is
actively using the app.
Doug
On Monday, March 12, 2012 3:10:20 AM UTC-7, rachana govilkar wrote:
>
> Hello all,
> I am developing an application inside which i need to record audio.
> I implemented co
Now is great time for you to start learning about your local and federal
tax laws. :-) If you generate income at all, you should be thinking about
these things even if you don't cross whatever threshold the government will
start caring about the taxes they can collect on it.
Doug
On S
Individual app installations on the same device are completely
sandboxed from each other. It's not possible for namespaces to
collide for either java or C code between apps.
Doug
On Mar 5, 10:04 pm, Omri wrote:
> Hey All,
> So I'm developing a mixed Java/C++ JNI based app
the Market description?
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 unsubscribe from this group, send email to
android
le to use other adb
commands in the same way you would normally expect.
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
I avoid any software that has the word "MOTO" in it. I should know --
I used to work for Motorola.
Doug
On Feb 22, 7:11 am, bob wrote:
> Just wondering - is it easier to use MOTODEV Studio or install the
> pieces separately? While I like the all-in-one idea, I'm having s
Like any query string value string, you have to "url escape" it so
it's valid to send.
Doug
On Feb 21, 10:50 pm, Mulsaniya Bhadresh
wrote:
> http://192.168.1.4:55106/Waiter_json.aspx?MethodName=InsertOrderForTa...[{
> "commej":"","id":1,"
think it's just detailed enough to show a coarse view of what's
being played. I think there is an ApiDemos sample that demonstrates
this.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send
Try Google. I don't think you will find much that is not JavaSound
native, 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
Why are you asking here? What you are trying to do doesn't really
have anything to do with Android application development. You might
be better off asking in a forum that deals with pcap data in general.
Doug
On Feb 13, 7:04 am, NITIN wrote:
> Hi
>
> I ave captured a pcap f
is getting refreshed somehow, it may
be getting rebuilt.
You could also try starting with a sample from ApiDemos and building
from there.
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
ur app that don't involve getting it
done for free because you happened to upload a new APK. You can
research that.
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-deve
h I think that you probably meant through an abstraction layer
> such as AIDL or something..
No, I do mean literally load another application's classes directly.
http://groups.google.com/group/android-developers/browse_thread/thread/261ce958a8599bfc
Doug
--
You received this message becau
It is possible. Just search for something like "android fragment
example" to get started.
Doug
On Feb 8, 10:53 pm, Abhishek Kumar Gupta wrote:
> Actually I want to create three listviews with the help of fragments. Is it
> possible? if possible then please give some reference.
Are you saying that the "X" gets scaled up to the full size of the
ImageView as though the transparent "border" were not there? I have an
ImageView that displays photos in their "native" pixel dimensions up
to a max size by doing this:
This does *not* scale up images that are less th
27;t want to
do that.
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...@goo
No one will be able to help you because we don't know which line is
477 in your MainActivity.java file. You should probably just find
that line yourself and diagnose the problem with a debugger.
Doug
On Feb 8, 12:52 am, Dhaval Varia wrote:
> *Dear all
>
> I have developed my
install one on top of the other, you will see this error.
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 e
probably don't want ListFragment
any more. ListFragment is a shortcut for making simple list, so it's
probably time to make your own Fragment that contains two lists and
operates them the way you need.
Doug
--
You received this message because you are subscribed to the Google
Groups
Wav files , how it is
> possible to use it with MediaController?
Write your own or adapt Google's source code from the component you're
using.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to thi
impossible at that point in the
code where the String method is being called. Fortunately, this
firmware is not public yet!
Doug
On Feb 7, 5:46 am, William Ferguson
wrote:
> Hi Mark,
>
> Its on the UI thread from a button click.
>
> William
>
> On Feb 7, 11:37 pm, Mark Murphy
ints.
I think Samsung was aware of the problems with the way that the Note
works with some apps, because my company was directly contacted by a
representative from Samsung who helped us work out the layout issue
with our app on the Note.
Doug
--
You received this message because you are subscribed t
Use jspeex just like you would if you were writing a regular java
problem. If you need help with jspeex, you are asking in the wrong
place. You would get more help from the creators of jspeex.
Doug
On Jan 31, 11:31 pm, hemant metalia wrote:
> Hi,
> please can anybody help me how use sp
th backend stuff is pure java that I can use in any Java
context, given HTTPClient and other pure java libs as infrastructure.
The only extra stuff I have to do in the Android side is use loaders
and some special configuration.
Doug
On Jan 28, 4:31 pm, Kristopher Micinski
wrote:
> All,
>
ames of the
resource files -- then there will be a problem.
Granted, it would be much better if Google created a full library-as-
JAR solution, making AAPT smart enough to grab resources out a jar
instead of looking for them in the filesystem. But this should work
as long as nothing is meddled wit
valid intents for which the app holds permission,
and I would expect that broadcast receiver be able to start a service
if needed.
Doug
On Jan 23, 9:30 pm, Ravi Pandey wrote:
> I have tried to design a Service in such a way that once it's receiver
> can receive the BOOT_COMPLETED intent ,
I believe that there is a maximum file size limit of 2Gb, but this has
more to do with Android in general than specifically with SQLite.
Performance has more to do with your database schema than with the
size of the file, but Android was not designed as a "database engine"
and I had to resort to so
will cause. The information you are
looking for is out there, usually in a language that is not English.
Doug
On Jan 20, 1:37 am, Himanshi Saxena wrote:
> Hi all,
> I am doing a college project on "adaptive video streaming on android".
> I need to integrate ffmpeg libraries with
pace. I took it on good authority that it's
a Bad Idea to target dimensions size in resource specifiers, but it's
what I had to do to make it work without redesigning a very important
screen in my app. Please don't email me for support!
Have fun.
Doug
On Jan 20, 6:05 am, Ch
This is why I sometimes envy developers who write for iOS -- they have
only a few well-defined form factors to consider and don't have new
"surprises" coming out every few weeks! :-)
Doug Gordon
GHCS Software
On Jan 20, 9:09 pm, jtoolsdev wrote:
> I have a similar prob
What numbers? What are you running and how? Can I duplicate your
findings using standard dev tools?
On Jan 18, 4:04 pm, Anton Persson wrote:
> Doug, the Case in point shows that hardware is not the issue... Using a
> STANDARD Linux audio engine (Pulse) showed 10 times improved l
ission both the
hardware and a customized Android kernel.
Doug
On Dec 11 2011, 2:48 pm, Bh1 wrote:
> However the real question is after three years of constant development
> why has audio latency got worse across the board instead of better? Is
> it even worth anyones time to try to get somet
http://java.sun.com/docs/books/jni/html/jniTOC.html
Doug
On Jan 16, 1:34 am, M J wrote:
> Hey,
>
> hmmm, I do not think so. I just want to know how to call a Java method
> from C without having the jobject. Can I cache it when I previously
> got it as parameter?
>
> On 16
You realize that going from 10 fps to 30 ftp is an INCREASE in
performance, right?
How are you measuring that? Have you instrumented your code with
timing information?
On Jan 16, 10:41 am, sblantipodi wrote:
> Just to add some more data.
> This simple app can render its UI at 60FPS on Galaxy Ne
cessarily steal my events for what is essentially a no-
op.
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 em
e
container".
In general, the Android documentation is good, but sometimes
inconsistent in terminology when read closely.
On Jan 9, 11:38 am, TreKing wrote:
> On Mon, Jan 9, 2012 at 9:27 AM, Doug Gordon wrote:
> > So what is the difference behind the scenes between these two method
in an empty frame.
This is all working well, but what I've observed is that there is no
visible difference in behavior whether I show frag B by calling
ft.replace().addToBackStack() or ft.add().addToBackStack(). So what is
the difference behind the scenes between these two methods?
Please tell us more about "the cloud print facility".
Doug
On Jan 2, 4:10 am, aru padam wrote:
> Hi All,
>
> I want a help on creating an apps which support the cloud
> print
> facility.
> Please help me.
>
> --
> Thanks & Regards
>
> Dee
d give you the chance to solve the issue yourself instead
of waiting on all the device manufacturers to solve it for you.
Doug
On Dec 22, 4:39 pm, csyperski wrote:
> ICS can't loop audio seamlessly with more than one core, when using
> MediaPlayer->setLooping(true).
--
You received
is the small amount of card data on the magnetic strip.
Doug
On Dec 21, 11:00 pm, PhotoSteve wrote:
> How would you get access to the audio jack to perform other
> functions(aka the Square Up CC reader)?
--
You received this message because you are subscribed to the Google
Groups &q
t to establish this configuration for
me or be forced to put that line of init code into every component's
onCreate, which is horrible.
Also, I like Application.onCreate to set up background threads to kick
off work that need not impede the user's progress through the app.
Again, horrible t
Don't use == on strings. Use the equals method. (pick up a java
book)
Doug
On Dec 15, 8:17 pm, Matt Clark wrote:
> I am currently writing an application to easily retrieve the bus
> schedule for my school. I have a series of intents and content views
> that get information from
You can pass any java object to native code and manipulate it via JNI.
Doug
On Dec 15, 1:46 am, JC wrote:
> Hello all,
>
> I understood that why it is not allowed.
>
> So if one have achieve same, what is another method for
> implementation?
>
> Can we pass AudioTrack o
third-party reuse is formally supported).
It works with the latest SDK. I do it for lots of apps that have
crazy dependencies.
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-devel
Use android.text.format.DateFormat and give it a Context so it can can
give you the most relevant formatter for the current locale.
Doug
On Dec 12, 1:11 pm, "Tool&Android" wrote:
> When I change the locale from English to Espanol, issue with uppercase/
> lower case for month
Are you sure you're using the correct symbol, i.e.
Configuration.SCREENLAYOUT_SIZE_XLARGE?
Doug Gordon
GHCS Software
On Dec 12, 7:39 pm, martypantsROK wrote:
> seems to be an Eclipse problem. Build target is set to 11 but it
> doesn't recognize it.
> Got all the latest
pse.
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
1. Create your database on your desktop or server.
2. Publish your database file at a downloadable URI (http/ftp/
whatever).
3. Have your app download the database to a suitable location.
4. Access your database from the app.
Doug
On Dec 6, 6:29 am, eSumit wrote:
> Have you developed
Sounds like you just need to create your own subclass of View, feed it
the binary data to draw as that data becomes available, and put your
logic below into the onDraw method using the drawing primitive of the
Canvas object it receives.
Doug
On Dec 3, 6:30 pm, Vincent wrote:
> Thanks
s just show how to get work done, not how to
prove that the scaffolding works as intended.
Do you have a counter example of a sample app for any API that unit
tests itself independently of the APIs that it demos?
Have you investigated any literature or tutorials on Android unit
testing?
Doug
which is not part of the media support
declared by Android.
If you are going to distribute media for all Android devices, it needs
to be in a format that is supported by core Android and not depend on
manufacturer extensions.
Doug
On Dec 1, 7:49 pm, Ali Rangwala wrote:
> Hello All,
>
&g
a hat.
It's not just fluff. It's a way of stimulating the development
community to create great products for their platforms. I've received
all kinds of stuff from Google for development both at I/O and through
other channels, and it's always great to know that they a
No, don't do this. Just change the data backing your adapter (in the
main thread) and call its notifyDatasetChanged() method. That will
tell the adapter to update the ListView to which it's attached. Or
you could create a new adapter and set it on the ListView.
Doug
On Dec
longer visible to the
user and start it again on onStart().
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
You are not very specific about what you are doing, but in general the
"container" section of your layout -- the RelativeLayout part -- would
be set to "match_parent", but a typical widget such as a Button would
be set to "wrap_content" because you don't want it to be any larger
than it has to be.
To wrap this up, I've found that the arguments "sent" to the fragment
with setArguments are preserved when the fragment is reinstantiated by
the framework. So what I'm now doing is only creating a new fragment
if there is no previous one after a config-change restart. For
example:
mTabBar = (
Rony, you are correct, but of course if (savedInstanceState != null)
then I'd need to use the manager findFragmentByTag call to find these
recreated fragments since I need to be able to add them to their
container view and also to be able to call custom methods that update
the displayed data, etc.
My app is built with V4 of the Compatibility Library (in case that makes
a difference) and all of my fragments are "dynamic". That is, I
explicitly create the fragment objects and put them in a view with an
"add" or similar transaction, etc.
What I have discovered is that, when my activity is
M3U is not really a "format". It's a way of expressing playlists, and
it's just text.
http://en.wikipedia.org/wiki/M3U
You should probably read the M3U and get to the stream(s) that really
matter within it.
Doug
On Nov 12, 12:03 pm, MarkusK wrote:
> Hey everybo
Thanks for the confirmation; I sort of expected that. After browsing
StackOverflow, one of the posts gave me an idea for an alternative
design that will actually make everything much simpler and more
elegant than what I was thinking of doing. So it worked out for the
better. :-)
Doug Gordon
On
t have a really good
grasp on how fragments are implemented and managed. Thanks.
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
On Nov 12, 1:11 am, cctools wrote:
> My app polls a directory on the SDcard for the appearance of new files
> that where dropped there by the user from Windows file explorer over
> the USB connection. When a new file appears, my app processes it, and
> then deletes it, however the file still sho
The Gmail app may not be using a ListView, or may be using a
customized derivative of ListView to achieve that effect. I imagine
it's not as simple as setting a flag or writing a few lines of code to
run an animation.
Doug
On Nov 4, 6:06 am, BoD wrote:
> Hi!
>
> I am loo
change.
Doug
On Nov 4, 8:32 am, RLScott wrote:
> The app is compiled
> use API 8 for Android 2.2. But on a Acer A100 tablet running Android
> 3.2, this is not what happens. Instead a TextView with a zero-length
> text takes up no room at all and the second TextView slides up to
cks subclass that
instead of Activity directly. There also may be some frameworks that
do this for you, but you won't get it from Android directly.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gr
Find the PCM data in the WAV and write it to an AudioTrack that is
configured to play the PCM data (channels, rate, etc).
Doug
On Nov 1, 8:22 am, Joey Studwell wrote:
> I've been reading quite a bit and I can't find a great answer, but it
> seems like what I want to do should
On 11/1/2011 3:45 PM, Marc Petit-Huguenin wrote:
The method String.isEmpty() exists only since Java 1.6/Android API 9.
Thanks. That explains a lot. This was a recent change. I thought surely
I'd used that method before, but when I searched my entire project,
"isEmpty" was nowhere to be found!
m not pointing to a valid String
object or anything.
Interestingly, this only appears to happen when running it on my actual
Android 2.2 phone. It works OK on a V2.3.3 emulator. It is built with
the V2.3.3 SDK. What gives?
Doug Gordon
GHCS Software
--
You received this message because you a
,
so why these dimensions?
Same thing with the fragment ID; is this the ID of the view created by
the fragment, or of its container, or something else?
I must be missing a concept here, but maybe I just have to start working
on my own code conversion to fragments and see what happens...
I treat external source as a library project and import that into my
main project. Everything just works. Doing anything like this
outside the framework provided for library projects is probably going
to make your job difficult.
Doug
On Oct 25, 7:54 pm, Neal Sanche wrote:
> We need to
>
te to push, but I'm afraid of what might happen because
this message is so vauge. Anyone have more information?
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
Emulator or device? The emulator is already slow, and it will only
get worse if you attach a debugger to it.
Doug
On Oct 24, 12:01 am, Pepijn Van Eeckhoudt
wrote:
> No suggestions at all?
>
> There must be a way to do this. My hunch is that debugging slowdown is
> related to the am
It seems to be fixed by removing the @Override that precedes the method
in the code. Anyone else had this issue? Are these methods indeed not
overrides?
Doug Gordon
GHCS Software
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gro
I imagine the only clean-looking way you'll be able to do this to
round the corers of the content inside the webview itself (css3), then
make the background of document transparent and its entire contents
would be an element with overflow to allow it to scroll vertically if
needed.
Doug
O
On Oct 19, 3:25 am, Kostya Vasilyev wrote:
> 19.10.2011 11:03, Doug :
>
> > Well, in my case, it is desirable if not perfect. :-(
>
> > I work on a very high profile app and I've been in contact with a
> > Samsung rep who is encouraging us to support the Galaxy N
uild
time. Android build tools will just include every resource file it
finds under the res directory, so I can create new files there as much
as I need.
There is really no need for a preprocessor at all with intelligent use
of resources. Hope this helps.
Doug
--
You received this messag
ll be shipping with Gingerbread and being
"large". (They are also testing the app on a device that they will
not share with us.)
With this resource qualifier for screen dimension, does anyone know if
it is width x height or the other way around, or does it matter at
all?
Doug
On Oct 18,
n fact, it probably shouldn't even be classified as
"large" given its effective width in dp. And since the Galaxy Note
doesn't target Android 3.2 so we can't use the new min width and
height qualifiers. So I'd love to target just 1280x800 if possible to
work around
Your XML parser should be doing this for you automatically. Is that
not the case? Normally developers don't need to write code to handle
things like this. They are handled in the libraries that serialize
and deserialize data. Doing all that yourself would be silly.
Doug
On Oct 11, 11:
It sounds like you need an ant build script or something to do stuff
prior to the final packaging of your app. Jars don't ship with
android (if you want them to contain code you want run). All classes
need to be dex'ed by the Android build tools before the final apk is
built.
Doug
On
This is not an android specific question. You just need to learn JNI,
and specifically how to access java objects using the JNI api. There
are lots of resources about this that have nothing to do with Android.
Doug
On Oct 10, 3:11 am, 杨辉 wrote:
> for example,look at the following co
happen almost instantly.
Doug
On Oct 8, 6:29 am, Jean-François Geyelin wrote:
> Some users are reporting me that they can't update the application because
> the application is not signed appropriately.
>
> 1/ I tried jarsigner on the new apk, and it returns "jar verified&qu
I agree the easier way is to never use punctuation or explanation
*lols*
On Oct 5, 8:05 am, crissgoodlookingguy
wrote:
> There's an easier way use Adobe AIR. *Simples*
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
Read the javadocs for SQLiteDatabase. Apparently you need to do
something special for localization/collation, but they don't really
help you out that much. Maybe it's time to google an answer to get
your database queries to localize properly.
Doug
On Oct 4, 4:41 am, Jairo de Alme
On Oct 4, 9:42 am, bob wrote:
> Does anyone know why this code is ridiculously slow and/or how to make
> it faster?
What do you mean by "ridiculously slow"?
Have you considered using DataInputStream to read binary data instead
of parsing string-tokenized data?
Doug
--
Y
y are you trying to install, and on what sort of craft? I
haven't heard of anyone doing this sort of thing before.
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@
des some custom anti-piracy software in that makes updates from
the Android Market incompatible. If your originally got an app from
Amazon, you need to commit to installing update from only Amazon, or
uninstall the Amazon app and switch to the Android Market version.
Doug
On Oct 4, 10:10 am, Fre
That's not all apps, that's just preloaded apps (and just the apk for
each one). You'd also have to look in /data/app to find the apk for
downloaded apps. Or you can use PackageManager to query Android for
installed apps.
Doug
On Oct 4, 3:00 am, "Gokul.C" wrote:
>
that the file has changed needs to be
indexed again it. See MediaScannerConnection.scanFile.
Doug
On Oct 2, 5:29 am, Sabre Tooth wrote:
> Can anyone tell me how to access/update the song title in the default
> music app? I have a Motorola Xoom with Android 3.2 running. If I
> change
.. thanx
I don't think you can do this. There is no broadcast sent when an
arbitrary app is started, and not every device will have the stock
media player app installed.
Doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
You can store data to share between activities in an an object using
the singleton pattern.
Doug
On Sep 30, 7:22 pm, R S wrote:
> Hi!
>
> Right now I am loading my tiny music clips in the same class that I am using
> it
er. If you set a bitmap
into an ImageView, Android will render that after your code completes
its current run and allows the UI thread to process that change. You
need to put each frame into the ImageView followed by some delay. You
can use a Handler to schedule delays on the UI thread.
Doug
--
You r
normally create for you.
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...@
o handle the exception because you declared this method as
"throws Exception" (which is usually a bad idea unless you really know
what you're doing). Try taking out the "throws Exception" and
handling exceptions in the method itself.
Doug
--
You received this message becaus
u are asking for trouble if
you try to dig around in there in your app.
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 gro
olatile to
keep them in sync.
You are almost certainly not running into an HTC error.
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 fr
. I'm under the impression
that it's not going away any time soon. I think C2DM is more closely
related to Google App Engine rather than Google Labs. The
presentation was about using Google App Engine with your Android apps.
Doug
--
You received this message because you are subscrib
On Sep 26, 7:33 am, kun chen wrote:
> I use my algorithm encode mp3 file.Now, I want to play it with
> MediaPlayer.
MediaPlayer will decode and play your mp3 files directly, given that
you have encoded them properly.
Doug
--
You received this message because you are subscribed to the
101 - 200 of 675 matches
Mail list logo