Taking picture with front and rear cam - Java for Android App Development

I'm trying to make an app that takes a picture using the front and the rear camera in one picture.
This is kinda how it would look.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've read http://developer.android.com/reference/android/hardware/Camera.html and searched and really couldn't find anything on the subject but I know I saw on the app store of other apps like this.

In my first i made, which was by following a book, the background also got the camera picture, like your r part. I think to remember that a surfaceView was used to do so
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk

Masrepus said:
In my first i made, which was by following a book, the background also got the camera picture, like your r part. I think to remember that a surfaceView was used to do so
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk
Click to expand...
Click to collapse
What do you mean? You mean like the the background and the apps got in the picture?
I'm trying to make something similar to this
https://play.google.com/store/apps/details?id=com.behind.the.camera&hl=en
he got it to work

Ah okay i see
Well, a SurfaceView is just an element that can be used for your app layout, like a text box which is also a layout element. So you can put one of those to fill yoir entire app screen and then another one that you put on top of the background one. But how exactly you get the camera picture into the SurfaceView i dont remember. But i am 100% sure that this kind of view was used. Then to take the two photos, you just have to do it shortly after each other, as the com.behind.the.camera decription says.
---------------------------------
Phone : My new Nexus 4!
OS:
Pure KitKat 4.4.2 stock, no root, no mods (but only for the first time ;D)
---------------------------------
Gesendet von Tapatalk

Related

[My new APP] AirDraw - draw your text in the air by waving your phone !

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hey,
Just finished developing another app.
This time it's AirDraw.
What it actually does is flashes the letters of a word that you enter according to your phone location when you are waving it.
The outcome is like you are drawing in the air.
Its downloadable via Google Play for free (a little admob ad is inside, thats the reason it needs an internet access permission)
https://play.google.com/store/apps/details?id=com.ValkA.airdraw
here is a slow shutter photo I shot while waving the phone (thats on LCD, which isn't that good for that purpose):
If you like it you are welcome to Like my facebook page.
ps.
notice that the app is at early stage, so any ideas are welcome !
LCD has slow response time, but AMOLED should be better.
I haven't tried that on AMOLED display so i'll be happy to hear about your experience, if possible some slow shutter photos are very welcome and will very help me to improving the algorithms.
Does it have to have full network access?
Sent from my Galaxy Nexus using Tapatalk 4 Beta
In super amoled it works perfectly
Inviato dal mio GT-I9070 con Tapatalk 2
It worked really well, some improvements could be made into visibility and sometimes it turned a word around but further it worked flawless
sent from my Xperia Ray using tapatalk 3
matgras said:
It worked really well, some improvements could be made into visibility and sometimes it turned a word around but further it worked flawless
sent from my Xperia Ray using tapatalk 3
Click to expand...
Click to collapse
I know that issue, shouldn't be a problem to fix it in the next updates.
bleeeeeeek, it needs internet access only to show an AD (that is my motivation to keep developing free apps)

Tabs inside tabs

Hi everyone!!
I have the first level of tab done with FragmentTabHost in FragmentActivity, now I want do the second level(tabs inside tab). What is the best way to do it?
Something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Why would you want to do this? It seems a bit weird, mainly because it takes up a lot of screen real estate.
I'm guessing there's a better way of implementing whatever it is that you're trying to do .
bassie1995 said:
Why would you want to do this? It seems a bit weird, mainly because it takes up a lot of screen real estate.
I'm guessing there's a better way of implementing whatever it is that you're trying to do .
Click to expand...
Click to collapse
I totally agree.
I found this video from the last Google I/O very helpful, when I had to make decisions regarding navigation: http://youtu.be/XpqyiBR0lJ4
nikwen said:
I totally agree.
I found this video from the last Google I/O very helpful, when I had to make decisions regarding navigation: http://youtu.be/XpqyiBR0lJ4
Click to expand...
Click to collapse
Yep, lots of good ways. I'll have to take a look at that as well!
Sent from my GT-I9300 using Tapatalk 4
Worst design pattern ever. That would confuse users so much
If you really need this kind of nested navigation, I guess the right way would be to replace your 2nd tab host with a Spinner allowing to change the fragment in the current tab, with a FragmentTransaction.
(Although I'm pretty sure you can avoid this pattern in most cases if you really think about it).
op pls respond
Sent from my GT-I9300 using Tapatalk 4
I chose to put a spinner in ActionBar instead of the first tabhost. Much cleaner now
Thanks
avlisF said:
I chose to put a spinner in ActionBar instead of the first tabhost. Much cleaner now
Thanks
Click to expand...
Click to collapse
Makes sense.
And it consumes less space.

[APP] VSCO Cam - Camera app

I now read about this app in a Phonearena article. Does anyone with a Nexus 5 want to try it ?
Just wanted to let you all know about this app.
https://play.google.com/store/apps/details?id=com.vsco.cam
http://www.phonearena.com/news/One-of-iOS-finest-photography-apps-VSCO-Cam-is-now-on-Android_id49979
Just tried it. It's alright. Not a lot of options in the camera itself. You have to go into the apps gallery to edit the photos, as well as export them into the main gallery of the device. Images look decent and capture seems quicker than stock.
Love it so far. A good amount of filters and plenty of tweaks. Played with it for a couple minutes at the bar last night and was satisfied with what I got: http://imgur.com/ml4deJx
It's a pretty nice app. The design has a slight learning curve as it's not quite holo and the back button behavior needs to be fixed. But the filters are excellent. They are much less destructive than the ones you see in instragram et al. VSCO has a very good reputation making pro level Lightroom presets which emulate specific film types.
Where is the zoom??? I didn't play w/ it much before I uninstalled, but I'll be damned if I could figure out how to zoom. I've tried a few cam apps so far, but still like stock better than this one........JMO.
mad4some said:
Where is the zoom??? I didn't play w/ it much before I uninstalled, but I'll be damned if I could figure out how to zoom. I've tried a few cam apps so far, but still like stock better than this one........JMO.
Click to expand...
Click to collapse
Just crop the photo after shooting. That is all digital zoom does anyway.
Anybody else have the problem where after you export an image to the gallery, the gallery crashes until you delete the image via a file browser?
I dont get similar quality as with stock cam. Its worse compared to it. Am i doing something wrong?
Vsco cam
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Stock cam
Gesendet von meinem Nexus 5 mit Tapatalk
Vsco
Stock
edit:
sadly tapatalk has too much compression in uploading pictures. u cant see the real difference in here
stock is much more sharper with nearly no noise. i have very much noise with this vsco app and cant get rid of it in the options

[Q] While fixing my screen I broke this, phone still working

So my phone's screen was not working. I bought a new screen and while installing it I accidentally broke the part highlighted below on my motherboard. Can anyone tell me what this part is.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have reassembled it and it is working as expected, but I just wanted to check what I have damaged.
I think that's for the NFC? Don't quote me but I believe it would be so since the back over has the contacts. I could be wrong though
Sent from my Nexus 4 using Tapatalk
xSharpi said:
I think that's for the NFC? Don't quote me but I believe it would be so since the back over has the contacts. I could be wrong though
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I don't think so. Take a look at this photo from iFixit's Nexus 4 teardown. From what I've understood, those four squared contacts in the middle on the left side are for NFC. Furthermore, looking at the other contacts in the back, I doubt the highlighted part is a contact.
NB: Red parts should be links, but I haven't reached my 10-post minimum yet. I'll fix it asap but for now just search 'iFixit Nexus 4 Teardown' on Google and scroll down to step 8, it's the first photo.
Sorry for quoting anyway buddy..
Waterdroid said:
I don't think so. Take a look at this photo from iFixit's Nexus 4 teardown. From what I've understood, those four squared contacts in the middle on the left side are for NFC. Furthermore, looking at the other contacts in the back, I doubt the highlighted part is a contact.
NB: Red parts should be links, but I haven't reached my 10-post minimum yet. I'll fix it asap but for now just search 'iFixit Nexus 4 Teardown' on Google and scroll down to step 8, it's the first photo.
Sorry for quoting anyway buddy..
Click to expand...
Click to collapse
It's cool and now I know what that's for
Sent from my SM-T310 using Tapatalk
you highlighted nexus 4 internal earpiece speaker contacts

[Q] Paranoid Android 4.2 - no ROM settings

Hi, I flashed "pa_mako-4.2-BETA2-20140325.zip" to my Nexus 4, but in settings I can not find any ROM settings. E.g. settings on this video: http://forum.xda-developers.com/showpost.php?p=34799063&postcount=2 (PA3+ review).
May I flash any more or install any external APK to get them? E.g. I mean UI settings (tablet, stock, phablet, ...), but all settings that are at time 0:13 I can not find.
Screen of my settings & about phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks for helping.
That video is from the previous android version of paranoid android they've update to 4.4.2 and are redoing all of their customization to better fit kitkats design UI. Just wait and they'll be added (pie already has I think, halos gone its going to be replaced by hover ( no idea what it will be) they've also added peek). Don't think tablet UI will ever be available again googles deleted the code from android to create better consistency across tablets and phones. If you want those features flash the 4.3 version of paranoid android. Their change log is located here read it and it'll tell you what's happening with features.
Sent from my Nexus 4 using Tapatalk
Just lol
Sent from my Nexus 4
1Chef said:
That video is from the previous android version of paranoid android they've update to 4.4.2 and are redoing all of their customization to better fit kitkats design UI. Just wait and they'll be added (pie already has I think, halos gone its going to be replaced by hover ( no idea what it will be) they've also added peek). Don't think tablet UI will ever be available again googles deleted the code from android to create better consistency across tablets and phones. If you want those features flash the 4.3 version of paranoid android. Their change log is located here. read it and it'll tell you what's happening with features.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Thank you very much for this info. I will wait for next updates.
sidnoit22 said:
Just lol
Sent from my Nexus 4
Click to expand...
Click to collapse
Thanks for your helpful message. I never had Paranoid ROM before, so I was surprised that it's different than in video review.

Categories

Resources