Advice on developing a android photo vault app - File locking in android - java

I am new to android programming, I have developed 2 very simple apps, one is a weather and other is a story app.
I am planning to develop a app similar to photo vault app.
Similar to this - https://play.google.com/store/apps/details?id=com.enchantedcloud.photovault&hl=en
How complex is this? I am not able to find much information online to develop the app. Is there any way to copy over the files in the photo camera library to a new location and then hide them?
The app should basically do this:
1) Ask for a password, when user opens app. --> Easy DONE
2) Ask user permission to access the camera photo library --> Stuck :(
3) Let user select the pics he wants to copy and hide in the app --> Stuck :(
4) Copy these pics in a secret location? or encrypt them? --> Stuck need help here.
5) Save them and when the user needs access to them, ask for a pass and show them.
I am not planning to support videos yet, just hiding jpegs is good enough.
Any help would be appreciated. Thanks guys.

I have small hack over here. Try to get apk file of the above application and use Java decompiler(Kind of reverese Engineering) Java Decomplier to check what all java files how he organised it and what structure he followed and I am not sure that will decompile resource files even(xml) files. Hope it helps you a bit.

Related

Add a "Share/Send To" capability to an Android app

I am developing an Android app that has the feature of converting a video to an audio file.
I want to add a feature that makes the user able to enter his studio, then when they click on the video-share option (to share the video), to find my application icon at the bottom. Without the need to open the application.
How can I do that?
the answer is this share/receive guide
thanks VC.One that is exactly what i need

How to update android app without google play

I'm developing an android app that won't be downloaded via the Google Play store but instead through an APK listed on my website. I was looking for a way to update this app.
I've done some research and I think the best way would be to run an API at the start of the app that checks the downloaded app's version against the version of the APK listed on the website (at the time of app launch). If the version of the website APK is higher, then I prompt the user for an update. Ideally the API would get the APK itself without the user needing to go to the website.
I have some doubts about this that I hope someone can answer however:
First - Once I download the new APK does the old one get deleted or do I have to do that?
Second - How do I keep User Preferences?
If this isn't the right way to do it I'd appreciate any tips.
If it is the right way and you know of some good resources to build an API like this I'd appreciate those too!

Create Multiple apps of the same project

I have been searching a lot for the best practice for my problem and didn't find anything useful so far.
My problem is:
I have platform that create E-commerce apps for the user and than we publish it for the users on the play store.
NOTE: each app have different name and maybe different google account.
Every time there's bug fix or new feature, we need to copy paste the same code in every project and then upload them again to the store.
My question is:
Is there's smarter way to deal with this ? i mean what if we have 100 app of the same project, that will be pain to update the code in all of them and than upload all APK's again.
Maybe there's way to update the classes and content dynamic ? or even some tool that can organize the whole thing or manage uploading the APK's ?
Thanks in advance.
You don't need to copy paste the same code in every project and you don't even need different google account.There is a process called white labelling apps in which you can manage unlimited apk from a single project. Just add all the clients in product flavours in gradle file with different application id. Follow the link attached for detailed procedure of white labelling
https://proandroiddev.com/advanced-android-flavors-part-1-building-white-label-apps-on-android-ade16af23bcf

How to make a connection to a Google Drive folder using the Drive API

I've searched a lot through the web about this topic (even on StackOverflow), but the questions I was looking at weren't able to help me, so, here it is (Although im very good at it, english is not my native language, so I'm sorry for any mistake made): (SKIP TO EDIT)
I'm making a simple chat program in Java (self learning), and, at first, I wanted to access a file on my computer. I soon found it hard to acomplish, and decided I wanted to access a drive folder on MY account. So, I googled about a possible Google Drive API. And I found it!!!
I downloaded a copy of the API to my PC, and then i went online to know how to use the API, but the README.txt file and the youtube tutorial were not helpful at all, because i could not understand the instructions. I Looked everywhere but still didnt find an easy-to-understand answer.>
So, im asking if any of you could provide a step-by-step tutorial on how i can accomplish my goal. Ive created projects on the API consoles, but im a bit confused on what to do with them (possibly going to delete them).
EDIT/REDO:
I'm making a chat program, and I want EVERY copy of the program to access a folder on my personal Google Drive and get certain files from it, where ever the user is, and without him having to see the OAuth 2.0 Autorization screen(if this last step cant be skipped, I'll work with that too).
The problem is that, although i have checked the README.txt and the youtube tutorial, i still dont understand how to use the API in the way i want.
So, im asking if any of you could provide a step-by-step tutorial on how i can accomplish my goal, i.e, (Some code could be of great use):
1st-Do this;
2nd-Do that;
...
(n steps)-You are ready;
Thank you in advance!!
P.S.: this is my last "free" question, so if this specific question has been answered please comment it out.
To start using Drive API, you may may want to follow and complete the steps given in Java Quickstart.
Then to integrate with the Drive UI, you may want to check the following references:
Enable the Drive Platform - to get started integrating with the Drive UI, you need to enable the Drive API and provide configuration details in your API project. This gives you access to the API as well as access to UI integration features.
Install Your App - Google Drive lets users install an app by approving an OAuth 2.0 access request.
Open Files - this page describes how to integrate your app with these Drive UI features to open files stored in Google Drive
Hope that helps!

File host for android App

I am trying to put the last couple of pieces of the puzzle together for this project for my mobile apps class, and have hit a bit of a wall. Basically this is an application for a fictional restaurant. The restaurant can put things into a menu stored on the web(currently on dropbox) and those items in the file will show up on the mobile app. The customer can then order items from the menu and the restaurant can view these in another file.
I have already finished the desktop application, and the majority of the mobile app. All I have left to do is to download the file from dropbox and use that info to update the variables. The problem is I am having trouble finding a way to download the file to the mobile app without having to log into dropbox every time.
I am new to having to use outside hosting like this, but I do know java pretty well. Any help would be greatly appreciated. Feel free to ask questions as well.

Categories

Resources