[Q] Samsung screen capture service source code? - Galaxy S II Q&A, Help & Troubleshooting

So it seems the SGS2 added some functionality eg. power + home for screen cap, hold menu for search, double home for vlingo.
Question is, does anyone know whether these are in the source code that Samsung released at all? I searched the files for keywords like 'screen capture' to no avail.
I'm trying to make an app that changes the way the volume key behaves - long press for 'media next' but found out that android services can't listen for keyevents.. or so I told. That's why I'm trying to find out how samsung is doing this.

My i9100 built-in Screen Capture Service default output is png format. How can I change it to jpeg format?

yeah mine does that too.. I can't find any configuration for us users so unless samsung releases the source code there is no easy way to change it. whats wrong with png?

Related

Changing Tracks using Volume Buttons

Hello,
I really would like to change the function of the volume keys to skip to next or previous track by longpressing it. I got a hint how to do it, but I don't know how to adapt it to the S3:
you need to change the system command for these Volume keys
open up your Root file explorer & change the system to Read/Write--
navigate to System>usr>keylayout>mecha-keypad-vo.kl
and
System>user>keylayout>mecha-keypad.kl
open each in text editor by long pressing the file--
Look for the line "VOLUME_UP" and replace "WAKE" with "MEDIA_NEXT"
then, on "VOLUME_DOWN",replace command "WAKE" with "MEDIA_PREVIOUS"
*(note--this also removes your ability to change the VOLUME higher or lower using these keys--i'm just showing you all options)
Click to expand...
Click to collapse
Problems:
1. I can't find these kl files on my S3. The quoted guide was for a Verizon HTC Thunderbolt so can anyone tell me which are the files which need to be changed on the S3 in the given folder?
2. As it says in this guide, by applying these changes to the keychar layout the function to increase and decrease volume with the buttons gets lost. This is not what i want, obviously it should change the volume on short press.
Thanks for your help.
Cheers
Doesn't cm have that function? Maybe that could help u?
Sent from my GT-I9300 using Xparent ICS Blue Tapatalk 2
Yes they have it, but I don't know how to find the developer which actually did this
Hi folks. I am really interested by this awsome feature and have been digging for hours. Found the same solution with the 2 files (not the one you mentioned though), found the files, edited the files according to fellows advice, and ... nothing
Has any one ideas? Did I do something wrong?
Power Amp supports this function and IMO it is the best music player available.
With Poweramp or player pro this feature doesn't work with Galaxy S3.
Does anyone knows why?

[Q] How do I scroll lthe screen with a keyboard

Hi all
I know this may sound like a silly question but I have been searching for days now and cannot find an answer.
Is there any way to scroll about the screen using a keyboard?
What I mean is - say I zoom in on a picture or a web page is it possible to move the image up/down/left/right with a bluetooth keyboard rather than touching and dragging on the screen it's self? I am quite happy editing the keylayout file if I need to remap keys to certain codes but don't know what to map them to. I did think DPAD_UP/DOWN/LEFT/RIGHT but this does not seem to work.
Any one got any suggestions. This is on a Galaxy Tab 2 10.1 if that makes any difference.
Thanks
Keverso

How to find GPIO hardware key int values from kernel source

Hello--first, my goal is to fork the device_samsung_jf-common repo from CM or RootBox and make some small mods on the hardware buttons--specifically, add support for the device's home double-tap functionality, which is featured in the Google Play edition (GT-I9505G). I know I can do this by modifying the keylayout, etc. However, the existing .kl files don't address all the hardware buttons on the device.
Now, I did a quick search and pulled up this thread, which was informative. However, I'm trying to find the int values for each of the hardware buttons on the device, and I imagine long-press or double-press is likely mapped a bit differently than a normal single press. Even after poring over the source code for the I9505G's 4.3 kernel and documentation (searching for phrases like app_switch and GPIO, home, back, etc.) I still haven't found the part of the source that would illustrate which ints resolve to which hardware buttons.
Any ideas how to find the key ints for all the hardware buttons, including long-press and double-click?
my best guess would be looking into the custom ROMs already out there. If I recall correctly some already implement the functionality you seek and you might be able to find the corresponding code changes in their respective repos.
ThugEsquire said:
Hello--first, my goal is to fork the device_samsung_jf-common repo from CM or RootBox and make some small mods on the hardware buttons--specifically, add support for the device's home double-tap functionality, which is featured in the Google Play edition (GT-I9505G). I know I can do this by modifying the keylayout, etc. However, the existing .kl files don't address all the hardware buttons on the device.
Now, I did a quick search and pulled up this thread, which was informative. However, I'm trying to find the int values for each of the hardware buttons on the device, and I imagine long-press or double-press is likely mapped a bit differently than a normal single press. Even after poring over the source code for the I9505G's 4.3 kernel and documentation (searching for phrases like app_switch and GPIO, home, back, etc.) I still haven't found the part of the source that would illustrate which ints resolve to which hardware buttons.
Any ideas how to find the key ints for all the hardware buttons, including long-press and double-click?
Click to expand...
Click to collapse
If I remember they did this with the HTC One S and the One i would check there it remapped the hardware or capa functions
Sent from my GT-I9505G using Tapatalk 2
There's an app online that lists them for you, I forget where exactly I saw it

[Q] Samsung Galaxy SIII Assistive light widget as an application

Hi there.
I'm trying to find the best way of LED flashlight activation and ended up with a tought it should be enabled via double home button press. So Wanam Xposed module allows me to choose which application should be started once I pressed Home twice. Ok.
Here is my problem - I used to use a Tasker task that involved TeslaLED plugin to trigger the flash. Then I found the Assistive light widget, which is a way faster in comparison with TeslaLED. It's virtually instant. But a widget is not the way I like to trigger the flash. It's just not convenient. I thought I found the solution when I found some japanese app called Widget to Shortcut, but it hangs during the widget analysis.
So I'm looking for a way to get an application that simply will be triggering the flash the way the Assistive Light does. Instantly. The best approach is to have the same codebase or activity or intent that implements it (not sure what term is correct here).
And yes, I already tried the hidden Settings activity that allows to use VolUp to enable the flashlight. But it seems not stable to me. First - it stops working if the phone in the deep sleep mode (at least, I guess it's the reason). So, if my phone is intact for a few minutes, I can't use VolUp to fire the light up. And other thing I worried about - I found that this hidden activity somehow prevents the phone from sleeping in certain conditions and that noticeably affected the uptime of my Galaxy SIII.
Plus, I read here that somebody said the same widget on S4 has a lower light level of LED and this was made intentionally. The guy was upset, but here I see the utility - is it possible to choose how bright the LED level could be, in particular for Samsung Galaxy SIII? That would be awesome if I could switch between light levels for a flashlight, just like in real hardware flashlights!
Does anybody knows an answer to either of my questions?
Thanks!
Regards,
Eugene
Try this one....
Push this apk to system/app
Select proper permission...
Download link :
http://forum.xda-developers.com/attachment.php?attachmentid=1398008&d=1350122915
It is not my work...
Sent from my GT-I9300 using XDA Free mobile app

Anything equivalent to quickcapture (home button for screenshot/gif) in AOSP?

Does anyone know a module or app that is equivalent to LG's quick capture? Quick capture is a feature in LG stock software that allows you to map a home button to screenshot/edit/gif which I found incredibly fun to use. Only thing it cant really do that I like is longshot i.e scroll screenshot.

Categories

Resources