I am trying to create a tic - tac - toe type of game where two androids can play with each other. I am trying to build this game using eclipse SDK and a servlet written in PHP (or I can use Java if needed). The diagram is attached ( http://www.scorechase.com/tictactoe.PNG ) which depicts one side of the data flow. Here is the problem
1]...
I'm publishing an android application develpoed in eclpis and, as stated in the title, I would like to integrate proguard(obfuscation) into the build, specifically for exporting a signed app.
Anyone had any luck without going down the ant path?
...
I guess that Android won't let people to do this, because they think they have perfect handle for the task/applications. However, I really need to do this in my case.
I have an activity A acting as the entry point of my application. In that activity, it reads the preference and decided which activity to start, say B or C. After that, it...
My question in a nutshell is: Is there a correlation between the number of decimals used in GPS co-ordinates and the accuracy of the location?
Right now I happen to be working with the Android SDK but I'm sure this question can apply to many other geolocation SDKs. Basically, Android returns GPS coordinates with up to 14 digits. That se...
In the ImageAdapter class of this tutorial, http://developer.android.com/resources/tutorials/views/hello-gridview.html
I would like to create and populate an array using a for loop. But it seems no matter where I place it, it causes an error.
For example, under private Context mContext; I put in the following and it causes an error. I ...
I am not using an image icon, only a (fixed size) text indicator. How do I set the tab height to its most efficient size?[wrap_content has no effect.]
...
When Android 2.1 focuses on a text field in a WebView while in Landscape, it does this below. It takes the entire field input area and fills the tiny strip of available screen.
The problem here is that when you hit that "Next" button, you have enough idea what field you are in.
Is there a way to improve this with some sort of prompt s...
Hi,
Is it possible to have something similar like Blackberry in Android:
link text
I want to add a menu item particularly to the Contacts Option menu.
please let me know if this can be done in android.
...
My layout xml has a Tablelayout with TextViews for a cell:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
<TextView
android:text="S...
It should be easy, right? So - here's how I have ViewSwitcher defined in XML (Id's and layouts omitted for brevity)
<ViewSwitcher android:layout_height="wrap_content" android:layout_width="fill_parent" >
<!-- First view, comes up OK -->
<LinearLayout android:id="@+id/header1">
<!-- some more controls: Progress ba...
Hi. i have a problem... How to display data from sqlite in textview..
please help me out..
Thank u..
...
Hi,
I just started looking at the android framework and was wondering what was the best way going about getting good at it. I started with a text game and created a simple bubbleWrap game next. But am not sure if I'm going about it the right way now, so I thought I'd ask some of you more experienced Android people out here. Are there an...
Hi
My spinner control is displaying fine no problem. When someone is in create mode they are able to selected a value which I am able to record and store in my database.
But I have a problem when someone is in edit mode and I want to display the list but have one of the items (say the third) selected. I can't see how to do that. All...
I have a listview and i inflate the first position with a layout and every other position i do
another inflation with another layout.
I can do that by checking every time in getView, but as you can imagine this is not very efficient.
Can you share me your thoughts to get that result by having this pattern?
(This don't get me the correc...
I have 2 items that are related to each other that need to be accessed separately. The title of a book and how many pages it has. I have made an array for the titles, but what is the best way to link the number of pages in that book to that title?
I was thinking of the following but I don't see how to access the page count.
<string-arr...
I have multiple classes and threads that need to write to a Java Swing JScrollPane. In the Android/Eclipse environment I used android.os.Message. Is there something similar in the NetBeans/Windows environment? Here is where I would like to send the message from:
public class PrintStatusTask extends Thread {
PrintStatusTask(String na...
So I followed the tutorial at this site: http://www.4feets.com/2009/03/2d-physics-on-android-using-box2d/
As interesting as it is, they leave out one section and from their tutorial: How to display the shapes on the device's screen.
I have a MyTouch 3G running Android 1.6 (donut). What control and what events can I take advantage of to...
so how do you turn on the camera's "flash" LED in Android? (like flashlight apps) - and is it possible to vary the brightness?
search results for "android flash" too polluted by adobe flash :(
...
Hello!
I want to edit a Bookmark using ContentValues();
I understand how to use this method in terms of updating the data (I think) but I'm missing the understanding on how I update the data of a specific ID.
//setting the URI (to edit the specific Bookmark by ID)
ContentValues bValues = new ContentValues();
bValues.put(Browser.Bookmar...
Revision 7 broke my build. I need SDK tools revision 6 for Mac OS.
Revision 6 is listed here, http://developer.android.com/sdk/tools-notes.html
But, I didn't find anywhere to download it. Anyone know?
Thanks.
...