Android Wear Open GL ES 2 Test

22/02/2016 Leave a comment

I’ve finally got an Android Wear device and It’s the Huawei Watch. At first I wanted the Moto360 2nd gen (for the larger screen) but I was unable to buy it from motorola.com and after several attempts I ended up with a paid order but no watch (money is deposited somewhere and should return after once month of the “purchase”). I’m glad I didn’t end up with a “flat tire” and a pixelated ambient display!

So anyway, I went back to my old app Hexscreen and extracted some code to a separate module then used it in a new Android Wear application and ended up with this nice and interactive test 🙂

Read more…

Split v2.0 – Going Online

30/12/2015 1 comment

A while ago I made a very small app around the idea of selecting an image, then revealing its details by touching the screen and moving your finger and once you’re happy with the result, you can share the photo to other apps.

Yesterday I published a new version where I changed the design and added the ability for users to sign in\register using a Google account then share what’s being created inside the app so other users can view and like.

In this post I’m going to share some technical details that I found interesting while improving the app and implementing the backend.

 

Read more…

Dear Backender (A Rude Open Letter)

28/07/2015 Leave a comment

Dear backend developer…


Backend Developer

This post is the first of a series about the struggle I as an Android applications developer must endure when working with backend developers, designers or other people involved in building a mobile application.

It will contain some points you might not be aware of and some things you can do to make the mobile application developer’s life easier or at the very least not make it harder than it should.

Disclaimer: My personal opinions and preferences might be included in these articles and you’re welcome to correct any incorrect points in the comments below.

If you are a mobile application developer you might also find something useful here especially if you’re just beginning.

So to start, this first article is dedicated to people who write APIs for mobile applications, You the backender and me the app developer are starting from scratch and no previous API exists.

Read more…

Split!

16/01/2015 Leave a comment

Introducing my new app called Split.

 

Split!

 

 

The app allows you to pick an image then split it into circles to reveal more details

 

You can create cool photos and save them to your phone or share them to other apps.

Read more…

Gl Button

28/12/2014 Leave a comment

I wanted to make something similar to the ripple effect but since product-grade libraries for that specific purpose exist I just ended up experimenting with OpenGL ES2 and here’s the result:

Why did I go with OpenGL instead of a canvas? because shaders :D, with a fragment shader you can get various effects. add post processing and you’ll get even more effects! Here I tried something really simple as shown in the video above.

Read more…

Categories: Android, My Thoughts, OpenGL Tags: ,

Genetic Algorithms Lab

27/09/2014 Leave a comment

Genetic Lab

 

So a few years ago I did a project for the Genetic Algorithms assignment at college. My idea was to have tiny multi-cell organisms that have a simple goal: travel as far as possible! maybe to find new resources or escape from predators, you pick one 🙂
So the fitness of a creature is measured by how far it can go during its life span.

The creatures will start with random moving cells and evolve to more organized creatures with organized movements.

Please watch the video before reading. If the video failed to make you interested then I doubt that the text would succeed. You can also download the executable and the source code available at the end of this post.

 

Read more…

X12 Zoom Lens Test with Galaxy Note 3

03/03/2014 1 comment

I’m not that kind of guy who reviews stuff but I wanted to share my experience with the X12 zoom lens that are available for mobile phones.

First here’s a photo of the lens I used, I got it for about 23$, it comes with a tripod and an adapter which you can screw the lens into (Adapter & phone not in photo).

X12 Lens

X12 Lens

In short:

  1. Lens is good.
  2. Tripod sucks (or I just don’t know how to use it?). no matter how hard I try to fix the angles the phone\lens just rotates slightly because of the phone’s weight.
  3. It’s hard to take a video of moving objects since you’ll have to adjust the lens manually to keep the focus, it’s not always clear on the screen that the image is out of focus.

If you (like me) prefer to see results rather than read them then the rest of the post is for you. Before you continue please note that the post will contain lots of large images 🙂 .
Video samples will be provided at the end of the post too!.

Read more…

Categories: My Thoughts, Photography

Hexscreen v1.2

08/10/2013 Leave a comment

Hello :D, Hexscreen v1.2 is now available!

I fixed some bugs and added some more features:

  • Advanced color picker: the old color picker was very simple, it only allowed the user to select a hue. The new one allows the user to customize the colors to the max!.
  • Higher quality image support: the older version limits the maximum image width (or height) to 512 pixels. You can now choose images up to 1024 pixels.
  • Added a file picker: I made a mistake when I assumed that all Android users have a file browser installed! To deal with that I implemented a simple file picker (and I enjoyed it) and packaged it with the app. Now my Hex File Picker will be listed with any other file browser available on the phone when the user wants to pick a style from a file.
  • Improved screen positioning: in this version the hex screen will always be centered in your screen, so hopefully no more empty areas are left.


Issues with some devices:

For some reason some devices couldn’t compile the shaders of the app. No shaders means no app!.
I did modify the shaders for this version and hopefully they will work on those devices too, one problem is that I can’t know if the app is working fine, I can only know that the app is not working well (using ACRA).

So if you have any of those devices please feel free to try the app and tell me of the results:

  • LG Google Nexus 4 (Android 4.3)
  • Huawei MediaPad 7 Lite (Android 4.0.3)
  • Asus Google Nexus 7 (Android 4.3)
  • Samsung GT-N7000 (Android 2.3.4)
  • Samsung GT-N7100 (Android 4.1.2)
  • Samsung GT-I9100 (Android 4.1.2)
  • HTC One X (Android 4.2.2)


Get it!:

you can download the app freely from your favorite market:

Hexscreen on Google Play

Hexscreen on Google Play

Hexscreen on Amazon.com

Hexscreen on SlideMe Market

The app is also coming soon on Opera market.That’s it I guess :D, If you have any questions or comments I’ll be happy to answer 🙂 .

Hexscreen : 3D Live Wallapper for your Android

20/09/2013 7 comments

I’m thrilled to announce my first app on the Google Play!!. The name is Hexscreen 😀 .

hexscreen feature graphic

I like computer graphics and I like hexagons so why not combine them together 😀 ?.

Hex screen is a 3D screen made up from hexagons, the cool thing about this screen is that hexagons can be animated to give nice effects, hexagons can be rotated, moved and scaled. The cells can display images or colors of your own choice, It supports  transparency and multi screen layers

This slideshow requires JavaScript.

You can check this promo video to see some of the features of the live wallpaper:

My apologies for the low-res recording but I had to sacrifice resolution for frame rate.

Wanna try it? it’s completely free, doesn’t contain ads, and the apk is less than 3MB. I made sure to optimize the app in terms of performance and memory usage.

The live wallpaper works on phones running Android 2.3.3+, works on tablets too :).

Get it on Google Play

Hexscreen on Amazon.com

Hexscreen on SlideMe Market

The app is also coming soon on Opera market.

It would be nice of you to rate the app, just give it what you think it deserves :). If you need something explained tell me and I’ll be happy to answer.

I still have more ideas for the app but I’m not going to spend more time developing it unless people are interested in it.

If you have anything to discuss please use the comments bellow, I’ll be happy to hear your opinions and answer your questions :).

OpenGL ES 2 for Android: A Quick-Start Guide

08/08/2013 Leave a comment

So you want to make your first Android game or want to make a live wallpaper or just a simple 3D scene?
On Android, games use OpenGL ES 2 for rendering, which means you’ll have to learn it, even if you want to use a game engine it’s always good to know how stuff works on a low level.

By learning OpenGL ES2, you’ll be also learning WebGL since they both use the same set of functions.

OpenGL ES2 is cross-platform which means once you learn the API on a specific platform you will only need to know some platform-specific details to get your game to the other platforms.

While learning OpenGL ES 2, you will face challenges even if you have a good background in computer graphics! This is where books like OpenGL ES 2 for Android: A Quick-Start Guide shine.

Book cover

Learning OpenGL ES2 starts with a mountain that you have to climb even if you just want to render a single dot in a 3D world, it gets easier after that 🙂 .

The book has a unique approach which makes it easier to understand the process. Read more…