[IDEA] Porting screencaptureservice from s2 - Galaxy S I9000 Themes and Apps

This way instead of taking photos with back + home we would take it with power + home which in my opinion is much easier, although maybe its just me.
What do you guys think?
I'll take a look onto it tomorrow since today i'm really busy

or at least use button remapper

Anyone interested in helping?

coldflid said:
Anyone interested in helping?
Click to expand...
Click to collapse
do you have information which app is responsible for this service?
EDIT: googled around and found: Press Back-Button and while Back-Button is pressed, press Home-Button "é voila"
works with my sgs 1 and JVR
interesting feature^^
or it is only that you want to do it with other key-combo?

sphinx02 said:
do you have information which app is responsible for this service?
EDIT: googled around and found: Press Back-Button and while Back-Button is pressed, press Home-Button "é voila"
works with my sgs 1 and JVR
interesting feature^^
or it is only that you want to do it with other key-combo?
Click to expand...
Click to collapse
Thats the screencaptureservice that comes by default with sgs, i meant the s2 screencapture service so you can use other key combo

sphinx02 said:
do you have information which app is responsible for this service?
EDIT: googled around and found: Press Back-Button and while Back-Button is pressed, press Home-Button "é voila"
works with my sgs 1 and JVR
interesting feature^^
or it is only that you want to do it with other key-combo?
Click to expand...
Click to collapse
You didn't know ScreenCapture feature of SGS? :O omg..

On custom ROm so screencapture do not work

sarvesh29 said:
On custom ROm so screencapture do not work
Click to expand...
Click to collapse
for that you just have to copy system/app/screencaptureservice.apk from for example ramads deodexed rom (any gingerbread version should work)

picard666 said:
for that you just have to copy system/app/screencaptureservice.apk from for example ramads deodexed rom (any gingerbread version should work)
Click to expand...
Click to collapse
also you need to push libscreencapture.so in /system/lib

corgar said:
also you need to push libscreencapture.so in /system/lib
Click to expand...
Click to collapse
Going to copy sgs 2 libscreencapture.so and screencaptureservice.apk and lets see if there's luck and it works...

Just use this app from market 'screenshot it's no need to complicate!
Also with this app. Task manager will not come in between your screenies when home button is pressed!
Sent from my GT-I9000 using xda premium

wt about double pressing the back button

is there something for the captivate?

Related

[Cab]Tilt2 PTT Button Mapped to launch Android(1click/2click/longPress Options)

NOTE: THis is for GSM phones only not for CDMA
Hey guys,
I modified this Cab for me and my friend to start android by pressing the PTT button, yea we are lazy but I figure some of you guys might want try it out also .
All it is the RhodiumKbdControl_GSM.CAB with the Keys already mapped Just Double click button and you’re good to go.
I made one for the RHODIUM but since you guys don't have a PTT button i mapped it to the Mute button on the back, just click it twice and your good to go
Also this is desing to work for Reefermattness cab(Path:\Windows\Start Menu\Programs\Project Android.lnk)
Thanks to tarkim: http://forum.xda-developers.com/showthread.php?t=554240
for creating this app.
Instrucstions:
Just Double click the button to launch
Added AndroidlaunchMOD.zip File wich contais 1click/2click/LongPress option for the Tilt2 PTT button. Also added 2click/LongPress for TP2, Just unzip and install the one you would like to use.
Note: Did not add a 1click for the Tp2 version because its mapped to the Speaker mute and did not want to overwrite it..
Requirements:
- .NET CF 2.0
Installing:
- Install SdkCerts.cab (if you dont already have it)
-Tilt2PTTAndroid.cab or RhodMuteandroidMap.cab
- Soft reset
Thanks. I'm totally gonna use this!
Just worried about accidentaly pressing it lol.
Nice, good thinking bud. Even if you double click on accident if its linked to my app you still can just close it without launching Haret.
Reefermattness said:
Nice, good thinking bud. Even if you double click on accident if its linked to my app you still can just close it without launching Haret.
Click to expand...
Click to collapse
Thanks i love ur app save me a few times on miss clicks lol
Awesome work. Definitely using this.
thanx for this, may i suggest a single click as well so I can use it for another shortcut
pablo34 said:
thanx for this, may i suggest a single click as well so I can use it for another shortcut
Click to expand...
Click to collapse
Later on when i get off work, i will add a Single and Long press as well.
Updated
devilcuban said:
Later on when i get off work, i will add a Single and Long press as well.
Updated
Click to expand...
Click to collapse
thanx a lot, now i have an easy way to launch the camera
pablo34 said:
thanx a lot, now i have an easy way to launch the camera
Click to expand...
Click to collapse
Anytime

[APP] Hacked Camera.apk

Hi,
--JPU version--
i modded the Camera.apk a bit.
Changes:
-take Pictures with pressing power button.
-Take pictures even if your battery is at 2%
You can apply it with my SGS Tools app or push it manually to /system or with Muspelheim (http://softdevs.wordpress.com/muspelheim/)
If you are not on JPU or newer, choose Camera_old.apk !
See the code changes here
Changelog:
Version 4:
-based on jpu
-exif data correct again
Version 3:
-focus before taking picture when using power key (not sure about it)
Version 2.
-use the power key instead of volume keys
Version 1
-initial release
Wow looks awesome, will try it! thanks
omg, i needed this last night... went to U2 concert and phone batt was too low (stupid me!!! lol).
Thanks anyway buddy, top stuff! Will give it a test run soon
Cool. So how do we zoom now
Sent from my GT-I9000 using Tapatalk
Does it eliminate auto-geotagging?
ickyboo said:
Cool. So how do we zoom now
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Pinch 2 zoom.
AnnihilatorSC said:
Does it eliminate auto-geotagging?
Click to expand...
Click to collapse
No.
gonna take a shot at the music player low battery aswell?
Hey thanks. Didn't relize that pinch zoom worked in camera. Nice work!
Sent from my GT-I9000 using Tapatalk
Just tried it mate, the volume buttons are still assigned to zoom?
any particular f/w is this for froyo only or also eclair?
AnnihilatorSC said:
Does it eliminate auto-geotagging?
Click to expand...
Click to collapse
This would be a welcome addition
Update:
-Vol down/up reassigned to zooming.
-press power button for taking picture.
-batt hack still included (still untested though^^)
Nice. Work. Testing now.
MAMBO04 said:
Just tried it mate, the volume buttons are still assigned to zoom?
Click to expand...
Click to collapse
Then something went wrong, if you installed it via my app, check if busybox is installed.
lgkahn said:
any particular f/w is this for froyo only or also eclair?
Click to expand...
Click to collapse
Should work on all froyo firmwares, not sure about eclair.
I tried upgrade Stock Apps from SGS Tools, but nothing happens. No Change.
No point in Upgrade Stock Apps is changing my System.
Edit: Stupid. I forgot the checkbox.
You have root and busybox is installed?
Next version of the app will show if there appears errors while applying..
Edit:
Fr4gg0r said:
You have root and busybox is installed?
Next version of the app will show if there appears errors while applying..
Click to expand...
Click to collapse
No everything works. Was my error, your app is working. The hacked cam is really nice.
Some suggestion for hacked gallery3d: enable autorotation at start and disable on exit.
Great work! Was searching earlier this week for an hack/app that would use the power button als capture button but could only find a very old thread about this on XDA.
Wondering why someone didn't attempted this before, it seems so natural. Samsung should have made this the default behavior in the first place, locking the camera with the power button caused pain when I accidentally pressed it the first time I got my SGS and it wouldn't respond..
Lynchy30 said:
This would be a welcome addition (geotag off)
Click to expand...
Click to collapse
Indeed it would. Either making it a selectable option or disabling it altogether is fine by me.
Nice work, btw.

[MOD][19-05-2012]Change KeyLayout So Buttons Can Act Differently![DISCONTINUED]

So many people requested the feature of being able to change the uses of the three buttons provided by HTC to us.
We all were disappointed when they decided to remove the menu button.
So i have a workaround which I will show you. If you feel it is a little complicated I have included it in the latest version of SuPrimo Rom. So feel free to use that.
Requirements:
1.) Root
2.) Any root file explorer
Steps:
Go to the root explorer and navigate to /system/usr/keylayout/atmel-touchscreen.kl
Open it as a Text File.
Replace the text in the file with
Code:
key 102 HOMEkey 249 MENUkey 158 BACKkey 217 SEARCHkey 139 APP_SWITCH
Reboot your device and that should be it!
I have made a flashable zip...I have not tested it!
Link: http://uploading.com/files/7ed4c977/shubhamchamariaKEYMOD-flashable.zip/
It is only half functional....Multitask button becomes menu button but you can't use multitask
Recovery shows only single press in key test so it is tough to make it long press home..If anyone knows how to do key test of long press...please tell me!
HIT THE THANKS BUTTON IF I HELPED!
very helpful, thank you
tuylongdon said:
very helpful, thank you
Click to expand...
Click to collapse
Report if it worked...
Sent from my HTC One V using XDA
Did not work ..
neither for me, cannot save changes. when i reopen file,original numbers are there. anyway i will flash suprimo v2.1 rom
Oh freak I was wrong!
We have to edit atleast 20 files !
I am adding new ver.(v2.1.1) hopefully fixed!
Updated with flashable zip!
I clicked thanks before i try it
Can we reverse it to default??
Sent from my HTC One V using xda premium
handryg555 said:
Can we reverse it to default??
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
I don't even know if this works....I will release a undo zip once I know this works atleast...
Sent from my HTC One V using XDA
I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............
saket_oo said:
I ain't sure but r u sayin the home key will become multitask key???
I feel there is no provision of multitasking on one v ( I m New to android ).
In symbian we had this home key that would help active switchin between running apps .
Is somethin like that available in android ?????? Pls tell............
Click to expand...
Click to collapse
The third key becomes the menu key. The third key is the multitask key.
Sent from my HTC One V using XDA
Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.
nawoa said:
Any progress on getting this to work properly/reliably? Home long-press as task switch and "task switch" as menu makes a lot of sense if it can also remove the menu button in older apps.
Click to expand...
Click to collapse
Try modaco rom...the full mod is integrated...
Sent from my HTC One V using XDA
i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?
michael.the.don said:
i dont see the point of this.?? long pressing the multitask key the menu pops up.why bother changing it.?
Click to expand...
Click to collapse
Because its more convenient to users who had android phones on 2.x versions...
Sent from my HTC One V using XDA
Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks
japodude said:
Hi there. I've got a updated stock rom rooted. tried this and nothing happens at all. i reboot and its exactly the same.
I've even tried same setting in another file the same in the keylayout dir. atmel-touchscreen.kl
but that dont do nothing either
Anyone help with this. i'd rather have a quick menu button and log press for multi task.
i've also installed the zip, but still dont work
thanks
Click to expand...
Click to collapse
Flash SuPrimo Rom v4.1 ...it has both mods included working perfectly!
How do I get this to work ? Been trying to change the app switch button into menu or settings button
its an very old mod dude.. as far as i remember it works nly little
Sent from my One V

Change circle button

Is there a way to make the circle button not to be recognized as the back button on an jelly bean rom ?
Particularly on emulators like n64oid where the back button toggles a bar, it's really annoying
I tried modifying the keylayout but it completely bugged up several other keys
Any help here ?
Thanks in advance...
I would also like to know.
Gingerbread and ICS instructions too if possible.
you need to edit a keymap file , not sure where it is on jb
Sent from my R800i using Tapatalk 2
even when u edit the keymap, not every app will detect it properly..., and u risking mess up other key, this is never ending bug story with un-official (non beta) ICS & JB Rom..
I TRIED modifying the keylayout files, but it messed so much other keys that I abandonned, perhaps I did it incorectly ?
It messed up the home key and most of the keypad, just for changing 305 to BUTTON_B
EDIT : fixed it : found a mirror of a fix, and it worked flawlessly thanks for the help anyway
DarkVarano said:
I TRIED modifying the keylayout files, but it messed so much other keys that I abandonned, perhaps I did it incorectly ?
It messed up the home key and most of the keypad, just for changing 305 to BUTTON_B
EDIT : fixed it : found a mirror of a fix, and it worked flawlessly thanks for the help anyway
Click to expand...
Click to collapse
Please share!
Why dont people share!?
ermacwins said:
Why dont people share!?
Click to expand...
Click to collapse
Its already been shared. But it doesnt fix the circle button issue for certain applications that require the sony framework.
chery2k said:
Its already been shared. But it doesnt fix the circle button issue for certain applications that require the sony framework.
Click to expand...
Click to collapse
Where is this fix? because my circle button is fine now but the select button now acts as back. What needs to be changed? I will ask some of the Nexus 4 devs to make the neccessary changes.
ermacwins said:
Where is this fix? because my circle button is fine now but the select button now acts as back. What needs to be changed? I will ask some of the Nexus 4 devs to make the neccessary changes.
Click to expand...
Click to collapse
Post #1 requires you to make changes to your build prop. Note this doesn't fix circle button 100% correctly.
http://forum.xda-developers.com/showthread.php?t=1862722
chery2k said:
Post #1 requires you to make changes to your build prop. Note this doesn't fix circle button 100% correctly.
http://forum.xda-developers.com/showthread.php?t=1862722
Click to expand...
Click to collapse
Thanks, but I think I have sussed it shortly after my last post without any build prop editing. though when I save the profile in sixaxis it doesnt show the profile in the app but there is an output file on the sdcard. I will post the details later. Dev was very helpful

Remapping the home button

Ive been trying to make my home button function the same as the power button. First I made a nandroid and rebooted andthen went here--> System/usr/keylayout/generic.kl and changedkey# whatever-said-home to say POWER. rebooted and it didn't work, it worked just like normal. Then I went back and changed every key that said home to power anywhere in the keylayout directories and still, it works like normal! Any advice or knowledge to help me solve this puzzle?
Thanks!
Sent from my Kangadore 64
I'm on an aokp build BTW and I tried the button remapping app as well. Stubborn button =
Sent from my Kangadore 64
Well for starters, did you reboot?
There should be a thread in one of the US variants forums that tells you about the key layouts.
Theres also an app that will give you info on what button you just pushed.
Been a while so cant remember the name and dont know if itll be compatible, but maybe someone else does and will chime in.
Sent from my SGH-T999 using xda app-developers app
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
mrtoast said:
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
Click to expand...
Click to collapse
You have to edit the sec-keys.kl file to whatever you want then reboot. Generic.kl only takes effect if sec-keys.kl isn't there. So edit sec-keys.kl then reboot and you should be golden
Sent from my Galaxy Nexus using Tapatalk 2
@OP....
Got a better idea. Download apex launcher, and download screen off and lock.....
Open apex settings, behavior settings, home button...
Have it launch screen off and lock when pressed. Your phone will now turn off when you press the home button from your home screen.
Viola
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Glad it worked!
dls5375 said:
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
Click to expand...
Click to collapse
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Glad it worked!
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
OK, I got it....just change HOME to POWER and reboot....thanks
dls5375 said:
OK, I got it....just change HOME to POWER and reboot....thanks
Click to expand...
Click to collapse
No problem. Let us know if you run into any issues!

Categories

Resources