I’m excited to report that I’ve got a demo of a native App running on Tizen! And what I mean by native is, compiled C programs and not HTML5 + Javascript Apps. The App is EFL (Enlightenment Foundation Libraries) based, alsoa good point to notice here is that all the Apps that come with your phone ( Calendar, Dialer, Contacts, etc.) are EFL based as well. And the best part of it is that the company that I work at (ProFUSION) is a big EFL project contributor, so we have plenty of in-house experience with it.
The App is called Econcentration and it is a memory game. Although the App is already coded and working, I had to make some modifications to make it look better in the small device’s screen, like changing the images and the layout of the game. I will not explain the code in this post because I’m explaining how to run the game in the phone and not how to write EFL based programs. But you can take a look at the source code.
Before we start, make sure you have alien installed. It will be used to generate the deb packages. If you are using Ubuntu or a Debian distro you should install using this command:
First we need to install the elementary dev package:
1
sbs -A i386 -et apt-get installlibelm-dev
Then we go to the game’s source folder and execute the following commands:
1
sbs -A i386 -e ./autogen.sh --prefix=/usr
2
sbs -A i386 -e make
3
sbs -A i386 -e makeinstallDESTDIR=$(pwd)/tmp
Now that we have the game compiled we must generate the debian package:
1
cdtmp
2
tar-czf econcentration.tar.gz .
3
cd..
4
fakeroot alien econcentration.tar.gz
Then, we send the .deb package to the emulator, install it and we’re ready:
1
sdb push econcentration_1-2_all.deb /tmp
2
sdb dpkg -i /tmp/econcentration_1-2_all.deb
3
sdb shell econcentration --mobile
Dev Phone
To generate the deb package to the device we will have to modify our sbs commands, because the phone is ARM based and not x86. But it’s basically the same thing.
Install the elementary library for the ARM environment
1
sbs -et apt-get installlibelm-dev
Game’s source folder:
1
sbs -e ./autogen.sh --prefix=/usr
2
sbs -e make
3
sbs -e makeinstallDESTDIR=$(pwd)/tmp
Creating the deb package
1
cdtmp
2
tar-czf econcentration-arm.tar.gz .
3
cd..
4
fakeroot alien econcentration-arm.tar.gz
Pushing, installing and execute it:
1
</p>
2
sdb push econcentration-arm_1-2_all.deb /tmp
3
sdb dpkg -i /tmp/econcentration-arm_1-2_all.deb
4
sdb shell econcentration --mobile
And these are the picture of the game running in the emulator and in the phone:
That’s it, now that we are able to run native Apps things might be more interesting.
The Debian package for ARM device and the images:http://people.profusion.mobi/~iscaro/ The source code:
http://trac.enlightenment.org/e/browser/trunk/GAMES/econcentration – To see in the browser svn clone: svn co http://svn.enlightenment.org/svn/e/trunk/GAMES/econcentration/ git-svn clone: git svn clone http://svn.enlightenment.org/svn/e/trunk/GAMES/econcentration
The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.
The cost of living is on the rise in the US, so how could this affect the gambling industry? According to the US Consumer Price Index (CPI), the cost of...
Get the biggest iGaming headlines of the day delivered to your inbox
Gambling News
Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.
In-Depth Strategy Guides
Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.
Unbiased Expert Reviews
Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.