Is there a way to change the text of the tab bar while keeping the default grey bars? I've looked around online, and I've only found ways to change the entire tab widget itself. I just need to change the color of the text, because when it's highlighted on the device the text itself is very hard to read.
...
The Android ListView widget (2.2) has a default behavior that shrinks all the child views when the ListView scrolls.
I want to disable this behavior and do no shrinking of the child views so that they always remain the same size -- how can I do this?
...
If you go into the standard Note pad accessory application, the first available note menu entry is going to be...
<untitled>
My question is this: Where is "<untitled>" coming from in the code? The code is in the NotePad sample in the SDK if you want to built a project from existing source real fast. I just can't find where "<unti...
Hello,
My question today relates to the android home screen and where it stores icon / widget positions. Specifically, I am interested in accessing the positions and sizes of any icons that are currently being displayed. I have, so far, been unable to find a method of retrieving the positions of other applications but i figure it must...
I created an Matrix object (like the math Matrix, a 4x4 block of numbers for instance) and it works fine, can set row,col,variable just fine, but, I cant have more than one of the same object, I have it creating an ArrayList of a dozen Matrix objects, each with the three variables, but when I call changeVar(Matrix x,int variable) and ref...
Hi,
I have been trying this for a week or so now.
I have followed the tutorial to get hello android working but while an AVD starts the program doesn't run.
I am running Windows 7 64 bit with eclipse 3.5.2 running adt 0.9.9 and SDK r7.
the sdk is installed in C:\android-sdk-windows
eclipse is installed in C:\eclipse
What i can do:
...
Hi
i am working on an application that send and get data from internet each 5 min
if i press home key and my app goes to background... it will still continue sending/getting data from internet? or i have to do something special?
thanks
...
I'm requesting data from my server and receive a string in the form of 2|bit.ly|1||1| and | should be the seperator.
I though the following piece of code should do the work
BufferedReader br = null;
...
br = new BufferedReader(new InputStreamReader(inputStream));
...
String line;
String[] columns;
ContentValues values;
while((line =...
Hi all. I'm having troubles when I want show a JSON response. I extract correctly the strings but when there is characters like 'á' or '¿' instead of these ones appears 'Ãi' or '¿'. I think that the response comes in non-UTF8 enconding, but I cannot find how to convert it.
EDIT: I'm trying to do a GET request to this URL: https://gra...
Hi, im following the tutorial from developers guide but i have a problem...
tutorial says: "To clear the status bar notification when the user selects it from the Notifications window, add the "FLAG_AUTO_CANCEL" flag to your Notification object"
but... how i can add the flag to my notification?
notification doesn't have any kind of fu...
Hi, This works great for files. I marked the location needing refactoring to get it to work with a bitmap. I can't seem to find a compatible ContentBody for .addPart.
The problem I am trying to solve is that I already have the image in an ImageView within an Activity, so rather than read it again from the SD cara, I want to pass it to...
I get such stack trace:
android.database.sqlite.SQLiteException: no such table: someTa???: , while compiling: SELECT COUNT(*) FROM someTa??? WHERE a = ? AND b = ?
at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
at andro...
As a developer What are your thoughts on UI design when Developing 1 mobile app for both iPhone and android..
Since the application will not be developed for a specific mobile device there are two options in regards to UI
build the application using native UI (one for iphone, another for android)
build the application using custom UI ...
Hi
How can i do a notification in the status bar but without the expanded message in the "Notifications" window?
i mean, i need just the icon, nothing more
there is a way to do that?
...
I want to center the application title/label in my android app but I can't find a lot of documentation on how to set that property. I have found a couple of posts saying that I can create a custom title bar and change the theme in my manifest but I just can help think there is a simpler way to just center the title.
Thanks in advance.
...
hello guys! i'm using the default way to call the contact picker.
public void showContactPicker(View view)
{
Intent newIntent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI);
startActivityForResult(newIntent, 1);
}
but i need to select multiple contacts using checkboxes. how can i put checkboxes in the contacts list? i...
I want to develop a application on Android platform to connect to salesforce. From what i have found salesforce provides service API's which can be used to connect to salesforce servers by creating a Web service from the client side application.
Salesforce developer site has examples of creating such a Web service by using Apache Axis ...
I have an application that creates a LocationManager object and requests updates, but it causes repeated messages like this in the logcat:
D/lib_locapi( 102): loc_eng_report_status: GPS_STATUS_SESSION_BEGIN
D/lib_locapi( 102): loc_eng_report_sv: valid_mask = 0x30, num of sv = 4
D/lib_locapi( 102): loc_eng_report_nmea
D/lib_locapi( ...
I'm an Android noob teaching myself debugging in the Eclipse (Galileo 3.52) environment.
I have a little "hello world" app that runs fine in the emulator. So now I want to practice debugging by setting breakpoints, looking at variablaes, etc.
But Run > Debug As... has nothing but a grayed-out "(nothing applicable)" entry. What doe...
Hi ,
I have developing apps with google map .I follow material from android developers site and some other guidelines .wen i run the program the icon only point to the location .in background no map view displayed.can any one help to me ?
Thanks in advance
Regards
Lakshmanan.
Here is my source code,
public class MapPage extends MapAct...