[android-developers] How are big android applications managaging and optimizing network calls specially for poor networks like 2g ?

2016-01-11 Thread Anshul Jain
Today most of the applications use internet in some way or the other. But in a country like India, network is the one of the major issues for most of the users. Most Indian users are still on mobile networks rather than Wifi. Even networks like 3g tend to be very slow. So in this scenario,

[android-developers] Re: In-app Subscription: Purchase Token and purchase time uniqueness

2013-03-12 Thread anshul . singhal
Hey Jonathan, I would like to know if you figured out the answers to above questions. I am also interested in knowing about the same. Thanks, Anshul On Thursday, November 15, 2012 9:56:56 PM UTC+5:30, Jonathan wrote: I have a couple of questions regarding purchase tokens. 1

[android-developers] Grid View setting style through code

2011-03-28 Thread anshul
Is it possible to set the sytle for a grid view through code. There is no method such as setStyle available. -- 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 route audio to the wired and wireless headset

2010-09-08 Thread Anshul
the audio to be routed to wired and wireless headset programmatically? Thanks, -Anshul -- 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] Not getting more than one GPS fix on Android 1.5 emulator

2009-05-21 Thread Anshul
related to the GPS. Thanks, -Anshul --~--~-~--~~~---~--~~ 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 turn on the title back after it is turned off

2009-04-14 Thread Anshul
Hi, After I have turned off the title using the following code is there any way to turn the title on? requestWindowFeature(Window.FEATURE_NO_TITLE) Thanks, -Anshul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Accessibility hooks?

2009-02-23 Thread Anshul
Hi Are there any accessibility hooks into the system which will let me build an application that can monitor for system wide GUI events, such as application windows being activated/focused, keys being pressed on a particular widget, mouse clicks on buttons? I'm looking for behavior similar to

[android-developers] Is there any way to Abort the instrumentation test case

2009-02-11 Thread Anshul
I have an instrumentation test case that is waiting for an incoming call. I would like to abort this test case after some time from outside of this test case. Is there any argument to adb shell am instrument command that will stop the on going instrument test case? Thanks, -Anshul

[android-developers] Is it possible to run ADB shell command from inside an Android app

2009-01-29 Thread Anshul
or that running the adb shell command would not be allowed from with in the Android app. I am able to execute other linux commands like 'ls' from the android app though. Thanks, -Anshul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Question on Android 1.0 SDK, release 2

2008-12-11 Thread Anshul
Release notes for Android 1.0 SDK, release 2 says that SDK release now includes several classes that were missing from the previous SDK. ID there a list of those classes that were added in this release? Thanks, -Anshul --~--~-~--~~~---~--~~ You received

[android-developers] holder.setFixedSize not changing the video size

2008-11-19 Thread Anshul
Hi, I have a 3gp video that I would like to play at different sizes depending on what size user would like to choose. I am calling SurfaceHolder's setFixedSize to try to change the size of the displayed video but it doesn't seem to take any effect. I am creating a SurfaceView using the XML

[android-developers] Question regarding StopSelf method that a Service can call

2008-11-10 Thread Anshul
I have a service that does a task and then call StopSelf. I see that the OnDestroy method if the service is being called and when I try to start a service OnCreate method is being called again. So looks like service is being destroyed fine, but I still see my service in the task list. I wanted

[android-developers] Add an item click listener on the ListView

2008-11-04 Thread Anshul
(this, android.R.layout.simple_list_item_1, mStrings); listViewXMLFiles.setAdapter(listAdapter); // TODO: Add a item select listener, Thanks, -Anshul --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Writing file to a shared directory on Android

2008-10-13 Thread Anshul
Hello everyone, I have three small android applications that read and write data to the same file. Is there a directory on Android file system that is shareable across multiple applications? I tried creating a file in / system/usr/share but getting aorent directory nit writable error. I can

[android-developers] Do services run in their own processes

2008-09-24 Thread Anshul
: these application components are instantiated in the desired process (all in the same process unless otherwise specified), in the main thread of that process Please help me undretsand the concept. Thanks, -Anshul --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Do services run in their own processes

2008-09-24 Thread Anshul
.  All components are run in the main thread of the process they live in. On Sep 24, 12:27 pm, Anshul [EMAIL PROTECTED] wrote: Hello everyone, I have a service that registers for boot completed event and when started by the phone spawan a thread and creates several other services. My

[android-developers] Re: question about process restart management

2008-09-18 Thread Anshul
below you mention that an activity would be restarted when there are things to be done. In my case there is nothing else to be done by the service or the actvity that starts the service, then why is it being restarted. Please let me know if my understanding is not correct. Thanks, -Anshul On Mar 7

[android-developers] Not able to list /data/app directory

2008-09-18 Thread Anshul
of all the services to start in the activity trying to start these services so that I can install any additional service to be started later on without modifyng the main activity. Could I achieve this uisng intent filters somehow? Thanks, -Anshul

[android-developers] Re: How can native C++ application starting Andorid application

2008-09-10 Thread Anshul
. -Anshul On Sep 10, 12:10 am, hackbod [EMAIL PROTECTED] wrote: Native code is not supported at this time. On Sep 9, 5:38 pm, Anshul [EMAIL PROTECTED] wrote: Hello everyone, I wanted to find out if there is any way for a native applicaion written in C/C++ can start an android app. From

[android-developers] How can native C++ application starting Andorid application

2008-09-09 Thread Anshul
/ test.HelloWorld). Is there any way I can call say a system command in C++ native app and pass the am command I passed to the adb shell to start the android HelloWorld app? Somethin like: System (am start -n test/test.HelloWorld); or any other way. Thanks -Anshul