[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread Archana
Hi, when I use that, StringWriter writer = new StringWriter(); IOUtils.copy(socket.getInputStream(),writer,HTTP.UTF_8); String string = writer.toString(); Log.d(Writer value is : ,writer.toString()); Nothing is getting printed in console. Can you provide

[android-developers] Re: How to get the connection state of the Bluetooth Low Energy Profile?

2012-10-24 Thread Abhishek Kumar Gupta
Hi Bob, thanks for the reply. But public int *getProfileConnectionState* (int profile) is for Bluetooth Classic Devices only, not for Bluetooth Low Energy Devices. On Tuesday, 23 October 2012 18:18:08 UTC+5:30, Abhishek Kumar Gupta wrote: I want to know the connection state of the Bluetooth

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread skink
Archana wrote: Hi, when I use that, StringWriter writer = new StringWriter(); IOUtils.copy(socket.getInputStream(),writer,HTTP.UTF_8); String string = writer.toString(); Log.d(Writer value is : ,writer.toString()); Nothing is getting printed in

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread Archana
Actually when I print using InputStreamReader isr = new InputStreamReader(socket.getInputStream(),utf-8); BufferedReader br = new BufferedReader(isr); int b; StringBuilder buf = new StringBuilder(); Log.d(Before while,whil); while ((b = br.read()) != -1) {

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread skink
Archana wrote: Actually when I print using InputStreamReader isr = new InputStreamReader(socket.getInputStream(),utf-8); BufferedReader br = new BufferedReader(isr); int b; StringBuilder buf = new StringBuilder(); Log.d(Before while,whil); while ((b =

[android-developers] Re: PBAP CLIENT

2012-10-24 Thread yulongfei
htc g11 also return OBEX_HTTP_UNAVAILABLE 。 htc modify a lot about pbap server did you resolve this problem? 在 2011年5月20日星期五UTC+8下午6时27分18秒,Anirudh Kashyap写道: Hi, I have implemented a PBAP client. I am able to establish a OBEX Connection and connect to the PBAP server on the other

[android-developers] Google Checkout Account

2012-10-24 Thread katarina
Dear friends, We are developers from Serbia and Canada. We want to sell our application on the Google Market. We want to connect our Google Checkout accont with a bank account in Canada. But when we try to open up a Google Checkout account from Canada it will not let us do, because only options

[android-developers] start service from service

2012-10-24 Thread Live Happy
I have a service in my application but this service stop working after time and i want to keep the service keep working without stopping and for that i try to start the same service from onDestroy method when it dieing but its not work even the written log not appear ,so it is possible to call

[android-developers] Re: Google Checkout Account

2012-10-24 Thread katarina
To even describe better, when we go directly to Google Checkout, but not through Google Play Developers Console, then, it only gives US and UK addresses options. Will it be different through Google Play Developers Console, will it let us insert address and account from Canada? All the best,

[android-developers] Slide Example

2012-10-24 Thread Sadhna Upadhyay
Hi Everyone, i want to make app in which i want to use slide functionality but i dont know how to do this,can some one tell me pls 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] Swipe Example

2012-10-24 Thread Sadhna Upadhyay
Hi everybody, my swipe activity is not working smoothly on tablet.can some tell me how to do 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

Re: [android-developers] Google Checkout Account

2012-10-24 Thread Ralph Bergmann | the4thFloor.eu
Am 24.10.12 09:27, schrieb katarina: But when we try to open up a Google Checkout account from Canada it will not let us do, because only options for addresses are US and UK. As well as the tax information. read this: https://groups.google.com/d/msg/android-developers/CDUCZVQ_PEA/Q-3ohhhD33AJ

Re: [android-developers] WifiDirect with WifiDirect NSD

2012-10-24 Thread Zach
Hi, Thanks for you response. yes I am making a call to requestConnectioInfo inside the WIFI_P2P_CONNECTION_CHANGED_ACTION notification.here is the code snippet for that NetworkInfo networkInfo = (NetworkInfo) intent .getParcelableExtra(WifiP2pManager.

[android-developers] Re: Google Checkout Account

2012-10-24 Thread katarina
Thanks Ralph! On 24 окт, 12:03, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: Am 24.10.12 09:27, schrieb katarina: But when we try to open up a Google Checkout account from Canada it will not let us do, because only options for addresses are US and UK. As well as the tax

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread Archana
Hi, my problem is similar to stackoverflow.com/questions/13046872/receiving-data-from-http-post-using-sockets Can someone help me? On Wednesday, October 24, 2012 9:57:33 AM UTC+3, skink wrote: Archana wrote: Actually when I print using InputStreamReader isr =

[android-developers] ffmpeg not working on device

2012-10-24 Thread Narendra Singh Rathore
Hello all, I am actually running the following command using ffmpeg on terminal for making a video from a no. of images. ffmpeg -f image2 -r 08 -i %05d.jpg -vcodec mpeg4 test12.mp4 This is working fine, if I save the images inside ffmpeg and try to make a video at the same location, using

[android-developers] how to send and receive the voice message from one android device to another

2012-10-24 Thread Tom
Hi, I am recording and play the audio. But i don't know how to send this voice message from one android device to another. If any body know this concept. please help me... Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Audio Over Bluetooth Mono Headset working in Gingerbread and not ICS

2012-10-24 Thread Ahmed Abdelfattah
I have written a simple app that records and plays audio through a Bluetooth Mono headset usingstartBluetoothSco(). The app works fine on Gingerbread but fails to work on ICS. The output of logcat is strange D/BluetoothSocket.cpp( 1554): ...connect(76, SCO) = 0 (errno 115) D/BluetoothSocket(

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread skink
Archana wrote: Hi, my problem is similar to stackoverflow.com/questions/13046872/receiving-data-from-http-post-using-sockets Can someone help me? if you learned how to efficiently use google instead of asking people each time you have any problem you would find this:

[android-developers] payment gateway for android India

2012-10-24 Thread vani reddy
Hi friends, I am implementing payment gateway for android , I found this http://developer.authorize.net/integration/fifteenminutes/android/, but this is in USD but I need in Indian Rupees. -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Reading the headers in server after HTTP Post

2012-10-24 Thread Archana
Thank you for your support! As I am still a learner(with just 3 months working in Android), I have some problems. On Wednesday, October 24, 2012 3:29:16 PM UTC+3, skink wrote: Archana wrote: Hi, my problem is similar to

Re: [android-developers] Re: Android camera orientation problem

2012-10-24 Thread Jim Graham
On Tue, Oct 23, 2012 at 09:50:31PM -0700, Adam Ratana wrote: I've just spent quite a bit of my spare time working on implementing a portrait mode activity option for the camera preview - to answer Spooky's question, the main reason one might do this is because it goes well with the UI/UX

[android-developers] Chances of TELEPHONY_SERVICE return null

2012-10-24 Thread thejaswi s
Is there any chances of getting TELEPHONY_SERVICE as null ? TelephonyManager teleman = (TelephonyManager) getBaseContext() .getSystemService(Context.TELEPHONY_SERVICE); I mean is there any chances of getting teleman as null in the above line ? Thanks in advance for reply. -- You received

[android-developers] What is the norm these days to save the state of a custom view

2012-10-24 Thread Satya Komatineni
The literature seem to indicate a number of alterantives 1. Just have the activity or fragment call a dedicated save and restore methods especially if the base class of your SpecialView is View. 2. Use the View's capabilities of onSaveInstanceState() and ignore the null from the VIew

Re: [android-developers] start service from service

2012-10-24 Thread TreKing
On Wed, Oct 24, 2012 at 2:46 AM, Live Happy livehap...@gmail.com wrote: i want to keep the service keep working without stopping You can't do this. What are you trying to achieve? - TreKing

[android-developers] PC Remote Control

2012-10-24 Thread tamer hatoum
Dear All; I want to build an application on my android device that have a mouse pad which will control the mouse on my PC same as this link : http://www.remotedroid.net/ so kindly give me some tips how to start building that app, and do I have to use TCP/IP client server ? or what methods do I

[android-developers] Re: Google Checkout Account

2012-10-24 Thread MathieuB
Its really badly documented. Google should do something about it as it is not normal. On Wednesday, October 24, 2012 6:13:27 AM UTC-4, katarina wrote: Thanks Ralph! On 24 окт, 12:03, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: Am 24.10.12 09:27, schrieb katarina:

[android-developers] Re: WifiDirect with WifiDirect NSD

2012-10-24 Thread Zach
Hi, I made it work! Just swapped steps 2 and 3 on server So on server new order is 1. Initialize and Start WiFi Direct 2. Register a Local Service and Start Service Discovery 3. Start a Wifi Direct Group With old oder one thing I found was that the client was not getting any

[android-developers] logcat app

2012-10-24 Thread bob
Is it possible to make an app that displays the contents of the logcat? Or is there some new security stuff that disallows this? Thanks. -- 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] Dialog options from a library project?

2012-10-24 Thread ColorTheorist
I've noticed that when developing an SDK library project, there is a desire to have a check as to whether the bluetooth functionality is turned on for the device before proceeding. However, as a library project, I am restricted to the absence of my own activity. I had hoped to call the

[android-developers] Re: logcat app

2012-10-24 Thread RichardC
See this thread READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16): https://groups.google.com/forum/#!msg/android-developers/6U4A5irWang/_sYKDrvTITMJ On Wednesday, October 24, 2012 4:09:19 PM UTC+1, bob wrote: Is it possible to make an app that displays the

[android-developers] Re: Dialog options from a library project?

2012-10-24 Thread ColorTheorist
I suppose I could let the application itself that uses the SDK be responsible for doing the check and turning on/off the blue tooth when needed, but I figured it would be nice if the SDK itself could do the check for them. I had been hoping that there would be a nice solution for it. -- You

[android-developers] Re: Chances of TELEPHONY_SERVICE return null

2012-10-24 Thread RichardC
On devices that are not phones e.g TVs and most Tablets. On Wednesday, October 24, 2012 2:33:37 PM UTC+1, thejaswi s wrote: Is there any chances of getting TELEPHONY_SERVICE as null ? TelephonyManager teleman = (TelephonyManager) getBaseContext()

[android-developers] Making the same API key work for both developing AND publishing

2012-10-24 Thread Jason Hsu
I recently published an app that uses Google Maps. As you know, you need to provide your API key for Google Maps. When I published the first version of my app, the map display in my Google Play app didn't work even though it did work when I ran my app from source code. So I had to change the

[android-developers] Does content provider run in its own process space?

2012-10-24 Thread Subodh Nijsure
Hello, I will briefly describe application I am writing. 1. Application is used in environment where phone/tablet may not have network connectivity, person is collecting some data using the app on the device. 2. This collected data is stored using a content provider, that uses sqlite database

[android-developers] Re: PC Remote Control

2012-10-24 Thread bob
Why do you want to do this when there are apps that already do it? I think I tried this one a few months back: https://play.google.com/store/apps/details?id=com.Relmtech.Remote It uses Wifi or Bluetooth. On Wednesday, October 24, 2012 9:06:45 AM UTC-5, tamer hatoum wrote: Dear All; I want

Re: [android-developers] Does content provider run in its own process space?

2012-10-24 Thread Mark Murphy
On Wed, Oct 24, 2012 at 2:36 PM, Subodh Nijsure subodh.nijs...@gmail.com wrote: We don't want this upload process to happen in context of UI hence the service. Please use a single process, and simply have the upload work be done in a background thread. I read the commons ware book (page

Re: [android-developers] Making the same API key work for both developing AND publishing

2012-10-24 Thread TreKing
On Wed, Oct 24, 2012 at 12:19 PM, Jason Hsu jhsu802...@gmail.com wrote: When I published the first version of my app, the map display in my Google Play app didn't work even though it did work when I ran my app from source code. So I had to change the API key in the source code and republish

Re: [android-developers] Does content provider run in its own process space?

2012-10-24 Thread Subodh Nijsure
On Wed, Oct 24, 2012 at 11:45 AM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Oct 24, 2012 at 2:36 PM, Subodh Nijsure subodh.nijs...@gmail.com wrote: We don't want this upload process to happen in context of UI hence the service. Please use a single process, and simply have the

Re: [android-developers] start service from service

2012-10-24 Thread Subodh Nijsure
On Wed, Oct 24, 2012 at 12:46 AM, Live Happy livehap...@gmail.com wrote: I have a service in my application but this service stop working after time and i want to keep the service keep working without stopping and for that i try to start the same service from onDestroy method when it dieing but

[android-developers] Re: How to detect tablet devices

2012-10-24 Thread Aaron
I know this is an old thread but in case someone stumbles across this in the future the best way (for me at least) to solve this was to get the metrics of the screen size (width and height in pixels) calculate the hypotenuse then divide by the dpi. In theory this gives you the dimension in

Re: [android-developers] Does content provider run in its own process space?

2012-10-24 Thread Mark Murphy
On Wed, Oct 24, 2012 at 3:08 PM, Subodh Nijsure subodh.nijs...@gmail.com wrote: What I want to happen is this background thread that syncs data to aws should never terminate,and ideally it should get started when device boot finishes i.e. data collected while there was no network connectivity,

[android-developers] Re: PC Remote Control

2012-10-24 Thread tamer hatoum
I need to build it by my own to add special features on it so I want some help or tips.regards... On Wednesday, October 24, 2012 9:43:18 PM UTC+3, bob wrote: Why do you want to do this when there are apps that already do it? I think I tried this one a few months back:

[android-developers] serial number

2012-10-24 Thread bob
Is there a way to programmatically get the serial number of your Android device? Like what you see here: https://lh3.googleusercontent.com/-wHTFhAEkQVc/UIhTgLiKgQI/ADc/kySUGKqPZ2E/s1600/device_serial.png I guess it's different than the UUID. -- You received this message

[android-developers] Documenation on content://com.google.android.music.MusicContent/playlists

2012-10-24 Thread huntsfromshadow
A question for the group. I was recently trying to query a nexus 7 about it's songs and playlists. I finally got the code to work when using the URI: content://com.google.android.music.MusicContent/playlists I also saw in searching around the web their were other options for this uri such as

[android-developers] Re: PC Remote Control

2012-10-24 Thread bob
Override this function: boolean onTouchEvent(MotionEvent event) in this class: android.app.Activity Serialize the MotionEvent object and send it over a TCP stream to a server. On Wednesday, October 24, 2012 3:07:30 PM UTC-5, tamer hatoum wrote: I need to build it by my own to add special

[android-developers] Re: Swipe Example

2012-10-24 Thread bob
I believe you will want to use this class: *android.support.v4.view.ViewPager* On Wednesday, October 24, 2012 3:22:25 AM UTC-5, Sadhna Upadhyay wrote: Hi everybody, my swipe activity is not working smoothly on tablet.can some tell me how to do this? -- You

[android-developers] Re: Documenation on content://com.google.android.music.MusicContent/playlists

2012-10-24 Thread RichardC
Have a look at the MediaStore docs including the nested classes: http://developer.android.com/reference/android/provider/MediaStore.html On Wednesday, October 24, 2012 9:53:41 PM UTC+1, huntsfromshadow wrote: A question for the group. I was recently trying to query a nexus 7 about it's songs

[android-developers] Re: serial number

2012-10-24 Thread RichardC
Does this blog pots help: http://android-developers.blogspot.co.uk/2011/03/identifying-app-installations.html On Wednesday, October 24, 2012 9:46:20 PM UTC+1, bob wrote: Is there a way to programmatically get the serial number of your Android device? Like what you see here:

[android-developers] My first app, live wallpaper open gl 2.0

2012-10-24 Thread cybice
You can preview at youtube http://www.youtube.com/watch?v=hOXNxRm8dxohd=1 google play] https://play.google.com/store/apps/details?id=com.icelaba.bestiary -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: WifiDirect with WifiDirect NSD

2012-10-24 Thread Irfan Sheriff
On Wed, Oct 24, 2012 at 7:11 AM, Zach zachariah...@gmail.com wrote: Hi, I made it work! Just swapped steps 2 and 3 on server So on server new order is 1. Initialize and Start WiFi Direct 2. Register a Local Service and Start Service Discovery 3. Start a Wifi Direct Group You are

Re: [android-developers] Re: logcat app

2012-10-24 Thread Asheesh Arya
please refer this link http://www.krvarma.com/2010/08/simple-android-logcat-viewer/ -- 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