Android :: Producing And Receiving Sounds - Controlling Frequencies
May 23, 2009
I want to create an application that is similar to a phone call, where it produces sounds through the speaker and receives sounds through the mic. i want to know if i can have an access to control the speaker and the mic to produce and receive sounds simultaneously (like a regular phone call) in my application. i also want to know if it is possible to specify the range of frequencies of the produced and received sounds.
View 2 Replies
May 27, 2010
I have an app with about 15 threads. Most do mundane tasks and sleep most of their lives. Others collect information and cache it in hashmaps. The hashmaps grow to a moderate size and level out. The number of keys and size of value remains constant, but the contents of the values changes (at 33 keys per second average). When I start my app, I notice the garbage collection interval goes from minutes to once per second, and the amount of garbage is 700k+ each time. In fact as I was writing this, it caused my phone to reboot with an error "Referencetable Overflow". Here's my question: Are there any tricks to identifying which threads are producing the garbage, or even finding out more about what garbage they are producing?
05-26 22:08:57.052 W/dalvikvm( 1031): ReferenceTable overflow (max=512)
05-26 22:08:57.052 W/dalvikvm( 1031): Last 10 entries in JNI local reference table:
05-26 22:08:57.052 W/dalvikvm( 1031): 502: 0x449904a8 cls=Ljava/lang/String; (28 bytes)
05-26 22:08:57.052 W/dalvikvm( 1031): 503: 0x4494fda8 cls=Ljava/lang/String; (28 bytes)
05-26 22:08:57.052 W/dalvikvm( 1031): 504: 0x44a172c8 cls=Ljava/lang/String; (28 bytes)
05-26 22:08:57.052 W/dalvikvm( 1031): 505: 0x448c7900 cls=Ljava/lang/String; (28 bytes)........
View 2 Replies
View Related
Dec 6, 2009
Here is my AudioRecorder class, using audio record, why is it not producing any sound data?
import java.io.FileOutputStream; import java.io.IOException; import android.content.Context; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; public class AudioRecorder implements Runnable {public boolean isRecording = false; byte[] tempBuffer = new byte[AudioRecord.getMinBufferSize(44100, AudioFormat.CHANNEL_CONFIGURATION_STEREO,......
View 4 Replies
View Related
Mar 16, 2010
I am trying to play audio buffered sound (.wav) using AudioTrack. Please see the code below. I need to call this function under a Thread to support simultaneous play. It is fine being under a Thread. It is working fine playing the sound normally. But if i execute playing the sound using AudioTrack one after another continuously (i.e. executing second play before completing the first play sound), produces device crash (force close unexpectedly error). Does anyone come across such problems and resolve it in a way?
View 1 Replies
View Related
Nov 6, 2010
I'm developing an Android application for accessing some battle.net (https://eu.battle.net) account data (for World of Warcraft) and I'm using the org.apache.http.client.HttpClient to do so. This is the code I'm using: public static final String USER_AGENT = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)"; public static class MyHttpClient extends DefaultHttpClient { final Context context; public MyHttpClient(Context context) { super(); this.context = context; }@Override protected ClientConnectionManager createClientConnectionManager() { SchemeRegistry registry = new SchemeRegistry(); registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); // Register for port 443 our SSLSocketFactory with our keystore // to the ConnectionManag registry.register(new Scheme("https", newSslSocketFactory(), 443));......
View 4 Replies
View Related
Jun 30, 2010
Im using bugless beast with P3droids 1250mhz lv kernel. I was want to do custom frequencies to add more steps. specifically i want 125/250/400/550/700/800/850/900/950/1000/1050/1100/1200/1250 1. is that safe? im not going any higher or lower than I already was
2. what numbers would i put in the setcpu file. is 125mhz 125000(1000khz/mhz) or 12800(1024khz/mhz)? im, assuming the latter, but unsure.
View 1 Replies
View Related
May 30, 2013
how to change the cell phone frequencies of a phone. I'm looking into a knock off 4G phone, but the frequencies run on 850mhz. I'm looking to switch it to Verizon's 700mhz 4G LTE network. What are the kernels or ROMs needed in order to do this? The phone has the hardware to support GSM and LTE. I may even test it out on my Droid Razr, as I've heard they have both but Verizon disabled the GSM function on it.
View 1 Replies
View Related
Feb 23, 2013
Whenever I try to set minimum CPU frequencies higher than the default value, no matter what app I'm using or what kernel or Rom it just won't stick. Governors and maximum frequencies stick though.
View 1 Replies
View Related
Apr 9, 2010
Just purchased the Legend and there appears to be an issue with the speaker. I want to identify if it is just my phone or if other users are experiencing this problem. The speaker on the phone is producing static whenever audio is being played. It can be heard clearly when doing the following: Click on the volume button on the side (either up or down) and place the phone to your ear. Open the phone application, click on a number and place the phone to your ear. The static lasts for 5 or 6 seconds and then dies off. Would appreciate if anybody with the phone coud check this out as I'm unsure if a return is required.
View 5 Replies
View Related
Aug 12, 2010
Is there any app that will tell you which app is producing the most battery heat on your phone? I know spare parts tells you what's using the battery the most but nothing is being used really under that and my phone on average hovers around 100 to 115 degrees.
my right leg is officially ready to be served for dinner
View 5 Replies
View Related
Dec 30, 2009
Is there a store in the US that sells the Argentinian version of the milestone with the US 3G frequencies? All I can find is the UK or the German versions from various stores or ebay.
View 1 Replies
View Related
Jan 27, 2010
Does anyone know of an app that can test what frequencies are being used in the area? I'm trying to figure out if something is interfering with my wireless router, and if so what it is. I've got "WiFi analyzer", but that doesn't show anything other than wireless signals directly from routers, even though a cordless phone runs on the same basic frequency.
In other words, I'd like to find an app that shows what frequencies are present near my phone, including what my phone is putting out. Is that possible?
View 1 Replies
View Related
Mar 29, 2009
After successfully installing and regularly using the Gmote app, wondered if there was one for controlling the Xbox 360 and/or Nintendo Wii? - predominantly interested in one to control the Xbox.
View 4 Replies
View Related
May 29, 2010
I've been messing around with controlling my computer with my Droid remotely, using Wake On Lan to turn it on over the internet and Torrent-Fu/AndroidVNC to interact with it. The only thing I can't seem to figure out, however, is remote shutdown. Can anyone recommend me an app that will do this? I thought AndroidVNC would have a menu option for it or something, but no such luck.
View 8 Replies
View Related
Jun 20, 2010
I am the happy owner of a HTC Legend and a pretty old laptop with Ubuntu Linux installed. Is there any app that lets me control volume etc. on my computer via wifi?
View 3 Replies
View Related
Jun 26, 2010
I am thinking about skipping this round of iPhone and opting for an Android handset for use on AT&T.
I may wait for the Samsung Captivate, but am wary about how it will stack up, particularly when it comes to the feel of the touchscreen compared other handsets. (The sensitivity of the touchscreen on my 3GS is one of the biggest factors that has kept me from switching so far.)
My Question:
Aside from the Nexus One and Milestone (international version), what other high-end Android handsets can be used in one way or another on AT&T's 3G frequencies?
Would the Incredible, Evo, or Droid X support 850MHz and 1900MHz if they are SIM unlocked?
As I am still catching up when it comes to Android, due to lack of a selection of devices to play around with at AT&T.
(Moderator: Please feel free to move this thread if it is in the wrong section)
View 25 Replies
View Related
May 26, 2009
I'm trying to make a list that contains elements not necessarily occupying the entire width of the screen, but even if using android:layout_width="wrap_content" on my elements, they always behave as if their width value were set to "fill_parent" instead. If I set a fixed value for the width, e.g. "100px", that value is indeed used, but I just can't get wrap_content to work.
Example simple list item:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="#707"> <TextView android:id="@+id/text1"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentTop="true" android:layout_alignParentRight="true"
android:background="#770" android:text="Text1" /> <TextView android:id="@+id/text2"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_below="@id/ text1"
android:background="#077" android:text="Text2" /> </RelativeLayout>
What am I missing here? How do I accomplish a list item with wrap_content behaviour, i.e., where the width of each RelativeLayout is adapted to the length of the strings in the contained text views?
View 3 Replies
View Related
Nov 13, 2010
I bumped into a guy I know the other day and happened to notice he had a HTC desire. We had a brief chat about it and he showed me some of his apps. He had an app that can control torrent downloads on your PC. I forget what it was called. This would be a usefull app.
View 3 Replies
View Related
Aug 15, 2010
Can anyone recommend an app I can use to control my Music via my mic enabled headphones, similar to what the iphone offers. I found an app called droid shuffle, which sounded perfect but I can't get it to work on my Captivate. Basically I want to be able to press the mic button twice to advance to the next track. This and DRM are the only reasons I wish my droid was more iphoneish.
View 2 Replies
View Related
Nov 6, 2010
I am working on an application where i will track the movement of the android device inside a building... suppose i display a map of the building in the android emulator... Now,i need to simulate the movement of the android device.... is there a way in which i can control the movement of the android device and see the real time movement of the device in the map ... like a dot moving in the map .... Is this possible to do using the android emulator? when i googled this requirement, i came across SensorSimulator...But,this software shows the acceleration,magnetic field and temperature values... It doesnt display the co-ordinate values....
View 3 Replies
View Related
Oct 7, 2009
Is there a way to control the optimization level of the java compiler that Eclipse uses when building a project?Or is this question not relevant anymore, is all optimization deferred to the vm? The results of this tests imples test_f() is not being inlined, even though it really is a prime candidate for it. It should also be possible to do this inlining at compile time.I investigated this further, and it turns out Dalvik doesn't do inlining at this date.
View 1 Replies
View Related
Apr 28, 2012
I have a Droid Bionic. I like it. But I was recently having some GMail syncing issues and during the troubleshooting for that I uninstalled the latest GMail update and reinstalled it. As a result, GMail is now doing audible notificatrion sounds for new email when before I only had notification in t he notification bar. I can't seem to get it turned off. I still want calendar events and texts to sound so I don't want to silence the phone but I want email and GMail to be silent (Notification icon only).
View 5 Replies
View Related
Jun 24, 2010
I currently use Timeriffic, which has been great at managing settings for different times of the day. What I am looking for, however, is an application similar to that where I can define the sound behavior for one specific application.
What I am trying to do is make it so all notifications are at 10% volume during the night, but Id like to make notifications from Google Talk louder, like at 50%. I haven't been able to find anything that would allow a rule like that, but thought Id ask since you guys seem to know everything!
View 2 Replies
View Related
Dec 11, 2009
I realize this might not be the proper place to post this since it's not Android specific, but rather its about integrating with a google app.
I've been trying to find some documentation on launching / controlling the Google Navigation app via Intents or otherwise. I was hoping to find an intent to launch the navigation app with address parameters setup and start navigation immediately.
Can't find anything out there, so I'm still not even sure if it can be done.
View 8 Replies
View Related
Jun 12, 2013
I buy a tronsmart t 428. For this android pc i must use a physical mouse and keyboard, not usefull for a tv stick....
Is It possible to creat an app who give the control by remote via hdmi cec....?
View 1 Replies
View Related
May 3, 2010
I have gmail and my regular pop email set up on my Incredible. Well, almost set up. They seem to "grab" new mail automatically, instead of just when I want them to. I cannot seem to find settings for either app that allows me to control when and if new email is downloaded to the phone.
View 3 Replies
View Related
Dec 31, 2011
My Android cell phone overrides my selection of vibrate mode and notification ringing volume (becomes the permanent settings) when pressing the side volume button. I was told by customer service ALL Android phones do this due to the Android operating system. First of all it true? Is there a way to force an Android smart phone to keep the receiving call volume at its intended volume setting and keep the "NEVER" vibrate selection from switching even when pressing the volume button (just want the volume button to control the audio level during a call)? In order to use cell phones for receiving emergency calls one should be able to force a phone to keep its intended receive call notification settings and not allow them to be accidently be changed by pressing an external button.
View 2 Replies
View Related
Feb 12, 2012
The vibration notifier for email is so short that I often don't notice it.
Is there an app that allows me to control the length of the email vibration notification?
View 1 Replies
View Related
Mar 13, 2012
Is there a way to control media volume only for foreground app when there is multiple audio streams For example, when i play a game and listening to a music and press vol+ while in game i want to increase only game media volume.
View 1 Replies
View Related
Jan 9, 2010
I used to use Nokia phone but just changed to HTC Magic.
1) I can't seem to find any settings that allow me to check talk time, number of SMS sent, amount of data used, etc.? I need to keep track as my plan is not unlimited.
2) Is there any way I can stop the phone from accessing GPRS/HSPA from my provider? Once again, it is cos of my very limited data plan (only 20mb per month), so I would want to control the usage. I notice that when the phone is not on WiFi it will automatically connects to GPRS/HSPA and there is still data transfer even when the phone is on standby mode!
View 3 Replies
View Related