Apr 152014
 

All three big desktop operating systems are supported for Android development and here
are the download links and instructions for necessary software:

Android development tools bundle:
http://developer.android.com/sdk/index.html

Pencil GUI prototyping tool:
http://pencil.evolus.vn/Downloads.html

Intel HAXM installation instructions (hardware virtualization must be supported and enabled, intel processors only):
https://software.intel.com/en-us/android/articles/speeding-up-the-android-emulator-on-intel-architecture

Git client:
http://git-scm.com/downloads/guis 

GIMP – GNU Image Manipulation Program
http://www.gimp.org/

 

 

Feb 282014
 

If you synced wireless settings (network PSK-s etc.)  from another phone  when you turned on your Nexus 5 it may be unable to connect to wireless networks automatically – or not at all.

Short term solution is to type in the PSK and save it then go to the Airplane Mode – stay there one minute, and turn off the Airplane mode. This will make Nexus 5 connect to the network that’s in range but it will fail to switch to others.

To solve problem completely use this solution (provided that the phone is rooted and usb debugging is on) from adb shell:

You can type same commands on the terminal emulator on the phone if you have one installed.

Thanks to wonderful people on the internet:

https://code.google.com/p/android/issues/detail?id=61945#c13

 

 

Keep Me Up

 Uncategorized  No Responses »
Nov 282013
 

Keep Me Up is a simple widget to hold the wake lock on your device’s screen so it doesn’t turn off while you read, or for any other reason one can come up with.

IMPORTANT: Keeping your screen on for a long time drains your battery, so make sure you turn it off the moment it’s not needed anymore.

Following are some screenshots of the widget:

 

This application has been opensourced. You can check out its code at GitHub.

Please send an email in case you have any suggestions or want to report bugs.

You can get it through Google Play, and don’t forget to rate it 5 stars if you like it and want to support it.

Do Not Interrupt

 Uncategorized  No Responses »
May 312013
 

Have you ever had a situation when your phone rang in the middle of some important meeting or during a class?
Ever wanted to have a good night sleep with no disturbing calls in the middle of the night?
Maybe you just don’t want to be available during a specific time period for whatever reason?
Then Do Not Interrupt is the right application for you.

It behaves as an airplane or silent mode scheduler, enabling you to schedule time when you want your device to automatically enable or disable airplane or silent mode. You can choose whether you want your schedule to execute only once or on specific days of week. Once your schedule is set just enable it and let Do Not Interrupt do its thing.

Here are some screenshots of the application so you get a feeling of how it looks like:

 

IMPORTANT: This application requires root permission on Android versions 4.2 and above if you want the airplane mode scheduling to be enabled (to check your version go to Settings, then tap About phone on your device and check out the Android version field). This is because the way of controlling the airplane mode feature itself has been changed since Android 4.2. If you do not have root, or do not know what root is, and you have one of the above mentioned versions of Android only scheduling silent mode will be enabled for you.

This application has been opensourced.You can check out its code at GitHub.

Please send an email in case you have any suggestions or want to report bugs.

You can get it through Google Play, and don’t forget to rate it 5 stars if you like it and want to support it.

 

Pametne cike sa stackoverflowa su testirale koji od tri nacina generisanja poruka sa customiziranim sadrzajem ( + operator, string formatter i StringBuilder klasa ) i zakljucili su sljedece:

 

The result are as follow (average of 5 runs each):
Approach       Time(ms)  Memory allocated (long)
‘+’ operator     747           320,504
String.format  16484       373,312
StringBuilder  769           57,344

 

Drugim rijecima – koristnje StringBuilder klase za pravljenje formatiranog stringa je daleko najbolje. Koristenje “+” operatora je gotovo jednako brzo ali znacajno vise memorije zauzima.

Izvor:

http://stackoverflow.com/questions/513600/should-i-use-javas-string-format-if-performance-is-important

May 172013
 

Zatrebalo mi pa nadjoh na internetu kako se ovo radi … osim pinch to zoom implementira i translaciju (skroliranje) kao na MapView-u te se uz malo maste moze primijeniti na svaki View a ne samo na ImageView.
Pa neka ostane:

Kod je preuzet sa linka

http://stackoverflow.com/questions/5790503/can-we-use-scale-gesture-detector-for-pinch-zoom-in-android

 

© 2012 Mobilna Halka - mHalka Suffusion theme by Sayontan Sinha