I've been tasked with writing an iphone application that displays a set of images (think powerpoint slideshow). The content of these images need to be protected from forwarding
this task seems quite simple with one exception - I'd like to prevent the user from taking a screenshot
it's not like i'm protecting the crown jewels here, so I'm not looking for military grade super ninja protection.
thoughts?
If the user has the Android SDK, they can take a screenshot. There is nothing you can do to stop it.
OTOH, without the Android SDK, there is no way to take a screenshot in Android.
Related
I am new to android development and Kotlin. I am trying to implement a feature that takes a screenshot when there is an issue in the application and uploads the screenshot to a server.
I am currently writing a function that uses DrawingCache and saves the view to a bitmap image. Other than this approach, is there a better way to do this? I was wondering whether there is a way to use the Android OS level screenshot capturing mechanism for this?
No. You should only have a screen of your own views, and not other apps nor system status bar. If that is possible, it is a security issue with Android and Google should forbid it.
First of all, let me emphasize that we are not looking for a specific code snippets for a solution. We believe that this problem of ours started with some design flaws. So we are looking for a general direction with which we can start looking for specific methods to solve this issue.
We have an app that has an notice board where admins and users can create threads.
However, we made a thread where people can download our excel template. We posted our link to this excel file like so:
(I apologize for non-English thread as we are located in Korea)
So in this thread page, the image in the middle is the link.
When you tap(click) on this image, a more detailed download page shows up.
When you press the download button, nothing happens. It is supposed to automatically lead to downloading process but it does not.
I suspect that the problem resides in our application structure where whatever a user does in the thread stays in the webview and webview only. Is there any way to make this download take place? The only workaround we found is to press and hold the link button until some options show up and press "open in the browser". However, this is quite inconvenient for normal users and we need to fix this.
Thanks a lot!
I'm trying to build an android app that allows -
Automatically scroll page by page.
Take screenshot after each scroll (and ideally merge all screenshots into one image, if possible) and save the resulting image(s) in an album.
For example - the user opens a very long webpage in the browser, then triggers the app which screenshots the entire webpage automatically by scrolling down and taking screenshots until it reaches the bottom.
There seem to be many libraries to do the screenshot part for React Native but I can't seem to find any for ReactJS. Is it even possible with ReactJS or do I need to learn some other android specific technology to make it happen? I'm a ReactJS and mobile app dev newbie, so I might be missing something obvious.
If I understand well, your Android app is just a webview rendering the React app.
If this is the case, you cannot do anything at React layer. you have to code the logic at native layer (in the native android application).
you can use this package to take screenshot from any pages
"use-react-screenshot"
but this package have some problems. it works by react hooks
or in take screenshot, svg codes not exist in image
When I visit a web page using Android browser I can capture the visible part of the web page making a screenshot of the whole screen, but I need capture the whole web page, including the part of the web page that is outside the screen, I mean, not just the visible part of the page.
What I want is something like the option "Capture Entire Page" of Awesome Screenshot plugin. Pls, exclude all the programming method for do this, I want a already made tool easy to use for a newbie Android. The idea is allow common users reports layout bugs easily. So, what tool can I use to accomplish that?
A VALID REPLY IS SUCH TOOL NOT EXIST, but pls, put some reference.
You can use the Dolphin browser and Screen Cut add-on to capture full webpages on an Android phone. You do not need root access.
You cannot use any standard android method to get screenshot of entire screen (including non visible portion). But if you have root access, you can read the framebuffer to get the entire contents using this method
https://play.google.com/store/apps/details?id=com.leavjenn.longshot
This does exactly what you want. I have tested it.
I'm implementing a screenshot feature for Android 2.3 (I know that ICS has a screenshot feature already). I'm using the Android Screenshot Library (ASL for short) project as a base, and I'm modifying it to suit my needs. I can also freely modify Android's source code for it. The goal is to have something like what the Galaxy Note does: you take a screenshot with a key press combo and then an editor shows up which allows you to change the image however you like. You could take a screenshot anywhere: on the main screen, while using apps, etc.
Right now I have 3 working parts: a native binary that captures the screen buffer, a service that talks to the native binary and retrieves the screenshot, and the editor. But I'm not sure how I could join the 3 things together. The native binary can be added to the Android prebuilt part and init.rc can be modified to execute it as root when booting (I still have to do this though). The editor is a simple app that can be included in Android as well. But I still can't figure out what to do with the service.
Ideally I'd like to capture a key press combo (say power button and volume down, or maybe two of the front buttons), which would trigger the service. The service would then call the binary to take a screenshot and launch an intent to open the editor with the screenshot. However, as far as I know a service cannot catch key presses. Besides, the service has to be bound somewhere in order to know when it has to take a screenshot, so I guess that I should modify Android itself to start the service and bind to it at startup, but the documentation regarding Android source code is lacking and I have no clue where to start looking.
Does anyone know what component of Android is in charge of the key presses, and where I should bind my service? Is my approach even possible at all?
Thank you in advance for any possible help.
Take a look here. It suggest using the camera button, which is certainly better than overloading other system buttons.