Android Context in non-activity Class – The Secret of ContextWrapper
One of most frustrating issues I had to figure out when I’ve started to develop for Android was the Context.
Development Specialist, Artist and Activist
Personal Website
One of most frustrating issues I had to figure out when I’ve started to develop for Android was the Context.
Development Specialist, Artist and Activist
Personal Website
Getting the android IP address for Wi-Fi connection using the API is very simple:
Development Specialist, Artist and Activist
Personal Website
Oracle Java CentOS 6 Installation and configure it as the default Java Runtime Environment.
Continue reading
DevOps/IT Specialist, Musician.
IT Manager – Faculty of Exact Sciences, Bar-Ilan University
Personal Website
I had a problem in development for android add element empty list was returned on eclipse when trying to add a new element to PreferenceScreen (XML). The ok button disabled.
Development Specialist, Artist and Activist
Personal Website
Android preference multiple dependency is not out-of-the-box feature until api level 14 introduced us with SwitchPreference (extends TwoStatePreference) to implement such feature. the old CheckBoxPreference can’t do that.
If your app is designed for newer systems only, (min-api equal or higher than 14) that won’t be a problem for you – because you can use the new SwitchPreference element to get at least 2 states, but if your app designed to work with older api support, or more than 2 dependencies on one element – you need another method.
Note: you can always implement both ways! use the ‘/xml-v14‘ directory to create multiple version of your XML, better with include, one for API 14 with SwitchPreference, and one for the old API’s with the following solution.
Development Specialist, Artist and Activist
Personal Website
Android toast stuck on screen when you called Toast.show() ? There’s a solution.
Development Specialist, Artist and Activist
Personal Website
Several major companies have been hacked lately. Security advice for web users last week from the US Department of Homeland Security encouraging to disable java on browsers. Disable java in each browser takes time. You will learn how to disable java for all at once. and also for each browser if needed.
Development Specialist, Artist and Activist
Personal Website
The Coffee-Bytes plugin by Alex Popescu can add folding functionality to Eclipse IDE.
Development Specialist, Artist and Activist
Personal Website