Android Development
Google Maps V2 Clustering Sample
Here is my sample for Google Maps V2 Clustering Docs here: https://developers.google.com/maps/documentation/android-api/utility/marker-clustering#introduction App in action: Fork on github:
Here is my sample for Google Maps V2 Clustering Docs here: https://developers.google.com/maps/documentation/android-api/utility/marker-clustering#introduction App in action: Fork on github:
Problem happens when you have more than one developer in the Android team or you develop project from different computers. Some APIs or functionality depends on keystore which sign the APK. For example Facebook API. To make life easier you Read more…
Here is sample for loop tabs in Android. Video with sample application in action Lets show how it works. 1. I have Tab enum which describe Tab element. Also you can handle tab state. I don’t do it in this Read more…
Case: We need know current user activity. Using ActivityRecognitionApi we can get if user driving, walking, running, ride bicycle. Android get information from all the sensors and analyse it using ActivityRecognitionApi. Below simple sample how to implement it. Please follow Read more…
As you know a lot of application can show their views above all application. You can see if in Facebook Messanger. How to do it? The Android API have SYSTEM_ALERT_WINDOW permission (“android.permission.SYSTEM_ALERT_WINDOW”). The API said: “SYSTEM_ALERT_WINDOW Allows an app to Read more…
Hello, I’ve created Telegram bot which help you get meaning of your or your friend’s name. Very simple to work with @nameMeaningBot Just send the name and you will get the answer. Link to bot: telegram.me/nameMeaningBot
Here is sample application which demonstrate shake detecting. This sample application go into red when shake detected. Please look youtube video. package com.hrupin.sample.shakedetect; import android.app.Activity; import android.graphics.Color; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.os.Bundle; import android.view.View; import Read more…
I’m tired create link to source code in my blog. So, what’s why I’ve created simple plugin which help me do it using shortcodes. Here is how it looks on my page Source code of page [githublink url=”https://github.com/ihrupin/samples/tree/master/php/githublink”] Here is Read more…
There was a problem to connect USB device to hosted Windows7. I always get “Failed to attach USB device to the virtual machine. USB device with UUID is in use by someone else” error. Screenshot: To remove it I did Read more…
Here is little sample how to send email (send intent to Mail app) with text file as attachment. Screenshot: And here is source code of main feature: private void sendIntentToGmailApp(File fileToSend) { if(fileToSend != null){ Intent email = new Intent(Intent.ACTION_SEND); Read more…