This question already has answers here:
Prevent screen capture in an iOS app
(9 answers)
Closed 5 years ago.
HI I am developing an app using Xamarin Forms PCL project. I want to restrict user from taking screenshot in my ios app . How can I prevent user from taking screenshot?
As far as I'm aware you can't prevent screenshots, using xamarin won't change anything about this. But you can detect them (like snapchat does) see.
It is impossible to prevent user from taking screenshots in iOS (as far as I know), currently. The operating system itself only can restrict users from taking screenshots, currently (also).
Still you can do something to make the process of taking screenshots harder. Users need to press the sleep/wake button and the home button in order to take screenshots and it needs both hands. So you can implement a way to show the data only when the user touches someplace in the screen. Such a mechanism would be great in this case.
Related
This question already has answers here:
How to change the App name in Xamarin.Forms?
(2 answers)
Closed 1 year ago.
I am writing my first Xamarin Forms app. I did a couple of false starts and experiments. I now have a pretty good version, but I called it MyApp_Test3. I don't mind that as an internal name in the code, but when it installs that becomes the external name in the Apps folder and so forth. I want it to be just plain MyApp. Exactly which Property controls the installed external name of the App, and is there any other Property or similar that has to stay synchronized? I'm afraid to just hack and experiment because I am afraid of making a mess of things.
on iOS, it in the BundleName and BundleDisplayName in info.plist
on Android, it is the Application Name in AndroidManifest.xml
I am developing a windows phone app that uses users current location, I am making the app in 7 OS. My question is, Can I track the location in background, that is when the screen is locked?
I know this is a possibility in wp8 as it provides us with GeoLocator class, but can I achieve this in wp7? I am basically making a runtracker app hence I would like my app to track the location even when its in background, is it really feasible?
Your help is always appreciated!!
It is possible to keep the app running under lock screen, as it does, for example, Endomondo app.
Using Idle Detection, you can keep the app on, although screen is locked, and you can keep on tracking the location. Actually, it is not running in background, but in the foreground. Just the screen is locked. So, be careful not to drain user's battery.
You have to set the PhoneApplicationService.ApplicationIdleDetectionMode property to Disabled, for example in InitializePhoneApplication() method in App.xaml.cs:
PhoneApplicationService.Current.ApplicationIdleDetectionMode = IdleDetectionMode.Disabled;
Note that there are special certification requirements for this type of apps. Refer to section 6.3 (Apps running under a locked screen) of the following page:
Additional requirements for specific app types for Windows Phone
I got the same problem in one on my apps..
I don't think it' s feasible for wp7..
Bt if you want to do it with wp8 you can refer following link.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681691%28v=vs.105%29.aspx
And to know about background supported and unsupported API's http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202942%28v=vs.105%29.aspx/css
GeoCoordinateWatcher Class exists in WP7, but here is the documentation from MSDN -
This API, used for obtaining the geographic coordinates of the device,
is supported for use in background agents, but it uses a cached
location value instead of real-time data. The cached location value is
updated by the device every 15 minutes.
More Info : http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202962%28v=vs.105%29.aspx/css
I am programming an app for an experiment by the University of Queensland Psych Department. The app needs to be impossible to exit, or at least it would be preferable if it were impossible to exit. This is not a virus- it is for an experiment with the Grute Eylandt Aborigines. Anyways, do any of you guys have any idea how to set the app to be impossible to exit, or even better, to set it so that you have to enter a password to exit it? Furthermore, on a separate subject, do you guys have any idea how I can save the information in the app to the iPhone? This app will not go through the App Store so it does not need to follow App Store rules. Therefore, if there was a way to save "Button (whatever button it is) pushed at (time and date)" to the notes section of the iPhone every time a button was pushed in the app, and/or to save audio recorded using the AudioToolbox framework to the actual iPod library, that would be fantastic. Otherwise I would have to make some sort of db or plist file to save everything with if-then statements, I think. Thank you!
Check-out iOS 6 Accessibility feature:
It allows a parent, teacher, or administrator to limit an iOS device
to one app by disabling the Home button, as well as restrict touch
input on certain areas of the screen
Put the device in a "kiosk" case so keep the home button from being pressed. For storing the data to the device, if it is a small amount of data, use NSUserDefaults, if this will be a large amount of data, I would lean more toward Core Data
Easiest solution on the market -- MOKIMOBILITY has developed software that allows you to lock the home button. It is Mobile Device Management software with a full range of security features. It essentially locks down your iPad so the user is only able to use what you what them to use. It is called +MDM www.mokimobility.com The software can be managed mobile-y from a central interface. Slick software.
This question already has answers here:
Is there a possible way to create screenshots of the whole screen out of a firefox extension?
(3 answers)
Closed 8 years ago.
Awesome screenshot is a great tool and I'am using it for google chrome.
Now, I would like to shot the devtool too which is part of the google chrome browser, but using Awesome screenshot is not possible.
Look to this image
Are there other plugins/browser (firefox/firebug) able to make this job?
Thanks.
P.S.
The goal of Awesome screenshot is not to make just a screenshot, but to share very easly this sreenshot in the web with other web developers for example.
I think your question is "how am I able to take a screenshot of the dev tool in the current browser?", you could just do a simple Print screen and paste it into photoshop or fireworks.
Chrome allows to make screenshots of webpages. Bookmarks panel / developer tools window are not part of a webpage so they won't appear on a screenshot.
There is a brand new developer tools API that allows to extend developer tools panel. It may be possible to create an extension that does screenshot from inside the devtools window then combines it with a screenshot of a webpage. But it seems complicated.
If possible, simply use some external tool to do a screenshot of whole browser window.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Detecting iPad 3 vs iPad 2 device?
Programmatically detect an iPad 3 (HD)?
I am making an iPad app and want to know if the app is running in an iPad 2 or 3 so accordingly I can perform some action.
What would be the best way to find this?
I am currently using
NSString *platform = [[UIDevice currentDevice] platformString];
But it returns "Unknown iPad" when I run on iPad 3.
It's generally best to check for the device features you're interested in rather than looking for a specific model of device. Apple recommends this, and for good reason: if you design for features of the new iPad, your customers won't be happy if Apple releases another device with those features and your app doesn't support them.
If you need to determine whether you're on an iPad, check UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad. If you need to see if you have a Retina display, check [UIScreen mainScreen].scale. Combine the two and you can find out if you're on an iPad with Retina display.
If you need other features specific to the new iPad, look in the API for those features: AV Foundation can tell you about the capabilities of the built-in camera, for example. There's probably some way to check for LTE, too, but I'm not aware of it.