android

Error with custom rendering my list view..please help !

Hi, I am trying to render my listview containing names of doctors and few more details using a tablelayout component showing 4 textviews in each listview item. But I get an error while I am doing this..PLEASE HELP! I have a project deadline tomorrow. When I debug by code, the control goes till IconicAdapter() constructer, from there it ...

How to use X3D xml in android ?

I have an X3D xml used to create a 3D object in iPhone. Is there anyway I can use the same XML for developing same 3D object in android 1.6 ? ...

Android layout - ImageView focused, but doesn't show anything on screen (no highlight)

If I set my ImageView to be both clickable and focusable, it works, but I have no way to tell which image is focused. What's the best way to get it to draw an orange border around the view so the user knows it's currently in focus? I tried dropping it in a LinearLayout and setting that to be focusable and clickable instead, but didn't ...

Playing m.youtube content in webview

Ok, so I have Java and plugins enabled. Can anyone explain why I can play many online flash videos in my webview, but nothing on m.youtube.com works? I would be more than satisfied with a workaround that passes the video to the youtube app. ...

calling .NET webservice using ksoap Android

Hi All, Same question is asked previously in this forum. I am asking it again after referring all question in this forum. Problem :- I am trying call call .NET Web service from Android device. I can call web service without parameter successfully; but when tried to pass parameter it shows null in server side log. Technology/API use...

programmatically sizing views

I need to programmatically adjust the sizes of views in my UI. Say I want to adjust the height of a child view to be the height of the parent view minus 60, I would do this: child.getLayoutParams().height = parent.getMeasuredHeight() - 60; child.requestLayout(); (obviously, this is simpler than what I really need to do) This works g...

Accessing Microphone in Android SDK

Is there any way to access the micro phone in a android phones similar to accessing the android.hardware.Camera?. I know we can use MediaRecorder to record audio from android application into a file as shown in this link . Let me explain what I want to do. I'm accessing Camera from android program to capture video and get each captu...

synchronization in android sqlite to mySQL or SQLServer

Hi i'm new to Java,Now i'm developing an android application.I want to sync the sqllite db to mySQL or SQLServer in android emulator i don't have any idea. Please provide some details and samples about synchronization in android application.Waiting for ur favourable reply.. ...

android thread issue

Hi guys, i have an android application to display the images downloaded from the server. downloading of the image is one thread and displaying that image in main class. on compiling the emulator shows an error alert that application is stopped unexcpectedly. Is the main application(class that extends Activity) a Thread?? Please help me ...

How to implement a iPhone-passcode-like input screen in Android?

Hi, I'm developing a Android app for users to input a ID (4 digits), is it possible to use the create a "iphone-passcode-screen-like" input view? Thanks! ...

ItemizedOverlay Issues (HelloMapView Tutorial)

I am having trouble with the Hello Map Views tutorial from the Android Developer website: http://developer.android.com/resources/tutorials/views/hello-mapview.html My first problem was that upon clicking the overlay item, the application would crash. This problem was solved by making sure to pass the context to the ItemizedOverlay clas...

Display icons along with the strings in alertdialogbox

Hi i am displaying the alert dialog box using below code final CharSequence[] items = {"Email", "Phone"}; AlertDialog.Builder builder = new AlertDialog.Builder(this); But I want to display the icons with that names.For x in above code i am taking email and phone.emailIcon comes with email name. For this what can i do give me some sugge...

set flash mode camera.parameters android 1.5

Hi, I'm trying to use the camera in an Android app using the 1.5 API. I want the camera to flash for every picture. However, when I looked at the API for camera.parameters, the setFlashMode() method is only supported for 2.0 and higher. Yet my Cliq XT, which runs 1.5, has a flash that I can set in the menu - I take this to mean there is...

GPS update interval is faster with good signal?

Hello all, I'm trying to limit my program to take location updates every 10 seconds instead of constant updates in order to reduce battery drain. This works fine when i'm debugging indoors and the signal is weak (i.e. the GPS icon flashes), but if the phone gets a proper fix (i.e. the GPS icon is static) the update interval increases to...

How can I parse anyType {----} response with ksoap2

I have seen many forum questions about this, but i haven't found a solution that works for me. THis is my code: String serviceURL = "http://www.mywebsite.com/WebService.asmx"; String serviceNamespace = "http://tempuri.org/"; String serviceMethod = "getUser"; String SoapAction = "http:...

list view problem in android

Hi friends I am using custom list view .I have trying to get user clicked row value can anybody tell how to get the value? Thanks ...

parsing the Json Data

Hi Team! Here I am posting my Json Response below: {"ResultSet": {"Result":[ {"Phone":"(650) 473-9999", "Distance":"2.59", "MapUrl":"http://maps.yahoo.com/maps_result?q1=441+Emerson+St+Palo+Alto+CAgid1=28734629", "Categories": {"Category":[ {"content":"Salad Restaurant...

How are the android apps like talking carl and talking tom cat developed?

I'd like to write an app like talking carl / talking tom cat but was wondering how they are developed? Are they animated on the fly using 3d? The general actions dont seem to be, they look like a series of movies being played? If this is the case, how is the movement of the mouth animation done? ...

What is purpose of using System.img in Android?

Hi, What is meant by System.img in Android? What is the purpose of using it? Can anyone help me regarding this issue? Thanks in Advace. ...

how to run an application using 3g

friend's I need help on running an application in 3G,the application works well in wifi,but also i need to work it on 3G also,what i have to do work in 3G.is there anything i need to add in manifest file for 3G? help me. Thanks in advance. ...