yashsingh1/xdaforums huggingface dataset:
[G1 Apps and Games] Koush:
Yeah, I tried that, but I am getting permission issues. I added the permission CHANGE_COMPONENT_ENABLED_STATE, as well as a couple others, but no dice. I've also tried putting the application into /system/app, but that doesn't work either.

My other thought was to turn the screenshot application into a full screen transparent application, and having it register for the HOME intent. Then when home is pressed, it comes into the foreground (but transparent), and snaps the screenshot and shows it. Problem with that is that its permanently bound to the Home Button; even when the Screenshot application is off. Maybe I can delegate the home key to an intent Receiver instead of an Activity, and then have that just call "startNextMatchingActivity" or whatever it is called.
[G1 Apps and Games] Lieu10ant:
yeah thats similar to my idea, just assign it to a shortcut like "search+p"
[G1 Apps and Games] felicita:
is there any way to take screenshots on the deviice without root?
[G1 Apps and Games] neoobs:
Yea using the original method. If you use ddms that is in the SDK you can.
[G1 Apps and Games] felicita:
I know how it works with SDK, but i need it in my G1. There is one application in Market but it works only with root access
[G1 Apps and Games] Koush:
I've updated Screenshot:

New features:

Screenshots are now captured much faster; images are being decoded directly from the R5G6B5 format.

Screenshots are now automatically saved to the SD card.

You can now use the camera button to capture screenshots. (The Screenshot application must be started first)

If you assign a hotkey to the Screenshot application, you can use that hotkey to also instantly take a screenshot. (The Screenshot application must be started first)
[G1 Apps and Games] neoobs:
sorry then no there is no way as of yet.
[G1 Apps and Games] joeyjones:
Is it possible to have the application loop for a set number of seconds, saving the screen shot to a set dir, until you re-open the application and turn it off?
[G1 Apps and Games] razor1394:
The screenshot app from the market locks up when using it and neither 1,2 or 3 does anything. I gave it "always allow" access with superuser but it doesn't seem to help.
[G1 Apps and Games] mr_roboto:
For me I have to use terminal give type in "su" to give myself id=0, then I can proceed to use the screenshot app. Without giving myself id=0 screenshot will just hang. I also used his superuser app to always give it permissions too.
[G1 Apps and Games] Koush:
Hrm, did you guys have the first version of the screenshot app as well? I'm trying to figure out if there is an upgrade bug.
[G1 Apps and Games] mr_roboto:
Yes I did, I installed the updated version on top of the old version. Also the pics come back distorted in color and zoomed in. Guess I can try to uninstalling and reinstalling
[G1 Apps and Games] Koush:
Delete /system/bin/screenshot. For some reason, the old version is not being overwritten. I'll release a new version to fix this soon.
[G1 Apps and Games] mr_roboto:
Hehe sorry I'm a linux noob it says it is read only file system and I can't delete it :(. Tried android file manager too and says delete failed. Thanks for your tech support :D
[G1 Apps and Games] Koush:
You need to use the "adb remount" first. Or if you are in Terminal Emulator, type "mount -oremount,rw /dev/block/mtdblock3 /system".
[G1 Apps and Games] oldsk00lz:
Hmmm, seems the install may not be saving the screenshot in /system/bin whether it's a new install or an upgrade.

I had the new version installed over the old version, saving garbled pics. I removed the screenshot file from /system/bin and uninstalled the app. I reinstalled APK from market,

with system in read/write

.

- No screenshot file installed. (no root request)

Ran Screenshot, granted it root.

- No screenshot file installed.

- I assume it's trying to install into /system/bin on first run?

Took picture (5 second delay), granted it root.

- Got error: screenshot.raw not found.

We may have to wait for the new build.

-oldsk00lz
[G1 Apps and Games] Koush:
It attempts to write the /system/bin/screenshot every time it starts up.

go to an adb shell and type the following

rm -r /data/data/koushikdutta.screenshot

rm /system/bin/screenshot

That should put you into a fresh state. I think the app_id is changing between reinstalls or something funky. Looking into that issue right now.
[G1 Apps and Games] oldsk00lz:
No go. I also made sure there was none of your files in /data/dalvik-cache and /data/data (An Uninstall seems to also remove these), also no screenshot in /system/bin.

Still gets the screenshot.raw missing error. Is this a file you are using to create the screenshot bin file? Maybe it's missing from the APK? I am using the APK from the market.

-oldsk00lz
[G1 Apps and Games] Koush:
When the application starts up, it extracts the screenshot native binary to /data/data/koushikdutta.screenshot/screenshot.

Then it copies that file into /system/bin and chowns it to root. It executes it with root permissions when a screenshot is taken, the native binary dumps the raw frame buffer to /data/data/koushikdutta.screenshot/screenshot.raw

Then the application converts screenshot.raw to a PNG file and saves it to your SD card. It not being able to find a screenshot.raw means that the screenshot native binary is failing at some point (my guess is extraction). Does it exist at any of the locations I mentioned?
[G1 Apps and Games] oldsk00lz:
Maybe that's the issue...

I see a screenshot file (66700bytes) in /data/data/koushikdutta.screenshot/files/

Is this the one that needs to be moved to /system/bin? If so, looks like your install program may be using the wrong path.

-oldk00lz
[G1 Apps and Games] Koush:
Wow, thanks for the bug report. That helped me figure out the problem. Please redownload the new version of Screenshot from the Market and let me know if it worked!
[G1 Apps and Games] oldsk00lz:
sweet... The new version on the market installed the file correctly, and the app is now working... atleast the delayed shots are. Haven't quite figured the camera key instant method yet.

Thanks for all your cool mods and apps!

-oldsk00lz
[G1 Apps and Games] Koush:
Just click and hold the camera key until the camera turns on. I can't keep the camera from turning on, but it takes the screenshot like it should.

Hotkeying the Screenshot application works the best, if you don't mind taking the screenshots in Landscape.
[G1 Apps and Games] wyinsz:
is there a version for rooted ones without the superuser app?

i have a rc29 and can get root, but this app always shows "broken pipe"
[G1 Apps and Games] Koush:
Screenshot requires RC30 v1.2. A setuid sh renamed to su does not seem to work with Screenshot for some reason. Haven't looked into it: just update. :)
[G1 Apps and Games] maxdamage2122:
so does this mean it will not work with the dev phone out of the box? I will still need JF RC30?

EDIT: btw i dont have my dev phone YET so just wondering.
[G1 Apps and Games] Koush:
It will work out of the box. I just tried it.
[G1 Apps and Games] visr2004:
ScreenShot app

Hi Koush, Thanks for the cool work, I have gone through thread and that was really help ful, I am trying to capture screen same way you are doing i.e Screenshot.raw file saving and then loading that file again and saving it int some required location problem I am facing is that I am not able load screenshot.raw file, I am using

Bitmap bmp = BitmapFactory.decodeByteArray(<screenshot.raw byte stream>, offset, length);

bmp is always null

and in logcat I am getting:

skia xxxxx jpeg error 20/53 Improper call to JPEG library in state %d

Please give me some hint!!

Thanks,

Vineet
[G1 Apps and Games] mannyb:
Hey Koush, thanks for a great little application. Very handy!

However, ever since I installed JFv1.41/ADP1.1 I have not been able to use Screenshot. I start the thing up and it asks for permission, and I tap "Always" to always give it permission. Then it just sits there, blank black screen. If I press Menu nothing happens, and if I press the back button I get this:

Sorry!

Activity Screenshot (in application Screenshot) is not responding.

[Force close] [Wait]

If I choose Wait it'll just sit there, blank black screen, indefinitely. Force close brings me back to the home screen. Is it just me or is this a problem with ADP1.1?
[G1 Apps and Games] JesusFreke:
What happens if you try to type su in the terminal emulator?
[G1 Apps and Games] mannyb:
The following application has requested Superuser access to the phone:

User ID: 10001

com.android.term/system/bin/sh

Would you like to grant it permission to run privileged commands?

[Yes] [No] [Always]
[G1 Apps and Games] JesusFreke:
Well, it sounds like superuser is working. I'm not sure why it wouldn't work for the screenshot app. Any ideas Koush? I build a new Superuser.apk from the most recent source in svn for JFv1.4.
[G1 Apps and Games] kron2:
do you have the superuser.apk from jf1.41 in your theme the skreenshot app did the same thing to me till i added it and su in terminal emulator did not work till i installed superuser.apk from jf1.41
[G1 Apps and Games] mannyb:
Well, I would think so. I wiped the phone last night and made a fresh install of JFv1.41/ADP1.1. I have no themes at all right now, I'm running the vanilla Android theme that came with ADP1.1.
[G1 Apps and Games] kron2:
I am running jf rc30 1.41 and it works for me but like I said it stopped when I added my theme and did the same thing going on with you till I added the superuser.apk sorry this don't help but maybe it can narrow it down to adp 1.1
[G1 Apps and Games] mannyb:
Bolded for truth. In cases like this any and all info can be of great value.
[G1 Apps and Games] wimbet:
How does the hotkeying the screenshot application work? I can take pics with the other 2 methods but don't understand this one.
[G1 Apps and Games] mixpix405:
Im new to the whole root access scene - just achieved it last night. But the screenshot app was the first thing I installed afterwards.

Everything seems to work fine - all methods, etc... But I was just wondering a couple things:

1) Why do I have to reboot the phone to see the images in the pictures app? Is there a possible "fix" for this? If so, is it being worked on for an update?

2) Is there an way to set the screenshots to be saved to a different location than the root of the SD card? I'm too OCD to have the files piling up, not in their own folder (preferably a subfolder of my sdcard\pictures folder)

Either way - thanks a ton for your work koush (and everyone else, JF, etc). I've only had "root" for 12 hours or so, and I've fallen in love with my G1 all over again!
[G1 Apps and Games] manup456:
Hey buddy i have a Q: about your app im using RC30 JF v1.41 and every time i install a theme the app starts saying missing raw file or something like that. I dont understand why this is going on thought maybe you had an idea because this is the only root needed app thats not working?
[G1 Apps and Games] dwang:
no problems here w screenshot running jf 1.41 adp 1.1
[G1 Apps and Games] manup456:
And you have a custom theme installed?
[G1 Apps and Games] kron2:
screenshot is working for me on jf rc30 1.41 with custom theme installed.did you try a fresh install of jf 1.41 and just the screenshot app to rule out confliction with other apps
[G1 Apps and Games] boogie1077:
Same problem here. I have the JF_v1.41 superuser.apk and I have no problem getting root. I've un-installed and re-installed to no avail. Also, the file /system/bin/screenshot is there! (no extension)

Anyone have any ideas?
[G1 Apps and Games] Lieu10ant:
1.41 here, works for me.
[G1 Apps and Games] andonnguyen:
JF 1.41 + Theme, and works fine for me
[G1 Apps and Games] SoTacMatt:
I just noticed this last night.

I don't have any themes installed. I did do a wipe a few days ago, and restored using nandroid. If I type SU, it gives me access.
[G1 Apps and Games] godfatherone:
I am getting screenshot.raw is not found also. I have tried the solutions through out this thread to no success. I have jf 1.42 rc33.

Help plz I would like ss of my theme that I am working on.
[G1 Apps and Games] wwwhershcom:
anyone find a solution to this problem yet?
[G1 Apps and Games] hetaldp:
Any Update Kaush I would love to Record Video on G1 using my Wap Based site

even for ADP1 Users / Developers Video Recording could be ++
[G1 Apps and Games] SoTacMatt:
I was using JFv1.41. I reflashed to JFv1.42. The screen shot application is working again.

Thanks @mannyb
[G1 Apps and Games] Koush:
I'll be updating Screenshot and putting fixed version up on the Market to address these various issues (as well as make it easier to use).

It will cost $.99 though. :p
[G1 Apps and Games] SoTacMatt:
Any idea when you plan to post to the Market? I'll be happy to support you.
[G1 Apps and Games] UnkzDomain:
Aww... first Klaxon and now Screenshot?? I was hoping on using some of your source for a project... =P

Is the older source still going to be available?
[G1 Apps and Games] Koush:
There is still a free version of Klaxon available. Although the new features and fixes are not included in it.

The source to the Screenshot C application is still available (search this site). All I was doing was reading from /dev/fb0. Check out how the DDMS tool takes screenshots.
[G1 Apps and Games] Koush:
Probably this weekend when I have time to work on it.
[G1 Apps and Games] SoTacMatt:
Thanks!

I do have it working now, but I enjoy what you have provided, and the time put into it.
[G1 Apps and Games] Beast84:
I don't mean to go off topic but what are the new features of Klaxon?
[G1 Apps and Games] wwwhershcom:
i need this app bad, any way i can pay you thru paypal for the paid verison?
[G1 Apps and Games] Koush:
Currently implemented in the paid version:

Name your alarms

Crash bug fixes

Click and hold at the main alarm list to delete the alarm.

Coming fixes:

The compass will be used instead of the accelerometer to detect when the phone is "flipped". This works better because loud alarms completely mess up the accelerometer readings. This will also allow me to make alarms that vibrate.

More customization options (like disable the snooze option completely).
[G1 Apps and Games] Sawdizzle:
Awesome cover man! Where di you get it?
[G1 Apps and Games] asolanki:
urgent help need

hello..

i want to know from where i can get screenshot application new version..??? as i downloaded it from you site but it having error of screenshot.raw file not found. please help me its urgent..

thanks
[G1 Apps and Games] mixpix405:
who "urgently" needs a screenshot of their phone?

but anyway, from what I've been reading, the "new" version isn't out yet - and it will cost $.99 in the Android Market.

The current version is in the market - just search for "screenshot".
[G1 Apps and Games] mixpix405:
What are the "various issues" you plan on addressing? I'd love to be able to save the screenshots in the folder of my choosing, and I'd love to not have to reboot the phone in order to see said images (if that's possible).

Thanks for all your work, and I'd definitely pay $.99 for the app if it did these 2 things :).

Hell, I'd pay $.99 for the app just for what it does NOW...
[G1 Apps and Games] asolanki:
hello

Actually i downloaded that application but it shows me "Screenshot.raw file not found". In this thread i read that he solved this bug so i thought there may be new version available.... any ways thanks for reply.
[G1 Apps and Games] mixpix405:
I've had that happen to me once - and I haven't been able to replicate the error since then... But just a suggestion:

[Note, I have no clue if this will work, but it won't hurt your phone]

Get/use DroidSans TweakTools and tap the "mount as read/write" button - reboot your phone, and see if you still get the error.
[G1 Apps and Games] Koush:
Screenshot has been updated/fixed. It is now design to work with the newer JF builds.

$0.99 on the Market.

Let me know if you find any bugs.
[G1 Apps and Games] Koush:
Also added the ability to email the screenshot.
[G1 Apps and Games] asolanki:
hi

can anyone please help me how i can execute one executable in my application

thanks in advance
[G1 Apps and Games] t4c:
-delete please-
[G1 Apps and Games] beagz:
any news on a cupcake update to work with 1.5 builds?

Thanks in advance.
[G1 Apps and Games] Ryanmo5:
Works for me on jf
[G1 Apps and Games] serialtoon:
Still works for me as well....but 2.99$? Seriously?
[G1 Apps and Games] question.com:
ill buy it if it was .99, but not for 3 bucks.
[G1 Apps and Games] mixpix405:
I still use the old version that was free. If the app were to include the ability to save images to the folder of my choice, and (if possible) to not have to reboot in order to view/share the images.

And I couldn't get it to work correctly with the official HTC-released ADP1.5 (and yes, I had root access). But it works like a charm in the JF version... go figure :)
[G1 Apps and Games] ArmandHammer:
Can anyone find the app on the market?? The only one I see is the 2.99 one that didn't work on 1.5
[G1 Apps and Games] mixpix405:
As far as I know, he took the old free version off the market shortly after adding the paid version.
[G1 Apps and Games] beagz:
AHA!

That was it!

I found the free one in my old backups and installed it. It works perfectly. Good thing I kept those around. Thanks for pointing me in the right direction!
[G1 Apps and Games] question.com:
I juts used dds from the sdk. Works for me
[G1 Apps and Games] DjRevler:
wats dat weather widget? find it interesting :)

how would i b able to get dat?
[G1 Apps and Games] uberingram:
http://jsharkey.org/

It's been posted a million times in multiple Dream child forums.
[G1 Apps and Games] Strapt:
am I missing something?? Where the hell is it in the market?? I dont see it .. was it removed? I am searching under screenshot .. I dont see the free one or the buy one ...
[G1 Apps and Games] mannyb:
The free one has been removed. The paid one is still there, at least in my market. It's $2.99.
[G1 Apps and Games] t1h5ta3:
the latest relese of dxtop does screen shots...
[G1 Apps and Games] Strapt:
check again .. I JUST looked thru 148 apps under screenshot and nothing... it is under screenshot right???
[G1 Apps and Games] Nayyak:
search by dev name using the string below (from p to ")

pub:"Koushik Dutta"
[G1 Apps and Games] sinbot:
http://www.cyrket.com/package/com.koushikdutta.screenshot

Use Barcode Scanner on the QR Code.
[G1 Apps and Games] fastludeh22:
Can someone post up the free one. Since its free this should be allowed, right?
[G1 Apps and Games] JackD3ath:
No, its not allowed. That is why he removed it. You should kinda figure that out on your own. Just adb to take screenshots. I refuse to pay for this app, when i can do it through adb (ddms).
[G1 Apps and Games] fastludeh22:
That's mybad then, could have swore I've seen free apps posted up on here. What about hosting somewhere and posting the link?

This would be conveint to have, but like u said, not gonna pay since I can do it in adb.
[G1 Apps and Games] 313:
2.99 to take a screenshot.. wow.. for the love of money i suppose..
[G1 Apps and Games] Sistum Id:
I think if the version of screenshot is from when it was free than it should be allowed to be passed around.

Whats the difference between the old free version vs the new paid version?
[G1 Apps and Games] rogro82:
You will need to pay for it? If someone decides to make his application a paid application and you want to have it.... then just pay for it or make it yourself... nothing more nothing less...

A lot of devs have made a lot of stuff everyone benefited from... every now and then one asks you to pay for his/her work. all people do is cry and yell about it.... If they would really want to make a lot of money they would stick with their normal work and make some extra bucks from that and not the 2$ a day they make from some app and then no one would get anything... Somehow people dont understand that there are actual persons creating the FREE applications and they do this in there own time...
[G1 Apps and Games] ScottC:
I can't believe people are complaining about $3. This dev put a ton of time and effort into developing for us, and the least we can do is support him buy paying a measly $3...
[G1 Apps and Games] Sistum Id:
I dont mind paying for apps at all. Ive donated to devs and paid for apps. But to release an app for free and let people install it, than to pull it from the market and make it $2.99 with no upgrades in the app.

Back when his app was free, was it or was it not okay to share his app between others? Its pretty much a trial or test app if ya ask me. So with that in mind is it okay to share lets say... Open Home Lite between others, Its free...

Since he pulled it from the market and added his paid one in, to me they are two different apps. I have 1.0.6 installed right now, atrackdog is telling me its up to date. I went ahead and purchased Screenshot 1.1.0. They are two separate apps. Therefore, 1.0.6 should be allowed to be passed around freely as a beta app... Because thats all it was.

Now if he maybe added some features like what would you like to do with this capture, delete, mms, email, upload it etc or add a feature to cycle though your screenshots than I would see this worth $2.99.
[G1 Apps and Games] 313:
No one is crying and yelling kicking or screaming or anything else.. if you give people an option to donate.. most do.. but they way this app was forced to change to pay.. when it does nothing different.. **** it i use adb anyway..

i just thought it was funny that an app just to take a screen shot is 2.99.. apps that do a helluva lot more for free or <2.99..

but hey.. for the love of money.. wish i coulda thought of hitting peoples heads like that lol respect.
[G1 Apps and Games] rogro82:
I apologize for my kinda hard statement... had a bit much too drink when i wrote it and then things come out harder then i mean them. :) So if i offended anyone... sorry

Although a lot people dont see how much work devs put in to there apps... if you only look at some total asshole comments in the market and such.. My point is: please do not forget that most apps are created in free time and that the few $ they earn with selling it can (almost) never make up for the time invested by them..
[G1 Apps and Games] twistedumbrella:
Well, let's put it this way...

I use an app like this as a one-time shot maybe every 2 months when I add a feature or something I wanna show. Ok, so the app costs $3 (and in my phone barely even works). That's one app.

Phone: $179

Plan: $80 a month

Apps: $3 an app

Now if you want to get enough apps onto the phone (I have about 50), you are looking at about $259 + $150. That's over $400 for a phone. I could have purchased the dev phone for that much and just stolen everyone's code. I agree with a one-time $1 fee if you plan to update the app, but I only really agree with paying devs who do update. I've seen these $15 apps that never update and more or less get their money and leave. I think part of the problem is that people get too greedy. Look at Cydia for iPhone, it was the free alternative to App Store. Cydia now has a store of its own that requires paypal payment to get any of the decent apps. They charge more than App Store would. Let's not become the iPhone. If enough people buy it, you don't need to charge anything more than a $1.

Summary statement: 50 kids downloading a $3 app with make the dev $150, but 1000 downloading a $1 app, well that is $1000. Consider how many people start to consider benefit versus cost after they get their first credit card bill and see "GOOGLE/CH" filling the page with charges. Less likely if the total is less than an average daily salary.