Android :: Read From Output As From Input
Jun 19, 2010How to access mobile audio out in read mode?
View 1 RepliesHow to access mobile audio out in read mode?
View 1 RepliesIs there a "perpetual calendar" application for Android? For example, I would like to be able to enter "Third thursday in October, 2001" and output the date, input a date and output a day of the week, or input "eight weeks from next Monday" and output a date etc. I tried searching a few terms in the market and didn't come up with anything.
View 1 Replies View RelatedI'm writing a file manager app and I want to allow it for browsing with root permissions.
All I have so far is creation of a Process object using Runtime.exec("su"). Then I get output stream from it and write "ls" command. And here goes the question. How to read the output of the "ls"? Getting the input stream from the process gives me stdout of the "su" which is useless.
I'm trying to debug an android app that call native code to do some GL rendering. The native code is existing code that I'm trying to port (and that I don't really know that well). I've got the existing code compiling, linking, and installing correctly, and I've got some native functions that call in to that code that are being correctly called from my Java code. I'm getting a segfault that I'm trying to track down, and having some problems getting gdb to set a breakpoint in the program. This is on windows XP with Cygwin - and I should probably mention I'm still learning gdb.I started with the directions at http://honeypod.blogspot .com/2008/01/debug-native-application-for-android.html; here's what I'm currently doing.Start the app in the emulator.In a cmd prompt:
> adb forward tcp:1234 tcp:1234
> adb shell
# gdbserver localhost:1234 --attach 2120
gdbserver localhost:1234 --attach 2120
Attached; pid = 2120
Listening on port 1234
In a cygwin shell:
arm-eabi-4.2.1/bin/arm-eabi-gdb.exe out/apps/app-android/libDM.so
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf-linux"...
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
warning: shared library handler failed to enable breakpoint
0xafe0da04 in AppRefCounted::unref () at ../../stlport/stl/_iosfwd.h:39
39 class basic_ostream;
Current language: auto; currently c++
(gdb) b Java_com_app_AppRenderer_onCreate
Breakpoint 1 at 0xafff1b1a: file apps/app-android/../../../app-Android/jni/DMJNI/DMInterface.cpp, line 75.
(gdb) c
Continuing.
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0xafff1b1a: Input/Output error.So it looks like the breakpoint gets set ok, and that the symbols are ok, but maybe the address is wrong when it tries to insert the breakpoint. I've tried several variations of different commands from the webpage referenced above, but so far, no luck.Any ideas what's going on?
i tried to create the odin ready pack of stock rom of galaxy y duos lite but splitfus is not supported for my cell phone. create the odin ready pack for S5302.. i am getting an error that unable to read the input file..
View 3 Replies View RelatedI am trying to get a input stream from something like this.
CODE:.........
And then call parse on the parser instance i Created. SOm how i get nothing . Works fine if I use a server XML....
I want to output Android's camera output to a PC through Wifi or Internet.
I cant find a suitable app for the purpose. I did try to find one.
Closest I came to was MirrorOp Sender, but it shares screen?
I have a Galaxy S3 I9300 and a Galaxy Mini S5570
I would like to show a custom input field (specifically, one containing only 9-0 and two extra buttons containing decimal separator (, or .) and a delete button). I could create a custom IME, but (as far as I know) that would have to be set by the user as the system-wide input method. Is there a way to implement an input method and bind it to a specific input field?
View 1 Replies View RelatedI know this has most likely been discussed many times. But I am looking for a decent email widget.
At the moment I am using the default htc email widget, however when ever I read an email from my gmail account it doesnt update the read status so it still shows as unread.
I would like one that would update the read status and possible the support for unified inbox so I can see new mail from hotmail account and gmail.
I want to get the booting log. But when I use the logcat, I can't get the whole info. In file dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/ provider/jsse/SSLParameters.java, I added "java.util.logging.Logger.global.log(java.util.logging.Level.SEVERE, "SSLParameters.getDefault() is called");" in the function getDefault () . But when I use the logcat, I can't get the sentence "SSLParameters.getDefault() is called". I can test that the function is surely called. Why? How can I get the info?Thanks.
View 2 Replies View RelatedHave a video in avi format I want to watch on the tv but the default player doesn't play avi. Are there any players out there that plays avi that will let me output avi through hdmi onto the tv?
View 3 Replies View RelatedI wanted to get the frequency of accelerometer output. How many readings can I get per second? And to what precision do I get?
View 5 Replies View RelatedIs there any way to get crash logs from android for a released application? I'm wondering if there's some way for a user to email me logcat output so I can see a strack trace if my app crashes.
View 3 Replies View RelatedIs there a way to make LogCat's output to appear in Console view in Eclipse? LogCat view is much less convenient that Console, because it's hard to see long messages in it (they are trimmed by column border) and there are no clickable highlighting in exception stack traces to quickly navigate to source of error. Just to make clear - I'd like to have clickable stacktraces, like the ones in normal Eclipse console so I can quickly navigate to the source of error.
View 5 Replies View RelatedI want to run an activity without ANY screen output. The screen should not blink or anything. How?I have an Appwidget. whenever it gets clicked I want to write something to a DB.So, via 'setOnClickPendingIntent' I start an activity that does that and finishes. But, the screen goes black for a short time, while the activity is running. How can I avoid that? Omitting 'setContentView' does not help, neither does a layout without any views. A service instead of an activity could do that, but I cant start a service by setting a 'setOnClickPendingIntent' (or can I?).
View 13 Replies View RelatedI am trying play an amr file on android emulate, but nothing here, only see the progressbar froward. so farther, I fond the amr codec only out all zero data.I also go www.3gpp.org dondord the amr code 26073-800.zip, and user it doecde the same amr file, it works good. now, what coule do, to make amr file play good. i am sorry for my bad English.
View 2 Replies View RelatedI'm trying to play a music (using MediaPlayer) during a call and want the caller to hear the music I'm playing. Unluckily it doesn't seem work at all, the caller hear nothing even I set the music volumn to MAX ( of course, the speaker and the mic on Android are far away from each other). Is there any ways to route Android's audio output to its Mic? Or something like "Stereo Mix" in Windows?
View 3 Replies View RelatedI'm probably going to feel like an idiot when I figure this out, but I'm hoping someone can help. I just installed the Android 2.1 SDK along with the latest Eclipse. When I create a new Android project, it outputs hello world when run. I can't for the life of me find anywhere in the project source where this happens and how to remove it.
View 3 Replies View RelatedWhen I record audio with the MediaRecorder, I am consistently getting .65 seconds of dead space before the recording starts. It appears as if the file gets passed for some reason. Does anyone know why and better yet, how to eliminate this?
View 2 Replies View RelatedTo build full android source code, we get a "silent" output. We only know which file be involved, but I want to get more detail information, such as build parameter, input file,outpot file, warning, and so on. How to get these detail information?
View 2 Replies View RelatedI know that there was a root-required app that increased the volume output from the speaker when on the phone. Does anyone know what this was called? I want to test it out on my EVO.
View 5 Replies View RelatedI've been told it's a command line option. But Eclipse's Run!Run Configurations...!Target!Additional Emulator Command Line Options field is already occupied with hen where do I write it, and how (i.e., is the syntax even correct)? I need to output only a filtered tag, not verbose. ("MessageBox" is my TAG. Again I don't know if any of this punctuation is right, or even where the command goes.
View 1 Replies View RelatedI've got a fairly unique situation: I'm a teacher with a magnet school that focuses on rocketry and technology. I've got a rocket payload that has a video overlay board which does the following: Code...
View 3 Replies View RelatedAfter installing SDK 1.6 and ADT 0.9.3, I created a new AVD with SDK level 4. Then I found that my application can not output log in the logcat. Can anyone tell me why?
View 3 Replies View RelatedI am running Windos 7 and Eclipse 3.5 and I don't know why I keep getting this error. When I try run the program it gives me:[2010-02-13 23:09:41 - HelloAndroid]The connection to adb is down, and a severe error has occured.[2010-02-13 23:09:41 - HelloAndroid]You must restart adb and Eclipse.[2010-02-13 23:09:41 - HelloAndroid]Please ensure that adb is correctly located at 'C:UsersMohitDocumentsAndroidSDK oolsadb.exe' and can be executed.I even tried runing Eclipse and adb.exe as admin. What is going on? How can I fix this and start making Android apps?
View 2 Replies View RelatedIn the Menu>Setting>Sounds and Display>Media Volume I have this setting to max and I'd still like my music louder still, Does anyone know of a way to increase the Media output Volume??
View 2 Replies View RelatedI was playing around with some of the live wallpapers and thought it'd be neat to try to make something like the frequency/waveform visualization wallpapers, but I'm not sure there's an API to get the audio output data from the device. I know you can use AudioRecords to get this sort of data from microphones. Anyone know if there's a way to manage it for a device's output?
View 2 Replies View RelatedIs there a way in Android to force output through the phone speaker, even if a headphone is plugged into the jack? I know there has to be a way because when you are talking on the phone, you can put someone on speaker phone, even if there is headphones plugged into the jack.
View 1 Replies View RelatedI have an Android test project that I'd like to link into Hudson, but I haven't found a way to output the test results as XML instead of text. Does anyone know if there's an easy way to do this already?
View 3 Replies View RelatedI have an Observable and an Observer. The observable does download some stuff in a background thread and calls notifyObservers to let the observers read the status. At some point in public void update the observer tries to updates the GUI Is there some way I can prevent this from happening? I'm sure I'm missing something obvious here.
View 2 Replies View Related