Re: [android-developers] coming back to very first activity from inside tab group activity

2013-07-31 Thread Dalvinder Singh
PM, Dalvinder Singh singh.dal...@gmail.comwrote: You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu

Re: [android-developers] coming back to very first activity from inside tab group activity

2013-07-25 Thread Dalvinder Singh
this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- You received this message because you

Re: [android-developers] Re: make a VideoView loop seamlessly?

2013-07-25 Thread Dalvinder Singh
/opt_out. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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

Re: [android-developers] Can't always get unique identifier

2013-07-25 Thread Dalvinder Singh
+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] select from and to date at a time.

2013-07-08 Thread Dalvinder Singh
/MonthDisplayHelper.html This will provide you basic calculations e.g. what should be first day of calendar etc. Cheers Dalvinder Singh On Mon, Jul 8, 2013 at 5:31 PM, sree android android.sreeni...@gmail.comwrote: Hi, The below attachment image contain select date from and todate at a time.Here i selected from

Re: [android-developers] Re: Location Listener event when not online

2013-07-08 Thread Dalvinder Singh
to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- *Cheers*, *Dalvinder Singh* | http

Re: [android-developers] Re: jar blues

2012-09-21 Thread Dalvinder Singh
Better approach is to create java project instead of android project if you want to create jar. If you want to have a common android code for multiple projects then go for android library project. ... Singh On Fri, Sep 21, 2012 at 11:45 PM, bob b...@coolfone.comze.com wrote: Ok. I created a

Re: [android-developers] Best Practive in Passing Objects through an Intent to either Activity, BroadcastRecievers or Services

2012-09-21 Thread Dalvinder Singh
Parcellable is android's way just like serializable of standard java. On Fri, Sep 21, 2012 at 11:14 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Fri, Sep 21, 2012 at 11:17 AM, LemonCodes mikram.lavin...@gmail.com wrote: What is the best practices in passing Object? is it

Re: [android-developers] Adding fancy volume controller

2012-07-05 Thread Dalvinder Singh
Have a look at: http://developer.android.com/design/building-blocks/seek-bars.html On Thu, Jul 5, 2012 at 5:20 PM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: Hi everybode, can anyone tell me how to add fancy volume contrller ina ndroid. -- You received this message because you

Re: [android-developers] How to read a text file in Android

2012-04-10 Thread Dalvinder Singh
http://developer.android.com/reference/android/content/res/AssetManager.html final InputStreamhttp://developer.android.com/reference/java/io/InputStream.html openhttp://developer.android.com/reference/android/content/res/AssetManager.html#open(java.lang.String) (String

Re: [android-developers] current lat and long

2012-04-09 Thread Dalvinder Singh
/** * * @author Dalvin * This class handles the task of getting user's current location. */ public class MyLocationManager{ private static long MINTIME = 3000; private static Geocoder geoCoder = null; private static final int MAX_RESULTS = 1; private static MyLocationManagerCallBack

Re: [android-developers] developing private API for an Android App

2012-04-07 Thread Dalvinder Singh
Most commonly used approach seems to be using jBoss server and develop REST Api's as it's widely accepted in the industry and moreover if you further develop applications on other platforms same Api's can be used. On Saturday, April 7, 2012 10:41:56 PM UTC+5:30, Kristopher Micinski wrote:

Re: [android-developers] OpenFileInput

2011-04-24 Thread Dalvinder Singh
Thanks Mark I have tried the approach mentioned by you and it worked. Thanks Dalvin On Sun, Apr 24, 2011 at 8:53 PM, Mark Murphy mmur...@commonsware.comwrote: On Sun, Apr 24, 2011 at 11:17 AM, Dalvin singh.dal...@gmail.com wrote: I am trying to read a simple text file in my sample Android

Re: [android-developers] Unlocked Android Phones

2011-03-20 Thread Dalvinder Singh
Thanks a lot... On Sun, Mar 20, 2011 at 12:04 PM, Kristopher Micinski krismicin...@gmail.com wrote: Depends on the phone. For example, if you go to the Motorola website, they will suggest you go with your carrier. However, you can also buy the phone itself (at a higher price?). (Or at least,

Re: [android-developers] Unlocked Android Phones

2011-03-20 Thread Dalvinder Singh
, but there is no GPS and no sound, for example). -- Kostya 20.03.2011 23:28, Dalvinder Singh пишет: Thanks a lot... On Sun, Mar 20, 2011 at 12:04 PM, Kristopher Micinski krismicin...@gmail.com wrote: Depends on the phone. For example, if you go to the Motorola website

Re: [android-developers] about android application

2011-03-19 Thread Dalvinder Singh
//open stream on URL InputStream inputStream = null; try { URLConnection urlConnection = url.openConnection(); urlConnection.setConnectTimeout(value); // here value is an int. value urlConnection.setReadTimeout(value1); // here value1 is an int. value

Re: [android-developers] Re: ProgressDialog persisting after screen rotation inspite of call to dismissDialog

2011-03-11 Thread Dalvinder Singh
not call dismissDialog blindly in onPause because onPause is not only called when device is rotated but its also gets invoked in some other scenarios like when you go to another activity. So therefore in those cases it will cause the app to crash. Thanks Dalvinder Singh On Fri, Mar 11, 2011 at 12:38

Re: [android-developers] Re: marketbilling project closed?

2011-03-11 Thread Dalvinder Singh
What is your objective ? As far as I can understand following link might be of your interest. http://developer.android.com/guide/market/billing/index.html Thanks Dalvinder Singh http://developer.android.com/guide/market/billing/index.html On Fri, Mar 11, 2011 at 1:55 PM, Zhihong GUO gzhh

Re: [android-developers] Re: ProgressDialog persisting after screen rotation inspite of call to dismissDialog

2011-03-11 Thread Dalvinder Singh
I agree, but i just provided the workaround if somebody wants to use it... Cheers Dalvinder Singh 2011/3/11 Kostya Vasilyev kmans...@gmail.com If the behavior specifically built into managed dialogs is not desired, why use one at all? 11.03.2011 12:06 пользователь Dalvinder Singh singh.dal

Re: [android-developers] ImageView sometimes reponding to only double click instead of single click

2010-12-07 Thread Dalvinder Singh
It would be better if you post some code snippet. Thx Dalvin On Tue, Dec 7, 2010 at 12:03 AM, dipti dvai...@gmail.com wrote: Hi, I'm using an ImageView in my application. I've an AsynTask that is executed onCreated() that downloads the image to be used in ImageView from the web and stores

Re: [android-developers] web service access from net

2010-11-01 Thread Dalvinder Singh
It seems you just want to get the xml data from servers instead of local Assets folders. So the approach should be to deploy these xml resources on some server like Tomcat or JBoss etc. Then in your application you can make simple HTTP request to get these resources and use it in your application.

Re: [android-developers] What is the best approach to store audio files for use in android application?

2010-10-14 Thread Dalvinder Singh
If you want to scale your application and in future also want to change these audio files then these audio files should be at some server. it should be like: 1: Application maintains a version for audio files stored in Res. 2: Application starts, it will send version to server 3: On checking