fossasia / phimpme-android

Phimp.me Photo Imaging and Picture Editor https://play.google.com/store/apps/details?id=org.fossasia.phimpme
GNU General Public License v3.0
2.58k stars 934 forks source link

Phimp.me Android

Phimp.me is an Android image editor app that aims to replace proprietary photographing and image apps on smart phones. It offers features such as taking photos, adding filters, editing images and uploading them to social networks. Phimp.me stands for Photos - Images - Pictures. It is developed at FOSSASIA together with a global community.

Master Development Codecov Code Quality Chat Twitter
Build Status Build Status codecov Codacy Badge Gitter Room Twitter Follow

Download from Play Store

Screenshots

Do you have many different apps on your Android Phone for the purpose of clicking, editing and sharing images? Hey, guess what, now you don't need all of those because Phimp.me is here, with all the features packaged into one. So go and clean your phone memory to save your space for other useful purposes.

Features

How to Contribute

This is an Open Source project and we would be happy to see contributors who report bugs and file feature requests by submitting pull requests as well.This project adheres to the Contributor Covenant. By participating, you are expected to uphold this code style. Please report issues here https://github.com/fossasia/phimpme-android/issues

Branch Policy

We have the following branches

Development Setup

Before you begin, you should have already downloaded the Android Studio SDK and set it up correctly. You can find a guide on how to do this here: Setting up Android Studio

Setting up the Android Project

  1. Download the phimpme-android project source. You can do this either by forking and cloning the repository (recommended if you plan on pushing changes) or by downloading it as a ZIP file and extracting it.

  2. Install the NDK in Android Studio.

  3. Open Android Studio, you will see a Welcome to Android window. Under Quick Start, select Import Project (Eclipse ADT, Gradle, etc.)

  4. Navigate to the directory where you saved the phimpme-android project, select the root folder of the project (the folder named "phimpme-android"), and hit OK. Android Studio should now begin building the project with Gradle.

  5. Once this process is complete and Android Studio opens, check the Console for any build errors.

    • Note: If you receive a Gradle sync error titled, "failed to find ...", you should click on the link below the error message (if available) that says Install missing platform(s) and sync project and allow Android studio to fetch you what is missing.
  6. Download this OpenCV-android-sdk zip file and extract it.

    • Copy all the files from "OpenCV-android-sdk/sdk/native/3rdparty" to "phimpme-android/app/src/main/3rdparty" (create directory if it doesn't exist)

    • Copy all the files from "OpenCV-android-sdk/sdk/native/libs" to "phimpme-android/app/src/main/jniLibs" (create directory if it doesn't exist)

    • Copy all the files from "OpenCV-android-sdk/sdk/native/jni/include" to "phimpme-android/app/src/main/jni/include" (create directory if it doesn't exist)

    • Copy all the files from "OpenCV-android-sdk/sdk/native/staticlibs" to "phimpme-android/app/src/main/staticlibs" (create directory if it doesn't exist)

    • Now build your project. If your build fails then try deleting these build directories "phimpme-android/app/.externalNativeBuild" and "phimpme-android/app/build", if they exist and run the build again.

    • Note: If you receive a Gradle sync error titled, "executing external native build for ndkBuild ...User\Project\phimpme-android\app\src\main\jni\Android.mk",Then you go to the file "app/build.gradle" and make those lines "externalNativeBuild { ndkBuild { path 'src/main/jni/Android.mk' }" comment.

  7. If build error still persist, try replacing ndk with ndk version 18b from ndk-archives . Once all build errors have been resolved, you should be all set to build the app and test it.

  8. To Build the app, go to Build > Make Project (or alternatively press the Make Project icon in the toolbar).

  9. If the app was built successfully, you can test it by running it on either a real device or an emulated one by going to Run > Run 'app' or pressing the Run icon in the toolbar.

  10. To enable the sharing features to a different account, add API_KEY/ APP_ID associated with accounts. Add the Keys in constant.java and strings.xml. Following are the links to developer pages of account. Go there to create apps and get keys.

License

This project is currently licensed under the GNU General Public License v3. A copy of LICENSE is to be present along with the source code. To obtain the software under a different license, please contact FOSSASIA.