Code Monkey home page Code Monkey logo

pict2cam's Introduction

Pict2Cam

Latest release

What is this?

Pict2Cam is an Android fake camera app written in Kotlin that you can use to pick images from your device and feed them to an external camera request. This means that you can provide any image in your device to apps that require you to take photos from a camera app.

Requirements

Features

The app provides the following features:

  • Pick any image from your device when apps want to use a camera app
  • Crop picked images before feeding them to the app that requires a camera app

Downloads

You can get it from Google Play, HUAWEI AppGallery or grab the latest stable or bleeding edge release from the Releases page.

Get it on Google Play Explore it on HUAWEI AppGallery

Contributing

Refer to the contributing guide if you want to contribute to the project!

Attributions

  • Some of the vector assets in the project are modified versions of vectors that you can find in the FreeVector website. Make sure to check them out!

License

Copyright (C) 2020 Adrián García

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

pict2cam's People

Contributors

adriangl avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pict2cam's Issues

HELP!!

I need a virtual camera to override the system camera on android 11+ phone to stream frames that are sourced from an image file. Basically injecting image into the camera device.

I have both root access and unlocked bootloader on my phone.

Any Ideas?

Exif data is lost

When I use pict2cam all exif data on the selected image is lost ...

  • Android 10
  • pict2cam: 1.0.67

Steps to reproduce

  1. set pict2cam as default camera app
  2. select a picture which has exif data contained
  3. inspect the returned picture and see all exif data removed ...

Increase crop area to full image

Summary and context of the enhancement
Check if we can increase the crop area to the whole image as soon as the image is selected instead of showing a cropped area.

App is not working with uber &left

Hello brother'
Your app work very good .but The big fat issue is . Its not working with some apps at all like uber driver and left and bolt driver these apps direct open the camera and seem to ignore giving me a choice .
Do u have any idea what might be the issue ?

Add support to apps that use deprecated file:// Uris to request images

SW details (please complete the following information):

  • Android 10

Summary and background of the bug
The app does not behave as expected when calling apps use file:// Uris, failing the import of images.
This is caused

Steps to reproduce
Steps to reproduce the behavior:

  1. Open the calling app
  2. Request a capture intent
  3. Select the photo

Expected behavior
The app should display the crop activity and work OK.

Current behavior
The app fails silently with a FileNotFoundException EACCES error.

Additional context
Apps should start migration to Scoped Storage and FileProviders to provide a properly scoped content:// Uri that allows Pict2Cam to work as expected from Android 10 onwards.
Since I cannot enforce every developer in the world to do this, a solution from this side could be to enable the requestLegacyExternalStorage in AndroidManifest of Pict2Cam to keep the support for file:// Uris, there shouldn't be an issue since the app is stuck in target SDK Version 29 🤷.

Send picture to Whatsapp Camera

Hi.

I want to automate the whatsapp qrcode scanner (Adding Devices).
So what I need is send to whatsapp camera the content of qrcode (which i already have).
I have both (image and string content).

Is it possible using pict2cam?
Thanks.

Android 11+

Any leads on a similar feature for Android 11+?

Front Camera

Summary and context of the enhancement
Exact same features but for front camera(selfie/the one literally on the top of the screen. NOT THE BACK camera.). Notice it work for main camera but when I tried to use main camera I didn't get the option to choose from using pict2cam / camera. Why? Open more availability for using this app. So far didn't see an app can do front camera...

Suggested implementation
Not programmer. I guess exact same thing but open another method when front camera being called, add pict2cam into it?? sorry not really teach person.

Additional documentation
I have none I dont know. U mean the demand of this feature? google reddit front fake camera/xda/forums probably have tons.

The application did not provide a file to write to

SW details (please complete the following information):

  • IDE version: not applicable, using release version
  • App Version: release 1.0.62

Summary and background of the bug
When I use that with Mon Allianz Mobile, the app

Steps to reproduce
Not reproducible unless you live in France, have a car insurance contract with Allianz and a kilometric tracing to send.

Expected behavior
The apps works normally and let me choose a picture, which will be used as a camera output

Current behavior
When I go in Allianz, click the "Upload picture" button and select pict2cam, I have a toast saying "The application did not provide a file to write to"

Additional context
Android 9 Pie

For Android 11 [root needed]

To use this app for android 11 you will need root.

install this app as system-priv & there you have it.

android 11 gives option only to pre-installed system camera apps.

Pic2Cam is not working on Samsung Galaxy S9 Android 10

I have a Samsung Galaxy S9 rooted with Magisk Canary running stock android 10. The android security patch level is "March 1, 2022."

I downloaded pic2cam and made a system app by moving in to "system-priv" and made sure it has proper permission by allowing access to "storage."

I then open my browser and went to webcamtoy.com and it doesn't prompt to choose camera or select the image for the camera.

Its the same issue when I try it with other apps. It doesn't prompt to select camera or choose picture as camera.

In settings for the camera app I am not able to change the default camera to pic2cam as its grayed out.

Any help is greatly appreciated!

Screenshot_20231007-163609_Settings

Uploading Screenshot_20231007-165635_Settings.jpg…

Research video picking

Summary and context of the enhancement
Some Google Play reviews mentioned that they'd like to also pick videos from the phone's memory. Research if this could be feasible with Intents and implement a solution for this.

Not working on some app - App those use custom camera

Summary and context of the enhancement
I was using a barcode scanner app(It's my company app) In the old version of my company app was working with pict2cam perfectly but now they use a custom camera maybe using CameraX. Now when click on the camera button camera will open without any popup. Can you fix it or maybe provide a solution?

I'm using android 8.1
I also tried with an android emulator with android 7.0+7.1

make this app work with xposed module

Summary and context of the enhancement
make the app work with Android 11+ devices with root and xposed

Suggested implementation
the app can disable the security features of Android using the power of xposed module

Pic2cam apk

Hello! I am using redme 9c.pic2cam apk not working in my cellphone.please resolve my issue.

Please provide a signed APK

Could you please attach a signed APK to your releases? App bundles are non-trivial for the average user – and Play Store a no-go for the privacy-focused 😉

Speaking of the latter: Applying for inclusion at F-Droid might be a good idea 😃

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.