[android-developers] How to force use only gprs even though wifi is available

2011-04-14 Thread saikiran n
Hi, I am using internet in some application. If any wifi configuration is available while my application is running it is switching to wifi instead gprs. How can stop switching. My requirement is i have to use only gprs. Thanks in advance -- You received this message because you are subscribed

[android-developers] How to set static ip for wifi configuration

2011-03-22 Thread saikiran n
Hi I have android device and i want to add one wifi configuration with static ip. I have done this with the following code. WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); WifiConfiguration wc = new WifiConfiguration(); wc.SSID = \MyWifi\; wc.hiddenSSID =

[android-developers] javax.xml.xpath.XPath For android 2.0.1

2010-12-21 Thread saikiran n
Hi, android is supporting javax.xml.xpath.XPath in api level 8 ie 2.2 But i am writing some application for 2.0.1 in that there is a need for XPath parser. I downloaded jar file from findjar.com But when i added the jar file to my application i got the following build error trouble processing

[android-developers] Geocoder throwing exception

2010-11-30 Thread saikiran n
Hi, I am doing some application to check Geocoder functionality I am executing the following code snippet Geocoder fwdGeocoder = new Geocoder(this, Locale.US); String streetAddress = 160 Riverside Drive, New York, New York; ListAddress locations = null; try {

[android-developers] Listview not supporting if list extends screen size

2010-10-20 Thread saikiran n
Hi, I created a list view in an activity and the list shows some fields. When we click a list item a custom dialog should pop up and the user can enter some new value to this field. The custom dialog contains one edit text and two buttons ok and cancel. It is working fine. But when my list is more

[android-developers] How to import android.content.IntentReceiver;

2010-09-07 Thread saikiran n
Hi, If iam trying to import android.content.IntentReceiver; it shows error symbol not found. In which sdk it is available. I am trying with 2.2 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to dynamically modify xml file in android

2010-08-30 Thread saikiran n
Hi , I want to modify an xml file which is in sdcard dynamically. How can we acheive this in android. I have seen some java code as follows try { File file = new File(connections.xml); //Create instance of DocumentBuilderFactory DocumentBuilderFactory factory =

[android-developers] Re: How to download apk file through android application

2010-07-29 Thread saikiran n
On Wed, Jul 28, 2010 at 4:13 PM, saikiran n saikiran@gmail.com wrote: Hi Can we download apk file which is in internet using android application I downloaded the pdf using the following program try { URL url = new URL(imageURL); File file = new File(fileName

[android-developers] How to download apk file through android application

2010-07-28 Thread saikiran n
Hi Can we download apk file which is in internet using android application I downloaded the pdf using the following program try { URL url = new URL(imageURL); File file = new File(fileName); long startTime = System.currentTimeMillis(); /* Open

[android-developers] How to debug native code in eclipse

2010-06-18 Thread saikiran n
Hi, I created one android application it is using one native method. I created shared library using ndk tools.My jni function is having some problems i want to debug it. How to debug it in eclipse tool -- You received this message because you are subscribed to the Google Groups Android

[android-developers] socket communication between emulator as server and pc as client

2010-06-15 Thread saikiran n
hi i have gone through folllowing link for socket communication http://www.codeweblog.com/android-simulator-and-pc-communication-using-sockets/ It is working fine. But my requirement is i want to start server in emulator and client in my pc What is the ip address to give in my client program. I

[android-developers] Root permission for application

2010-06-10 Thread saikiran n
Shall we give root permissions for android application? My requirement is i want to execute a c program using jni That contains some functions like umount etc. I tried in the following way static{ System.loadLibrary(myjni); } Process p=Runtime.getRuntime().exec(su); int value=getValue(); where

[android-developers] emulator: ERROR: unknown virtual device name: myavd

2010-05-08 Thread saikiran n
Hi, I installed android plugin and sdk for eclipse in my system which is having ubuntu. I created an evd name as myavd as target 1.6. It is successfully created.But when i want to launch it the following error it is displaying emulator: ERROR: unknown virtual device name: myavd Any help please

[android-developers] how to connect android phone to pc using adb

2010-04-26 Thread saikiran n
Hi all, I am aunable to connect my phone to pc. I connected it with usb cable to my pc and i opend command prompt where my android sdk is there Now i typed ./adb kill-server ./adb start-server then i typed ./adb shell it displays me error that device not found I kept my mobile in usb debug mode

[android-developers] Video is not rendering

2010-04-12 Thread saikiran n
Hi, I have downloaded the video application from google site,ie from http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/index.html But copied some video file to my emulator sdcard. But vedio is not rendering instead i am able to listen audio. I installed the

[android-developers] how to read database of one application in another application using contentproviders

2010-04-09 Thread saikiran n
Hi, I implemented sqlitedatabase using content provider in one application. And created some tables and some data in that. By using another application how to read those database. I am doing in second application as a sql query by using Content uri what i used in application one. But it is

[android-developers] Where is the import android.hardware.CameraDevice

2010-04-08 Thread saikiran n
Hi , Iam trying to implement camera application in android. In several sites they used import android.hardware.CameraDevice; But when iam doing same import it is giving me error that it can't be resolved. In which sdk the CameraDevice class is defined. I tried 1.1,1.5,2.0,2.1 but it was not there

[android-developers] How to create daemon process

2010-03-25 Thread saikiran n
Hi all Can we create a daemon process in android. If possible can provide some document Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] How to change language settings

2010-02-03 Thread saikiran n
Hi We can change language options manually,But How to change the language settings on android phone through application Can u give me sample code -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Is it possible to send some data while making a call

2010-01-31 Thread saikiran n
Hi We can make a call using intent . Is it possible to keep some data in this intent to receive at the destination? If so please give sample code Please help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] How to send data along a phone call

2010-01-28 Thread saikiran n
Hi, In android we can make a call by using intent. Similarly we can invoke recevers on the incomming call. I have implemented an application to make a call as well as to receive call using intents. My question is we can pass data using intents. The same thing if iam apply to my application i got

[android-developers] How to send data along a phone call

2010-01-28 Thread saikiran n
Hi, I have implemented the application to send and receive calls. I am making a call by an intent. If we keep some data in this intent shall we receive at receiver side? I am doing this but i got the null. Where iam wrong my code is for making call String phoneNumber=5554; //here i used to

[android-developers] How to add Management object

2010-01-26 Thread saikiran n
Hi, SyncML is the protocol for mobile communication In syncML Device management protocol there are different device management commands Example 1 Add. 2.Alert 3.Replace 4 Exec etc. If we receved a syncML message from a server after parsing how to execute those commands Example Replace Item

[android-developers] How to estabilish TCP communication between emulators

2010-01-25 Thread saikiran n
Hi I have developed an application my pc as server and android as client. I am successfully run it. Now i have opened two emulators and i made necessary redirection to communicate those two emulators. my emulators port are 5554 and 5556 Now my question is i want to run server on 5554 and client on

[android-developers] How to implement SyncML Device management objects in android

2010-01-21 Thread saikiran n
Hi, I want to implement SyncML Device management and gone through following document http://www.openmobilealliance.org/tech/affiliates/syncml/syncml_dm_std_obj_v11_20020215.pdf In that they have specified SyncML DM supports 3 types of device management objects 1 The DevInfo management object 2 The

[android-developers] How to execute Replace command

2010-01-21 Thread saikiran n
Hi, In SyncML Device management Replace command is used to replace DevInfo or DeviceDetails But i don't know how to acheive this. We can read the DevInfo from android.os.Build API This is only readable , how to execute this Replace command in remote device management using SyncML. Thanks in

[android-developers] How to perform socket communication

2010-01-21 Thread saikiran n
Hi I have done socket communication in a single application it is working fine But my requirement is i have opened two emulators and i am able to send sms between those two. Now i want to run server in one emulator(myavd-5554) and client on another emulator(myavd1-5556) I have used the following

[android-developers] Shall we need to start from scratch

2010-01-07 Thread saikiran n
Hi I have informed that android supporting wap push But i didn't find any apis which we can use for sending wap push I want to write an application to send wap push instead of SMS Do i need to start from scratch if so Can anybody help me how to start or give me any relavent documents. I have seen

[android-developers] Is android supports wap push

2010-01-05 Thread saikiran n
-- Forwarded message -- From: saikiran n saikiran@gmail.com Date: Thu, Dec 24, 2009 at 4:52 PM Subject: Is android supports wap push To: android-developers@googlegroups.com Hi, Is android supports wap push sms ? If so what is the API to achive this functionality -- You

[android-developers] How to send wap push

2010-01-05 Thread saikiran n
-- Forwarded message -- From: saikiran n saikiran@gmail.com Date: Wed, Dec 23, 2009 at 6:24 PM Subject: How to send wap push To: android-developers@googlegroups.com Hi I am sending the sms using the following code snippet SmsManager sms = SmsManager.getDefault

[android-developers] How to implement SyncML Device management objects in android

2010-01-05 Thread saikiran n
-- Forwarded message -- From: saikiran n saikiran@gmail.com Date: Wed, Dec 23, 2009 at 1:21 PM Subject: How to implement SyncML Device management objects in android To: android-developers@googlegroups.com Hi, I want to implement SyncML Device management and gone through

[android-developers] Is android supports wap push

2009-12-24 Thread saikiran n
Hi, Is android supports wap push sms ? If so what is the API to achive this functionality -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] How to send wap push

2009-12-23 Thread saikiran n
Hi I am sending the sms using the following code snippet SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(phoneNumber, null, ourContent, sentPI, deliveredPI); I have seen android also supports wap push how can i do it Please help -- You received this message because you are

[android-developers] How to know bearer type of android

2009-12-22 Thread saikiran n
Hi I want know the bearer type of android phone I have seen one document the bearer may be OBEX or GSM-USD etc Is there any API to get this information Please help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to implement SyncML Device management objects in android

2009-12-22 Thread saikiran n
Hi, I want to implement SyncML Device management and gone through following document http://www.openmobilealliance.org/tech/affiliates/syncml/syncml_dm_std_obj_v11_20020215.pdf In that they have specified SyncML DM supports 3 types of device management objects 1 The DevInfo management object 2 The

[android-developers] How to start activity in android default packages

2009-12-21 Thread saikiran n
Hi I have implemented code to start android built in applications like email application see the following code PackageManager appInfo = context.getPackageManager(); ListPackageInfo plist=appInfo.getInstalledPackages(0); for(int i=0;iplist.size();i++) {

[android-developers] How to get OEM of android device

2009-12-20 Thread saikiran n
Hi I want to know original equipment manufaturer of android device Is there any api to get this information I have seen android.os.Build but it has regarding manufaturer like Build.MANUFATURER can any one help me -- You received this message because you are subscribed to the Google Groups

[android-developers] Android device management

2009-12-18 Thread saikiran n
Hi, I hear android doesn't support device management right know. But if we want to implement can any body give me some key ideas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to use clasess on android device

2009-12-17 Thread saikiran n
Hi I have seen the clasess like android.os.ServiceManager ,android.view.IWindowManager are not public they implemented in device itself. If i want to use them in my application i how can i do it? Can anybody help me -- You received this message because you are subscribed to the Google Groups

[android-developers] How to change device management objects in android device

2009-12-17 Thread saikiran n
Hi, If android supports device management how can we access those objects Actually my requirement is i need to access devicemanagement objects as well as update is this possible in android? Any help really apriciated thanks in advance -- You received this message because you are subscribed to

[android-developers] How to keep userdefined data in content providers

2009-12-15 Thread saikiran n
Hi, We can create tables for strings ,int ,etc by using contentproviders. Similarly is there any possibilites to create a table which can hold an object (object may have different data elements); If possible can any one give me sample code.. -- You received this message because you are

[android-developers] Does android supports bootstraping

2009-12-10 Thread saikiran n
Hi, Is android supports bootstraping ? If so what are the apis to acheive this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

[android-developers] How to get device details

2009-12-09 Thread saikiran n
Hi I want to write some application in that i want to print device details like manufacturer,model ,userid etc.. Is this possible in android? If so what are the apis which gives this information -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] how to know type of the device

2009-12-09 Thread saikiran n
Hi I have gone through android.os.Build api and seen some of the device details like manufaterer and deviceId etc.. But i need some other details like software vertion,type of the device like is it phone or PDA,maximum length of the management tree ,Bearer details, hardware vertion etc Is there

[android-developers] How to set tooltip to a button

2009-12-01 Thread saikiran n
Hi, I want to set tool tip to a Button.. Is it possible in android if so please give me some sample code -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] start activity without mention in androidmanifestfile

2009-11-27 Thread saikiran n
Hi, I want to start an activity without mention it in AndroidManifest.xml file.Is it possible,If so how it is Give me me a sample code, I have tried the following but it throws exception activity not found Intent i=new Intent(); ComponentName cn=new

[android-developers] How to send wap push sms in android

2009-11-19 Thread saikiran n
Hai, I want to send an wap push sms is it possible in android? if so can any one help me how to do this thanks to all -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com