[android-developers] How to run a service from 9 AM to 4 PM daily?

2012-11-16 Thread ram prasad
*Question :1 => * I want to run a service from 9 AM to 4 PM daily. I plans two method.Which one is best? *Method 1:* *Inside Service:(This service initialized at on create of activity when first time application starts)* if (9 AM <=current time<=4 PM) { fetch data from server. } *Method 2:* *

[android-developers] Is it possible to add two master-details fragments in a Single Activity

2012-11-16 Thread ram prasad
I want to create an activity which has dropdown in action bar.The dropdown options are "Show List1" and "Show List2". The onChange event of this dropdown should change the content area of the Activity. So I plan to use fragments. 1) Is it possible to add two master-details fragments in a Single Ac

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

2012-11-14 Thread ram prasad
I want to design Action bar UI on pre-honeycomb devices. After my Google i got *ActionBarSherlock library.* Can i design without using this ActionbarSherlock library. is it possible to design Action bar on pre-honey comb devices by using Android support-v4 library itself? Basically i trying to des

[android-developers] In eclipse-Android 4.2-Unable to build: the file dx.jar was not loaded from the SDK folder!

2012-11-14 Thread ram prasad
I have updated Android 4.2 SDK using SDK Manager and ADT 21.0.0.v201210310015-519525 in Eclipse(Indigo). I have created a New project,build and try to run this. I got error as [2012-11-15 11:38:19 - MyApp] Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder! How to

Re: [android-developers] Re: How to find phone number in android

2011-11-03 Thread ram prasad
Hi Suresh, I think you got empty string displayed.Actually getting mobile number is depends on your Network provider. If Network operator allows to take sim number from device, it will work I think other countries are providing this service... I also tried lot of methods but not works fo