[Q] Accelerometer datas while screen off - Defy Q&A, Help & Troubleshooting

Hi!
I am trying to use an app form alarm which is getting datas from the accelerometer.
But when I dim it, the accelerometer stops sending datas.
Is there any way to change some setting in adb shell, or compile a new kernel.
Thank you for your attention.

also looking for solutions, so far without results.
http://code.google.com/p/android/issues/detail?id=3708

Related

Touch Commander Maximize and options?

Hey,
I installed Touch Commander and it is awesome except for when i make the minimize-move it closes the program and i therefor have to restart the program everytime I've minimized...
Anyone know why and is there any way to fix this so that i can maximize and minimize like they do in the flashy flash on the developers site?
I also seem to be unable to open the options tab which is more then frustrating since i guess that a solution might be found there..
Thanks on Prehand
Maybe we are both slow, but I'm having the same issue. When I minimize the app it closes. Would really like to be able to push/pull it off and on again.
Did you figure it out?

[Q] Few problems on my Milestone 2, please help

Hi, I'm new here, I searched a lot through this forum, but no result. My problems:
1) When I'm typing on hw qwerty keyboard, it very often types double (sometimes even triple) letter, some letters doesn't work at all time-by-time (mostly "l" and space key). Its really annoying when you wanna type on hw qwerty (much more comfortable then sw keyboard for me)... Is here anyone with same problem or with solution?
2) Everyone knows that notification color LED light at the top-right corner , but mine has a software bug or something. After buying the phone, everything was good, but after few weeks, this led starts lighting blue (even not blinking, just keep lighting).. When I press power button (phone goes to standby) this LED's intensity goes lower, but when I wake phone up, LED starts lighting blue more intensively (like you have 4 levels of intensity: 0-no lightening, 1-the one in stand-by, 2-when the screen is on, 3-same intensity as blinking when new msg or so).. I tried to restore phone, but same as before - at the beginning no problem and after few weeks, blue led light is back.. I even tried turn off, pull the battery, get it back, but in the moment I pressed the power button, the blue LED starts lighting again.. I tried even one app which can set the color of LED (Blink?) but no help.. Then I thought that I have some app installed which doing this, but I didn't find anything.. Please help me with this if anyone can..
3) I noticed that in my phone are installed few apps which I'm really not using at all and even some of them are not in drawer.. These apps are in phone since I unpacked the phone, it is:
- News, Weather and News, ESMusica, HipHopOfficial, RevolverTV, Rock On Altitude, TrueCountry
Will some of the root apps and then just uninstall those useful apps help me?
Sorry for this long thread, but I didn't know how to write it, to make it understandable. Thanks a lot for your help..
To your LED problem.. if a flash doesnt fix it.. nor a Reset.. i would mail the support.. and send it to repair.. since the updates are very very slow on motorola...
And your Spam apps.. well those can be removed by Titanium backup and freezing them (See: Freeze Motoblur and Other apps) Or you can use root explorer find the right APK's and remove them fully of your device.. (Works via Shell as well by using "RM" to remove files..) (you need root though isnt hard to get via z4root or even step for step root like i did)
thx
thanks a lot .. I rooted my M2 and freeze those apps..
then I downloaded root explorer and made some digging through the phone root files/folder, now here is my question: when you go to /sys/class/leds there are some files, included the "blue" file.. it has no extension and I can't copy it to SD.. I'm worried to delete it, when have no backup of it.. also there is in folder /sys/devices/system/leds/leds0/ file "event" which might be useful to.. but I wanna ask, might this (delete/edit these files) solve my problems with the LED light ???
and still don't know what to do with the keyboard
I think the Keyboard problem is serious and will be fixed at some point.. Also Try turning off every keyboard setting like: "Auto add spaces" "Auto capitals" and those.. maybe that helps ive seen it on another post
to your LED problem.. i never touched the files you talked about.. i wouldnt delete them. . first copy them to some place .. and look what they are .. maybe even google the name of it. some are stock files and similiar to other phones!
Well i just touched them now ... anyway they seem to be not accessable i dont know.. "cd: can't cd to /sys/class/leds/blue/brightness/" nor can i copy them or even CAT them.. it just cant be accessed... (i tryed the devices one aswell)
seem to be placeholders or something that the kernel access's .. i guess... im not that pro on this.. all i can do is c++ and thats not even close to this .. on Linux Kernels and Linux system i only have basic skills.. i only work on Windows NT
I tried it too, but same result.. in emulator I typed cmd but permission is denied.. in file manager it can'n be deleted.. I guess the only thing I can do right now is wait till gingerbread for M2 will be released (also for keyboard issue).. thanks a lot for your help ;-)
Sent from my Milestone2 using XDA App
Hi, I have the same problem with the keyboard.
Is there any solution yet?
http://forum.xda-developers.com/showthread.php?t=1058544 have a look. it has been there since forever
thnx a lot
I'll give it a try.

screen orientation locking with SDL in c4droid?

Hi all, I'm new here and to android programming, I don't know Java so am using c++. I am programming graphics routines to directly read/write pixels to buffers/SDL surfaces for sprites/polygons etc.
A problem I'm having is that when the device is rotated and the orientation switches between landscape/portrait the screen surface is getting messed up and I can no longer access it.
Is there a way in c4droid/SDL2 to set and lock the orientation to landscape? The only solution I've been able to find online is to set it in the manifest file of the APK but how do I do that with c4droid since that is what I'm creating the APK file with?
Another issue involving the manifest file is setting permissions since there are things I don't need and would prefer it if the installer didn't ask for.
Thanks in advance for any help with this.
Stonemonkey.
Well, I've kind of got the rotation issue sorted, I was trying to do some things in sdl2 the way I'd done it in SDL with the surface I was drawing to, it's mostly fixed by copying my buffer to a texture and scaling that onto the screen instead of doing the scaling myself, not managed to lock the orientation yetbut I think it might be possible to extract, edit and replace the manifest from the generated apk, would that be right?
Another issue I'm having, I'm software rendering, and using some inline assembly but can't seem to access the fpu, i get some error during compiling saying'selected processor does not support arm mode' I've tried setting some switches (although to be honest I'm not sure exactly what I'm doing) to select different CPUs or to select arm mode but I'm just getting'permission denied' errors when i try to compile.
ok, so I'm using APK Editor to edit the manifest and i can remove all the permissions except WRITE_EXTERNAL_STORAGE, when i try to remove that, my app crashes straight away when i try to run it but I'm not trying to write anything, the only thing im accessing is loading a sound file from the resource folder. Anyone got any ideas what might be the problem?
Turns out c4droid uses a software implementation for floating points but ive found a way to access the vfp and neon coprocessors now so that's that problem solved.

Tab a SMT585 Advice please for a newbie

Hi guys/girls
First off im totally new to rooting any kind of device, thanks to a lot of the awesome work from people on this forum i have done a lot of reading and think i have successfully rooted my device (according to the root check app it is yay!)
However on reading a lot of things i just wanted to check if i have done all steps correct
So
Put device in to download -
Went on odin
Added the .tar file
Rebooted in to the other boot option
Transfered the SU zip file over
Clicked the zip file and installed
All seems to be working fine but reading things about flashing etc have i missed something?
Also an app i was using (the whole reason i rooted in the first place) HiroMacro
Was working fine nearly all day until i stopped and restarted it
Now it is not recognising any touch inputs? and not recording any types of input? any suggestions as to why this may of suddenly happened? Did i do something wrong or has something possibly changed that i need to investigate?
Thanks in advance and also thanks already for the endless knowledge on here
EDIT
I have tried other applications that "record" a touch input for auto playback, NONE are recoring/recognising any kind of input has something gone wrong with the root process? or is my tab security blocking something im not realising?
Thanks again
Update :
Proof i am still trying and battling with this,
I completely wiped my tablet and have installed a completely new ROM
Now this still has not fixed the issue!
However now when i enable the touch location debug there is a grey bar appearing at the top of the screen, just below the notification line that moves on rotation
Just a crazy idea... but is this the area that the app is going ot recognise touch input? as this was never there before? the area is not big enough to attempt to record any input? however any ideas if this is the case on how to "extend" the touch area
Thanks again
jcole90 said:
Update :
Proof i am still trying and battling with this,
I completely wiped my tablet and have installed a completely new ROM
Now this still has not fixed the issue!
However now when i enable the touch location debug there is a grey bar appearing at the top of the screen, just below the notification line that moves on rotation
Just a crazy idea... but is this the area that the app is going ot recognise touch input? as this was never there before? the area is not big enough to attempt to record any input? however any ideas if this is the case on how to "extend" the touch area
Thanks again
Click to expand...
Click to collapse
On Google or Youtube, try searching up how to reset your tablet with the Samsung Smart Switch app for Samsung Devices. It works a lot better than Kie 3 (It's been updated) and it should fix all of it. ODIN way is not the most fool-proof method but the official Samsung Smart Switch is a lot more easy and it's automatic. You will only need your Device Model Number and Serial Number.

Closing Idle apps on Screen off

Hi,
It has been a while since I have been able to play with custom ROMs as my previous phone was not well supported.
I have just now switched over to the Axon 7 and have just started setting it up as my daily driver. I Installed NucleaROM with LIGHT PATCH, Open GApps and ARISE Sound System. All seems to be working fine but I have one issue and I think it may be a feature from not just the Custom ROM of choice but the underlying source (ResurrectionROM/LineageOS).
When I first setup the phone, it had an option on the lock screen to customize how apps are closed (i believe the term was Smart Close) when the device is idle and the screen is off. I remember looking through it and having options for which apps are closed and which are to remain running.
Since then I have installed a collection of apps, one of which is the Garmin Connect which I need to run when the screen is off.
I am unable to find how to get to these options now. I have looked through the power options and cannot see it.
If anyone can help me, I would greatly appreciate it.
Thanks for your assistance.
As I have started to use the phone a little more I have noticed that this is having another effect.
It seems to be closing my keyboard app so every time I unlock it goes back to the stock keyboard and I need to select SwiftKey again.
I hope someone knows where these settings are.
I have found a workaround for now, but if anyone knows how to control the SmartBattery application, it would be greatly appreciated.
I believe this function is coming from the System App called Smart Battery. I have gone into Settings -> Apps then selected the menu to show system apps. From there I was able to locate the SmartBattery app and disable it.
This seems to be working for me as by Garmin Fitness tracker was losing BlueTooth to the phone before but not now with that app disabled.
I'm not entirely positive about this, as I've never heard of that app. At first, I thought you were talking about the screen lock cleaning feature from the power manager on stock. After your follow up post indicating you had actually found reference to the app on your system and a bit of Googling, I was able to find some reference to it. Nothing useful, I'm afraid.
Try using an app that can launch activities, like Nova Launcher or Tasker. Try to find the app in the list, and see if you can launch it by calling for one of its activities.
P.S., if you're running RR, if you have a look at the extended settings, there might be a way to set the nav keys long-press action to a custom activity. Remember to enable the app, otherwise it might not show up in any lists.

Categories

Resources