I am using Eclipse 3.5 for Jave EE Developers. Plugins installed include: Android Development Tools, Adobe Flash Builder 4, PDT, PyDev. I have problem with running the application I built.
I can start a new project, add a button, and run it on an AVD. Then I add another button, try to run it on AVD, and Eclipse says 1) gen folder is mi...
Hi there,
I've just started playing around with android, so pardon me if this is a totally stupid question.
I'm trying to create a simple text based game in which I ask a question based on a movie. The list of movie's is in a text file which I've included in res/raw. So basically I want to have a default string, say "Who acted in", fo...
Im using seek bar to control volume of the device. Im able to change the volume of the device using thumb of the seek bar just by dragging it on touch pad.
But when user presses volume(side) keys i need to set seek bar thumb position accordingly.
Hw i can do this please let me know
Thanks
...
I'm trying to implement pinch-zoom in an app I'm making and am having issues with the onTouch event. It appears that the pointer up & down actions do not fire immediately, like you won't get a pointer up or down until an action move occurs. So what happens if both fingers hit the screen nearly simultaneously is that the 2nd finger (shoul...
My activity contains data retrieved from internet. I want the activity to automatically refresh its content every 5 minute. What is the best way to implement it? Should I use java's Timer and TimerTask?
Thanks.
...
I have a standard <select> and would like to open it when a user clicks on another element. It's pretty simple in a regular browser and even on the iphone, but for some reason nothing working on Android.
I've tried the click and focus events, and also tried changing the size attribute of the select but none of these worked.
Has anyone ...
In the image below, i want the textview in red to be vertically centered, I would like to keep using just RelativeLayout not any LinearLayouts, I think i can figure out how to do this with LinearLayout but do not want to use these.
This is all based off of the examples i found here android devleper's blog - Android Layout Tricks #1
...
Hi,
I am developing an android application where we are using WebView to display Web page being served from Web Server. Everything is working fine except with the problem that when i am using the soft keyboard and switched to numeric key entry and move from first field to next field, the keyboard layout automatically changed to alphanum...
i am creating an EditText object which i then try to reference in a unit test. what is the best way to add a new 'id' to R.id for this dynamically created object so that i can later reference it via findViewById() in the unit test?
...
I have an android application that parses some HTML, downloads an image, and displays it. I'm using an AsyncTask to do the HTML parsing and image downloading, but that shouldn't be relevant. I never have a problem when I'm on WiFi on my phone, when I'm using the Eclipse debugger on my phone, or when I'm using the emulator. When I have my...
How can i display a simple animation?
Let's say there is a button on the screen with margin left of 200, and margin top of 200.
I need to set the margin left, and top of this button to 0 and show a simple animation.
So basically a simple animation on a button from position 200,200 to position 0,0
...
I don't have an Android device. Is there any way to see the Google Android Market - on the emulator, on the Web, in a specialized client (a la iTunes)?
...
I was pretty excited to see how easy it is to set up Google Analytics with my app, but the lack of documentation has me sitting with a few questions. The only information that I can find is right from the documentation here, which only looks at reporting PageViews and Events from one Activity. I want to report PageViews and Events across...
Hi,
I am having issues with the getCheckedItemPositions call for ListView. The first call works but subsequent calls returned the same results even if the previous checked items were unchecked.
eg.
first call: positions 0 & 1 are checked, result shows 0 & 1 are checked
2nd call: position 0 & 1 are unchecked, result still shows 0 & ...
Hi, i'm working on a android app that will display Strings to the user, and the user then has the option to add one to a favorite list. I have searched and searched and cannot find the proper way of doing this. I did get one open source project, everything worked until the user removed a favorite. The database would clear the row of data...
I want to create an activity with a title bar at top and a navigation bar at bottom. I used include to include the title bar layout and the navigation bar layout into the main layout as below. But, as a result, both the title bar and navigation bar went to the top of the screen. Could someone tell me why? Thanks!
<?xml version="1.0" enc...
I have an Android ListView, backed by an ArrayAdapter. When the user clicks on an item in the list, that item is removed. This all appears to work fine, you can click on each item until there are no items left.
However, it all goes wrong once text filtering occurs. Once the list has been filtered once, even if that filter is cleared,...
Hello everyone,
I'm currently working with OpenGL ES 1.1 and using the DrawElements convention along with Vertex, Normal, Texture Coordinate, and Index arrays.
I recently came across this while researching the idea of using Normal/Bump mapping which I previously though impossible with OpenGL ES:
http://iphone-3d-programming.labs.oreill...
Is there a way to look at LogCat when the app is running on a device on DeviceAnywhere?
Thanks
Chris
...
I'm trying to build an Android project that has some dependencies. The jar files are in the lib/ directory. I can build the project by adding those jar file to my classpath, but of course it Force Closes in the emulator because those libraries aren't present.
I'm doing this from the command line with ant (not in eclipse). How can I m...