Tsahi Barda

13 Added | 2 Magazines | @TsahiBarda | Keep up with Tsahi Barda on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Tsahi Barda”

Android getOrientation Azimuth gets polluted when phone is tilted

I'm having a really annoying problem with a AR view acting like a compass. So when I hold the phone in portrait (so that the screen is pointing to my …

How do I display an alert dialog on Android?

I want to display a dialog/popup window with a message to the user that shows "Are you sure you want to delete this entry?" with one button that says …

Creating Custom Views

Dependencies and prerequisites<p>Android 2.1 (API level 7) or higher<p>You should also read<p>Custom Components<br>• Input Events<br>• Property Animation<br>• Hardware …

יוני פלנר - עתיד האוטומציה

Taking Photos Simply

This lesson teaches you to<p>Request the camera feature<br>• Take a photo with a camera app<br>• Get the thumbnail<br>• Save the full-size photo<br>• Add the photo to a …

OnTouchListener on Activity never calls

I used this code, but when i click on activity at runtime, it never hits in OnTouch() method. Can someone guide me what i am doing wrong? Should i …

How to add Activity to manifest.xml in right way?

should I write each activity in android manifest and how? Must each activity have intent-filter, or not?<p>android android-activity android-manifest<p>Wesik<p>…

GLSurfaceView

added in API level 3<p>Summary: Nested Classes | Inherited XML Attrs | Constants | Inherited Constants | Inherited Fields | Ctors | Methods | Protected …

Android: determinine my app's process ID?

This question already has an answer here:<p>How to get pid of android application with out using adb shell? 2 answers<p>Is there a way within a java app …

How to hide the title bar for an Activity in XML with existing custom theme

I want to hide the titlebar for some of my activities. The problem is that I applied a style to all my activities, therefore I can't simply set the …

Responding to Touch Events

This lesson teaches you to<p>Setup a Touch Listener<br>• Expose the Rotation Angle<br>• Apply Rotation<p>You should also read<p>OpenGL<p>Download the …

How to capture and save an image using custom camera in Android?

How do I capture an image in custom camera and then save that image in android?<p>android android-layout android-intent …

Camera API

In this document<p>Considerations<p>The basics<p>Manifest declarations<p>Using existing camera apps<p>Building a camera app<p>Detecting camera hardware<br>• Accessing …