- 275,698 hits
Monitor Your Heart
Top Posts & Pages
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Life-time learner's blog
By default Android emulator is extremely slow. It takes 5 minutes to start the emulator!
To make it faster there are two approaches:
There is a pretty detailed Stackoverflow answer regarding HAXM and Android emulator performance.
Unfortunately, my old laptop didn’t support Intel virtualisation technology, so I didn’t even consider working with emulator. Instead, I always used a physical android device to test my apps.
When I started the emulator on Mac, I hoped it would run much faster (with SSD and Intel Core i7 on board). But no – the emulator was still very slow. This brought me to Stackoverflow, where they discussed how to enhance the speed of Android emulator by installing HAXM.
So, I tried to make the emulator on freshly installed Mac OS X 10.0 Yosemite run faster. I followed the instructions provided in the article, but at the end of installation, I got error message, saying that my laptop supports virtualisation, but VT-x is disabled.
According to Apple official specs, all latest macs that are running on Intel CPUs, have VT-x feature enabled by default. It might seen as disabled by the HAXM Installation Manager for two reasons:
As I didn’t have any other emulators or virtual machines running, I decided to find a way to make it work. And after some googling, I finally found a solution. According to the blog post I found, there was an issue with an incorrectly signed kernel extension on Intel’s part. I believe Intel will fix it soon, but for now as a workaround, we can use the following command:
sudo nvram boot-args="kext-dev-mode=1"
kexts to run in dev mode and disables all signing checks. Changes will take affect after system restart.
I am working very hard on my CardioMood app for Android.
As described in one of my previous posts, CardioMood is a health monitoring social service with a stress monitor app. It measures your stress level according to heart rate variability. It also shows a bunch of other parameters, which are represented as different kinds of charts.
Stress Index is a quantitative characteristic of your stress. Normally, the value of Stress Index varies from 50 to 150. The SI value outside of the range could be caused by a number of factors, such as physical or emotional stress, diseases (including heart diseases), and low quality of data obtained from heart rate sensor.
In CardioMood Stress Monitor app, we need to visually represent a calculated value of Stress Index – and that is another problem. I decided to use a speedometer-like gauge.
In our measurement report screen used WebView to visually represent the result.
So, WebView gives you an easiest way to add Speedometer gauge to your android app. In our case we used a solution from Geek’s Retreat.
We had hard time with sizing and layouting components in WebView. Soon, we realized that WebView is not reliable – it’s better to use native controls than spend days on fixing issues and supporting diverse screen densities and sizes in HTML.
Check out a GitHub repo to see source code, release binary and usage example.
UPD: The component was moved to AndroidWidgets library.
Feel free to comment, request features or report bugs.
The app tests your English language skills! Just listen to the phrases and fill in the gaps typing the words missing in the transcript.
There are 5 levels of difficulty. Phrases are taken from world news (CNN, BBC), science movies, pop music etc. I am sure that you will enjoy gathering “tambourines”. Good luck!
Feel free to download, rate and review the app!
I’d like to introduce an Android application for our CardioMood health service, which is going to revolutionize today’s health & fitness approaches.
You can evaluate your stress level and estimate health of your heart.
Feel free to rate this app and leave your feedback.
This application doesn’t use or require any network connections and can be used safely.
This is a demo. In the future we are going to support a much wider range of Android devices and heart rate monitors.
Stay with http://www.cardiomood.com !
In one of my previous posts I told you that I started learning how to code for Android, and created my first Android app. But most of mobile apps are useless when they do not exploit the advantages of the Internet. That is why in order to create a good application you should know how to use the power of the Internet in your app.
There are different ways of how your application is interacting with the Internet and its resources, for instance an app can download data, connect to remote databases, but the most popular way of interaction is RESTful services (in the development of mobile apps). It just works more effectively than SOAP when the bandwidth is limited.
In this article I’ll show briefly how to create a client for a RESTful service in Android (this should also work in any device supporting Java). Read more of this post
https://play.google.com/store/apps/details?id=info.danshin.android.sandbox – this link is deprecated (see updated link at the end of the article).
If you are the owner of Polar H7 heart rate monitor and have got Bluetooth LE enabled phone from Motorola, check out my new app.
A new and fully functional version of app for heart rate variability analysis can be found here: https://play.google.com/store/apps/details?id=com.cardiomood.android
See also my article about the app.
There are a lot of stuff on the internet concerning this extremely boring topic and I could have easily copied it… But I was so lazy to google, so I just wrote down some of my thoughts. If you are still interested in reading this bullshit, here it is. But don’t say that I didn’t give you a warning. Read more of this post
I know absolutely nothing about fashion. Frankly speaking, sometimes I found it difficult to go shopping and buy some clothes. Really!… When I go to some clothing store in order to buy jeans, the only thing I think of is how to pick up something and get out of there. Once, I had to ask my friends to help me out and go with me. Is it silly?.. Many people have some issues – that is mine.
Even though I am a complete newbie in fashion, I have to create a report about any fashion designer I like. You know what: they all suck! 🙂
I should probably write something about one fashion designer in order to make them get off me (and by them, I imply my English teacher). So, I looked into Wikipedia and came across one interesting name – Ralph Lauren. Let’s see who he is and what he is. Read more of this post