Get notification when user saves new photo in gallery [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Idea of app: it is something like Google Photos.
App which listens when user take a photo with his camera app, and send this photo to server.
How can we know when user take a photo? I think that it is something like Listener "onUserTookPhotoListener", isn't it?
Infinity cycle checking gallery on background?

You can use FileObserver. It works for files and directories. You will need to implement service though.
Please take a look at questions and answers that can be helpful:
First
Second

Related

How i can automaticcly turn on location? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
want to automatically turn on geolocation?
thanks all
I want to automatically turn on geolocation.
Sorry, but you can't.
The device belongs to the user, and you can only turn geolocation with the user's permission, as granted (or denied) by that prompt.
The best you can do is to display a message to the user telling them that your app cannot run unless they enable geolocation. However, it is their choice to enable it, or not.
You can do something like the user can't use the app until you get their location.

Access app by face recognition [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make an app which will check the face of the user by using the front camera the first time it is launched and then save how that face looks.
After that, every time someone starts the app it will check if his or her face is similar to the one that the app saved on its first launch, and if it's similar, proceed, if not, quit.
I know that there is face recognition unlock for Android, so I hope it's possible.

How to add my app icon in contact list of users' android phone [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just finished the development of my app. Its a chat app. Now i want to add my app icon in contact list of phone like Facebook, Google and Whatsapp icon is there. I want exactly like this:
Means if anybody from my contacts is using my app, icon of my app should be visible with the name in my contacts list. If anybody has any idea, please help me to do this.
thanks in advance :)
I believe for applications to show up in Contacts like the above example, they must also be added in the 'Accounts' section in the settings menu on Android.
You can find more about how exactly to do that here:
http://developer.android.com/reference/android/accounts/package-summary.html

Can anyone know how to post a photo as a comment on facebook using android? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Face book recently gave the facility to do comments as photos . I'm currently developing a android application to do this photo-commenting . can anyone give a good solution for it?
Use the Facebook Graph API, you can add an attachment in the form of an image url see :
https://developers.facebook.com/docs/graph-api/reference/comment
Send a request and add additionnal parameter (in this case an image src)
You might want to publish a photo first, if so have a look at :
https://developers.facebook.com/docs/graph-api/reference/user/photos/#publish

Create a tutorial for my app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create a tutorial for my app that will show the user how to use it. For example when you first run an android device it teaches you how to use the system.
I want my tutorial to just tell the user to swipe the screen to the left and then click on a button.
Check out the ShowcaseView library on Github. I guess that'll fit your needs.

Categories