Tags
android apache awstats beans clearcase clearquest dev dreamhost dvb eclipse ffmpeg gradle htaccess html http java javascript jni licensing linux mac macfuse mpeg mysql mythtv network networking openoffice php random root ruby samba scripting soap spring sshfs ssh linux sudoers requiretty touch tr ubuntu vpn vsftp WOL xmltv
Tag Archives: android
Android dev: custom view classes
Instantiating custom views. There is a no class attribute etc. if you’re trying to find one in the XML, instead the fully-qualified class name is used as the tag. <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”match_parent” android:layout_height=”match_parent” android:orientation=”vertical”> <com.adamish.android.dmxapp.DmxView2d android:layout_width=”match_parent” android:layout_height=”fill_parent” android:id=”@+id/laser_pos_panel” /> </LinearLayout>
Android dev: handling touch events on custom views
Embarrassingly this tripped me up for a while. In a custom view there were only single “click” events being called when a finger was dragged across the screen. This was due to the return value from the method being false … Continue reading
Android dev: app navigation using back button
The back button can be used to navigate within an application. The easiest way to do this is to define multiple activities. Activities can be moved into using action buttons etc, and then can be exited using the back button. … Continue reading