[android-developers] Re: android:Theme.Holo.Light.Dialog.NoActionBar

2013-01-05 Thread Nitin Sethi
So what dude? On Friday, 4 January 2013 15:07:22 UTC+5:30, djhacktor wrote: this theme gives me some extra free space when i use this ?xml version=1.0 encoding=utf-8? NumberPicker xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/numberPicker

Re: [android-developers] hi friends

2012-12-25 Thread Nitin Sethi
Here you go. http://stackoverflow.com/questions/6905262/how-do-i-show-a-custom-dialog-when-there-is-no-internet-connection On Monday, 24 December 2012 22:47:27 UTC+5:30, sree wrote: Thank u friend.Shall u share any code. On Dec 24, 2012 9:25 PM, nemi chhimpa ern...@gmail.com javascript:

[android-developers] Re: Unique ANDROID_ID for each User in Android 4.2 (bug or feature)?

2012-11-16 Thread Nitin Sethi
I think the documentation is not updated to reflect the multi-user feature of Android 4.2. Also, have a look at the below link before using ANDROID_ID to get a unique identifier. http://android-developers.blogspot.in/2011/03/identifying-app-installations.html On Thursday, 15 November 2012

[android-developers] Re: Action bar on pre-honey comb devices by using Android support-v4 library

2012-11-14 Thread Nitin Sethi
Using just the Support library won't help. You need to do UI changes on the app title bar. Have a look at the source code of Actionbar Sherlock library to get a head start. On Thursday, 15 November 2012 12:22:59 UTC+5:30, Ram wrote: I want to design Action bar UI on pre-honeycomb devices.

[android-developers] Re: Application onCreate called more than once?

2012-11-11 Thread Nitin Sethi
The onCreate.. method of the class extending Application is called only once unless the process gets killed somehow and restarted. You can investigate for any reason(s) of your process getting killed. On Sunday, 11 November 2012 03:02:42 UTC+5:30, Craig wrote: I received an error because I'm

[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Nitin Sethi
You issue aside, listening for GPS fix every one minute is surely going to drain user's battery big time. Are your app user's okay with the battery level going from 100% to ZERO in less than 4 hours? On Saturday, 10 November 2012 01:51:25 UTC+5:30, Rajan wrote: What i need to do

[android-developers] Re: Calling StartService multiple times

2012-11-05 Thread Nitin Sethi
You can return START_STICKY to make sure the service is always running unless the system is low in RAM memory. The system, in that case would restart your service when memory is available. Relying on ActivityManager is a dangerous thing to do as written below.

[android-developers] Re: How do updates for apps work in Google Play?

2012-11-03 Thread Nitin Sethi
Google play app does notify users of any app updates at regular intervals However, if the user has checked the auto-update checkbox for your app, your app is updated automatically as and when the update is available. It's upto user to check that checkbox however. You can also uses Google Cloud

[android-developers] Re: Is it legal to implement APK's silent installation for commercial use?

2012-10-27 Thread Nitin Sethi
It certainly possible if your rivals has got into some kind of agreement with the OEM(s) to sign their app with the system key. On Thursday, 25 October 2012 16:00:50 UTC+5:30, alex kyo wrote: Download and install apps from google play without prompt. I know there are only 2 ways to achieve

[android-developers] Re: SMS Table

2012-02-22 Thread Nitin Sethi
Deepa, A good place to start would be: http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html On Feb 22, 12:56 pm, Deepa M deepam8...@gmail.com wrote: Dear All can any one help me to create a sms database table as sms table in android to store all iin that created

[android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-12 Thread Nitin Sethi
theTelephonyManager  and now i want to get cthe state of calling.So please reply is it work for sip calling. On Sat, Feb 11, 2012 at 11:58 PM, Nitin Sethi sethi.5...@gmail.com wrote: here it is.. full code I have pasted down... Specifically this line I added. ((TelephonyManager

[android-developers] Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
Hi All, I have been trying very hard to get it work in my Gingerbread 2.3.5 phone but with no success. I have read all the posts and have come up with the below code which works very rarely. I suspect it has permissions issue but could not zero in on the issue which is bugging me for long. My

[android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
() to process the Intent. :) On Feb 11, 3:59 pm, Nitin Sethi sethi.5...@gmail.com wrote: Hi All, I have been trying very hard to get it work in my Gingerbread 2.3.5 phone but with no success. I have read all the posts and have come up with the below code which works very rarely. I suspect it has

[android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
() On Sat, Feb 11, 2012 at 6:16 PM, Nitin Sethi sethi.5...@gmail.com wrote: Hi All, I could finally sort out this issue. It so turns out that the Broadcast Intent i want to receive doesn't linger for long enough for your receiver to consume it and process it. In technical words, the intent

[android-developers] Re: How to create a sms database table to store inbox messages in Android

2012-02-02 Thread Nitin Sethi
AFAIK, the sqlite sms db has already been created by your stock sms app and it's recommended to use the same through the ContentResolver class for any SMS related app. On Feb 2, 10:52 am, Ratheesh Valamchuzhy android...@gmail.com wrote: you need to store the the message in sqlite db ? use the

[android-developers] Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'

2012-01-23 Thread Nitin Sethi
This seems to be a pretty common problem the beginners face. Despite reading all the solutions, I could not arrive at a solution. Please point out the mistake I am doing. Main Activity: package com.nitinsethi.smsfinder; import java.util.ArrayList; import android.app.ListActivity; import