Skip to main content

Making An Android App In A Week (Currency - Simple Converter)

PRE APP TALKS

Last month i set a goal for myself. Making Android app in one week. But after i choose application context, I and my friend talk about code and UI design. We want to make a "Currency -Simple Converter" app. We looked Markets for other apps in same category, we realized nearly all of then have ugly UI, bad UX. I think a mobile app has to be simple as possible an easy to use for everyone. I always want to make simple, clean UI. So we draw some sketch and started a web search for how we can get exchange rate datas for FREE :)

After this quick search, we choose to use Yahoo. In that pre coding section, we decide to make an experiment about app's language. I wanted to add as many as possible language options and see what happens :) I hoped coding will take maximum 10 hours. (Actually it takes 11-12 hours to finish coding, bug fixing, adding theme option, UI and UX adjustments) 

All process goes like this;

FIND IDEA
THINK ABOUT IT
DESIGN UI AND UX
DESING CODE
- If you make a good design. Your coding will be take less time.
START CODING
FINISH CODING AND SEND APP TO TESTER
WAIT FOR BUGS :)

Here is final product. Do not hesitate give feedback :)


Popular posts from this blog

Using Accelerometer when Screen Off

Introduction

Android Phones have a lot of built-in sensor such as gyro, proximity and accelerometer.
Using Accelerometer in Android is a known thing. For listening sensors, class or service needs a SensorEventListener implementation. An Activity is only exists when you are seeing it. When phone enters standby mode, activity which was recently active frozen and restored whenever needed. While this frozen time, activity doesn’t run. Because of that it doesn’t need sensor updates. And Android stop to listen some sensors for power management.

Services have this condition like classes (activity). In contrast to class, a service run every time, even when phone is in standby mode. Therefore Services needs sensor updates for some situations. But android stop to listen some sensor(accelerometer) in some different phones.

There is a solution for that. This is not an exact solution but it work with a lot of phones.

With a BroadcastReceiver listenIntent.ACTION_SCREEN_OFFand register sensor listener a…

How to change position of MyLocationButton on new Map API v2? Explained

When an app use map and design some layout on this map (TextView, Button or image), developer needs to change position of default buttons of map view. (MyLocationButton, ZoomControl or compass...) As far as i know, there are two possible way for changing position of myLocationButton's position.

1- * - Disable it
    * - Create new button programmatically
    * - Add animateCamera(toCurrentLocation) to onClickListener of this button
    * - And place it wherever you want

But if you don't want to write all that there is a hack for that.

2 - * - findViewById() of hardcoded button with;
ZoomControl id =0x1MyLocation button id =0x2      * - And do whatever you want:
// Find map fragment
SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map);

// Find myLocationButton view
View myLocationButton = mapFragment.getView().findViewById(0x2);

if (myLocationButton != null && myLocationButton.getLayoutParams() instanceof RelativeLayout.…