Android :: Using Alsa Device In Block Mode
Jun 30, 2010
Why android is using alsa in block mode? As android is opening device in block mode I am not open alsa device for playback. It shows device is busy as it is used by android.
By stop media we can stop audio services but it will stop other services also which makes video player hang and I am not able to use player.
View 5 Replies
Apr 1, 2009
Today i get the master code. when I compile ALSA, and it says external/alsa-lib/src/shmarea.c:27:21: error: sys/shm.h: No such file or directory what should I do now? now i copy the shm.h from the former version android. can be ok?
View 2 Replies
View Related
Apr 22, 2010
When I input text for SMS the text block goes blank when I flip the phone to landscape mode. Any ideas? When I flip it back to portrait the text appears again.
View 1 Replies
View Related
Jan 21, 2009
What is the ALSA lib and what can it be used for. Where is doc for it?
View 3 Replies
View Related
Feb 23, 2009
I am porting Android to a real hardware device. I have written an ALSA driver and it works well. But I don't know how to add it to Android. Can you give me some suggestions? Thanks very much.( I can not endure the muted world any more[?])
View 2 Replies
View Related
May 6, 2009
When i use the code below. status_t ALSAStreamOps::
CODE:...................
View 2 Replies
View Related
May 26, 2009
I am sure it is buried in the SDK somewhere but I couldn't find it. This is relevant to a service running in the background: How can I find out if the device is in sleep mode?
View 3 Replies
View Related
Dec 3, 2009
Is there always a concept of portrait mode for devices? If so, can we get what the height of the device is in portrait mode? I'm using this: DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); but width and height get swapped depending on orientation of the G1.
View 8 Replies
View Related
Mar 24, 2009
There are some question bother me.
How to fix landscape mode when boot on device?
I had change manifest.xml ->
CODE:...........
But that only change sensorDemo screen. That doesn't I want. I want to set landscape mode when boot on device and show main screen. what methods does I try it?
View 3 Replies
View Related
Apr 4, 2009
I use the following command to fetch all the source code of android
repo init -u git://android.git.kernel.org/platform/manifest.git repo sync
but I can not get platform/external/alsa-lib.git and platform/hardware/ alsa_sound.git
I don't know what's the rule for repo to fetch the code from http://android.git.kernel.org/
View 2 Replies
View Related
Jun 16, 2012
Since i have an android device and tried some roms for this device (HTC One S)and its dissapointing to see that landscape mode is so lacking in the space that could have been used in messaging apps.
Its quite annoying (for me atleast) to have to withdraw my keyboard whilst typing something because the one i am texting with has sent something new.
I understand that this is not a place for requests, so my question is, is there any way to make messaging look like this (this image is not real)
and not like this..
I am not looking for a specific rom that allows this, im just looking for anything that makes this possible on any rom.
View 3 Replies
View Related
May 13, 2012
Is there any way to play an emulated game in Co op mode on any Android device? On Tablets?
View 4 Replies
View Related
Aug 17, 2010
I want to root my Samsung Moment so that I can put Live Wallpapers on it and such, but every time I go to DL mode my computer says "USB Device Not Recognized" I have tried with and without USB Debugging on, install uninstall Drivers, going to REGEDIT to erase SAMSUNG drivers, formatting my phone, two different USB cables, three machines, and yet IT-STILL-WONT-WORK. I have tried on XP 64/32 and on 7. I have Eclair.DE03 Kernel 2.6.29 Firware 2.1 -Update1
View 3 Replies
View Related
Jul 19, 2012
I want to develop a peripheral device to connect to an android phone via USB OTG. The OTG specs [1] says: "A Targeted Host shall provide sufficient power to each peripheral on its TPL in at least one supported configuration".
Where do I find those TPL ("Targeted Peripheral List") lists? I searched at Sony Ericsson (because I have a Xperia Mini) and Samsung (as a different manufacturer) but with no luck. Is this an android related list?
On github I found a code fragement [2] from DooMLoRD. It mentions a OTG whitelist. But it seems to be something like a skeleton.
I do this research because I want to use the peripheral device in high power mode with about 300 mA. I thought I could compare the TPL with devices that also need 300 mA.
[URL] .....
View 1 Replies
View Related
Oct 13, 2009
I had a problem on my first HTC Hero where after a while, when I unplugged my headphones - e.g. after listening to music, it would go into headset mode. i.e. Although no headset or headphones were attached, the Headset Icon would appear and you couldn't hear anything through the inbuilt speaker and the inbuilt microphone would not work. I got orange to send me a replacement and now the same is happening. I have to reboot the phone to get it to work.
Further info:
- I'm using a set of sennheisser headphones, have tried another third party set and the same thing seems to happen.
- have installed the headset on/off widget but even when turning the phantom headset off via this, the speaker does not always work. Don't know what happens to the
- loudspeaker mode works but then switching this off doesn't guarantee the inbuilt speak/microphone will start working
- never used a bluetooth headset
- have updated the ROM to the new faster version, but this problem happened on my original phone with the older version too.
I wonder if this is a related issue to that some people have experienced where there headset does not work - as I say I'm not using one - but it seems perhaps the software or physical headphone/headset detection in the minijack socket is dodgy?
View 9 Replies
View Related
Apr 24, 2013
I have a ICS-device - the Walkman Z from Sony - which have no chance to get root; i tested all the programms, but nobody works. I found out, that the walkman z has a "recovery mode". It is possible to root a stock rom 4.0.4 with only the recovery mode?
View 1 Replies
View Related
Jan 28, 2014
I have a completely broken screen/lcd/digitizer on my Samsung Galaxy S3, debug mode was not on. The phone works as it will still vibrate when turned on and the LED / Menu / Back buttons light up during a boot. USB connector works as well. The phone was not previously rooted.
I had most important data on the sd card and I've already wrote off any other data on the phone as I've since moved on to a GN2. I would like to make use of the S3 (not necessarily as a phone but a server, security camera, etc.). I've read several posts here about my options and looked at numerous google articles, all seem to require debug mode being on or assume/require the data/OS must remain as this is what the user is trying to recover. I do not care if all data is lost on the phone, I just want to make the device useful again.
Am I out of luck if debug mode was not enabled or can I flash through adb via some obscure mechanism? Also note that fastboot is not an option here as the S3 (samsung) does not have it enabled. I am unable to get into "Download Mode" as I cannot see info on the screen.
View 5 Replies
View Related
Apr 24, 2012
I deleted /system folder on my nexian cosmic journey. And now my nexian is stuck...
I try to using fastboot mode to flash recovery image, but my device seems not detected. I already installed the android composite driver, but when i use "fastboot devices" command, it shows (?) So how the heck to get my nexian back to normal?..
Or perhaps, if i just be able to put back the /system folder to its place again, it would be more easy to recover it... But how access the root when phone is like that?
View 1 Replies
View Related
May 28, 2010
Recently some jackholes have started spamming me texts with horoscope/dating/whatever ads. They send like 4 at a time about twice a day and I'm sick of it.
I saw a few market apps that claim to block sms/calls. Reviews on all were mixed good & bad. Just wondering if anyone has had any experience with any or had a suggestion for an app to stop this madness.
Also curious if anyone knows how they actually block. Basically I want to know if I just don't get a notification, or it just doesn't show in messaging app/handcent, or if it really gets blocked - as in not actually sent to me and does not charge me for a text.
If all they do is stop the notification I can just use settings profiles for that. But I'd really like to not have them be charged to me. I am on a 250/month plan and might risk going over at the rate they're being sent.
View 9 Replies
View Related
Apr 24, 2010
Hey guys, i am developing an application, and suddently, working with XML, designing a menu, appear this error and now, apparently everything is ok, but i can not run the application.
That was the message from Console: [2010-04-24 21:45:11 - DroidWallet] W/ResourceType( 3148): Bad XML block: header size 2370 or total size 0 is larger than data size 0
View 4 Replies
View Related
Dec 7, 2009
I want to block the functionality switch between Applications in my Activity. Is it possible ?
View 1 Replies
View Related
Jul 5, 2009
I want to block calls from few numbers, for that I want to write a app of my own. So what are the APIs which I should be using? Basically I want to get notified when a call comes, i want to compare numbers if it is what i want to block, i want to cut the call or mute it or if possible mute it and record it.
View 6 Replies
View Related
Jun 29, 2010
I have to process some events given by a broadcast receiver. As kindly suggested by Mark M. a week ago, I am trying to send the intent to an intentservice in order to pass the data to be processed to another thread.
Looking at the doc, I can read abot onHandleIntent: "Only one Intent is processed at a time, but the processing happens on a worker thread that runs independently from other application logic. So, if this code takes a long time, it will hold up other requests to the same IntentService, but it will not hold up anything else.
What does it mean? Will the intents be queued and then processed one by one, or does it mean that the startService will block if the intentService is busy processing a previous intent?
And more (this is just my curiosity): What is the point in having a onStartCommand method in IntentService if the Intents must be processed in "onHandleIntent"?
View 7 Replies
View Related
Nov 26, 2010
We need to block ALL numbers incoming and outgoing (calls and texts) from a cell phone (of a teenager) with the exception of a few numbers. All applications we have researched block only certain numbers where we need to allow only a few telephone numbers to text or call incoming or outgoing from this cell phone.
View 11 Replies
View Related
Sep 22, 2010
Does anyone know of an app that will filter internet or block it.
View 2 Replies
View Related
Aug 26, 2011
I want to block apps in android. If i give permission only it will get install.i want to create like antimalware.
View 10 Replies
View Related
Mar 26, 2012
there are those of us, who due to whatever reason (helmet cams, preference for posture, etc) want to record videos in portrait mode.
What happens (on my sgs2) is that the video records just fine in whatever resolution I pick... but it records it 90 degrees rotated to the right.
The solution that is usually offered is that "you can rotate it after!" yes... but then you have to CROP part of the image and lower the resolution. 1920 x 1080 recordings end up having to be cropped so that half of the view is cut out , or even more if you are maintaining a real aspect ratio.
The questions about "why not just hold it sideways", are just as pointless as the statement by steve jobs telling iphone4 users that they were holding their phones wrong.
is this something that can be remedied ? or has google decided that people should only record videos when their phones are in landscape mode?
i understand that we cant see landscape resolution in portrait mode; but can't we just have a viewport into the camera, but record in properly oriented landscape mode? so that playback on a computer will show the full resolution, even though we will only see part of it on the phone..
View 1 Replies
View Related
Dec 1, 2013
dialer in kitkat is always in landscape mode when call is ongoing....how can we set it in portrait mode
View 1 Replies
View Related
Aug 28, 2010
Just FYI in case anyone wants to know: For download mode, with the phone turned off, fold the number 1 key on the QWERTY keyboard and the power button simultaneously For recovery mode, with the phone turned off, hold Volume Down, CAmera, and Power simultaneously. You navigate with volume UP/DOWN, select with HOME, Menu toggles to "Manual Mode", whatever that it.
View 3 Replies
View Related
Apr 3, 2014
Friends of Jupiter Huawei g525-u00and have been asked Ram Kastvm able but Alanmshkl. Already green screen after power ... not that fast boot mode will not go into recovery mode and not the original ROM using loam bottom half Vbala White gets going
View 5 Replies
View Related