Posts

Showing posts with the label Android Programming

Auto Respond By Text - App for Android

Image
"Auto Respond By Text" is an Android app I made by using App Inventor for Android . This app is a tool that will send an automatic response to whoever who sends you a text while it is enabled. It was inspired by Google's example app called " No Text While Driving ". After seeing that idea, I made mine from scratch and I added much enhancement. Here is what mine offers beyond the example provided by Google: Choose from a list of pre-defined responses. Customize your own list of responses. Enable or disable the auto-response feature. Set a timeout so that it will disable itself automatically after a customizable period of time. Sleek user interface. Thanks goes out to MakeUseOf.com for helping me figure out how to take screenshots of Android apps without having to root the phone. Download Now

Tic Tac Toe - Using App Inventor Beta

Image
I bult a Tic-Tac-Toe game for Android phones tonight using App Inventor. I didn't have to write a single line of code but I was still able to use logic such as whether to show an X or an O based on whose turn it is. I also included a reset button that clears out all the X's and O's when clicked. As I mentioned, I didn't write a single line of code. To build the layout, you just drag and drop components on the visual editor. Then when you want to handle events (such as a button click) you drag and drop events onto the "Block Editor". The Block Editor is also used for creating variables, if statements, etc. There are three main parts of App Inventor: App Inventor Extras : A program you can install on your computer to allow for viewing the app faster on your phone. (This isn't required if you are willing to download the app and install it over and over again to see what it looks like.) The Visual Editor : A website you load in your browser. The Block Ed...

Add and Edit WordPress Posts From Your Android Phone

I went to my wordpress site today using my phone. The site displayed using the mobile theme and I noticed a link at the bottom to "Download WordPress for Android". I installed the app and here I am using it to write this post. Not only can you modify posts but you can modify pages as well. It supports basic formatting such as bold, italics, underline, link, and block-quote. Tags are also supported. I am impressed that it also goes above and beyond the basics by allowing you to upload media files, add categories, and view stats complete with a visial graph. Watch a video and find the link to the application at http://android.wordpress.org/

Error when using ScrollView in Android

If you have added a ScrollView to your layout in Android, you might get this error showing up in your IDE: error: Error parsing XML: unbound prefix The problem is likely that you have not provided the xmlns:android attribute. If you have placed your ScrollView around the default LinearLayout in the project, just move the xmlns:android attribute from the LinearLayout to the ScrollView that you added. (The source for the error above came from Eclipse 3.6.0 when I hovered over the error icon to the left of the ScrollView tag in my main.XML file.) Also thanks to Lars Vogel's tutorial for showing me where to place the ScrollView.