Re: [android-developers] Re: How to get and post JSON with Android?

2012-08-30 Thread ashok chakravarthy
Android has Json classes by using that you can create jsonobject, jsonarry. after you construct full jsonobject convert that in to string and post that to server and while retrieving convert the string you received from server in to Json object and parse it. On Fri, Aug 17, 2012 at 5:47 PM,

Re: [android-developers] Re: How do I keep corporate app (not in any store) updated?

2012-08-30 Thread ashok chakravarthy
you can also use GCM(Google cloud messaging) to push the message to application when ever update is available and application will get the latest apk from your server On Fri, Aug 17, 2012 at 11:04 PM, gt8887b gt88...@gmail.com wrote: The most straightforward way is to periodically poll the

Re: [android-developers] Help!!!

2012-08-21 Thread ashok chakravarthy
what is viewtext? is it TextView or EditText? if you want to get text from TextView/EditText call viewtext.getText().toString(). On Wed, Aug 22, 2012 at 8:40 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 20, 2012 at 1:30 PM, Androideed nnamdi.anyamelu...@gmail.comwrote: its not

Re: [android-developers] Overlay item in ImageView

2012-07-30 Thread ashok chakravarthy
subclass the ImageView and draw overlay on onDraw and handle the touch events on onTouch On Wed, Jul 25, 2012 at 12:30 AM, Luiz Fernando Rodrigues emaild...@gmail.com wrote: Hi, In my application I need to show a custom popover over an ImageView. This tutorial (

Re: [android-developers] Timeout error when tryin to do REST

2012-07-28 Thread ashok chakravarthy
did you set internet permission in Manifest? On Thu, Jul 26, 2012 at 6:30 PM, Larry Meadors larry.mead...@gmail.comwrote: Is the phone on your LAN or using the cell network? Larry On Mon, Jul 23, 2012 at 8:50 AM, Fernando Juarez ferjuarez...@gmail.comwrote: Hi I need some help: I´m

Re: [android-developers] Activity on Service

2012-07-24 Thread ashok chakravarthy
or display a notification , so user can start activity by selecting the notification. On Tue, Jul 24, 2012 at 6:32 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote: Hi, I have started an activity on Reboot from service, it get started but it bring the activity in front of user but i dont

Re: [android-developers] connectivity of android appliacation with sqllite

2012-07-12 Thread ashok chakravarthy
go through the content provider http://developer.android.com/guide/topics/providers/content-providers.html On Thu, Jul 12, 2012 at 1:18 PM, Francisco M. Marzoa Alonso fmmar...@gmail.com wrote: On 02/07/12 13:34, Ashu wrote: can we connect a android application to sqlite database just like a

Re: [android-developers] connectivity of android appliacation with sqllite

2012-07-11 Thread ashok chakravarthy
go through content provider in android http://developer.android.com/guide/topics/providers/content-provider-basics.html On Mon, Jul 2, 2012 at 5:04 PM, Ashu ashutosh0...@gmail.com wrote: can we connect a android application to sqlite database just like a connectivity of mysql to java

Re: [android-developers] C2DM Registration Issue

2012-07-09 Thread ashok chakravarthy
c2dm is deprecated. use GCM. http://developer.android.com/guide/google/gcm/index.html On Mon, Apr 23, 2012 at 11:40 PM, gaurang patel gapin...@gmail.com wrote: Hi All... I am developing an app to get notification using android c2dm. I have filled up the registration form with all required

Re: [android-developers] Transfering image file between two 2 emulators

2012-07-06 Thread ashok chakravarthy
open the fileInputStream on the file that is stored in the sdcard. http://stackoverflow.com/questions/5298131/android-using-fileinputstream-for-reading-file-from-sdc-reporting-null-pointer and write the bytes of the file in to the Output stream of the Socket. You collect the bytes on the other

Re: [android-developers] subject to device problem

2012-06-26 Thread ashok chakravarthy
Please explain clearly what you did and what did not work for you so that others can help you. The details you provided is not sufficient. On Tue, Jun 26, 2012 at 11:58 AM, Rahul Vijay rahul.vija...@gmail.comwrote: Hello sir, I have face few problem in a device to display a dynamic table. In

Re: [android-developers] Re: App closed but notification is visible

2011-09-23 Thread ashok chakravarthy
register receiver in Manifest file and given android:enabled=true On Fri, Sep 23, 2011 at 1:12 AM, b_t bartata...@gmail.com wrote: Ok, so it is normal that when the system stops my app the notification is still visible but when I force close it then it disappears. Then my only problem is

Re: [android-developers] Re: plz help...!!!

2011-09-23 Thread ashok chakravarthy
when you call stopService(service). is it throwing any errors? On Fri, Sep 23, 2011 at 8:08 AM, Spiral123 cumis...@gmail.com wrote: Easy. sevice.stop(plz); On Sep 22, 1:24 pm, Divyata Panchal panchal.divyat...@gmail.com wrote: Hie.. to al Android Developers... please tell me

Re: [android-developers] How can i start a service after installing my apk.

2011-09-23 Thread ashok chakravarthy
I think it is not possible for now. see below link http://groups.google.com/group/android-developers/browse_thread/thread/97f9664f2919b411?pli=1 On Fri, Sep 23, 2011 at 12:14 PM, crajesh crajesh2...@gmail.com wrote: Hi, How can i start a service after installing application.?? Thanks

Re: [android-developers] Unable to show Image in ImageView

2011-09-22 Thread ashok chakravarthy
rather than using BitmapUtils.decodestream(). can you try different approcah like read the bytes from stream in to file and decode the file using bitmaputils On Thu, Sep 22, 2011 at 1:55 PM, Anoop Singh anoop.singh.k...@gmail.comwrote: I am unable to decode Inputstream to convert it to

Re: [android-developers] Re: How to resolve outOfMemoryError - Bitmap size exceeds VM budget

2011-09-22 Thread ashok chakravarthy
You can try the approach suggested by streets of bosten or you can try something like below i). create baseactivity and all remaing activities extends this activity ii). override onKeydown in the base actiivty iii).finish the previous activity when you move to next activity. and when you press

Re: [android-developers] How to connect android device with local network

2011-09-21 Thread ashok chakravarthy
run some webserver like tomcat on your local machine, then you can able to connect to your machine provided both your machine and phone are in same network On Wed, Sep 21, 2011 at 5:48 PM, Gold thangadura...@gmail.com wrote: Hi all, I am using android 2.2 for application development..! Now

Re: [android-developers] Media Player For Android

2010-12-06 Thread ashok chakravarthy
create local server(Server Socket) on the phone and open stream on the file you want to play and write the buffers on to the server socket. On Mon, Dec 6, 2010 at 11:11 AM, chamith weerasinghe e05ch...@gmail.comwrote: Thanks... but I need to do a different thing.How I down load a audio file

Re: [android-developers] Binding Service to Activity

2009-12-16 Thread ashok chakravarthy
Hi Sonic, Please go through the SDK sample applications on local service. Thanks Ashok On Wed, Dec 16, 2009 at 11:59 AM, Sonic.. abhishek.bansal1...@gmail.comwrote: Hello, I am working on an android application, where the activity binds to a local service to perform certain

Re: [android-developers] Re: Android Emulator - MediaPlayer

2009-12-07 Thread ashok chakravarthy
not work . It gives a dialog not able to play the video. It would be better if you can provide any link for the steps. Regards, Neer On Dec 4, 9:22 am, ashok chakravarthy ashoki...@gmail.com wrote: Yes, it works!!! On Thu, Dec 3, 2009 at 10:32 PM, skcratch skcra...@gmail.com wrote

Re: [android-developers] Android Emulator - MediaPlayer

2009-12-03 Thread ashok chakravarthy
Yes, it works!!! On Thu, Dec 3, 2009 at 10:32 PM, skcratch skcra...@gmail.com wrote: Hi there! Can anyone tell me if the MediaPlayer actually works on the Android emulator. Thanks in advance, Best regards! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Flashing Android 2.0 on G1

2009-11-19 Thread ashok chakravarthy
Hi srikanth, Look in the htc web site,there u can find images to flash ur dev phone On Thu, Nov 19, 2009 at 9:45 PM, Mark Murphy mmur...@commonsware.comwrote: Shrikant Agrawal wrote: Hi All I want to upgrade my G1, which is currently running on andriod 1.5, to

[android-developers] Re: ImageButton and focus state...

2009-09-18 Thread ashok chakravarthy
create *item-selector* xml and keep that xml in drawable folder and finally use that as background of image button On Fri, Sep 18, 2009 at 7:13 AM, sdphil phil.pellouch...@gmail.com wrote: I want to change the android:background value when an image button is selected (selected, not clicked).

[android-developers] Re: MediaPlayer playback is interrupted by user interface interaction

2009-09-08 Thread ashok chakravarthy
Hi, try by creating media player in different thread On Sun, Sep 6, 2009 at 3:29 PM, Ludvig Svenonius ludvig.svenon...@gmail.com wrote: I have a rather mysterious problem with the simple test application below... package com.example.helloandroid; import android.app.Activity; import