понедельник, 2 декабря 2013 г.

Zen Stories

Simple application contains zen stories . Feel the wisdom of teachers of the past.

Zen is a school of Mahayana Buddhism that developed in China during the 6th century as Chán. From China, Zen spread south to Vietnam, northeast to Korea and East to Japan.
The word Zen is derived from the Japanese pronunciation of the Middle Chinese word 禪 (dʑjen) (pinyin: Chán), which in turn is derived from the Sanskrit word dhyāna, which can be approximately translated as "absorption" or "meditative state". (Source: Wikipedia)

One of the great zen stories:
A Cup of Tea
Nan-in, a Japanese master during the Meiji era (1868-1912) received a university professor who came to inquire about
Zen.
Nan-in saved tea. He poured his visitor's cup full, and then kept on pouring.
The professor watched the overflow until he no longer could restrain himself. 'It is overfull. No more will go in!'
‘Like this cup,' Nan-in said. ‘You are full of your own opinions and speculations. How can I show you Zen unless you
first empty your cup? '

QR Code:


вторник, 18 июня 2013 г.

Android Development For Beginners AND Advanced

Nowadays mobile technologies are extremely popular. Especially such platforms as Android and iOS. But how to develop ? Usually development for Android is knowledge of JAVA and for iOS - Objective C. But is there an easier way ? Certainly YES. And here I will try to list some of the most popular and simple ways to develop on Android OR/AND iOS. Lets divide this into some categories:

1. Native NetBeans/Eclipse/IntelliJ IDEA (JAVA) / xCode (Objective C)

2. Browser based JavaScript, HTML5 and CSS3 editors / JavaScript, HTML5 and CSS3 standalone pc programs

3. Other native tools (similar to number 1)

Let' stake a look at number 2. Many of such programs uses PhoneGap. PhoneGap is an open source framework and a cloud based service to build cross platform applications. So write once , build to all. There is support of the following platforms:
iOS, Android, webOS,Windows Mobile, Symbian,BlackBerry and Windows Phone 7. It is great BUT with phonegap you get web application written in JavaScript, HTML5 and CSS3 so the speed for complicated apps/games can be slow , also you haven't access to all SDK functions.

Mobile web frameworks:

Example of browser based mobile app creators:
Codiqa (uses jQuery Mobile)

Example of standalone JavaScript, HTML5 and CSS3 mobile app creators:
IBM Worklight (Uses PhoneGap)
NS Basic (uses Visual Basic and compiles using PhoneGap , supports jQuery Mobile)
Adobe AIR
LiveCode
Intel XDK (AppMobi)

P.S. HTML5 games can be accelerated by GPU in two ways:
       1.Hardware accelerated canvas (CocoonJS)
       2.WebGL (CocoonJS now also supports it)

Number 3. Other Native tools.
Tools that are much easier for beginner and powerful for advanced users and which produces native code exactly the same or nearly the same as number 1 options.
Very simple app originally developed by Google , now belongs to MIT and uses scratch similar language and visual blocks. It is good for beginner but not very good for advanced users. It is very limited in possibilities.
Uses KAWA framework to compile to native Android app.

Delphi XE5

Full featured IDE with a lot of libraries. Uses Visual Basic similar programming language. Very simple for beginner and very powerful , extensible for advanced users. There is visual layout editor , no more XML. Of course you can program your layout in code if you want. Network , maps , JSON , XML , advertising (Admob , MoPub and so on). It is really great IDE with great community. All apps that you see on this blog developed with B4A. The final APK is exactly the same as if it done in Eclipse/JAVA.

Another Basic implementation for Android

Cross platform app creator

HyperNext Android Creator
Native Android development system

Cross platform development environment

Implementation of .Net platform on android. Let's consider this native tool but the speed can vary

Andromo
With Andromo, anyone can make a professional Android app.There's no programming required, plus Andromo generates 100% pure native Android apps

Android Assets Generator

For Android app or game you need graphics and all images must be for varius densities. There are:
Small ldpi        ~10% (240x320)     0.75  2"-3.5"     120dpi
Normal mdpi   ~16%  (320x480)    1.0    3.6"-4.9"  160dpi 
Normal hdpi    ~37%  (480x800)    1.5    3.6"-4.9"  240dpi
Normal xhdpi  ~25% (720x1280)    2.0   3.6"-4.9"  320dpi
Large  xxhdpi              (1080x1920) 3.0        5"        480dpi

So you need graphics for 5 densities : 120 , 160 , 240 , 320 and 480 dpi.
Manually doing this is nightmare but I found very useful script for generating Android graphics automatically though Adobe Photoshop scripting. It generates all assets from XXHDPI source , so you will get the best possible quality for all densities. I suggest you to make graphics in Adobe Illustrator then export it to Photoshop and make size which you need for 480dpi , or if you don't know it size you can make an image for 1.0 scale factor (320x480) then multiply to 3.0 and so you know the size you need for XXHDPI image.

Then the following steps are required:
1. Make directory C:/ANDROID_IMAGES (I have slighty modified script to point to this folder because there can be problems with various names of folders , if you have problems with UAC then you can change in script to any drive letter you want)
2. Place your XXHDPI image into this folder
3. Run script

Thats all , you will get all android images for all densities sorted into folders.
So here is script , you must save this into file with extension .jsx :


// Output Android Assets.jsx
// 2012 Todd Linkner
// License: none (public domain)
// v1.0
//
// This scrip is for Photoshop CS6. It outputs Android XHDPI, HDPI, MDPI,
// and LDPI PNG assets from XXHDPI source files. The resulting PNGs will be
// placed in sub-folders within your target folder.

/*
// BEGIN__HARVEST_EXCEPTION_ZSTRING
<javascriptresource>
<name>$$$/JavaScripts/OutputAndroidAssets/MenuAlt=Output Android Assets</name>
<category>mobile</category>
</javascriptresource>
// END__HARVEST_EXCEPTION_ZSTRING
*/

// bring Photoshop into focus
#target photoshop

main();

function main() {

    var cleanup = confirm("This script outputs Android XHDPI, HDPI, MDPI, "
                        + "and LDPI PNG assets from HDPI source files.\r\r"
                        + "Do you want to delete your original files when "
                        + "complete?");
 
    // Ask user for input folder
//var inputFolder = Folder.selectDialog("Select a folder to process");
//if (inputFolder == null) throw "No folder selected. Exting script.";
    var inputFolder = Folder ("C:/ANDROID_IMAGES")

// get all files in the input folder
var fileList = inputFolder.getFiles("*.png");

// Make output folders
var dirxhdpi = Folder(inputFolder+"/drawable-xhdpi");
if(!dirxhdpi.exists) dirxhdpi.create();
var dirhdpi = Folder(inputFolder+"/drawable-hdpi");
if(!dirhdpi.exists) dirhdpi.create();
var dirmdpi = Folder(inputFolder+"/drawable-mdpi");
if(!dirmdpi.exists) dirmdpi.create();
var dirldpi = Folder(inputFolder+"/drawable-ldpi");
if(!dirldpi.exists) dirldpi.create();



// Open each file in turn
for (var i = 0; i < fileList.length; i++) {
// Open file
open(fileList[i]);
// Make XHDPI
resize(dirxhdpi,'66.7%');
// Make HDPI
resize(dirhdpi,'50%');
// Make MDPI
resize(dirmdpi,'33.3%');
// Close and do not save
// Make LDPI
resize(dirldpi,'25%');
app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
// Delete the original
if (cleanup) fileList[i].remove();
}
    alert("Done!");
}

function resize(dir,percent) {
    // Setup file name
    var fname = app.activeDocument.name.replace(/\s+/g, '_').replace(/([a-z\d])([A-Z])/g, '$1_$2').toLowerCase();

    // Set export options
    var opts, file;
    opts = new ExportOptionsSaveForWeb();
    opts.format = SaveDocumentType.PNG;
    opts.PNG8 = false;
    opts.transparency = true;
    opts.interlaced = 0;
    opts.includeProfile = false;
    opts.optimized = true;

    // Duplicate, resize and export
    var tempfile = app.activeDocument.duplicate();
    if (undefined != percent) tempfile.resizeImage(percent,percent);
    file = new File(dir+"/"+fname);
    tempfile.exportDocument(file, ExportType.SAVEFORWEB, opts);
    tempfile.close(SaveOptions.DONOTSAVECHANGES);
}

Android 2D/3D Game Engines

I wanted to choose some 2d game engine for creating 2D Space Shooter . It can be done for example in B4A but there it is more difficult because you must programming directly into Open GL ( note: look into Basic 4 Android - it is really great IDE for Android applications) or using accelerated surface/gameview which is good but not so powerful as full featured game engine. So I read a lot of info about game engines and made some notes about them. I didn't include Unity 3D or Shiva 3D because these engines are very good for 3D but for 2D I think it must be special engine.  Also I will list some game makers which has not only built-in game engine but also visual editor to make games with just no programming skills. So there are:

2D/3D Game Constructors:
Construct 2
Stencyl
GameSalad
Game Maker
Multimedia Fusion 2
Engine 001
Enigma Development
3D Game Studio
Game Editor
Tululoo Game Maker
GameDevelop
Wintermute Engine

2D Game Engines:
Marmalade
LibGDX
AndEngine
Corona
Gideros Mobile
Cocos-2D
Torque 2D
MOAI
App Game Kit / Freedom Engine
GLBasic
Emo Framework
Monkey (Blitz Basic)
Unity 4.3 and Up
Dreemchest
ImpactJS
Isogenic Engine

3D Game Engines:
Unity
Shiva 3D
JPCT-AE
JMonkey
SIO 2
UDK
Ardor 3D
Unigine
Havok Anarchy Project


For me I choose Gideros Mobile because it is very fast , more faster than Corona , it is LUA engine , LUA is very simple and fast. Gideros exports your project to Eclipse or xCode and there you can compile to its platform offline. Corona compiles on their own server. Gideros is free , there are paid versions but only if you want to remove their splash screen "made with Gideros". Gideros has wonderful particle engine , also various plugins for advertising.

Very good engine also is MOAI but it is more complicated , very powerful. It is completely free.

суббота, 25 мая 2013 г.

Ideal Weight (BMI,BMR,etc.)

Ideal Weight (BMI,BMR,etc.) is the unique application for all people who train , loss weight , gain weight or simply want to know all body indexes.

Easy to use design - 3 Steps:
1. Select Indexes (You can select multiple Indexes to count them all in one click)
2. Input body parameters
3. Get Results

Unique features:
1.13 Indexes
2. Easy to use slide design
3. Count all 13 body parameters at the same time in one click
4. Special formulas for Body Builders
5. Special ideal weight formula for people who train in gym (GYM Formula)
6. Easy to understand final results with color panels based on results
7. 10 Ideal weight formulas + 1 special for trained people


For now there are 13 body indexes. So they are:

1. BMI The body mass index , or Quetelet index, is a measure for human body shape based on an individual's weight and height (Sorry , for now only for > 20 years)
2. IW 10 different formulas to calculate ideal weight and average result based on all formulas
2. LBM Lean body mass is calculated by subtracting body fat weight from total body weight
3. FAT The body fat percentage of a person is the total weight of fat divided by total weight
4. BMR Basal Metabolic Rate measures the number of calories your body requires depending on daily activity
5. RMR Resting Metabolic Rate measures the number of calories your body requires to maintain itself at rest
6. WHR Waist-to-hip ratio is the ratio of the circumference of the waist to that of the hips
7. WHtR The waist-to-height ratio of a person is defined as the person's waist circumference, divided by the person's height
8. BSA The body surface area is the measured or calculated surface of a human body
9. PI Pignet Index is an index used for evaluation of body build
10. LBM Lean body mass is calculated by subtracting body fat weight from total body weight
11. JWBI Joe Weider's Bodybuilding Index shows ideal proportions of body (only for males)
12. JMBI John McCallum's Bodybuilding Index shows potentially achievable volumes of body (only for males)
13. DWBI David Wilby's Bodybuilding Index shows the lower limit of the potentially achievable volumes of body (only for males)

Ideal Weight (BMI,BMR,etc.) supports 3 systems:
Metric/Imperial/Stones

Download Ideal Weight (BMI,BMR,etc.)
QR Code:


воскресенье, 18 ноября 2012 г.

Christmas Ringtones


Christmas Ringtones for Android. In this application you can listen to the most popular christmas songs and set them as ringtones. All songs are property of their owners , there are not full songs and only for educational purpose , etc. Please contact us if you are owner and want to remove your songs , pictures.

Christmas Ringtones

 



Download Christmas Ringtones
QR Code:


 

суббота, 3 ноября 2012 г.

Christmas Carols - My First Android Program

Hello
This is my page dedicated to my Android Projects. I am independent developer , hope my programs will be useful for Android users.
Here is my first program - Christmas Carols. It contains the most popular Christmas Carols. Soon there will be a new version with extra high quality sound (need internet,now it can work offline)

Christmas Carols











Download Christmas Carols
QR Code:




Zen Stories

Simple application contains zen stories . Feel the wisdom of teachers of the past. Zen is a school of Mahayana Buddhism that developed in Ch...