I've gotten this to work with separate Activities, but don't want the overhead or the difficulty sharing information between tabs. So I've split it into Views as opposed to activities. Problem is, it won't update the list when I create it as the examples I've found online show it.
@Override
protected void onCreate(Bundle savedInstanceS...
First of all apologies if this is a duplicate but I'm browsing via my mobile and am having problems searching.
I'm new to android development and would like to know how to access the gmail contacts rather than phone contacts, I've followed a couple of tutorials and can list the contacts that are stored on the phone but I am unable to fi...
Hi,
My team is trying to build an Android application for a tablet that will be dedicated for this sole purpose. One of the requirements is that the application is the only thing running on the device (at least from the user's point of view). The user should not be able to close it or use any other functionality from the OS (settings, ...
My probel is that images in my Gallery are bleeding in into each other once I begin scrolling towards the next image.
I am using a android.widget.Gallery connected to a custom adapter I extended from BaseAdapter.
The adapter's GetView() method is like this
public View getView(int position, View convertView, ViewGroup parent) {
...
My app uses the MediaPlayer for audio playback and gives the user the option to switch between AudioManager.STREAM_VOICE_CALL and AudioManager.STREAM_MUSIC (Earphone and SpeakerPhone)
Everything works great on the emulator, HTC Droid Eris, and HTC Incredible. However when we went to test the app on the new HTC G2, the audio was so quiet...
I need a phone for android development in the US (San Francisco Bay Area). I'm considering the unlocked ADP2 or Nexus One. I would like to be able to switch the sim card from my iPhone to the Android phone while I'm working on the project (ie. during the day) but otherwise use my iPhone. I spoke with an AT&T sales rep who explained th...
Why does the tab text overlap the drawable in the tab? Is there a way to prevent this? Is the drawable always centered? What's the point of being able to add text as well as a drawable to the indicator if it gives this output.
xml
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/androi...
So, now I've figured out how to make multiple of the same object correctly, I need to know how to make an array of them, changing depending on how many are needed, because it is pretty much an object, that stores 3 numbers. How can I Create an arraylist that is of different objects, because I'm going to have the numbers inside them diffe...
I'd like to add a boolean property to a contact. To store this property I noticed that I can store custom notes with my own mimetype.
So I created a listview which displays all contacts. The listview contains a checkbox and a text field. When the status of the checkbox changes I'd like to update the contact.
public static final String ...
i need the source code for these libraries:-
commons-codec-1.3
commons-httpclient-3.0.1
commons-logging-1.1
log4j-1.2.14
jaxb-ri-2.1
...
I'm sure this can be answered really easily. I just do not find the intent id for this job.
I want to show up that localization settings page, where the user can select "turn on localization through wifi..."
Intent intent = new Intent( ??? );
startActivity(intent);
...
Hi,
I was wondering what the purpose of the function onSizeChanged() is while building custom components. I was going over the tic tac toe sample, and can't really seem to get why it is needed, and how the size of a view can change. Sorry if this is a stupid question :)
Thanks
...
Hi
I am developing an android application where i need to connect to a server socket from my application. The application works fine when i am at home and my android phone and the server using the same Wi-Fi. However, when I am at the university my application can not connect to the server socket. It always shows "The Operation has time...
i need the source code for these libraries:- commons-codec-1.3 , commons-httpclient-3.0.1 ,commons-logging-1.1 ,log4j-1.2.14 ,jaxb-ri-2.1........................
i need the code to recompile it in eclipse in android app and use it with javax.xml packages as you know javax.xml can not be used in eclipse in android project ........
all ...
Hello,
could some one please tell me if there is a way to load kml file into the google map in android.
thanks
...
This doesn't appear to be well documented or I missed it, so before I run a bunch of my own tests I was wondering if anyone already knows the answers to some of these questions.
First off, when I say "Application" I am referring to extending the Application class. http://developer.android.com/reference/android/app/Application.html
The...
I have two projects, my main android application and another test project that runs on top of that android application.
I have placed a text file in my android test project, This file contains information xml content. The xml content is what my android application will receive when I hit my server.
I am using the TestCase class in my ...
Is there functionality in teh live Wallpaper for the service to know where widgets are placed on the homescreen and the size of the widgets? For instance If I created a Live Wallpaper that changed based on widget position is that possible?
Also I want to make a widget with buttons that manipulate the live wallpaper, would I use the Inte...
Is is possible to change TextView text after using Linkify to create links? I have something where I want the url to have two fields, a name and id, but then I just want the text to display the name.
So I start off with a textview with text that includes both name and id, and linkify to create the appropriate links with both fields. But...
Hi guys,
I'm looking to optimize generating of slightly different APKs of the same Android app, the only difference being the API server it's using.
Ideally, I'd just want my Eclipse to build 2 APKs, one with the prod server and one with the dev one.
I'm even OK with having 2 Run configurations, but I haven't been able to figure out h...