Is it possible to discover if picture was taken? - android

I would like to discover that picture was taken by default camera app. Just like Google plus discovers it and upload it to server. I failed in finding it in documentation. Does anybody have a hint where to find this kind of information?

You can have 2 things as far as I know
An intent when media is added, which is the below I believe. I'm not really sure how much use it is in all cases, you should have to try it out :)
Intent.ACTION_MEDIA_SCANNER_SCAN_FILE
You can keep an eye on the special kind of content you wish to know about when it changes. See for an exmple here: http://mylifewithandroid.blogspot.nl/2008/03/observing-content.html

Related

Create Pop-Up on camera while touching the camera using React-Native

I'm really new with React-Native and I'm not a front-end developer. That's why I don't know if it's possible to do what I'm asking.
I saw some apps, like Wikitude or NearestWiki, which have like pop ups in the camera while pointing with the camera to something.
I find it pretty amazing. I'm just wondering if it would be possible to make something like that with React-Native, but instead of giving the pop-up direct from backend, permitting that the user could "post" something and that other people that are near can see it with the camera. I mean, the user touch the screen, and can write something and when the post is saved, other people with the same app, can see the post of the first user in that place.
It would be quite funny. But I don't know if that's possible. And if that's possible, I would like to know, how.
Maybe someone knows a library or module that permits something like that. Or maybe someone can tell me how could I search for it, or give me some advice how could I start to write it.
I already solved the geolocation problem, that an user could open his camera, etc... but it remains the core, that the user could touch the screen and add a post, and then show it to other users.
I would be pretty glad if someone can at least tell me where to search.
From my experience of React Native so far I would have avoided it, but it seems there's a few others that think along the same lines. There's a similar question here that has some useful info, though it's a little out of date. A quick google search for "augmented reality react native" will bring up a few handy pages like this one.
Hope that helps, please let me know if you find anything that works!

Want my app to export data into html file

It's late and my brain can't even think of the proper things to search for to find the help I need.
Here's what I'm aiming for:
My app takes in a bunch of data from the user. Specifically sizes for windows and doors around a house. My app takes all that data and determines how much material is required, etc.
Here's where I'm stuck:
What I'd like to do is turn that all into a fancy looking report and offer the user the ability to print it. I figured the easiest way to do that would be to generate a report using HTML (or PDF) and have it open up in a web browser, which already has print capabilities.
Can anyone tell me if this seems like a good strategy for what I'm trying accomplish? And if so, point me in the right direction (or to the exact same questions that's already been answered somewhere on this forum).
Thanks.

Android Login/Sign Up Example

I am trying to create an application which would require a Registration+Login system.
I want the Registration part to use the user's photo, their email id and their full name as inputs.
I have tried playing around with several existing examples over the internet such as :
http://www.tutorialspoint.com/android/android_sqlite_database.html
however none seem to work in my favour.
Based on my custom requirements for the Login+Registration page, could you please suggest some good tutorials/examples for me to look at?
Thank you,
Abhi

Android: Continually Listen in Background for Camera Taking Photo

I'm very new to Android development (think started yesterday) and in my application I'm trying to listen for when the camera is used to take a picture. Also, I need to listen for this action all the time such that my application can "close", but it'll still be listening in the background for when the camera takes an image (my application will execute almost entirely in the background once it's setup initially). Anyway, I've been doing a ton of reading and searching online and such and I've found that the best way, probably, to do this is to use a BroadcastReceiver, but what I've not seen is a good example of setting something like this up. I'm actually just very confused how to set up the BroadcastReceiver and how to start it working. Could someone provide me with a good example of how this should be done? Has anyone ever used something like this to listen for the camera taking a picture? Will this method work for me even if the application is "closed"?
Thanks in advance for any help you can provide!
Check this article out. It explains usage of the different available sensors their listeners and how to tap into them. It isn't explicitly giving you code for you camera but should be enough to jump start your progress provided you know the basics.

Image Recognition for Android/iPhone

I'm looking at developing an app that could benefit from having a image recognition system. I've seen this sort of thing in iPhone and Android apps. Take a picture of a book and the app takes you to Amazon where you can find that book. I'm not looking for general image recognition, but more the ability to pick a single image out of a library of about 10k images.
Any ideas of what services are available for this sort of thing?
Google Goggles does something similar to Amazon Remembers. It uses OCR if text can be identified and they want to use it with the similar image search from Google Images. I think they generate some kind of hash for an image with the feature that if the images are similar the images are similar to.
My best guess would be try to start with the character recognition and do a text search for the title of your card. This means your user has to make a very clear image maybe even in a specific position. But for a first application this would be great already. As somebody playing magic I would buy the tool for trading and cataloging my cards.
Actually, while short of getting an actual Amazon employee to tell you there is no way to confirm this, I am fairly certain that the Amazon Remembers feature you refer to is actually the work of crowd sourcing- using lots of people combing through data to make it appear like a computer is doing it. I think they may actually be using there own Mechanical Turk system.
Edit: Also, I found this SO question that might interest you. It is specifically for playing cards, but some of the answers (such as the machine learning example) can be modified to be more helpful for what you want to do with magic cards.

Categories

Resources