Posts Tagged "array"

Using a SQLite Database in Android

Using a SQLite Database in Android

This tutorial will demonstrate how to use the database adapter created in “Creating a SQLite Database in Android” to add and get data to and from the database to populate a ListView. ...

read more

Quick and easy Android HTTP POST of JSON string

There are several ways to send data across the internet to a server on the Android. I was recently working on a project and needed to send a JSON string to the server to add data to a database. Additionally in certain cases I wanted to receive data back from the server. The fastest and easiest way to do this was to use HTTP POST android library and capture the response from the server using a...

read more

Creating a SQLite database in Android

Creating a SQLite database in Android

This example will show you how to create a somewhat abstracted SQLite adapter on Android. This adapter can then be utilized by your program to do common database functions such as, querying and searching. I start by creating the class DBAdapter in my Android project and declaring the variable data necessary to create the database. EDIT: The code has been modified since it originally assumed that...

read more

Talking Twitter

A week ago, for my mobile device programming class, I had to add text-to-speech and speech-to-text capabilities to a freely available Android program called Twitta. The features I added were very crudely superimposed on the Twitta interface, therefore this edit is by no means polished or intended for production usage. There are 3 button “S”, “X”, and “R”....

read more

Powers of base 2 between 2 values using array in MIPS

Program requests and reads in exactly one character, which represents an exponent. If the value is acceptable, then the program reads in another value. The program calculates the base 2 power between the user input values, and then stores the calculated values in an array. It then prints the values in the array. # Assignment 3: Powers of 2 Assembly utilizing Array # by Hanly De Los Santos #...

read more