Principles of Mobile Site Design

Great resource and inside on successful mobile design by Google & AnswerLab

viewer

Click here

Setting up Unity to Export Android apk

OK so today I spent hours trying to figure out why my unity 3D project wouldn’t build. I found several different solutions for anyone who might have these same problems in the future.

1. Make sure that your android SDK version is 21 or older. For some reason any updates above 21 cause problems with unity. If you need to revert to 21, you can download it by clicking the following link:
2. Make sure that you copy the abd.exe file from the platform tools folder and put it in the tools folder. Here is a great tutorial video that explain the process perfectly.
3. Install JDK 32 bit

Here are some great resources.

Setting up basic email for your App Inventor App

So I have been going crazy the past week or two with trying to figure out how to setup the ability to send a emails from your phone. Well I found the perfect solution to my problem. There is a basic email template available if you visit Pura Vida Apps website. Try it out ,its awesome! I used the “Tony’s email starter template”. Thanks Pura Vida! Here is the website link: http://puravidaapps.com/sendmail.php

I made my own simplified version If you want to take a look. I kept the send an email option, i removed the attaching a file with your camera (doesn’t really work), I added a cancel button to return the user back to the main menu, and I added the ability to make a phone call right from the app (to a predefined phone #).

Screen Shot ofApp Inventor set up

Screen Shot of App Inventor set up

Screen Shot in App Inventor's Blocks Editor

Screen Shot in App Inventor’s Blocks Editor

 

Project Assignment #4

ecore diagram final

Junit Test

JUnit test of ACUI

Android APIs I wanted to implement in the ecore model where several widgets in the android.widgets* package for the user interface and media player. The user can preview different animations from the Animation Library prior to inserting it into their Animator Creator Project and when they want to view the final product.

Here are a few widgets I was thinking of using for playing media:

android.widget.VideoView

android.widget.MediaController

android.net.Uri

NOTE: The Android API’s are not implemented in my model because when adding the API’s I kept receiving errors in project and would not let me run a JUnit test so I took the path of least resistance and just stuck which emf/ecore/regular java code. This model is very theoretical.

Since I was not successful at implementing these API’s with emf, i created a simple Android App to demonstrate my ideas and how i envision how the interface would look like for the most part.

So we start off at the Start Menu. You can create a new project, upload a previous project, or quit the application. In order to access data, i would need to set up a database using android.ContentProvider. That is something I would implement in the future. anyways it goes straight to the Animator Creator User Interface. In the UI the user can edit and add animations, play their creation, save it, or quit the application. Alot of Functionality needs to be implemented but its just a simple framework.

Main Menu and Animator Creator User Interface

When the user clicks the edit button it asks the user if they are sure they would like to add an animation to their project. If they select yes, it then takes then to the Animation Library where they can search animations based on type.

Animator Creator UI Edit Button going to Animation Library Class

In the UI, if they user presses play. Again it asks the user if they are sure they want to view it. then a video player plays q single video with the audio. (For some reason the play has issues in the emulator does work to great).

Play Btn to Video Player

click here to download Project Assignment 4

Video Tutorials using Unity game engine for Android

More details about these tutorials can be found on the Burton’s Media Group Blog

Android OpenGL Nonsense Video

Trying to make sense of OpenGL for Android

OpenGL ES 2.0 Mindmap Android

The Open Graphics Library(OpenGL) is a cross-platform graphics API that specifies a standard software interface for 3D graphics processing hardware.

This is a mind map of the OpenGL package/class GLES20 which is stands for OpenGL ES 2.0. This 3D graphics package enables someone to fully program and control 3D graphics within the app using shaders. This gives the programmer flexibility to create what they may envision in comparison to GLES10 – OpenGL ES 1.0 which has fixed functions and therefore has its limitations. The two most important classes that are necessary in OpenGL are GLSurfaceView & GLSurfaceView.Renderer (They go hand in hand). Without these two classes you would not be able to run OpenGL on your phone. OpenGL ES 2.0 is available for Android 2.2(API Level 8) and up. When it comes to creating Android Components using the GLES20 pipeline to make a “unique component/library” will be very useful and has room for complexity.

Open GL ES 2.0 Mindmap

Open GL ES 2.0 Mindmap

References:
Reference: android.opengl
OpenGL Guide
OpenGL ES 2_X – The Standard for Embedded Accelerated 3D Graphics
OpenGL ES 2.0 Reference Pages
Reference: GLSurfaceView
Reference: GLSurfaceView.Renderer
OpenGL ES tutorial from FAU student

Links to a few Tutorials:
Droid Nova 3d Game Tutorial part 1 – 5
Insanity Design
OpenGL ES 1.0 – GLES10 Tutorial
OpenGL ES 2.0 – GLES20 Tutorial
Getting started with android game development

Forums:
Bad Logic Android Forum

Some Possible useful Libraries:
Min3d Library
How to import objFiles using the Min3d Library
Libgdx library documentation
Rajawali