Send Email in your Android Application
I've seen a lot of examples of how to send email from an android application. All of them result in applications coming up in a chooser list that are not appropriate for sending email. In this post, I'll described the various solutions I found, and the solution that brings up only email clients.
Conversion to Dalvik format failed with error
I went looking, and looking, and looking, for a solution to this problem. None of them seemed to fit the bill. I tried...
- updating proguard
- not using libraries I shouldn't be
- re-importing the project
- removing duplicate android jars
- removing all android jars
- a host of other "suggestions" from Eclipse Android users
Eclipse Android Hello World Tutorial Video – Part 3
In third part of the android hello world video, we explain the different components of the application, and why things are done in a certain way. This video is a bit raw. However, rather than editing the videos, I'm going to try and improve my presentation skills as I go.
Ubuntu Sluggish or Slow
I was recently having a problem where my new computer was becoming extremely sluggish while running Ubuntu Linux 11.04. The keyboard input was very delayed and slow. The graphics were terribly slow. Just about everything in the system became very slow. I've heard reports from similar problems, of complete lockups. It seemed to be linked to when the screensaver was activated, or power management was activated. But, after having disabled both, and continuing to have problems, I realized that wasn't it. Keep reading for the solution to my problem; I hope it helps you too.
Eclipse Android Hello World Tutorial Video – Part 2
Okay, I've finished another android development demo video. Sorry it took so long, I got really busy with a new computer and what not, and life in general. In the next video in this series, I will explain the details of the hello android application. So, if you do not understand some of what is happening, stay tuned for the next video in the series.
Slow SSH Login
I had slow login problems with my SSH server for many months, and never bothered to try and fix it. Finally I got sick of it, and enabled verbose mode. I noticed it was doing public key authentication, GSSAPI authentication, and then password. The authentication would fail on public key, then the GSSAPI authentication would sit there for a long time, before moving on to password authentication.
Add the following to your /etc/ssh/sshd_config
GSSAPIAuthentication no GSSAPICleanupCredentials no
Maven Test Debug Mode Profile
I should have blogged about this long ago, as I feel that this is a very useful way of debugging unit tests with maven. This is especially so if you're primarily a command line sort of guy like myself.
All that is required to be able to debug a unit test is
- configure the maven surefire plugin from within a profile
- activate the maven profile from the command line
The following XML profiles section will work just peachy for you.
<profiles> <profile> <id>dtest</id> <properties> <maven.test.skip>false</maven.test.skip> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <forkMode>once</forkMode> <debugForkedProcess>true</debugForkedProcess> </configuration> </plugin> </plugins> </build> </profile> </profiles>
Now just run this.
mvn -Pdtest packageAsus Transformer Android 3.1 Contacts Force Close
I just bought an ASUS Transformer TF101. I set everything up, and suddenly found that my contacts manager application from Google was crashing with a "Force Close" button. I was very upset about that, so I tried to rectify it. I was getting the following error...
- The process android.process.acore has stopped unexpectedly. Please try again.
Eclipse Android Hello World Tutorial Video – Part 1
My intention is to make all of my android videos as simple as possible, and as short as possible. That way you can learn what you need to, and get on with it.
This is a quick demo on how to get started on developing for Android. It is "hopefully" the first in a serious of android demo videos that I will be creating. I am mainly creating them for myself, so as to become familiar with basic android development tasks, and also to play with recording sessions; I too am a newbie to Android development. I am putting them on YouTube in case anyone else may find them valuable; perhaps for their simplicity. I hope you enjoy.
Evernote Loses Your Data
Be VERY careful with using evernote on multiple devices. ALWAYS sync BEFORE editing. Evernote does not care whether your data is current or not, it will overwrite it one way or another. I wrote a whole whack of notes on my French course, in French, laboriously, and it lost a very large amount of them.
This does not happen every time. Usually it will show you both versions of the documents if there was a conflict.
So, be careful, evernote loses data.