android

How to set the background of the titlebar?

I have followed the instructions from this SO question: http://stackoverflow.com/questions/3438276/change-title-bar-text-in-android I am able to successfully create my own titlebar, however when I apply a background color to my layout, the color doesn't span across the entire titlebar. There are still remnants of the android gray backgr...

web services in android

Hi friends, I want to call webservices from android can anybody tell how to call webservices from android .It will come xml data how to get that data Thanks ...

Android Tabs in Bottom of the Layout

How to add tabs at the bottom of the screen in android.Please any one tell the answer ...

Android - Changes in "Style.xml" for Listview font-size

I have defined style for "TabWidget" as below: <style name="MyTheme" parent="@android:style/Theme.Light"> <item name="android:tabWidgetStyle">@style/LightTabWidget</item> </style> <style name="LightTabWidget" parent="@android:style/Widget.TabWidget"> <item name="android:textSize">12px</item> </style> In which i am...

Replace facebook dialog with custom dialog in android

Hi , I am trying to run example of facebook android sdk , in that i have run stream example to fetch the data from facebook. Now hen ever i click on "fconnect" button to log in into facebook i am getting following dialog box so is it possible to replace this dialog box with following to make it simple ??? ...

Android: INSTALL_FAILED_DEXOPT while install app on android 1.5

I am developing app which bust run on both Android 1.5 and Andoroid 2.x platforms. When I install it on Android 2.2 all is OK, but on emulator with Android 1.5 I get an error: Failure [INSTALL_FAILED_DEXOPT] What is the problem may be? UPD That is Logcat output: 09-26 07:12:22.484: INFO/PackageManager(579): /data/app/vmdl23706.tmp c...

Android-Video View in Fullscreen

Hi, I am trying to make the videoView to appear in full screen.the code is public class ViewVideo extends Activity { private String filename; private static final int INSERT_ID = Menu.FIRST; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); System.gc(); ...

Android - Draw 3D then 2D with openGL ES

How can i draw a HUD (Text or Bitmaps) after drawing some 3d stuff in openGL ES ?? I tried this: private void switchTo2D(GL10 gl){ gl.glDisable(GL10.GL_DEPTH_TEST); gl.glMatrixMode(GL10.GL_PROJECTION); gl.glPushMatrix(); gl.glLoadIdentity(); gl.glMatrixMode( GL10.GL_PROJECTION ); gl.glLoadIde...

Xml Parsing using SAX Parser in the android application.

Hello Team, Can anybody please solve my Issue regarding XML SAX Parsing. I have a small issue that in Android Application When Parsing is done , it goes through the whole response and parse the data. My Issue is that I just want to parse the data from the particular place, So that when I Parse the XML Response, Parsing should be done...

Android parsing the package problem

I have completed my one application in android. Then from the ddms I pull the .apk file when i installed it on my android its shows the error "there is a problem parsing the package". ...

Android - Activity of a killed process is still visible in list after [Home] pressed

Hi all, like many others, I want to kill my Android application on "exit" button. Really kill, not just move to background and stop all active code. (I know very well that Android does not like it.) I found Process.killProcess(Process.myPid()); and System.exit(0) which both work fine (I have no problem with activity stack, the "exit" bu...

cannot read two different tags using SAXParser in android?

I am using SAXParser to parse an xml document having three different tags But in the result i get the value of only "one tag and not Other two tags.. Can someone explain? My xml is : <outertag> <innertag> hello</innertag> <othertag>good morning</othertag> <thirdtag Attribute="its a pleasant day"/> </outertag> ...

Problem: While stationary Android GPS gives different location updates - Closed

Hi, I am working on an Android Application where I am trying to track movement of the device from a service. The service registers itself for the location updates, here we are making sure that we are asking for "GPS Provider" and not a network provider (which can be inaccurate.) While calling public void requestLocationUpdates (Strin...

Finite State Machine (FSM) and Android's Java

Hello, i'm willing to develop a soccer game for Android. Because the complexity of the AI, i really think i need to design it using a FSM (Finite State Machine) and not with a monster switch. Googling around i found some FSM written in Java, but nothing explicitly compatible with Android: i wonder if there is someone here that used a F...

Android, Adapter: Filtering via getView() still leaves gray lines

My application uses a list of media files on the phone, i.e. images, audio and video. It also allows the user to filter the list via some checkboxes in a menu, so the user can choose to show or hide each type of files. The way I've been doing this is by putting this in the adapter's getView(): // don't show unwanted file type...

Flurry State level user Details

friend's I have configured Flurry Analytics in my application,it points the users in the country well,but here i need to know the detailed view of the state wise users by clicking up the country from map showing but the corresponding users from that state is not showing. I set <uses-permission android:name="android.permission.ACC...

Want to enlarge image declared in the imageview when it get focus in android???

hi, Iam new to android application development. I want to know whether its possible to enlarge the image when it get focus. If ans is yes, could u pls provide me the sample code of the same. Hope i get the response asap. ...

Please Help me for gtting the current location of the Android phone.

Please Help me for creating an application for getting the current location of the android phone. Thank you. ...

List of trusted CA in android?

Hello everyone, i would like to know which Certification Authorities are "allowed" on android.. Since i'm going to buy a ssl certificate i would like to understand if i'll get some problems in android using it. Thanks ...

iphone tabbar like in android

I have added tab bar in my application I want to modify tabbar like iphone can any body tell how to modify tabbar in android like iphone tab bar color for the image change in tabbar in iphone default it displaying white I need like that in android tab bar Thanks ...