Google Project Tango: Geometry won't show up? - android

I'm sorry if this isn't the right place to ask, but I can't find anywhere else. let me know if there's somewhere else more appropriate.
Anyway, I'm just starting to work with Google Project Tango. I'm just testing, so I've set everything up as Google's guide asked, and placed a simple cube in the scene. It built and installed on the device just fine, and the tracking and everything works, but no geometry shows up.
I've tried a lot of things, changing settings, changing geometry, changing cameras entirely. But none of that has worked. I just can't get any geometry to show up.
Anyone have any idea of what might be causing this? I don't get any errors either... Bleh.
Thanks for your help!
-Ally

Related

Recent API information on opening a camera in Android Studio (Kotlin)

This might come off as a weird post, because I don't directly want answers to how to fix this just yet. Over the past few weeks now I've been searching for good tutorials/information on opening the camera in Android Studio Kotlin with a button and having it ask for permission and all that jazz and allow you to take a picture and save it to the app, not the camera roll (I want to use the picture in several places of the app, and having it in the camera roll is not needed and also just takes up space). As of now I've tried several YouTube tutorials, and tried a few different ways that have been posted over the years but it seems most don't work and are severely outdated. I don't know if I'm implementing them wrong, which is very possible, I'm not well versed in Android Studio, and have been trying to learn. However most of the times the button just ends up not working, sometimes it doesn't do anything, sometimes it ends up crashing depending on which tutorial I use to help, or whatnot. I'm mainly here asking if anyone has any updated sources that I can look towards and at this point I will take anything, API Pages, YouTube, another Forum, anything that can point me in the right direction for this is insanely appreciated, the only thing I don't want is direct answers because I do want to be able to learn from this experience and hopefully be able to move forward with it without having to use a tutorial every time in the future, and direct answers aren't really going to help me achieve that.
I've tried to use several different ways to open the android camera, ask permission, and take a picture. So far the farthest I've gotten is it crashing, but most often it just doesn't do anything when said button is pushed. I even went for a more direct approach originally, eliminating the button as a whole and using just the navigation bar, but that went about as well as anything else did. Over this time I've tried maybe half a dozen or more tutorials and/or posts on another sites and stack overflow, and not only are each a different way, they're either many years old or using deprecated ways to complete the objective, and none seem to work. From this I would greatly appreciate just a link to a more up to date spot to learn how to use the camera.

Alternative to VisionKit VNDocumentCameraViewController on Android Platform

I have implemented the VisionKit VNDocumentCameraViewController that is used in the notes application on iPhone .. which works quite well. Takes several picture and then straitens them, But I wonder if there is anything like this control for Android? I have tried to google it, I really have but I just can't find anything that work the same. Do you guys have some experience with this?

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!

Where can I find the source for Android home screen widget layout?

Today I had my first time with Android 4.2, and I noticed how the home screen automatically repositions widgets as you drag them:
I recently worked on a similar code for our project, and I have to admit its performance is much worse. My algorithm is really stupid, and I'm looking for better alternatives. This is the closest one I've found yet, but I haven't tested it yet.
From my understanding, this is related to bin packing, but bin packing algorithms focus on putting rectangles as close to each other as possible, while Android implementation focuses on making as few changes as possible from the initial configuration, and thus is aesthetically pleasing.
Because Android is open source, I hoped to learn from their code, but I can't find anything related to laying out rectangles in android.appwidget. What is the right place to look at?
I'm not 100% sure but it looks like CellLayout.java from Launcher2 is reponsible for this.

Indoor positioning system in android

I would like to ask a question regarding redpin indoor positioning system on android. I read somewhere stackoverflow about redpin and visited their website. From there i followed their instructions on how to set up redpin on android, but i only get a red dot pointing on the top left corner of the map i uploaded. I would like to know if anyone has successfully gotten redpin to work for android and assist me in doing so?....or maybe can tell me what am I doing wrong. Sorry to ask, I am very new at this, thank you.
For what I could experiment, it doesn't really work at first, probably because of the lack of fingerprints or something like that.
But when you have added quite a few locations, and try again to take locate, it starts pointing at a particular location.
For what I could notice, it works well on android 2.2, but there is some debug to do on 4.1 and 4.2 for it to work fine.
I hope this will help
U would better read about INS (inertial navigation system), it is a navigation system that uses your phone sensors for calculation your position.
It happens to me as well, but which is not an error, and I guess it's just a failure of updating. Press the redpin image, if it can start the measurement, then it works well.

Categories

Resources