Monday, April 15, 2013

Capitals Quiz






CAPITALS QUIZ


Test your knowledge about the worlds capital cities with this Educational quiz; consists of all countries and capitals in the world.
There are 22 levels (each on getting more difficult) to get through. Once you have answered correctly this unlocks a fact page about each country/capital.
The fact page shows where this capital is on a map, what currency they use, population of country as well as many many more informative facts; so this is a great revision and study tool.


Getting Started

When you first launch the application you will be greeted with a page showing all levels. All but the first level will be locked.

As you progress through the levels this will unlock other levels.


Select any of the unlocked levels to play this level.

Play a Level

Once you have selected a level to play this will show a list of countries within this level:


Select the country and submit your answer:


If you answer incorrectly you will stay on the same screen to try again. If you answer correctly you will be redirected to an fact page.

Fact Page

The fact page has lot of information about the country and capital that you have just answered.



You are shown the location of the capital; you can zoom in and out and pan around this map.
You are also given the following facts in the bottom scrollable section:


  • Flag
  • Country Name
  • Capital Name
  • Distance Away (miles)
  • Distance Away (km)
  • Population
  • Nationality (Singular)
  • Nationality (Plural)
  • Currency
  • Currency Code
  • Region
  • Time Zone
  • Current Time
  • Internet Domain

Correct Answers
Once you have selected the OK button on the facts page you are redirected back to the countries for the current level you are answering. 

Correct answers have a green background, a tick; and the answer is also shown.

Incorrect answers have a red background and a cross

Answers that not have been attempted are shown with a grey background. 



Progress

As you progress through the levels a progress is indicated on the initial levels screen as shown below:


A level is unlocked if it appears with a white background with an unlocked padlock.

It is locked if it appears with a grey background with a locked padlock

The progress bar also indicated the number of complete answers in each level.

Saturday, April 13, 2013

htaccess Rewrite before Authentication - HTTP to HTTPS

Error

When having an "htaccess" file which contains "Rewrite" then "Authentication" the Authentication is done before the rewrite 

This happenes when you need to make sure the user is authenticating on HTTPS instead of HTTP so you need to do the rewrite before the HTTP Basic Authentication


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}



AuthType Basic
AuthName "protected area"
AuthUserFile /FILE_PATH
Require user USER


Solution

There are 2 solutions for Apache 2.2 installations


Solution #1 - Easiest

Just enclose the authentication by a <FilesMatch "."> block

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


<FilesMatch ".">

AuthType Basic
AuthName "protected area"
AuthUserFile /FILE_PATH
Require user USER

</FilesMatch>


Solution #2

Require SSL and point the error document to a file which redirects to HTTPS

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

SSLRequireSSL
ErrorDocument 403 /PATH_TO_A_PAGE_TO_REDIRECT_TO_HTTPS


AuthType Basic
AuthName "protected area"
AuthUserFile /FILE_PATH
Require user USER


Thursday, April 11, 2013

FakkuDroid v1.8 - Updated: FakkuDroid v1.8.3

FakkuDroid v1.8.3.apk

New features:

 - Added new settings:
    - Select cache and download folder.*
    - Select screen orientation in the gallery.
 - Fixed bug when you change the screen orientation in the doujin detail screen.
 - Other little bugs fixeds.

* The app changes the extention of the images to "*.fakku".
** The app is always going to download the images first in the cache folder when load a list.
*** I can't test if the app downloads well in the SD, so please write me your feedbacks.

PD.- I recommend delete the last version.

Updated (v1.8.1): I found a little problem with the gallery, so please download this new version if you downloaded the previous version (v1.8).


Updated (v1.8.2): I have changed the file extention to "*.jpg" again, and add it a .nomedia file to hide the folder. In theory, it's compatible with the previous extention "*.fakku", but I'm not sure, so please write me your feedbacks. 


--------------------------------------------------------------------------------------------------------------

Novedades:

 - Agregado nuevas opciones de configuración:
    - Seleccionar el directorio de cache o descargas.*
    - Seleccionar la orientación de la pantalla en la galeria.
 - Arreglado el bug cuando cambias la orientación de la pantalla en el módulo de detalle del doujin.
 - Otros pequeños bugs arreglados.

* La app cambia la extensión de las imágenes a "*.fakku".
** La app siempre va a descargar las imágenes primero en la carpeta Cache cuando carga una lista.
*** No puedo probar si la app descarga bien in la SD, así que por favor escribanme sus feedbacks.

PD.- Recomiendo eliminar la última versión.

Actualización: Encontré un pequeño problema con la galería  así que descarga esta nueva versión si descargaste la versión previa (v1.8).


Actualización: He cambiado las extensiones de las imagenes nuevamente a ".jpg" y agregado un archivo .nomedia para ocultar la carpeta. En teoría es compatible con la extensión anterior ".fakku", pero no estoy seguro, así que por favor escríbanme sus feedbacks. 

Tuesday, April 9, 2013

New Version Soon...

I had problems with my house internet conection the last week and I coudn't do anything... I felt like in the South Park episode - Over logging...

Well, the good new is I had installed Eclipse and Android SDK in my laptop job, so I'm going to have more time to develop the app.

-------------------------------------------------------------
Esta última semana tuve problemas con la conexión a Internet de mi casa y no pude hacer nada... me sentí como en el episodio de South Park - Over logging...

Bueno, las buenas noticias es que he instalado Eclipse y el Android SDK en la laptop de mi trabajo, por lo que tendré más tiempo para programar.




Wednesday, April 3, 2013

FakkuDroid 1.7


New features:
 - Fixed bug when you cancel the download
 - Change way to load the images in the Favorite's list.*

*If you have a nexus 7 or other than have problems with the list, please, write your feedbacks.

FakkuDroid 1.7


Question: Is the app working well in your smartphone? If it's yes, please write it in the comments with your smartphone and Android version. If it's not, too and write the problem.



Monday, April 1, 2013

FakkuDroid v1.6

New features:
 - Fixed crash when open a doujin or manga and step back before the app finishs to load
 - Added download List
 - Added settings
     - Active cache mode*
     - Password to unlock
     - Force landscape in Gallery
     - Use volume buttons as zoom buttons
     - Show page number
     - Reading mode (Right to left, left to right)
 - Click in the urls in the comments
 - A cancel button while the app downloads the images

*In theory, this avoid the flickers and disappears of the images in the lists, but this mode loads the lists slower than normal mode. 


   


If you like the app, please donate to this project ^_^.



FakkuDroid v1.6

PD.- If you have a problem or find a bug or just have a suggest, please writes in the comments.