yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ziritrion:
Hi; hopefully I'm posting this question in the right subforum. I'm sorry if that's not so.

I'm adding a screenshot feature to Android 2.3 for a given device. The goal is to have something similar to what the Galaxy Note does: take a screenshot from anywhere in the phone by pressing a couple of keys, and then start an image editor to edit the screenshot.

I've been using the Android Screenshot Library for this, although I've had to rewrite a few parts because it wasn't working as it should have. So far, my project has the following parts:

1) A native daemon running as root, which captures the framebuffer and saves it into an image.

2) An Android Service that apps can bind to in order to take screenshots.

3) An app that works as an image editor.

All of these parts are already working. My problem now is that I'm not really sure how to integrate this into Android.

The daemon and the editor are easy: both can be integrated either in source code or as prebuilt binaries/packages into the Android source and then generate a system image, and modifying init.rc to start the daemon at boot. But I can't figure out how to integrate my service.

I need to be able to capture a screenshot from anywhere, and that means being able to catch key presses system wide. I've been looking into the Android source code for the component that takes care of this, but I'm at a loss. I need to bind the service somewhere, and then I need to be able to catch the keys and access the service from anywhere.

I'm not even sure whether I'm using the right approach for this or not. As far as I know, key presses can only be caught from activities, so it's not as easy as having a service running indefinitely in the background that can catch key presses. My guess is that I have to modify something in the Android framework but I'm not sure what.

So, my questions are the following:

1) How can I catch key presses system-wide? What do I have to modify in the Android source code in order to catch my desired key press combo whenever I want?

2) What would be the best place to place my service? Is there such a thing as a "system-wide app" that my service can be added to?

3) Is my approach even possible at all?

Thank you in advance for any replies.
[Android Software/Hacking General [Developers Only]] ziritrion:
bump

I'd really appreciate any clues or maybe some pointers about how the Galaxy Note or Android 4.0 do this.
[Android Software/Hacking General [Developers Only]] raymondlamxxx:
Is there anyway to hack the smurfs village (smurf berry) on a unroot phone?

THANKS
[Android Software/Hacking General [Developers Only]] regenboognl:
i guess its not possible without rooting your phone, i did a search for u on youtube and this popped up. http://www.youtube.com/results?sear...2.5.0.7.7.0.180.537.2j3.5.0...0.0.a6Tqbikid-U
[Android Software/Hacking General [Developers Only]] raymondlamxxx:
I know but my xperia s need to unlock bootloader so i don't want to root it by the way thanks a lot !!!
[Android Software/Hacking General [Developers Only]] Androidspecialforces:
Flylikeabird3 infinite lives

Flylikeabird3 infinite lives.

http://www.youtube.com/watch?v=3kP7RCIxzk4

No Thanks Necessary.
[Galaxy S III Accessories] demondor:
Hi,

Has anyone found a heavy duty case for the sgs3? I've been looking at various drop tests and it seems to be faring alot worse than the sgs2 which is a little concerning considering it's supposed to have gorilla glass 2. I've used my S2 with a hard plastic case that has a removable rubber interior and it's survived alot of drops without any damage. Looking for something like that
[Galaxy S III Accessories] fatthumb:
I have used TPU gel case on my DHD which survives several scary drops (accidental). There was one time the phone slipped out of my hand and land on one of it's corner and again (on another corner) and again and again (if you get what I'm talking about). Yet still it's perfectly fine!

I shall never go back. TPU is a cheap and good solution!
[Galaxy S III Accessories] demondor:
http://www.ebay.co.uk/itm/HQ-Premiu...lePhonesCasesPouches&var=&hash=item87106b3e06

Looked around for TPU cases and this one seems all right. Cant tell for sure if it properly covers the front to protect it from a screen first fall
[Android Apps and Games] adnanahmad1786:
stick it player for android 2.2+

THIS PLAYER HELP YOU TO PLAY THE VIDEO JUST LIKE YOUR COMPUTER PLAY ANY WHERE YOU ARE Eg. ON INTERNET OR ON MAP YOU CAN PLAY ANY VIDEO BESIDE THAT SEE THE SCREEN SHOT :D

Do you want to keep using your device while watching movies ? Stick it! is the way to go! Enjoy the desktop experience on your Android device!

!!! YOUTUBE SUPPORT: READ THE FAQ !!!

Stick it! is the only video player of its kind : it can live on top of your screen, above any of your other applications and allow you to use your device’s other features (browsing, emailing, texting...) while watching your favorite movie! Impress your friends with the MultiView™ feature !

!!! WATCH THE VIDEO !!!

Like your desktop player, you can move, resize and even minimize Stick it! in the system tray, background playing is supported. As we love geeks, Stick it! comes with some predefined themes like Windows 7 or Mac OSX (more to come).

Stick it! plays almost every movie files including .3gp .avi .divx .f4v .flv .mkv .mp4 .mpeg .mov .vob .wmv .webm .xvid and many more.

Moreover, Stick it! supports the following network protocols : MMS RTSP (RTP, SDP) HTTP progressive streaming and HTTP live streaming (M3U8).

● Features :

☆ MultiView™ : watch multiple movies simultaneously !

☆ Truly floating player : move, resize and minimize supported

☆ Background playing

☆ YouTube support (beta)

☆ Supports most video formats

☆ Streaming support (MMS, RTSP, HTTP)

☆ Built-in themes (Windows 7, Mac OSX, more to come)

☆ Built-in file browser

screen shot

download it from google play- https://play.google.com/store/apps/details?id=com.myboyfriendisageek.stickit&hl=en

WHAT YOU ALL ARE WAITING FOR HIT THE THANKS BUTTON IT MAKE ME COOL
[Android Apps and Games] bitstra:
Link dosn't work!

bitstra
[Android Apps and Games] adnanahmad1786:
bitstra thanks brother for telling me now the download link is working !!!!
[Android Apps and Games] adnanahmad1786:
Reserved ....... :)
[Android Apps and Games] Ma$etas:
are you the developer of this app?
[Android Apps and Games] 94SupraTT:
How does this differ from Super Video?

https://play.google.com/store/apps/...t.net.PopupVideo&feature=search_result#?t=W10.
[General Questions and Answers] Daniel D.:
Having a smartphone since mid december, I'm new to Android. After learning a lot in the last weeks (FlashTool, Mods), there are still some questions left.

1. Why do I have to flash a separate WiFi module if using another kernel than the stock one?

2. I read that I can flash an update of a mod without wiping the phone. It didn't work on my phone and I got a bootloop. Are there any rules I've to take care of? Different Android versions, kernels? When do I've to make a wipe, when not or was it mod related?

3. The "original" TrackID won't work if I unlock the bootloader. What about the one from the Play Store (they look different)? If I re-lock the bootloader, will it work again?

I hope I described my problems in the right manner.
[General Questions and Answers] Daniel D.:
Can someone answer question 3?
[Windows Phone 7 Q&A, Help & Troubleshooting] hel1oms:
Now we know replace tshres.262.dll in \windows ,we can make the battery icon in status bar in percent,but it is NOT accurate which means the interval is 5%.

How we can make the accuratebattery icon in 1% ?

I have an idea:

write a custom exe,run it in background.It check the battery status and replace the tshres.262.dll in dynamic.

We can cook the tshres.262.dll for every battery percent 1%,2%,3%...(file size of tshres.262.dll is 25kb ,a hundred of the dll is 2.5mb,it is acceptable).

Anyone for better?
[Windows Phone 7 Q&A, Help & Troubleshooting] Leo_zodiac:
good idei

i think this could happen

like the "Tile world clock"

in that case the app pinned tile changes

in this case a fie will bw replaced

i hope developers make this soon ;)
[Windows Phone 7 Q&A, Help & Troubleshooting] jblogger:
yah hope developers make it soon, a lot of good ideas but unable to exert.. zzz
[Android Apps and Games] sam.jh:
Mod edit: Hacking to get Glu credits is not allowed. They can be purchased, which means this method is the same as stealing.

Thread closed.
[LG Optimus 3D] stratex5:
On lg smartworld, there are themes in the promotion area and it says to download theme box first. Can anyone please tell me where i can get the theme box app.
[LG Optimus 3D] iodak:
I have theme box for download. It is some **** launcher with temes. Lags alot. I dont know why they did not made themes for stock launcher. This is so bad.
[LG Optimus 3D] stratex5:
Do you have a link to the theme box app?
[LG Optimus 3D] stratex5:
Bump...
[LG Optimus 3D] botson71:
The theme box app is on the same page of LG Smartworld where the skins are. I'm not sure why it's not visible to you.

Try to clear the Smartworld data from Menu>Applications and login again by choosing a different country (I'm on Smartworld UK).
[LG Optimus 3D] stratex5:
Thank you very much, i changed country and i managed to find the app.
[LG Optimus 3D] botson71:
Glad I helped. :)
[HTC Incredible S] powerfull777:
I am currently running WE WANT ICS v2 by Nikhil007 but I'm would say the speed of the rom could be vastly improved help would be appreciated. :)

Thanks in advance :)
[HTC Incredible S] wanted for ever:
it is already speedy and perfect rom for me but nik works on Nik_Aura_Rebirth_Sense4a_ICS & IT will be great
[HTC Incredible S] Max3sinz:
Yup! Can't wait for sense 4 too :D
[HTC Incredible S] vaenson:
its not 100% topic related but i would be happy to get rid of this disturbing chinese font in telefon book :/...it looks like if the english get somewhat mixed up with chinese letters....any ideas about that?

generel speed is ok for me....:rolleyes:
[HTC Incredible S] Max3sinz:
Any battery percentage (somewhat accurate) for this rom?
[HTC Incredible S] wanted for ever:
http://xdaforums.com/showpost.php?p=26959837&postcount=692

.

.

.injoy
[HTC Incredible S] poondog:
Can you use UOT kitchen with it?
[HTC Incredible S] vieose:
Idk, but I think it should work. Make a backup first. For me it works great :)
[HTC Incredible S] Max3sinz:
Which rosie do you recommend? :confused:
[HTC Incredible S] vieose:
SuperSmooth :)
[HTC Incredible S] wanted for ever:
SuperSmooth works great for me:)
[HTC Incredible S] p008:
Thanks. I will try too :)
[HTC Incredible S] ashishsoft:
cheers for Nik

just installed new rom by nik ICS and sense 3.6, works super smooth and no hicups as of yet

Good work nik

Chaangla Aahe!
[HTC Incredible S] Max3sinz:
Tried and now my IncS is smooth like hell :D
[Galaxy Ace S5830 General] deddy_ace:
how to set wallpaper portairt like in stock rom?
[Galaxy Ace S5830 General] :
Would like a feature like in stock rom though :)

This app will do it: Wallpaper Wizardrii
[Captivate General] tkjeeper:
FIRST!!!
[Captivate General] monish1995:
Glad to see that someone cared abt this ROM :p
[Captivate General] tkjeeper:
I'll download and try tonight. Thanks for the effort
[Captivate General] solo012:
Nice looking rom~!

Looks great~

Does this rom support chinese language?

and Why SMS not showing name of sender and preview?

p/s: sorry for dumb questions~:p
[Captivate General] tkjeeper:
Can't download
[Captivate General] Madflapjack:
dude come on its not so dificult to port an i9000 rom at least remove getprop, i canot flash it, and someone who has the device should post the rom... really
[Captivate General] cwhitney24:
Question...if the rom is untested where did the screen shots come from? Are they of this rom or a different rom? If its from a different rom which one is it?

"I love my Springfield XD40"
[Captivate General] zzmomo73:
It's an i9000 ROM but.not tested for the captivate
[Captivate General] cwhitney24:
Probably would be a good thing to put in the op warning people that the screenshots are what your hoping the rom will look like. Just sayin. Its always best to be honest with the people.

"I love my Springfield XD40"
[Captivate General] Chuckd610:
I had ported this for myself a couple days ago, and it's not bad at all. There's not too much difference in all the ics roms out there. I guess the newest mods include whatever can be taken from the SGS III. To the porter of this rom, make sure you follow the port guide closely and try not to post untested roms to the public. PM what you are working on to select beta testers first. This is just courtesy advice. Keep it up and you'll get good at it.
[Captivate General] smithisize:
This ROM works great! Love the theme! Could use a few ram tweaks, but otherwise I love it! Thanks for porting!
[Captivate General] harry141:
remics rom captivate

I have installed this rom on my captivate. Its gorgeous and everything works except the lock screen wallpaper and 3g.
[Captivate General] louvass:
Can't install no matter what I do, it just aborts on install. Looks nice I'd love to use it but just won't go on my cappy. ;(
[Captivate General] livito:
unable to flash

This rom is not ported correctly, i was able to do the porting myself I have to say that it looks and behave pretty good. Hope the creator can release a new version with these fixes and new cm9 updates.
[Captivate General] Chuckd610:
I sent him an updated version with all the corrections, but he hasn't posted yet.
[Captivate General] TRusselo:
testing is now over and a public working version is now available in Captivate > Development Section > [ROM][OFFICIAL][4.0.4]RemICS v1.2(Team Remics) [6/17/12]
[General Questions and Answers] srinathp757:
Hi,

I tried to update OS from gingerbird to icecream beta. I downloaded the software and without backup:( i restarted in recovery mode. i tried wipe data/factory reset and then apply update from sdcard.

When i go to recovery mode i get below error:

applying mylti-csc

e:\failed to mount/system(invalid arguement)

but then i tried to choose the downloaded package and tried installing it, and got below error:

installing update...

E:\error in /tmp/sideloadpackage.zip (status 0)

installation aborted.

Now i am not able to go into my mobile at all. even not able to factory reset . all operations getting aborted.

Please help me on this.

-Srinath
[HTC One X] uktivo:
Went to see The Christians and Status Quo last night at Speke Hall Liverpool. Two rows from the front.

I recorded a lot of footage on my HOX which turned out ok.. but. My wife recorded a lot on her iPhone 4 and the quality of video was lower but her phone caught the sound so much better. It seemed to be able to handle the peaks in the volume do much better than the HOX.
[HTC One X] costindaemon:
Yeah, noticed that too, sound quality is not that great, not that on my ex SGS2 was any different. Compared also to an iP4 and the iPhone was better.

When it came to recording I had my old N8 who was cristal clear, and had 3X lossless digital zoom.

Unfortunately when it comes to recording the only option is the upcoming Nokia 808, fantastic sound and also lossless zoom cropping from the sensor.

For now only Nokia uses real digital mikes on its phones, so we android users have yet no real choice.
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Hi Guys,

I think its time to get together a group to port cm9 to mediapad.

Since we don't have a kernel source, propose starting here:

http://xdaforums.com/showthread.php?t=1598713

I followed the instructions but boot process locks at the beginning.

Anyone with linux kernel knowledge willing to try it??

Any different ideas?

cheers
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
What rom are you using as base?
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
i've started with htc sensation(pyramid) since it as the same cpu.

I've tought also about samsung skyrocket (also the same cpu) but since its a us only phone, i dont know if it works with our kernel.
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
Did you use any of the kernels that are on Huawei's Site, or the stock one?
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
I've used the kernel from the C167B003 stock. Can you please point to the kernels on the site?

Thanks
[Huawei MediaPad, T-Mobile SpringBoard] cloogshizer:
It's really great that you started a porting project!

The HC Kernel (open source-kernel-2.6.35-MediaPad-Honeycomb) is available at http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=3135&directoryId=5011&treeId=3290&tab=0 in the "Downloads"-tab. There are no ICS kernel sources yet, AFAIK.
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
What he said :-)
[Huawei MediaPad, T-Mobile SpringBoard] Corn Flake:
Try ask here http://forum.cyanogenmod.com/forum/23-unofficial-ports/
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
check the kernel from this one too C170B008

http://www.huaweidevice.com/worldwi...=toDownloadFile&flay=software&softid=NDU5NTM=
[Huawei MediaPad, T-Mobile SpringBoard] cloogshizer:
BTW: I would like to help you if I can, although I'm not a dev.
[Huawei MediaPad, T-Mobile SpringBoard] monkeydrufy:
Same here

I hope to be usefull
[Huawei MediaPad, T-Mobile SpringBoard] cloogshizer:
Don't want to poke a dead horse, but is this project still on? Do you need help?
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Hi,

Sorry i've needed the mediapad for my custom rom.

Here´s my logcat anyone knows whats wrong or have any advice?
[Huawei MediaPad, T-Mobile SpringBoard] cloogshizer:
Hey, no reason to apologize! It is very cool that you are still want to do it ! :)

Is this from a CM9 build? Was it run on the Mediapad? What does the device do? Just stopping? Crashing?

Maybe it is a kernel thing.
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Hi,

Yes is on the device, after flashing the ported cm9 with cwm.

CM9 is originally from htc pyramid (same cpu)

I get the huawei logo and that's it.

The logcat is with logo on the screen.
[Huawei MediaPad, T-Mobile SpringBoard] after_silence:
Have you tried to replace /system/lib/libandroid_runtime.so with the one from htc pyramid?
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
I don't know if it will work, but have you tried to flash the rom just like any other rom on the mp? (using the dload folder etc etc)
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Hi,

Yes, i've substituted libandroid_runtime.so with the one from cm9.

and i've tried to flash as partition.

Same result
[Huawei MediaPad, T-Mobile SpringBoard] dark_fighter:
I don't know much about developing (hell I don't even know java :p )

I only think logically and make speculation but is looks to my that it is hw issue, i mean maybe it needs some lower level (near to the hw coding) changes, that only a dev with BIG ballz could make. Maybe I am wrong (and I hope so, cause if so we will have to wait for Huawei to release an open source ICS kernel or something)...
[Huawei MediaPad, T-Mobile SpringBoard] eiben_robert:
Hello

As far as I know the Huawey Mediatab and ZTE V71 (aka Sprint Optik, Vodafone Smart Tab 7) are very similar in terms of HW. There is a CM9 port developed for ZTE V71 by joe.stone:

http://xdaforums.com/showthread.php?p=25539501

Maybe you can use this as a starting base for your port?

Regards

Robert
[Huawei MediaPad, T-Mobile SpringBoard] rurou:
I believe the kernel source is out on the Huawei download page. Haven't download it myself since I don't have the skill to use it. If you don't remember the link, I already put it on the general thread.
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Yes !! We've got source ...

Going to begin trying to complile ...
[Huawei MediaPad, T-Mobile SpringBoard] hwmod:
There are a few errors, doesn't compile using Ubuntu 11.04 and Android NDK r8 toolchain !

Terrible :) we have the kernel sources but cannot get to compile them. Suggestions ?
[Huawei MediaPad, T-Mobile SpringBoard] rac!:
Have you pushed the proprietary files?
[Huawei MediaPad, T-Mobile SpringBoard] after_silence:
I have tried to compile kernel with .config from C170B009 and i have these error (im using arm-linux-androideabi-4.4.x toolchain from CM9):

arch/arm/mach-msm/msm_dsps.c:42:19: error: timer.h: No such file or directory

arch/arm/mach-msm/msm_dsps.c: In function 'dsps_read_slow_timer':

arch/arm/mach-msm/msm_dsps.c:153: error: implicit declaration of function 'msm_timer_get_sclk_ticks'

Does anybody know how to solve it?

And (sorry if this is wrong thread) if there anybody have successfully builded CWM recovery except guys from android-hilfe.de forum? Im trying to build it, i have builded initial device tree for mediapad, used recovery.fstab from stock recovery + slighly modified init.rc, but recovery that builded by me doesnt want to boot, just black screen than trying to run it. And in cache/recovery/last_log i cant see any errors.

Actually, i have successful experience in building cm9 for my Acer Liquid, so, if we will cooperate - we can achieve something :-)
[Huawei MediaPad, T-Mobile SpringBoard] hwmod:
Which files ?
[Huawei MediaPad, T-Mobile SpringBoard] cloogshizer:
From what I read, there are some broken includes (haven't tried to build it myself), which need to be fixed before compilation. "error: timer.h: No such file or directory" hints to such a problem.

One user of android-hilfe.de tried to compile the kernel and ran into some "section type conflict" errors (http://www.android-hilfe.de/root-ha...e-fuer-mediapad-ics-released.html#post3654204). Yank555 here on xda had a similar problem when he wanted to build the kernel for his HTC Sensation XE:

http://xdaforums.com/showpost.php?p=27225568&postcount=7136

faux123 replied (text in [] added):

It seems that this helped to resolve Yank555's problem (http://xdaforums.com/showpost.php?p=27294383&postcount=7157).

Maybe it is useful to someone.

Cheers,

CS
[Huawei MediaPad, T-Mobile SpringBoard] after_silence:
cloogshizer, the problem is that timer.h is present in /include/linux/, so i dont know why he cant find it.

About "section type conflict" - i havent seen this error in my kernel building, but i have tried different toolchains that are presented in cm9 repos, but have no luck with all of them, some doesnt want to build at all, and for the rest of them i have the same error with msm_dsps.c.

I dont know very much about kernel digging..

I have tried too to set: CONFIG_MSM_DSPS=n, but later there are new errors appeared:

In file included from arch/arm/mach-msm/pm-8x60.c:45:
arch/arm/mach-msm/include/mach/cpuidle.h:18:16: error: pm.h: No such file or directory
In file included from arch/arm/mach-msm/pm-8x60.c:45:
arch/arm/mach-msm/include/mach/cpuidle.h:25: error: field 'mode_nr' has incomplete type
arch/arm/mach-msm/include/mach/cpuidle.h:30: warning: 'struct msm_pm_platform_data' declared inside parameter list
error, forbidden warning: cpuidle.h:30