[android-developers] Problem in executing aapt command with the android sdk with centos 5.10 and rhel 5.5
I have downloaded android sdk on centos 5.10 but getting below error while executing aapt /lib/libc.so.6: version `GLIBC_2.11' not found Thanks & Regards, Bunty Syed -- You received this message because you are subscribed 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. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/ff055be8-7019-428b-8b7f-5de1ed1cf678%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Problem in executing aapt command with the android sdk with centos 5.10 and rhel 5.5
I have downloaded android sdk on centos 5.10 but getting below error while executing aapt /lib/libc.so.6: version `GLIBC_2.11' not found Thanks & Regards, A Sayyad -- You received this message because you are subscribed 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. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CABVhoU%3D6rXaWOjwNo0QgrJ5YuELk%2BeQ-pKMFBkugZFkfPxUM_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Re: client certificate authentication for ssl/https connection
Hi Piyush, Even I am looking for similar kind of implementaion. Can u tell how did u generate the csr for android ?? Using Jscep or something else.. On 11 September 2012 at 16:54, piyush gupta piyushgupt...@gmail.com wrote: Hi BabaSaheb, I want to do similar kind of work with my Android ICS 4.0 tablet. I want to make a Hit on a HTTP server(not on HTTPS) server , and I want the server to authenticate my device with a client Authentication certificate installed on it. The certificate must be installed on client device and only then the server should allow the user to browse further or else the server should not fulfill the request. I have generated my own CSR and made it signed by a CA authority and have a CA certificate and a client certificate but I am not able to use these certificates to make a successful hit on my server . Any piece of advice or solution will of great help to me . I have searched a lot on google and find nothing useful to my requirements. On Tuesday, February 23, 2010 12:35:18 PM UTC+5:30, Babasaheb wrote: Hi, I want to connect to a server using ssl/https connection. During handshake between client and the server, I want to have server certificate authentication as well as client certificate authentication. The server certificate authentication is successful. But I don't know how to send client certificate to server for authentication, during the handshake. Can anybody please provide some tutorial for the same? Thanks, Babasaheb -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] Regarding csr generaration in android
Hi, I am looking for a way to generate the certificate signing request for android using jscep. Can anybody help me with the some documentation or link to start with. IOS provide the native capability to generate CSR. Is similar thing available for android -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] Fwd: Sharing all cookies from apps to server in android for single sign on
Any help for below concerned scenario .. -- Forwarded message -- From: Bunty syed itsmeatfo...@gmail.com Date: 11 March 2015 at 18:36 Subject: Sharing all cookies from apps to server in android for single sign on To: android-platf...@googlegroups.com Cc: android-developers@googlegroups.com I have some set of apps on the device. Few of them have webviews . 1) If app 1 make some service call or search something in the webview and get some cookies in the response,I need to persist these cookies. 2)If app 2 make some service call or search something in the webview ,I need to attach cookies persisted in the point 1 in the request from app2. The main intention is to achieve kind of single sign among the apps by transferring all cookies to the server. Is there any good approach using android APIS to achieve above requirement. Thanks Regards, Bunty Sayyad -- You received this message because you are subscribed to the Google Groups android-platform group. To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscr...@googlegroups.com. To post to this group, send email to android-platf...@googlegroups.com. Visit this group at http://groups.google.com/group/android-platform. For more options, visit https://groups.google.com/d/optout. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] Sharing all cookies from apps to server in android for single sign on
I have some set of apps on the device. Few of them have webviews . 1) If app 1 make some service call or search something in the webview and get some cookies in the response,I need to persist these cookies. 2)If app 2 make some service call or search something in the webview ,I need to attach cookies persisted in the point 1 in the request from app2. The main intention is to achieve kind of single sign among the apps by transferring all cookies to the server. Is there any good approach using android APIS to achieve above requirement. Thanks Regards, Bunty Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] MonkeyRunner -- Download and install apk automatically
hi, Hope all doing well. I am using monkeyrunner for automation of one set up. I have one test case where i need to download the apk from the emulator browser for the configured url and then install that apk. After installing the apk, launch it. I know using monkeyrunner we can install and launch the app. Can somebody guide me on opening the emulator browser using configured url (in some file ) and then install the apk on the emulator using monkeyrunner. Thanks regards, Bunty Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] Re: Receiver when debugger is attached to an application
Any help on this... On 21 May 2014 17:40, Bunty syed itsmeatfo...@gmail.com wrote: Hi All, Hoping doing well.. I have developed one app. I want to stop memory dumping for my app by attaching a debugger to it on runtime.. I found one api *android.os.Debug.isDebuggerConnected* Above api will give true if sombody attached a debugger to my app. But my question here is Can I get a callback or receiver when some hacker attaches a debugger to my app.. Thanks regards, Bunty Syed -- You received this message because you are subscribed to the Google Groups android-platform group. To unsubscribe from this group and stop receiving emails from it, send an email to android-platform+unsubscr...@googlegroups.com. To post to this group, send email to android-platf...@googlegroups.com. Visit this group at http://groups.google.com/group/android-platform. For more options, visit https://groups.google.com/d/optout. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] Receiver when debugger is attached to an application
Hi All, Hoping doing well.. I have developed one app. I want to stop memory dumping for my app by attaching a debugger to it on runtime.. I found one api *android.os.Debug.isDebuggerConnected* Above api will give true if sombody attached a debugger to my app. But my question here is Can I get a callback or receiver when some hacker attaches a debugger to my app.. Thanks regards, Bunty Syed -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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/d/optout.
[android-developers] GCM Server API key Expiration time
Hi all, Hope doing well.. I want to know whether GCM server API key generated for push notification using google project has expiry date/time ?? Thanks Regards, Bunty Syed -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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.
[android-developers] Application behavior is different on 4.2 android platform device
Hi All, Hope doing well. Actually I have one application which is behaving different on android 4.2 platform device. In my application, there are three activities. From first activity *(Launcher activity*), i navigate to second activity and then from second activity,I navigate to third activity. In third activity, I have a button on clicking tat , I am launching following intent .. Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager = context.getPackageManager(); i = manager.getLaunchIntentForPackage(com.myapp); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); i.putExtra(EXITAPP, true); startActivity(i); Above intent launches the *first activity* by clearing the all top activities. In the first activity onCreate method, i check for the *EXITAPP *flag in the intent do System.exit(0) if it is present. This way it *kills *my app completely after cliking button. Above logic works fine for all devices upto *4.1 android platform.* But in 4.2 android platform device, on doing System.exit(0) in the first activity onCreate *kill *the the current process *restarts *the application.. Is it the behavioral change in the android 4.2 platform or I need to do something different to achieve above case for 4.2 -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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.
Re: [android-developers] Re: Application behavior is different on 4.2 android platform device
Thanks. Actually I want to destroy all background process, threads related to app so I am doing System.exit(0)...Finish will destroy only the UI but the application will keep running .. On 2 April 2013 13:31, Piren gpi...@gmail.com wrote: You should not be calling System.exit either way...calling Finish would achieve the proper result. P.S - any reason why you're using the package manager to get a launcher intent for your own application? On Tuesday, April 2, 2013 10:43:27 AM UTC+3, Bunty syed wrote: Hi All, Hope doing well. Actually I have one application which is behaving different on android 4.2 platform device. In my application, there are three activities. From first activity *(Launcher activity*), i navigate to second activity and then from second activity,I navigate to third activity. In third activity, I have a button on clicking tat , I am launching following intent .. Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager = context.getPackageManager(); i = manager.**getLaunchIntentForPackage(**com.myapp); i.addCategory(Intent.CATEGORY_**LAUNCHER); i.setFlags(Intent.FLAG_**ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_**TOP); i.putExtra(EXITAPP, true); startActivity(i); Above intent launches the *first activity* by clearing the all top activities. In the first activity onCreate method, i check for the *EXITAPP *flag in the intent do System.exit(0) if it is present. This way it *kills *my app completely after cliking button. Above logic works fine for all devices upto *4.1 android platform.* But in 4.2 android platform device, on doing System.exit(0) in the first activity onCreate *kill *the the current process *restarts *the application.. Is it the behavioral change in the android 4.2 platform or I need to do something different to achieve above case for 4.2 -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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. -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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.
Re: [android-developers] Re: Application behavior is different on 4.2 android platform device
But my concern is why its behaving different way on only 4.2 android platform device.. On 2 April 2013 15:27, Piren gpi...@gmail.com wrote: That's still not the preferred way to do it... You should always clean up after you and stop these on your own. On Tuesday, April 2, 2013 11:12:17 AM UTC+3, Bunty syed wrote: Thanks. Actually I want to destroy all background process, threads related to app so I am doing System.exit(0)...Finish will destroy only the UI but the application will keep running .. On 2 April 2013 13:31, Piren gpi...@gmail.com wrote: You should not be calling System.exit either way...calling Finish would achieve the proper result. P.S - any reason why you're using the package manager to get a launcher intent for your own application? On Tuesday, April 2, 2013 10:43:27 AM UTC+3, Bunty syed wrote: Hi All, Hope doing well. Actually I have one application which is behaving different on android 4.2 platform device. In my application, there are three activities. From first activity *(Launcher activity*), i navigate to second activity and then from second activity,I navigate to third activity. In third activity, I have a button on clicking tat , I am launching following intent .. Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager = context.getPackageManager(); i = manager.**getLaunchIntentForPack**age(**com.myapp); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setFlags(Intent.FLAG_**ACTIVIT**Y_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_**TOP**); i.putExtra(EXITAPP, true); startActivity(i); Above intent launches the *first activity* by clearing the all top activities. In the first activity onCreate method, i check for the *EXITAPP *flag in the intent do System.exit(0) if it is present. This way it *kills *my app completely after cliking button. Above logic works fine for all devices upto *4.1 android platform.* But in 4.2 android platform device, on doing System.exit(0) in the first activity onCreate *kill *the the current process *restarts *the application.. Is it the behavioral change in the android 4.2 platform or I need to do something different to achieve above case for 4.2 -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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_outhttps://groups.google.com/groups/opt_out . -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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. -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed 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.
[android-developers] Activity Dialog interaction
Hi all, Hope doing well. Actually I have one activity class.There I overridden onUserInteraction method. Then I have one dialog which I am displaying on some button click in the activity. When the dialog is displayed on the activity when I am touching on the dialog,onUserInteraction method for the activity is not getting called. Is there any callback for the activity which will be dispatched when I touch something in the dialog on the activity ??? -- -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: bundle passed via intent coming null
Thanks. I tried commenting *intent.setFlags(Intent.FLAG_* ***ACTIVITY_NEW_TASK) *but it does not receive any data in the second activity.. On 9 November 2012 04:36, Sunghun sung...@identityhive.com wrote: Would you try it again after commenting * intent.setFlags(Intent.FLAG_* ***ACTIVITY_NEW_TASK)* ? On Wednesday, November 7, 2012 1:30:17 AM UTC+11, Bunty syed wrote: Hi All, Hope doing well. I have one app with one button. On click of button, I am trying to launch second app by passing some bundle. My second app is having two activities. I launched the second app from phone then navigated to second activity. Then I went to first app cliked the button to launch the second app by passing some bundle as below . //my code Intent intent = new Intent(android.intent.action.**MAIN); intent.addCategory(android.**intent.category.LAUNCHER); intent.setComponent(new ComponentName(com.secondapp, secondapplauncheractivity)); intent.putExtra(bundlekey, bundlevalue); intent.setFlags(Intent.FLAG_**ACTIVITY_NEW_TASK); Above code resumed the second app but I am not getting any bundle in the intent of the second app. I overidden lifecycle methods in the second app to check for this bundle by calling below code -- //my code Intent i = this.getIntent(); if(i != null ){ Bundle b = i.getExtras(); if(b!= null b.containsKey(bundlekey)){ Log.i(TAG, found bundle===); } } I tested the above scenario in google nexus 4.1.2 android version -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] bundle passed via intent coming null
If somebody knows this solution for the problem,please reply On 6 November 2012 20:00, Bunty syed itsmeatfo...@gmail.com wrote: Hi All, Hope doing well. I have one app with one button. On click of button, I am trying to launch second app by passing some bundle. My second app is having two activities. I launched the second app from phone then navigated to second activity. Then I went to first app cliked the button to launch the second app by passing some bundle as below . //my code Intent intent = new Intent(android.intent.action.MAIN); intent.addCategory(android.intent.category.LAUNCHER); intent.setComponent(new ComponentName(com.secondapp, secondapplauncheractivity)); intent.putExtra(bundlekey, bundlevalue); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Above code resumed the second app but I am not getting any bundle in the intent of the second app. I overidden lifecycle methods in the second app to check for this bundle by calling below code -- //my code Intent i = this.getIntent(); if(i != null ){ Bundle b = i.getExtras(); if(b!= null b.containsKey(bundlekey)){ Log.i(TAG, found bundle===); } } I tested the above scenario in google nexus 4.1.2 android version -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] bundle passed via intent coming null
Thanks Bob. But I setsetDataAndType to intent with some dummy data, it doesnt not invoke second app On 7 November 2012 17:43, b0b pujos.mich...@gmail.com wrote: On Wednesday, 7 November 2012 12:03:40 UTC+1, Bunty syed wrote: If somebody knows this solution for the problem,please reply Try calling setDataAndType even with dummy parameters -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] bundle passed via intent coming null
Hi All, Hope doing well. I have one app with one button. On click of button, I am trying to launch second app by passing some bundle. My second app is having two activities. I launched the second app from phone then navigated to second activity. Then I went to first app cliked the button to launch the second app by passing some bundle as below . //my code Intent intent = new Intent(android.intent.action.MAIN); intent.addCategory(android.intent.category.LAUNCHER); intent.setComponent(new ComponentName(com.secondapp, secondapplauncheractivity)); intent.putExtra(bundlekey, bundlevalue); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Above code resumed the second app but I am not getting any bundle in the intent of the second app. I overidden lifecycle methods in the second app to check for this bundle by calling below code -- //my code Intent i = this.getIntent(); if(i != null ){ Bundle b = i.getExtras(); if(b!= null b.containsKey(bundlekey)){ Log.i(TAG, found bundle===); } } I tested the above scenario in google nexus 4.1.2 android version -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Regarding Application is not installed alert
Plz reply if somebody knows solution for the post... On 26 July 2012 10:01, Bunty syed itsmeatfo...@gmail.com wrote: Hi All, Actually I have one launcher with some child apps. I have given permission in all child apps so that only my launcher can launch them as follows permission android:name=android.permission.LAUNCH_KONY_POLICYINJECTED_APPS android:protectionLevel=signature/ Tat is working fine. So with above, if any other application not signed with same keystore of child apps not having required permission will get Permission denial exception while trying to launch the child apps . Now my doubt is when I click any of installed child Apps in the phone application menu, I am getting Alert saying that Application is not installed.. Tat is a expected behavior. But is there any way to customize that Alert message instead I want to display my alert message like Plz launch from my launcher app. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding Application is not installed alert
Hi All, Actually I have one launcher with some child apps. I have given permission in all child apps so that only my launcher can launch them as follows permission android:name=android.permission.LAUNCH_KONY_POLICYINJECTED_APPS android:protectionLevel=signature/ Tat is working fine. So with above, if any other application not signed with same keystore of child apps not having required permission will get Permission denial exception while trying to launch the child apps . Now my doubt is when I click any of installed child Apps in the phone application menu, I am getting Alert saying that Application is not installed.. Tat is a expected behavior. But is there any way to customize that Alert message instead I want to display my alert message like Plz launch from my launcher app. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to block Sharing data via share intent
Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to block Sharing data via share intent
Thanks. I want to do it only for my app. But I did not understand what filter r u talking about will it affect the system generated menu... On 16 July 2012 13:49, Kristopher Micinski krismicin...@gmail.com wrote: For your application or anyone's app? For your app, don't implement the filter, for anyone's app, this will be a lot trickier On Jul 16, 2012 4:11 AM, Bunty syed itsmeatfo...@gmail.com wrote: Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to block Sharing data via share intent
Tat means in the pop up nothing will be shown after clicking share via item... On 16 July 2012 15:02, Kristopher Micinski krismicin...@gmail.com wrote: The system will only share from your app if you declare it in the manifest. In reality, however, you can't hide the data from the user without encryption... On Jul 16, 2012 5:12 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks. I want to do it only for my app. But I did not understand what filter r u talking about will it affect the system generated menu... On 16 July 2012 13:49, Kristopher Micinski krismicin...@gmail.comwrote: For your application or anyone's app? For your app, don't implement the filter, for anyone's app, this will be a lot trickier On Jul 16, 2012 4:11 AM, Bunty syed itsmeatfo...@gmail.com wrote: Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to block Sharing data via share intent
Thanks Kris. I will tell the scenario I am working on. Actually my app is driven by server defined policy. The application fetches the policy from the server then act accordingly. There is one policy for data sharing. If data sharing is allowed then no problem.But if the data sharing is not allowed, application should be able to block the data sharing options like sharing Via item in the system generated context menu. On 16 July 2012 16:22, Kristopher Micinski krismicin...@gmail.com wrote: Is that a question? If so, the answer is yes, if you don't specify an intent filter for that routine, then the system won't offer to have your app pop up. If it is, that probably means that you're putting too much stuff in your manifest, so you should post it so people can inspect it. As I said before, if you're worried about people actually getting at the contents of the stuff in your app, then you shouldn't simply count on this, you should also use some form of encryption kris On Mon, Jul 16, 2012 at 6:17 AM, Bunty syed itsmeatfo...@gmail.com wrote: Tat means in the pop up nothing will be shown after clicking share via item... On 16 July 2012 15:02, Kristopher Micinski krismicin...@gmail.com wrote: The system will only share from your app if you declare it in the manifest. In reality, however, you can't hide the data from the user without encryption... On Jul 16, 2012 5:12 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks. I want to do it only for my app. But I did not understand what filter r u talking about will it affect the system generated menu... On 16 July 2012 13:49, Kristopher Micinski krismicin...@gmail.com wrote: For your application or anyone's app? For your app, don't implement the filter, for anyone's app, this will be a lot trickier On Jul 16, 2012 4:11 AM, Bunty syed itsmeatfo...@gmail.com wrote: Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to block Sharing data via share intent
Tats right ,If i write tat button click i can control it . But suppose, I have a webview in my app. It opens some url. In the webview,if for some content long press,if system generates tat context menu with share via option how to control that. On 16 July 2012 16:57, Kristopher Micinski krismicin...@gmail.com wrote: I'm not sure you understand... You have to explicitly implement the share intent anyway... http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a-share-intent/ So it's not going to randomly pop up in your app, that's impossible, unless you *put* it there! kris On Mon, Jul 16, 2012 at 7:23 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks Kris. I will tell the scenario I am working on. Actually my app is driven by server defined policy. The application fetches the policy from the server then act accordingly. There is one policy for data sharing. If data sharing is allowed then no problem.But if the data sharing is not allowed, application should be able to block the data sharing options like sharing Via item in the system generated context menu. On 16 July 2012 16:22, Kristopher Micinski krismicin...@gmail.com wrote: Is that a question? If so, the answer is yes, if you don't specify an intent filter for that routine, then the system won't offer to have your app pop up. If it is, that probably means that you're putting too much stuff in your manifest, so you should post it so people can inspect it. As I said before, if you're worried about people actually getting at the contents of the stuff in your app, then you shouldn't simply count on this, you should also use some form of encryption kris On Mon, Jul 16, 2012 at 6:17 AM, Bunty syed itsmeatfo...@gmail.com wrote: Tat means in the pop up nothing will be shown after clicking share via item... On 16 July 2012 15:02, Kristopher Micinski krismicin...@gmail.com wrote: The system will only share from your app if you declare it in the manifest. In reality, however, you can't hide the data from the user without encryption... On Jul 16, 2012 5:12 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks. I want to do it only for my app. But I did not understand what filter r u talking about will it affect the system generated menu... On 16 July 2012 13:49, Kristopher Micinski krismicin...@gmail.com wrote: For your application or anyone's app? For your app, don't implement the filter, for anyone's app, this will be a lot trickier On Jul 16, 2012 4:11 AM, Bunty syed itsmeatfo...@gmail.com wrote: Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com
Re: [android-developers] How to block Sharing data via share intent
Sorry if i presented the content wrong way. Let me put this way.. If I open a webview in my app using webview android widget that means control is still in my application. Now if in the webview, some link is long pressed then android will pop up a context menu with some options to share. I want to block that so that any data within my app control wont be shared via mail,msg,facebook,etc.. On 16 July 2012 18:38, Kristopher Micinski krismicin...@gmail.com wrote: You have it the other way around, I think. I think he wants to disable a sharing button. Not disable the app from catching a shared thing. If it's the second, then yes, it's perhaps interesting, but it sounds, after the back and forth we've had, that it's much more likely a confused and misguided attempt at the first instead... kris On Mon, Jul 16, 2012 at 9:01 AM, Latimerius l4t1m3r...@googlemail.com wrote: The way I understand the OP's description, the problem is that whatever is in Manifest is static. Whereas he wants to decide dynamically (based on input from a server) whether his app handles the intent or not. If sharing is on he wants his app to appear in the chooser, if it's not it should be left out from the chooser. At least that's how I understand it... On Mon, Jul 16, 2012 at 1:27 PM, Kristopher Micinski krismicin...@gmail.com wrote: I'm not sure you understand... You have to explicitly implement the share intent anyway... http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a-share-intent/ So it's not going to randomly pop up in your app, that's impossible, unless you *put* it there! kris On Mon, Jul 16, 2012 at 7:23 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks Kris. I will tell the scenario I am working on. Actually my app is driven by server defined policy. The application fetches the policy from the server then act accordingly. There is one policy for data sharing. If data sharing is allowed then no problem.But if the data sharing is not allowed, application should be able to block the data sharing options like sharing Via item in the system generated context menu. On 16 July 2012 16:22, Kristopher Micinski krismicin...@gmail.com wrote: Is that a question? If so, the answer is yes, if you don't specify an intent filter for that routine, then the system won't offer to have your app pop up. If it is, that probably means that you're putting too much stuff in your manifest, so you should post it so people can inspect it. As I said before, if you're worried about people actually getting at the contents of the stuff in your app, then you shouldn't simply count on this, you should also use some form of encryption kris On Mon, Jul 16, 2012 at 6:17 AM, Bunty syed itsmeatfo...@gmail.com wrote: Tat means in the pop up nothing will be shown after clicking share via item... On 16 July 2012 15:02, Kristopher Micinski krismicin...@gmail.com wrote: The system will only share from your app if you declare it in the manifest. In reality, however, you can't hide the data from the user without encryption... On Jul 16, 2012 5:12 AM, Bunty syed itsmeatfo...@gmail.com wrote: Thanks. I want to do it only for my app. But I did not understand what filter r u talking about will it affect the system generated menu... On 16 July 2012 13:49, Kristopher Micinski krismicin...@gmail.com wrote: For your application or anyone's app? For your app, don't implement the filter, for anyone's app, this will be a lot trickier On Jul 16, 2012 4:11 AM, Bunty syed itsmeatfo...@gmail.com wrote: Hi, In android, on long clicking some link or text, System generates a menu with some share via option. On clicking that, it pops up a screen with facebook gmail,etc.. My doubt is that is there any way to remove that option from that menu. or is there any callback call when some intent is launched from the application.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups
Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android
is there any way to remove or block the system generated Menus On 4 July 2012 19:16, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 4, 2012 at 9:38 AM, Bunty syed itsmeatfo...@gmail.com wrote: Whenever there is long press or double tap on some text in edit text,action bar is coming with some options like cut,copy ,etc.. Is there any callback method tat gets called when some menu in the action bar is clicked so that I can handle them... For your own app's EditText widgets, you can call setCustomSelectionActionModeCallback() to add your own stuff to the action mode. Actually, I want to handle cut copy paste share menu items actions in all System generated menu so I am looking for some android provided callbacks for all of them.. Fortunately, this is not possible, for obvious security and privacy reasons. You are welcome to make your own Android mod and install that custom firmware on your own Android device that has this capability, if you so choose. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training... At Your Office: http://commonsware.com/training -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to get handle for cut copy paste menus from the system genereted action bar in android
For action bar , I got a callback public void onActionModeStarted(ActionMode mode) where I remove cut copy paste menus But for attached screenshot edit button, I am not able to get any callback. Do u know any callback which is called on invoking tat menu On 4 July 2012 19:42, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 4, 2012 at 10:09 AM, Bunty syed itsmeatfo...@gmail.com wrote: is there any way to remove or block the system generated Menus For your own app, perhaps, but certainly not for the whole system. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training... At Your Office: http://commonsware.com/training -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding WIFIInfo bssid ssid
Hi, I want my app to make connection over the defined wifi network. Now I am checking the currently active wifi network on the device comparing the ssids. If it matches with mine, I am allowing network call from my app over that matched wifi network.. But the problem is that two wifi networks can have same ssids.. So just want to know is any there any unique identifier for wifi network which will be unique constant on all devices.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Regarding WIFIInfo bssid ssid
But is it device wifi mac address or active wifi network mac address... On 9 May 2012 18:27, Jason Teagle teagle.ja...@gmail.com wrote: So just want to know is any there any unique identifier for wifi network which will be unique constant on all devices.. The MAC address? This can be obtained from a WifiInfo object... -- 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.comandroid-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Lunch child apps app only from launcher app
Hi, I have one launcher app one child app. I want my child app to be launched only from the Launcher app. To achieve this ,I have used one permission attribute in the child app manifest file as follows-- permission android:description=@string/launch android:label=@string/launch android:name=com.AUTH_PERMISSION android:protectionLevel=signature / Both launcher app child apps are signed with same certificate. I have one more app which is signed with different certificate using this app, I tried to launch previous child app child app is successfully launched. Can anybody tell me why child app is launched from unknown app which is signed with different certificate or I am android:protectionLevel=signature wrong way??? Regards, Bunty Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Charts
You can refer hicharts or achartengine http://code.google.com/p/achartengine/ On 8 May 2012 17:54, Tarilo cor...@microdataes.com wrote: Hi We need to implement a chat options in our android app. We need to make a bar and pie charts from xml data. Exist some libraries to implement this? Regards, -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to disable options to select or cut or paste on text selection with android 4.0
Hi All, In android 4.0 version, when u select long press text(specially a link or edit text),it shows an ui with some options like cut(scissor image),select all,etc.. Is there any way to disable that or any callback method to intercept that ??? Thanks Regards, Bunty Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to disable options to select or cut or paste on text selection with android 4.0
Its coming for double tapping the text in the edit text... On 7 May 2012 16:38, Jason Teagle teagle.ja...@gmail.com wrote: In android 4.0 version, when u select long press text(specially a link or edit text),it shows an ui with some options like cut(scissor image),select all,etc.. Is there any way to disable that or any callback method to intercept that ??? Have you considered calling setLongClickable(false) on those items, or setOnLongClickListener() with a listener that does nothing? Beware, though, that overriding the expected system behaviour is not always a very nice thing to do to a UI; people come to expect these standard features in applications. Consider your choice very carefully... -- 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.comandroid-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how to disable options to select or cut or paste on text selection with android 4.0
In the log it showing 05-07 16:58:29.400: INFO/WindowManager(183): createSurface Window{41cd54d8 PopupWindow:41893ab8 paused=false}: DRAW NOW PENDING On 7 May 2012 16:38, Jason Teagle teagle.ja...@gmail.com wrote: In android 4.0 version, when u select long press text(specially a link or edit text),it shows an ui with some options like cut(scissor image),select all,etc.. Is there any way to disable that or any callback method to intercept that ??? Have you considered calling setLongClickable(false) on those items, or setOnLongClickListener() with a listener that does nothing? Beware, though, that overriding the expected system behaviour is not always a very nice thing to do to a UI; people come to expect these standard features in applications. Consider your choice very carefully... -- 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.comandroid-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem with Location.getTime API
Hi, I changed the time date of the device.. Then i launched an app which reads time date using location.getTime Api as follows--- long time =loc.getTime(); GregorianCalendar gcal = new GregorianCalendar(TimeZone.getTimeZone(UTC)); gcal.setTimeInMillis(time); Log.i(Ashiq, day==+gcal.get(GregorianCalendar.DAY_OF_MONTH)); Log.i(, month==+gcal.get(GregorianCalendar.MONTH)); Log.i(, yearc==+gcal.get(GregorianCalendar.YEAR)); Log.i(, hrs==+gcal.get(GregorianCalendar.HOUR)); Log.i(, minsc==+gcal.get(GregorianCalendar.MINUTE)); But above API returns me time date as per the device time.. Actually it should return the correct time(sataellite or cell tower based) independent of the device time date. Thanks Regards, Ashiq Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem with Location.getTime API
Actually I dont want to rely on the device time since it can be changed by the user So i am reading time using Location.getTime But after converting millisecond returned by Location.getTime() to local format,I am getting the device changed time.. On 3 May 2012 16:40, Daniel Drozdzewski daniel.drozdzew...@gmail.comwrote: API docs say that Location.time() returns UTC time of a *fix*, so it's not even a current time ... ...but it doesn't matter, since you create GregorianCallendar in UTC time zone anyway, so what exactly did you expect? Try using TimeZone.getDefault() instead. On 3 May 2012 11:57, Bunty syed itsmeatfo...@gmail.com wrote: Hi, I changed the time date of the device.. Then i launched an app which reads time date using location.getTime Api as follows--- long time =loc.getTime(); GregorianCalendar gcal = new GregorianCalendar(TimeZone.getTimeZone(UTC)); gcal.setTimeInMillis(time); Log.i(Ashiq, day==+gcal.get(GregorianCalendar.DAY_OF_MONTH)); Log.i(, month==+gcal.get(GregorianCalendar.MONTH)); Log.i(, yearc==+gcal.get(GregorianCalendar.YEAR)); Log.i(, hrs==+gcal.get(GregorianCalendar.HOUR)); Log.i(, minsc==+gcal.get(GregorianCalendar.MINUTE)); But above API returns me time date as per the device time.. Actually it should return the correct time(sataellite or cell tower based) independent of the device time date. Thanks Regards, Ashiq Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- Daniel Drozdzewski -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Problem with Location.getTime API
In android there is an option for date time like Use network provided values. is there any API to trigger that programatically get the network provided values... On 3 May 2012 16:59, Mark Murphy mmur...@commonsware.com wrote: On Thu, May 3, 2012 at 7:25 AM, Bunty syed itsmeatfo...@gmail.com wrote: So i am reading time using Location.getTime But after converting millisecond returned by Location.getTime() to local format,I am getting the device changed time.. LocationManager is obviously using the local clock for those timestamps. This is not surprising. Actually I dont want to rely on the device time since it can be changed by the user Roll your own SNTP client and go get the time off the Internet. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to check whether connected wifi network is secured or not
Hi Guys, I have one query. Actually I want my app to make network call only if device is connected to secured wifi network which requires authentication I am using following code... WifiManager wifi =(WifiManager) getSystemService(Context.WIFI_SERVICE); if(wifi != null){ WifiInfo info = wifi.getConnectionInfo(); } WifiInfo info is the currently active wifi network on the device. But there are no APIS available in the WifiInfo to check the security protocol like security type ,encryption type or password authentication required or not for the currently active wifi network. Thanks Regards, Ashiq Sayyad -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to remote wipe particular application data
HI All, I want to wipe all data for particular application.I went through device admin api. It provides option to wipe all device data not for particular app. Is there any way to wipe data for particular app... Regards, Bunty Syed -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to find network type is 2G/3G/4G exactly
HI, I want to find if the connected network falls under 2G ,3G or 4G.. I went through ConnectivityManager / TelephonyManager but it gives network type like gprs,edge,etc... In device,we will find a tick mark like use only 2G network. Can anybody tell me how native android decides that whether the connected network falls under 2G.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Uninstall application silently from device using MDM for android
Hi, I want to delete application silently from device. But I found there is no way of doing it(except launching uninstaller screen) .. I read @ MDM in android using which we can wipe data,lock phone, etc... Can we uninstall app silently using MDM.. Thanks Regards, Bunty Syed.. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding invoking already launched app with some data with maintaining same state of app
HI, I have two apps.One app is container app other apps are child apps. My container app gets notification for child apps. Now my doubt is I want to invoke some callback in the child apps from container app to notify running child app about the notification. Also,if container app notifies child apps , the state of the child app should be maintained. For that I am doing following code snippet from the container app.. Intent i = new Intent(Intent.ACTION_MAIN); PackageManager manager = context.getPackageManager(); i = manager.getLaunchIntentForPackage(child app packagename); i.addCategory(Intent.CATEGORY_LAUNCHER); i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK ); i.setFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK); i.putExtra(mydata, some data); } */ context.startActivity(i); With above code, I am able to launch the child app activity in the same state but intent is coming as null.. Regards, Bunty -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en