yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] CONdemmedNORmal:
right so using apk_oneclick I can decompile, disassemble and change the "false" ;) the only thing is when I rebuild it changes back to original, but I've been having so much trouble with it being such a novice at all of this side of things its took me from 1am to 10am before I decided to ask for help -_-
[Xposed Framework Modules] Dahlmo:
After getting it into Android Studio, and changing the line I assume it is I compile as a signed APK but I get this error

I have literally never done anything like this before, I also downloaded ExposedBridgeApi.jar but I have no idea what to do with that.

Edit: I have tried for several hours, and I give up. I think it's unfair that you force people, who have no prior coding experience or interest to do this.
[Xposed Framework Modules] sturmen:
How can I help? The basic steps are as follows:

Set up a build environment

Import the project using git (different for Eclipse and Android Studio)

Include the XposedApi.jar file

Export the APK

I give you a fully functional version that requires no effort to use, for free, that I coded during what spare time I have when I'm not working for my living. If you have "no interest to do this", then may I ask: what are you interested in?

But, in order to fix your problem, you need to add XposedBridgeApi.jar as an external library. The error you got was, in essence, that the system was unable to find XposedBridgeApi.jar. To do this, go to "Project Structure" in the file menu, then to Libraries under Project Settings, then click the + button and add XposedBridgeApi.jar.
[Xposed Framework Modules] youngyoshi:
Learned something new today!
[Xposed Framework Modules] youngyoshi:
So heres a question... would we be able to use exposed to pull a image from the gallery?
[Xposed Framework Modules] sturmen:
Which gallery are you referring to? If you're referring to your Snapchat history, the answer is no. Once the photos are deleted, they're gone.
[Xposed Framework Modules] youngyoshi:
no our own gallery to send pictures we have already taken
[Xposed Framework Modules] sturmen:
Ah yes. I was actually looking into that but unfortunately it would be a whole thing to add that. I ain't gonna do it, but I encourage others to try.
[Xposed Framework Modules] bjcoenen:
I just decompiled the apk with apktool and opened the keepchat.smali file and changed the line that says "wasScreenshotted" to "wasStupidToHaveToDoThis" then recompiled the apk and signed it with the zip signer app on my phone and it works great.
[Xposed Framework Modules] drewmey:
Signing APK's

Here are the errors I got...
[Xposed Framework Modules] drewmey:
these...

these...
[Xposed Framework Modules] drewmey:
Finally Got it...

First off, I appreciate that you did this and decided to make it available to everyone. However, describing it as easy is false unless you have a background in android coding (maybe just coding in general). I am a construction engineering student. Basically I have to learn new things that I know absolutely nothing about because it is such a broad industry. 10 minutes? Ha. No. Took me three hours. I had to install java, git and android studio. Had to download the files from github and jar file. Ran into many problems because nothing was really explained. It was a lot of researching, reading, guessing, checking, searching about errors etc.

All that being said, thank you for providing it and making it open source! Despite the time I was happy to do it if that is really what you wanted.
[Xposed Framework Modules] youngyoshi:
Ive been doing some studying. But my coding skills arent up to snuff to figure out how to make it possible lol
[Xposed Framework Modules] sturmen:
You need to include the XposedBridgeApi.jar file in your path. I talk about how to do that in this post.

I suppose it's 10 second process only AFTER you get the build environment set up. I'm glad you learned something, and perhaps tackled the errors you faced in a new way. To be honest, I think you described programming as a whole with this sentence: "a lot of researching, reading, guessing, checking, searching about errors etc." I haven't heard a more apt description.

There are a couple reasons I chose to do it this way:

So that I could force some people to be "honest" by telling people their pictures are being saved

To force those who don't want to be honest into actually working for what they want, instead of feeding their sense of entitlement

Imprint the idea that if you want something in software changed, Open Source lets you change it. If I had just put this up on the Play Store for 0.99c and said "In-app Purchase to remove the screenshot detection", no one would have learned anything

Maybe, just maybe, someone will go through this whole process and discover they actually like development

Yeah, it's definitely a good idea. If I find myself unemployed and with a lot of free time, that would be something to look in to.

Yeah dude, FIGHT THE MAN!
[Xposed Framework Modules] SystemErrorOne:
umm..

That is seriously lame & inconsiderate. Why leave out that option. If so many want to edit the source code why not just have two apk mirrors for each one that way you save others a ton of time and confusion. Lack of user end support man, xda is all about mods and doing **** to your phones..yes yes I give you props for actually creating this mod/tweak and I understand your consideration with privacy and the whole screenshot thing but...im just saying it wouldn't hurt anyone to upload the modified one and the regular one you have up currently.

Thanks any who.
[Xposed Framework Modules] bjcoenen:
No more pm's I've given it to enough people.
[Xposed Framework Modules] SystemErrorOne:
Thankkk youuuuuu! goodness gracious
[Xposed Framework Modules] youngyoshi:
People always want stuff Givin to them. Never satisfied. You learn how to do this you can figure out how to tweak other things instead of always asking. Your not entitled to anything the author created this on his own accord. He released what he felt was right to release if you want the modified version do it on your own and learn something.
[Xposed Framework Modules] Blancos4Lyf:
How do I do that :eek:?
[Xposed Framework Modules] maltedbarley:
Stop whining so much. It took me 30 minutes tops to do it, with absolutely no development background at all. I had to figure out how to put the jar in on my own too.

What it comes down to is laziness. Give it a try. You might learn something new (god forbid, right?).

OP, thank you again for the lesson you've provided me with.
[Xposed Framework Modules] Rydah:
Forgot I had it enabled, and all the ugly chicks thought I was into them with all the screenshots. Lol

Sent Via My HTC One, On The Now Network By Sprint!
[Xposed Framework Modules] sturmen:
Amen.

It depends on whether you're using Eclipse or Android Studio. For Eclipse, you can follow this tutorial start from "Making the project an Xposed module". If you're using Android Studio, you have go to "Project Structure" in the file menu, then to Libraries under Project Settings, then click the + button and add XposedBridgeApi.jar.

No, thank YOU for capturing what I had hoped for when I laid out this plan.

:silly:
[Xposed Framework Modules] mralexashton:
Help

could someone help me get rid of the code so the sender isn't notified, If someone helps me do it ill post it up. PS just switched from iphone to a nexus 4 white 16gb so im not as android savvy as most of you. while i hated my jailbroken iphone i did love the snapchat tweak. (unlimited viewing time, no notification of screenshot, convenient download button to save photo, could import photos from gallery) :confused:
[Xposed Framework Modules] Felimenta97:
Which method you used when singning?
[Xposed Framework Modules] Rydah:
Test jar works well.

Sent Via My HTC One, On The Now Network By Sprint!
[Xposed Framework Modules] ainiyu520:
After using this tweak for a little while, I noticed that sometimes it saves multiple of the same snap from the same person.

It's not a big deal but it just bothers me. Does opening and closing a snap repeatedly before it expires cause it to save multiple times?

To all of you whining about editing three letters:

OP never had to tell you that the mod will report to Snapchat as screenshotted.
[Xposed Framework Modules] trader418:
Deleted
[Xposed Framework Modules] Blancos4Lyf:
When I Build signed APK, The file is only 88-94kb's in size I've included the library but when I change the filename to Zip the SRC folder is nowhere to be seen What do?
[Xposed Framework Modules] ALiEn_OuT:
Thanks

I'd like to start by saying Thanks!! for all your hard work. I am an absolute nube..I spent several hours into the night on this.

What a fun first project to learn some basics on.. I've never had a first try at something end up producing something that I actually found useful :good:

In the end I learned tons, even though I have just barely scratched the surface.

Everything has been working great, I have even adjusted the toast popups so they are not hanging in the way..

I'm wondering how to, or if it is hard to add code so that it automatically saves all the sent pictures as well?

Thanks again for the fun project!! :laugh:
[Xposed Framework Modules] Nyates:
not working

Hey guys, I'm looking for some help. I have been trying for hours to get this to work. I have been working on android studio and I added the JAR file as instructed and exported to APK file and didn't receive any errors. When I loaded it onto my phone though the app installed but did not run at all when I opened a snapchat. I added it to Xposed and everything.

I have a feeling it is to do with my java install on my pc because when I run debug and test in android studio I get this output but I am unsure on how to proceed: Can someone please help me?

Failed to start

"C:\Program Files\Java\jdk1.7.0_21\bin\java" -ea -Didea.launcher.port=7532 -Didea.launcher.bin.path=C:\Users\user\AppData\Local\Android\android-studio\bin -Dfile.encoding=UTF-8 -classpath C:\Users\user\AppData\Local\Android\android-studio\lib\idea_rt.jar;C:\Users\user\AppData\Local\Android\android-studio\plugins\junit\lib\junit-rt.jar;C:\Users\user\AppData\Local\Android\android-studio\sdk\platforms\android-17\android.jar;C:\Users\user\AppData\Local\Android\android-studio\sdk\platforms\android-17\data\res;C:\Users\user\AppData\Local\Android\android-studio\sdk\tools\support\annotations.jar;C:\Users\user\Documents\GitHub\out\production\Keepchat;C:\Users\user\Downloads\XposedBridgeApi.jar com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 [MENTION=3213267]C:\[/MENTION]Users\user\AppData\Local\Temp\idea_junit8679683472329569698.tmp -socket55515

Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/ResultPrinter

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:188)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:113)

Caused by: java.lang.ClassNotFoundException: junit.textui.ResultPrinter

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

... 3 more

Process finished with exit code 1
[Xposed Framework Modules] b0ngz1ll4:
First off I want to thank the OP for this. I am indeed learning alot and I have to agree with some of the other thread members as well as this was a bit hard to get the environment setup, etc. Im learning alot about GIT, JRE vs JDK, Eclipse vs Android Studio (prefer AS tbh) and a few other pieces.

That being said I am using Android Studio, I added the .jar to my library under project structure, but it isnt showing in my external library on the project itself. I still only see Android 4.2.2.

I think im almost at the finish line and a bit of help would be greatly appreciated.

*edited*

When I add it the the library under the project structure, do I add it as a class, or as a jar directory or what. Do I add it to the global library, or only the local library
[Xposed Framework Modules] Shahaed:
I'm ashamed at the people that are giving this apk out. Very disrespectful to the OP.
[Xposed Framework Modules] Shahaed:
I used Eclipse. Adding the external library was as easy as right clicking and going to add library. I never figured it out with android studio. Try eclipse!
[Xposed Framework Modules] Soccout:
I got everything changed the line and compiled the apk... then i uninstalled the old one and installey my compiled.. but now i dont get saved screens haha

---------- Post added at 04:43 PM ---------- Previous post was at 04:36 PM ----------

ok i see I also have a apk which is just 80 kb
[Xposed Framework Modules] dfc849:
Well, after a half hour of research and a half hour of tinkering, I disabled screenshot notifications. I'm sure I didn't set up properly, but editing, saving, and compiling was a breeze.

Thanks everyone for the motivation, tips, and hard work! :beer:
[Xposed Framework Modules] ALiEn_OuT:
Bump :cyclops:
[Xposed Framework Modules] stammler:
works but NoClassDefFoundError

I compiled (an altered version, obv. ;) ) the mod with Android-Studio and openjdk7 (yes, I dared), targeting 4.2.2, and it immediately worked :) (under Arch Linux)

However, the xposed log reads:

Jun 17, 2013 6:16:17 PM UTC
Loading Xposed (for Zygote)...
Loading modules from /data/app/com.sturmen.xposed.keepchat-1.apk
Loading class com.sturmen.xposed.keepchat.Keepchat
We are in Snapchat!
java.lang.NoClassDefFoundError: com.sturmen.xposed.keepchat.Keepchat$4
at com.sturmen.xposed.keepchat.Keepchat.handleLoadPackage(Keepchat.java:176)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:69)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:143)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:432)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1300(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5230)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:110)
at dalvik.system.NativeStart.main(Native Method)
Bitmap loaded.
Saving to directory /storage/emulated/0/keepchat
Saving with filename Image-6652.jpg
Saved to /storage/emulated/0/keepchat/Image-6652.jpg!
Image Toast displayed successfully.

As I said, it works even though there is this NoClassDefFoundError. Also the xposed log message reading that screenshotted was reported is missing (I altered the code to report not screenshotted because I changed the respective line to not do so...). What is going on?
[Xposed Framework Modules] Haunt3r:
So I stayed up all night messing around with this. Was able to build it in Android studio, and yes, I included the XposedBridgeApi.jar properly, as referenced in this thread, but the file was less than 100kb meaning it didn't work. As well as when trying to set it up in Eclipse, I'm just running into errors left and right even with following the tutorial, not to mention not even being able to make a build. Don't quite understand why it won't work.

I'm on windows 7 64 bit if that makes a difference.
[Xposed Framework Modules] ALiEn_OuT:
Hey bro.. Don't be discouraged, my final fully working apk came out to 62KB.

Also Win7 64bit..I used eclipse
[Xposed Framework Modules] stammler:
I changed the naming scheme for the screenshots. I find it more useful if the file name contains the date and time :) If anybody is interested, have a look at my fork on github.
[Xposed Framework Modules] losermonkey:
I know the line I need to change and where it's located, but the original file isn't capturing images. Installed Xposed and enabled Keepchat but nothing happens.
[Xposed Framework Modules] wing_addict_usa:
I think I did it

---------- Post added at 11:14 PM ---------- Previous post was at 10:44 PM ----------

Same here, I think we aren't including the library, my make has errors
[Xposed Framework Modules] R3NC0N:
I think I'm doing everything right, but it seems the Emulator won't start for whatever reason.

Everything goes well until the following error:

Android Pre Dex: [XposedBridgeApi.jar] Error: Could not create the Java Virtual Machine.
[Xposed Framework Modules] Thy Gamer:
Does any one know if this will Stop the timer or let you pick your own picture from gallery?
[Xposed Framework Modules] maltedbarley:
ThyGamer, Neither are supported
[Xposed Framework Modules] vibranto:
Does anyone get the error "cannot read /data/xposed/modules.whitelist" or know how to troubleshoot it?

Thanks

Edit: Forgot to actually install Xpose using the installer.

That was fun.
[Xposed Framework Modules] CosTuMe:
thank you so much!!!

I'm a student(high school) in a Computer Science program, i had no interest of devloping to android before.

This post took me inside the android devlopment and beacuse of that i will take an android devlopment course next year(even the bit i saw was good enough).

So i wanted to thank you, for making this thread and for the decision to let us learn.
[Xposed Framework Modules] Lu1sV:
Help

Can you do all this coding on a Android phone? Don't have a computer and I would like to edit that line to not let screenshot get notified. Help! Or can anybody just help out and add a fixed apk.
[Xposed Framework Modules] skippythegoat:
I spent HOURS trying to figure out how to build this myself so i could avoid the screenshot notification. That was using Android Studio. I think i was doing everything right, it just wasn't working. Knowing computers though it's usually user error... However, i decided to give eclipse a try and i got it working in no time. Thanks for the source code and the guidance. I always like learning how to do things and this xposed framework business seems pretty useful.
[Xposed Framework Modules] stammler:
There actually is an IDE for Android Phones: AIDE

I haven't tried it yet though.
[Xposed Framework Modules] Droodie:
I want to learn

I really want to learn how to do this, i have downloaded your apk, the jar, android studio, GIT and the files from your github or W/E its called :P but what do i do now? i have no clue at all

EDIT: okey so i think i have changed the right line now, and i think i have managed to add the .jar file, but how do i make it to an APK now?

EDIT2: i managed to make it in to an APK but it only 91kb, what am i doing wrong? i tried the apk to and it takes a screenshot and my friend didnt get notified about it was screenshoted but i cant open the fil, i guess i have made something wrong when i was building it to a APK
[Xposed Framework Modules] fabzbear:
Then again ppl if you want the snap or vid so bad you can just find the cache in snap chat and copy and paste whatever you want. Just don't open the file in snap chat.
[Xposed Framework Modules] DSpartox:
Thank you!

Just wanted to thank OP for posting this and also for giving me the chance to try my hand at learning something new, was definitely a great experience, managed to edit and recompile succesfully. Thanks again! (:
[Xposed Framework Modules] erikstar:
Great app :D PM me for something cool :angel:
[Xposed Framework Modules] mralexashton:
Anybody know if this works on the recently released update?
[Xposed Framework Modules] stammler:
It still works! That's the power of Xposed over apk mods :)

(Well, of course mods only works after updates as long as they don't rename internal methods or change their ways of functioning. In the case of Snapchat, they fortunately didn't alter the code in which this mod hooks in.)
[Xposed Framework Modules] mralexashton:
Have u tested it
[Xposed Framework Modules] stammler:
I would not have written a confirmation otherwise ;)
[Xposed Framework Modules] SscattergoodR:
If you want the keepchat that doesn't say screenshoted search on google "keepchat 1.1 aptoid" and install it, enable in xpose like the normal one and job done, sorry I can't post a link not slowed yet
[Xposed Framework Modules] 4thehalibit:
I got it all installed but there is no sdcard/keep chat folder ?
[Xposed Framework Modules] Robert417919:
I tried that with no luck, any help?
[Xposed Framework Modules] UchihaKite:
Can someone edit this to not show screenshot on the other person's SnapChat? O.o
[Xposed Framework Modules] stammler:
New Version 1.3

I release the new Version 1.3 on my Bintray site. The old Keepchat still works with the recent Snapchat update, but one subtle thing broke because of heavy changes in the UI code. The Toast message that a video was saved to the SD Card couldn't be shown anymore.

You probably have to uninstall the old version because I signed this apk with my key.

This release still reports the snap as screenshotted. I'll discuss with the OP whether it could actually be safer to release a version with the screenshot reporting disabled to prevent people from releasing their own versions of this mod with potential malware included...

Cheers!
[Xposed Framework Modules] arcanein:
the app isn't installing for me, I download and try to install it and it just says "app not installed"
[Xposed Framework Modules] stammler:
Which one, from the first page or the new version I uploaded?
[Xposed Framework Modules] stammler:
Snapshare

I just released a mod for sending arbitrary images: Snapshare
[Xposed Framework Modules] eccentrikit:
I don't know if anyone posted already but you can combine this with snapchat holo edition.
[Xposed Framework Modules] stammler:
What's that? ;) Just give it a try, might just work out of the box. Xposed modules hook into method names of apps, and the modder of snapchat holo surely didn't change internal method names, so it should just work, as long as he didn't change the package name. Please give it a try and report back. If it doesn't work, post a link to snapchat holo and I'll have a look.
[Xposed Framework Modules] leijonasisu:
Thanks. I wish I had found this earlier.. I installed a bunch of crap just to get this feature and I couldn't work anything out myself even after ages. This was an easy way to fix it. Just make sure to install the Aptoide on your phone and then use your phone to browse to the .apk link and choose to install it with Aptoide.

Some company probably just got my details but I couldn't care less. Uninstalled Aptoide straight after and did a reboot. Works beautifully.
[Xposed Framework Modules] lreyes:
Isn't aptoid the app blackmarket? Warez?
[Xposed Framework Modules] TuRDMaN:
Not Working

So I compiled my own .apk from the source on GitHub, but it's not working at all. It's installed and activated in XPOSED, but it seems to do nothing. No keepchat folder created, and no sign that it's actually doing anything after pictures and videos received on Snapchat. Is there any way that I can test if it's actually running? (and yes, I'm using the new 1.3 source)
[Xposed Framework Modules] eccentrikit:
It wasn't a question, I was stating that the two can be combined for the effect =)

[APP/MOD][2.2+][1.0] SnapChat Holo Edition
[Xposed Framework Modules] Depressed T.Bear:
Mhh, when I'm looking into the source code of v.1.3 [MENTION=4166799]github[/MENTION], it already seems to be set up not so show the sender the screenshotted warning ;) right?

Gesendet von meinem GT-I9300 mit Tapatalk 2