How about set the Alpha channel in each one to 50% so they are both
half see through?
--
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, s
I humbly suggest an 8 segment tower... assuming 8 bit audio, calc the
avg level of 'a bunch' of samples (a frames worth? 30ms at 8 samps per
ms is 240 samps for example), Set a bar in the level indicator for
each bit that is set... 6 db per bit 1 or 2 or 3 db per segment
would be more sensitive
What would we call a single digit picker or a double digit picker?
They would be useful for simple numeric entry and parameter adjustment
like height and width. I suppose one could hack and whack the time
picker to pieces to get something like this? (Actually I want to
adjust EQ parameters like fre
To get a response in 'real time', you need to hear the volume change
within 100ms or so of hitting the volume adjust picker or spinner or
whatever. 8000 samples a sec is 8 samples in a ms, so if you process
800 sample chunks of the stream and shift each sample it left or right
a bit to raise or low
There's a Legion in the market on my adp2 phone, t-mobile service, in
Florida.
--
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 ema
Hire a broker/agent in the US and pay a commision?
--
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+uns
For 16Khz freq response you need 32Khz sampling rate. What is your
desired freq response?
--
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 grou
Read about AudioTrack, AudioRecord, and Soundpool I think.
--
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-develo
On Mar 29, 11:07 pm, Janaka wrote:
> I am testing the application on the emulator and i couldn't get the
> AudioTrack or AudioRecord to work.
>
> I am trying to apply fast furior transform to the input so
I saw the guy down the street apply the
Change 11025 to 8000 and try one more time?
--
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..
On Mar 30, 12:08 pm, Mark Murphy wrote:
> You may wish to spend a few weeks learning Java outside of Android. I
> fear that you will find learning both at the same time to be frustrating.
=
You Betcha
--
You received this message becaus
cross post. rude. wastes time. pick a forum.
--
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.
On Feb 2, 11:57 am, kretes wrote:
> yes, my device wasn't entirely horizontal or vertical.
>
> However what I am looking for is function that will give me the same
> value when the device is not in movement, but in any position, it can
> be on a slant, it can be almost vertically, or in unknown
I asked this question on Android Beginners several days ago, but didnt
get any nibbles. I have an app that almost works... I can draw the
needle on my gauge rotated, but I want to use A and Z keys to
increment and decrement the needle angle. I'd be gratefule if someone
could shoe me an example that
Thanks for the reply. Can you flesh it out a little? I see some
examples that dont use override, so there must be a reason? Do I stick
this in the activity or the view or the onCreate or ?? I get this
event, and 'do some stuff' like increment a count and print it out.
Then what? When I hit the key
Howdy android experts. I thought I knew something about
programming lots of experience with microcontrollers and embedded
simulations that run in a loop and read inputs, do some calcs, send
outputs. After days of trying to write a program that prints out a
count that increments with a key, I gu
//This actually works. Hope it helps someone.
package com.AITI.hellobutton;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
publ
Anyone know if you can write a mono 16 bit pcm stream to flash at
44100 words a sec/88200 bytes per sec? 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 unsu
I would love for one of you smart folks to show me a small example
that increments/decrements a count on onScroll up and down and prints
it out. I'm still unsure of the sequence of extends and implements and
super and listener and what order they are declared/invoked/
instantiated. Thanks. It will
Hello fellow android developers. I assume the bluetooth chat example
on the developer resources page runs on something I have a dev
phone 2, which I think is an HTC Ion, with os ver 1.6. Will the btchat
example dl and run on 1.6? (right now its saying it stopped
unexpectedly...). So is it possi
If you move the phone left and right when looking at the screen, thats
moving in the x axis, so if you take sanples faster than you are
shaking it, as ordained by Mr Nyquist, you will see the accel
increasing, then slowing down, stopping, and accelerating back the
other way. The info you asked for
Acceleration * time gives velocity. Accel * delta time gives delta
velocity. You accumulate the deltas like this: velocity +=
deltavelocity. If you mult velocity * deltat you get delta position.
Accumulate those to keep track of position. Thats how Inertial
Navigation Systems flew ICBMs a couple 10
I see now he's asking about pitch roll and yaw velocity rather than
x,y and z velocity. The simple case of pitch and roll tilt is
detectable with a 3 axis accelerometer. Can't do yaw. That's what the
magnetometer is for. So if you can get pitch and roll 20 times a sec
(atan2(y,z) and atan2(x,z)), y
Harmony Central has Digital Signal Processing source code that will
show you how to get er dun.
--
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 thi
menu->newbook->forceclose on google devphone2
--
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
I have a dev phone 2... It says its a Google Ion... made by HTC
same as what? A dream? Anyway, I can take a buffer full of samples at
48000 and run the buffer thru a bandpass filter... it looks like there
is a sharp rolloff at 8khz. Now I wonder if its the model of the
phone, the driver, the lo
I downloaded the update yesterday, and I still got the force close.
Sorry!.
--
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
I have a dev phone 2 with 1.6. My boss has a moto droid with 2.1 (I
ASSUMED buying a google dev phone would have the latest rev, but
evidently not). You can definitely develop an app for it, just select
os revision 1.6 in the new->project->android project dialog.
Evidently, the bluetooth is still i
I have this audio analyzer app that fills a buffer with audiorecord,
runs it thru a bunch of filters, and plots the filter out as a bunch
of vertical bars. I timed the sampling, filtering and drawing with
systemTimeMillis and it takes about 100ms,900ms and 50ms. I cant see
how putting the calcs in
Thanks for the replies folks. I saw the Real Time Analyzer in the
market, and it runs like a scalded dog. I was trying to get the same
sort of effect by feeding the same buffer full of samples thru a
filter that steps up in freq every pass. I timed a bunch of floating
point adds and multiplies in a
I think a Fourier transform would give me equally spaced spectra. I'm
interested in a frequency response, where the output of each third
octave wide bandpass filter (lopass in series with hi pass one third
octave higher) is averaged and plotted in db below full scale. These
filters have equal energ
Minbuffersize came back as 4096 bytes, but I need 2400 16 bit samples
at 48000 samp per sec to get 50ms worth of samples one period of
20hz. So I set it to 4800 bytes. Timing is from
system.currentTimeMillis on a dev phone 2 (528mhz cpu?). This timing
would, I assume, include the timing of ever
Seems like I need something like onTickListener, then I increment my
variable and setText and invalidate. If you have a view, you can set
onClickListener then performClick. Would that work? Thanks... I'm
confused
--
You received this message because you are subscribed to the Google
Groups "An
Lets say I have 3 cpu bound activities running, and not much sensor/io/
radio activity. Just for puposes of this example. My model of how
linux works is: the clock ticks every ms. All ready tasks are aged one
tick. Some might become ready to run because they have 'aged' while
waiting. Each running
I downloaded the HTC Dream source code... trying to find out if the
mic preamp has a lo pass filter thats adjustable. I can grab mic
samples of some whshing noise wchich I assume goes on up past
16khz at least, using audiotrack, but when I plot the output of a bp
filter from say 8-16khz, there'
I have a dev phone 2... I guess its mostly an HTC dream, or maybe a
sapphire... I dled the kernal source from htc to see if I could find
out what the mic sampling rates are. There are directories for alpha,
arm, mips, x86, drivers for every device in the world, whether they
are in the phone or not.
8khz sample rate sends 8 samples per ms. If you bundle up 50ms worth
of samples in a packet (400 samples, 800 bytes) and send them the 50
ms lag is almost undetectable (unless you can hear the original too...
2 phones at the same time for example)
--
You received this message because you are subs
Anyone ever seen a list of the HTC phone name followed by the Tmobile,
Sprint, Verizon and ??? name? That and the screen res of each one
would be Real Useful.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email
I asked this a couple months ago but didn't get much response. Hope
you don't mind my asking if any developers near Orlando might want to
'collaborate' (that means help me debug my apps!) on a few projects?
--
You received this message because you are subscribed to the Google
Groups "Android Deve
I think if you want to write an app that uses the ambient light
sensor, you should make sure the phone you buy has an ambient light
sensor. Note that os ver 2.2 has the most phones now, so I'd get one
that has that os. Google evidently has NO INTENTION of upgrading the
developer phone they sell, wh
HTC doesnt seem to claim the Google Ion. I hear its similar to a
sapphire or a dream. Is it on Google somewhere? Who releases new OS
versions? Google? HTC? T-mobile? HTC support won't say what chip is
used in the audio codec. How can that be a secret? There must be a mic
gain bit in a reg somewhere
Anyone live within about 50 miles of Orlando? Is it every developer
for himself, or does anyone ever have a get together?
--
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.c
Is this slowdown due to lots of new traffic from the new customers in
the new countries?
--
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
Last couple days just accessing android developers google group has
taken a looong time to load. I hope its all those new customers in the
new countries loading down the google servers.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To pos
Cant store a 16 bit sample into a byte array?
--
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
Averaging is the right algorithm. The tradeoff is averaging lots of
readings makes the movement smoother but slower to respond (lag). try
averaging 8,16,32,64 samples. When it gets too slow, back up one.
--
You received this message because you are subscribed to the Google
Groups "Android Develop
try this, turn on audio record permission
package com.aiti.vumeter;
//vumeter
//May 21 2010 Bob Gardner at aol.com
import java.util.Timer;
import java.util.TimerTask;
import android.app.Activity;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
impor
So if I want to connect and read from a bluetooth stream on an adp2
phone running 1.6, I need to wait for some kind soul to write a
backport from 2.2 to 1.6 and publish it so I can compile with the
backport jar? Or patiently wait for some kind HTC employee to work on
a 1.6 to 2.0 port, then a 2.1 p
I cant seem to get that example I posted to run much faster than every
200ms, so if some Real Smart Guy can try to speed it up and tell us
peons what the speedup trick was, we'd be grateful.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
So you are telling me I can get an app to run faster on a 20Mhz 8 bit
AVR than on this 528MHz ARM because of the silly java interpreter
overhead and several dozen other tasks running in the background? I
can see why Objective C runs a lot faster. No interpreter. Bad design
decision? Show Stopper?
Its the backlight that sucks coulombs. If you can dim that way down,
you're golden.
--
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, sen
call system time millis in a loop till it changes, Increment a
variable, call system time millis until it changes again. You now know
the number of system calls you can do in a ms. Note cpu mhz. Run this
prog on 3 diff phones. Now you have a trend of syscalls per ms you can
use to extrapolate mhz o
This is the realm of 'image processing'. One algorithm might be: run a
couple of nested for loops and find the x,y loc of the brightest pixel
or the center of some bright feature, and do this in two frames. If
the feature moves 3 pixels, you have solved the problem.
Sounds easy when explained by a
I have downloaded the HTC kernel source for the htc sapphire/magic
from hts, and its huge and looks like its for a desktop because there
are drivers for many different processors, busses, sound cards, video
cards, everything imaginable except something that looks like audio
for an htc phone. I have
It would be useful to just have a flashlite, tip calculator, and sexy
asian girl category subfolder. That would clean up about 80% of the
flotsam and jetsam so we could scan the market for interesting new
'killer apps' we can't live without. Might find the next Visicalc in
there for free.
--
You
55 matches
Mail list logo