[android-developers] How to drag listview item into other tab?

2012-09-25 Thread Sohan badaya
I have a Tab activity that has 3 tabs. Each tab is a listView. I wanted to drag any list item form tab1 and drop it into tab2. I tried a lot but couldn't find any such example. If anyone have idea please let me know. -- You received this message because you are subscribed to the Google

Re: [android-developers] Broadcast Receiver to listen when any app launch?

2012-09-17 Thread Sohan badaya
Hi, Thanks for reply, But there are many apps like App Lock, Fast App Lock, Smart App Lock working on same idea. If anyone knows how can I achieve same functionality. Sohan Badaya On Mon, Sep 17, 2012 at 1:14 PM, Kristopher Micinski krismicin...@gmail.com wrote: You can't do this. Generally

Re: [android-developers] Broadcast Receiver to listen when any app launch?

2012-09-17 Thread Sohan badaya
them, though that's not an API, and the permission has gone away with ICS... kris On Sun, Sep 16, 2012 at 4:04 AM, Sohan badaya sohan@gmail.comjavascript: wrote: I want to be notified when any app launch like Calculator, Email etc, so I tried below code #Attempt 1

[android-developers] Broadcast Receiver to listen when any app launch?

2012-09-16 Thread Sohan badaya
I want to be notified when any app launch like Calculator, Email etc, so I tried below code #Attempt 1 receiver android:name=.ApplicationLaunchReceiver intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER /

[android-developers] How to install apks from google play market into Emulator???

2012-09-12 Thread Sohan badaya
Hi, I want to install apps from google market into emulator. I don't have device. I googled a lot and find out that I must have to have Google play store app in emulator. Then i installed this app using below steps, adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system adb

[android-developers] AlertDialog in Fragment

2012-08-03 Thread Sohan badaya
Hi I have a issue with AlertDialog in Fragment. I click on a button in fragment that will launch AlertDialog. Button will do some background work and after 2 second it will start AlertDialog. If in between before launching AlertDialog if I press back button my previous acticity is being

[android-developers] Regarding Wifi in android

2011-07-17 Thread Sohan badaya
signal or I should use some other way. Regards, Sohan Badaya -- 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 email to android-developers

[android-developers] Regarding Wifi in android

2011-07-15 Thread Sohan badaya
signal or I should use some other way. Regards, Sohan Badaya -- 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 email to android-developers

[android-developers] doubt in xmlns:android tag

2011-01-31 Thread Sohan badaya
Hi All, In android xml files we define xmlns:android=http:// schemas.android.com/apk/res/android in root tag, so then we use android:attributes. I want to know what is the location where these attributes are defined. and if we want can we define our custom attributes. thanks, sohan -- You

[android-developers] com.android.internal.telephony.CommandException: GENERIC_FAILURE

2010-11-01 Thread Sohan badaya
Hi All, I am getting below exception com.android.internal.telephony.CommandException: GENERIC_FAILURE. Please let me know why this exception comes. Regards, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] what is invokeOemRilRequestStrings supposed to do?

2010-11-01 Thread Sohan badaya
Hi, Please anybody let me know what is the use of invokeOemRilRequestStrings() and invokeOemRilRequestRaw() methods. Regards, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Question regarding Message object

2010-10-26 Thread Sohan badaya
set String object in Message Object. Thanks, Sohan Badaya -- 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 email to android-developers

[android-developers] How to set permission in content providers

2010-09-21 Thread Sohan badaya
for the same. Thanks and Regards, Sohan Badaya -- 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 email to android-developers+unsubscr

Re: [android-developers] Re: How to set permission in content providers

2010-09-21 Thread Sohan badaya
i am doing. Thanks and Regards, Sohan Badaya On Tue, Sep 21, 2010 at 1:34 PM, Jerome Deng deng.jer...@gmail.com wrote: Try to add below lines to your app2's manifest file: uses-permission android:name=android.permission.permRead / uses-permission android:name

Re: [android-developers] Re: How to set permission in content providers

2010-09-21 Thread Sohan badaya
Hi Brion, You are right. It's working in other application also. Thanks a lot. Thanks and Regards, Sohan Badaya On Tue, Sep 21, 2010 at 5:59 PM, Brion Emde brione2...@gmail.com wrote: I believe that both applications will need to declare that they use those permissions, in their uses

[android-developers] ContentObserver not working

2010-09-13 Thread Sohan badaya
() method should be called. But its not working. Please help me for the same. Thanks, Sohan Badaya -- 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

[android-developers] any tool in android to find memory leak and code optimization

2010-09-12 Thread Sohan badaya
Hi All, I would like to know is there any tool in android to find memory leak and code optimization. Thanks, Sohan Badaya -- 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

[android-developers] How to specify avd in more than one emulator

2010-09-08 Thread Sohan badaya
Hi, when more than one emulator is running i can't use adb command. If I have only one emulator and type adb logcat it works fine but if more than one is running it not runs. so I want to know what is the command for the same. Thanks, Sohan -- You received this message because you are

[android-developers] How to specify avd in more than one emulator

2010-09-08 Thread Sohan badaya
Hi, when more than one emulator is running i can't use adb command. If I have only one emulator and type adb logcat it works fine but if more than one is running it not runs. so I want to know what is the command for the same. Thanks, Sohan -- You received this message because you are

[android-developers] doc for ril and sms architecture

2010-09-08 Thread Sohan badaya
Hi Is there any documentation available on net for 1.) RIL layer in android. 2.) Sms flow architecture through telephony to radio modem in android. Thanks and Regards, sohan badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: The first application

2010-09-03 Thread Sohan badaya
Hi, I think you are running code in emulator. and your emulator has not started yet. It takes some time so when it starts it will show home screen(app launcher screen) then you try to run your application. then it should work. Thanks, Sohan Badaya On Fri, Sep 3, 2010 at 3:13 PM, Droid rod

[android-developers] Confusion in onItemClick and onListItemClick

2010-09-02 Thread Sohan badaya
Hi All, I am confused with two below method 1.) onItemClick(AdapterView? arg0, View view, int position,long id) 2.) onListItemClick(ListView l, View v, int position, long id) Please let me know about these two methods. Thanks, Sohan Badaya -- You received this message because you

Re: [android-developers] Confusion in onItemClick and onListItemClick

2010-09-02 Thread Sohan badaya
Hi, I didn't get where i should use which method between these two. I think these two works same. But then why they have provided same functionality with two methods. If anyone have good link for better understanding please let me know. Thanks, Sohan Badaya On Fri, Sep 3, 2010 at 1:05 AM

[android-developers] How to start application when bootup complete of emulator

2010-09-01 Thread Sohan badaya
=android.permission.RECEIVE_BOOT_COMPLETED /uses-permission - Please let me know how to do this. Thanks, Sohan Badaya -- 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

[android-developers] Contact application code for windows

2010-08-23 Thread Sohan badaya
Hi All, From which link i can copy contact application code for windows. I just want to go through code in my windows system. I will not do any make sdk on that code. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread Sohan badaya
=android.permission.RECEIVE_BOOT_COMPLETED /uses-permission - Please let me know how to do this. Thanks, Sohan Badaya -- 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

Re: [android-developers] How to start application when bootup complete of emulator

2010-08-12 Thread Sohan badaya
Hi, sorry for the mistake, my receiver tag is like receiver android:name=.BootReceiver. /receiver but still problem is same how to start my application after boot up complete. Please help me for the same. Thanks, Sohan Badaya On Thu, Aug 12, 2010 at 8:30 PM, { Devdroid } webnet.andr

[android-developers] Looper doubt

2010-08-10 Thread Sohan badaya
Hi All, I have a doubt in Looper. I want to know when we should use Looper. If any good link for more clarification, it would be great. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Content provider doubt

2010-08-09 Thread Sohan badaya
Hi All, I have a doubt about content provider. Why we use content provider? can't we use database of a application? If we talk about other application also. can't we use database of that application directly wihout content provider? Thanks, Sohan -- You received this message because you are

[android-developers] Services doubt

2010-08-08 Thread Sohan badaya
Hi All, I have a doubt in services that if we have a remote service and it is started by more than one application then if any one of application tries to stop service what will happen - will service be closed? If yes than how other applications will get data from service. Thanks, Sohan Badaya

[android-developers] Where permissions has to declare in a application.

2010-08-04 Thread Sohan badaya
, Sohan Badaya -- 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 email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] how can we create 9-patch images.

2010-08-04 Thread Sohan badaya
Hi All, I want to know how can we create 9-patch images. Thanks, Sohan Badaya -- 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] what is the difference between notifyDataSetChanged() and notifyDataSetInvalidated() ?

2010-08-04 Thread Sohan badaya
Hi All, I have a doubt that what is the difference between adapter.notifyDataSetChanged(); adapter.notifyDataSetInvalidated(); because when i used both one by one, both worked exactly same. Please let me know what is the exact difference between these two. Thanks, Sohan Badaya -- You received

[android-developers] Is Head First Android Book exists?

2010-08-03 Thread Sohan badaya
Hi All, I am a big fan of Head First Series. so is there any Head First Android Book exists? If not please let me know any similar kind of book for a begineer. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: What is the best way to handle Images?

2010-07-30 Thread Sohan badaya
Hi, If someone knows please help me. Thanks Sohan Badaya On Thu, Jul 29, 2010 at 8:12 PM, Sohan badaya sohan.bad...@gmail.comwrote: Hi All, I wrote a application that load images from facebook and i show in lmageview, using this below code. InputStream

[android-developers] How to use internet in htc mobile if net is in my pc

2010-07-29 Thread Sohan badaya
Hi, Can i use internet in my htc mobile by connection to my pc if net is available in my pc. I can do reverse by option of Internet sharing. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] What is the best way to handle Images?

2010-07-29 Thread Sohan badaya
, Sohan Badaya -- 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 email to android-developers+unsubscr...@googlegroups.com For more options

Re: [android-developers] Re: How to install apk in device using window machine

2010-07-28 Thread Sohan badaya
Thanks It worked Sohan Badaya On Tue, Jul 27, 2010 at 5:03 PM, Sarwar Erfan erfanonl...@gmail.com wrote: Do you mean that you want to install and .apk in Android phone and you have a Windows PC? And, the apk you want to install is not available in the Marketplace? Option 1

[android-developers] How to zoom in/zoom out to ImageView

2010-07-28 Thread Sohan badaya
Hi, I want to know how we can zoom a image that is in ImageView. Thanks, Sohan Badaya -- 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

[android-developers] How to use shared pref in different application.

2010-07-28 Thread Sohan badaya
Hi, I want to know how we can use shared pref in different application. Thanks, Sohan Badaya -- 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

Re: [android-developers] Re: How to zoom in/zoom out to ImageView

2010-07-28 Thread Sohan badaya
Hi, Thanks for reply. But i think it is possible, because it is already done in Gallery application. When we click on any image in gallery, it zooms. But i don't have that code. If anyone have any idea, please help me. Thanks Sohan Badaya On Thu, Jul 29, 2010 at 12:56 AM, Loki117

Re: [android-developers] How to use shared pref in different application.

2010-07-28 Thread Sohan badaya
Hi, I actually just want to verify that either we can use shared pref. xml file in different application or not. Thanks, Sohan Badaya On Thu, Jul 29, 2010 at 4:06 AM, { Devdroid } webnet.andr...@gmail.comwrote: Why not use SD card for that? -- You received this message because you

[android-developers] How to install apk in device using window machine

2010-07-27 Thread Sohan badaya
Hi, I want to know how to install apk in device using window machine. Thanks and Regards, Sohan Badaya -- 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

[android-developers] How to disable pop up blocker in emulator 2.1

2010-07-27 Thread Sohan badaya
Hi All, when i open some urls in emulator 2.1, it gives me message First disable pop up blocker. please let me know how to do it. Thanks -- 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] How to disable pop up blocker in emulator 2.1

2010-07-19 Thread Sohan badaya
Hi All, when i open some urls in emulator 2.1, it gives me message First disable pop up blocker. please let me know how to do it. Thanks -- 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] Is there any way to parse JSON object into ArrayList or Map...

2010-07-14 Thread Sohan badaya
Hi, Is there any way to parse JSON object, that comes from facebook server in a response, into ArrayList or Map so that i can set values in my ListView. I am finding difficulty in parsing because JSON object itself contains JSONArray and this Array can contain JSONObject may

[android-developers] facebook-android-sdk of Github Issue

2010-06-29 Thread Sohan badaya
Hi All, I have been facing problem in Facebook. I am using facebook-android- sdk of Github to connect Facebook from android. When i try to connect , after login page it shows me error You do not have permission to open this page. fbconnect://success/#access_token=sometoken value . I am not

Re: [android-developers] Re: How to on Gps in emulator

2010-06-24 Thread Sohan badaya
Hi, Thanks It works. Sohan Badaya On Wed, Jun 23, 2010 at 9:48 PM, HeHe cnm...@gmail.com wrote: DDMS perspective Emulator Control Location Control Send On Jun 23, 7:59 am, Sohan badaya sohan.bad...@gmail.com wrote: Hi, How to start Gps in emulator. Thanks -- You received

[android-developers] Track user location.

2010-06-23 Thread Sohan badaya
Hi All, I am trying to develop a application LocationTracker. I have some doubts 1.) Is it possible to find out location of your phone book friends (current location based on his mobile number). 2.) How to get Longitute and Latitute Values based on current mobile location. (Actually i have code

[android-developers] How to on Gps in emulator

2010-06-23 Thread Sohan badaya
Hi, How to start Gps in emulator. Thanks -- 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 email to

Re: [android-developers] [Please Help ] Unknown error with AAPT tool while Build Project

2010-06-18 Thread Sohan badaya
it give me some proxy authentication required error. Because i am having session key and not token so this session key expire after one request. I am trying to resolve this issue. If anyone knows please help me. Thanks Sohan Badaya On Fri, Jun 18, 2010 at 3:24 PM, NishantKumar nishant.cs

Re: [android-developers] How to load url in webview.

2010-06-13 Thread Sohan badaya
Hi All, Above code not working in my system because of proxy problem. Is anyone know how to set behind proxy in emulator. Thanks Sohan Badaya On Fri, Jun 11, 2010 at 7:52 PM, Sohan badaya sohan.bad...@gmail.comwrote: Hi, Thanks for reply, I will try this code behind proxy. Hope

[android-developers] Facebook Connection Issue

2010-06-11 Thread Sohan badaya
Hi All, I want to get Facebook Friends List and online presence from my android application. For that i have got API_KEY and SECRET from facebook. I am using this code. Intent intent = new Intent(android.intent.action.VIEW, Uri.parse(http://www.facebook.com/login.php?

[android-developers] How to get Response Url values.

2010-06-11 Thread Sohan badaya
Hi All, I have some code-- Intent intent = new Intent(android.intent.action.VIEW, Uri.parse(http://www.facebook.com/login.php? api_key=API_KEYconnect_display=popupv=1.0next=http://

[android-developers] How to get Response Url values.

2010-06-11 Thread Sohan badaya
Hi All, I have some code-- Intent intent = new Intent(android.intent.action.VIEW, Uri.parse(http://www.facebook.com/login.php? api_key=API_KEYconnect_display=popupv=1.0next=http://

[android-developers] How to load url in webview.

2010-06-11 Thread Sohan badaya
Hi All, Below code not working in my system. public class WebViewDemo extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main);

Re: [android-developers] How to load url in webview.

2010-06-11 Thread Sohan badaya
Hi, Thanks for reply, Yes i have written internet permission in menifest file. Sohan Badaya On Fri, Jun 11, 2010 at 7:09 PM, Mark Murphy mmur...@commonsware.comwrote: Sohan badaya wrote: Not working means I am getting blank white screen. When i hit url in browser of emulator, it works

Re: [android-developers] How to load url in webview.

2010-06-11 Thread Sohan badaya
Hi, Thanks for reply, I will try this code behind proxy. Hope this will work. Sohan Badaya On Fri, Jun 11, 2010 at 7:38 PM, Mark Murphy mmur...@commonsware.comwrote: Sohan badaya wrote: Hi, Thanks for reply, Yes i have written internet permission in menifest file. Try other Web

[android-developers] Face book Data coming null

2010-05-19 Thread Sohan badaya
Hi All, This is my first post. In my application i want to show facebook friends name with online status. I am using facebook-java-api-3[1].0.2- bin.zip jar file. I am using .fql_query() method for this. I am getting friends list but other details are coming null , like online_status