[android-developers] Re: How to find network type is 2G/3G/4G exactly

2012-04-17 Thread ashiq sayyad
I think u can write some logic based on the approximate bit rates assumed for edge,gprs,umt,etc Regards, Ashiq On 17 April 2012 16:40, Bunty syed itsmeatfo...@gmail.com wrote: HI, I want to find if the connected network falls under 2G ,3G or 4G.. I went through ConnectivityManager /

[android-developers] Regarding application created data access on android phone

2012-03-27 Thread ashiq sayyad
Hi, Hope all doing well. My application created on database programatically.. On emulator,I can see the created database using File Explorer under data folder .. But on device I cant see my app data.. Thanks Regards, Ashiq Sayyad -- You received this message because you are subscribed

[android-developers] Regarding custom text view drawing on screen directly

2012-03-17 Thread ashiq sayyad
methods before calling onDraw... 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

[android-developers] Problem in getting the correct time date from mobile in android

2012-03-13 Thread ashiq sayyad
depending upon the correct time zone of that region.. Same case for particular date usage... 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

[android-developers] Regarding android.intent.action.PACKAGE_ADDED,android.intent.action.PACKAGE_REMOVED

2012-03-09 Thread ashiq sayyad
notification for any apps installed or deleted on phone.. Is there any way to get notification only for certain predefined packages(apps ) installation or uninstallation.. Thanks Regards, Ashiq sayyad -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Disabling cut copy paste menu on edittext

2012-03-07 Thread ashiq sayyad
HI, Hope all doing well.. In android,if we long press any edittext widget,menu with cut,copy .paste will be popped up. Is there any way to stop that via code for all edittext widgets in the application Thanks Regards, Ashiq Sayyad -- You received this message because you are subscribed

[android-developers] restartPackage(some package name) api not working on device

2012-03-07 Thread ashiq sayyad
, 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

Re: [android-developers] Re: Disabling cut copy paste menu on edittext

2012-03-07 Thread ashiq sayyad
2:41:47 PM UTC+8, ashiq sayyad wrote: HI, Hope all doing well.. In android,if we long press any edittext widget,menu with cut,copy .paste will be popped up. Is there any way to stop that via code for all edittext widgets in the application Thanks Regards, Ashiq Sayyad -- You

[android-developers] Regarding apk installation programatically getting callback for successful installation.

2012-03-01 Thread ashiq sayyad
whether installation is successful or declined... Do I need to specify some key in the intent to acieve this 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

[android-developers] PackageManager installPackage method throwing IllegalArgumentException

2012-02-27 Thread ashiq sayyad
permission in the manifest:: uses-permission android:name=android.permission.INSTALL_PACKAGES/ uses-permission 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

[android-developers] How to restrict ContentProviders to be used for some apps

2012-02-23 Thread ashiq sayyad
I have created one custom content provider.I want only my apps should use my custom content provider and the outside apps should not be able to use it even if they know the URI of the content provider. Is it possible??? Regards, Ashiq -- You received this message because you are subscribed

Re: [android-developers] How to restrict ContentProviders to be used for some apps

2012-02-23 Thread ashiq sayyad
wrote: Check out the content provider permissions @ http://developer.android.com/guide/topics/security/security.html#declaring Thanks, Shashidhar On Thu, Feb 23, 2012 at 4:38 PM, ashiq sayyad ashiqsay...@gmail.comwrote: I have created one custom content provider.I want only my apps should

[android-developers] SQLite sharing between apps

2012-02-22 Thread ashiq sayyad
Hi all, Hope doing well..I have following doubt.. I have created one sqlite database in one application.I want to access that sqlite database in some other application.. Is it possible to access? Thanks Regards, Ashiq -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: SQLite sharing between apps

2012-02-22 Thread ashiq sayyad
Ya it can be shared via content providers but is there any way to share it directly without using content providers.. Chrystian Vieyra-- Can u plz elaborate what is user id..its id of sqlite database??? On 22 February 2012 16:36, Chrystian Vieyra chrys.vie...@gmail.com wrote: You could share

Re: [android-developers] Re: SQLite sharing between apps

2012-02-22 Thread ashiq sayyad
Thanks.I will try On 22 February 2012 16:52, Chrystian Vieyra chrys.vie...@gmail.com wrote: android:sharedUserIdThe name of a Linux user ID that will be shared with other applications. By default, Android assigns each application its own unique user ID. However, if this attribute is set

[android-developers] AutoInstall apk without prompting package installer to the user

2012-02-22 Thread ashiq sayyad
Hi, I want to download install apk without informing to the user.Is it possible ?? I tried with following code but its showing package installer.. Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(apkUri, application/vnd.android.package- archive); startActivity(intent);

Re: [android-developers] AutoInstall apk without prompting package installer to the user

2012-02-22 Thread ashiq sayyad
Thanks for the reply.. On 22 February 2012 19:25, TreKing treking...@gmail.com wrote: On Wed, Feb 22, 2012 at 6:24 AM, ashiq sayyad ashiqsay...@gmail.comwrote: I want to download install apk without informing to the user.Is it possible ?? No. Not without modifying the firmware

[android-developers] Re: SQLite sharing between apps

2012-02-22 Thread ashiq sayyad
I tried sharing sqlite between apps using android:sharedUserId concept.Its working fine.. Thanks all for ur replies Regards, Ashiq On 22 February 2012 19:15, zyrikby y.zhalnerov...@gmail.com wrote: Hi. Content provider allows you to share databases between applications. If you do not

[android-developers] Android native implementation for force stop in setting--manage applications

2012-02-09 Thread ashiq sayyad
the previous activity.. 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

Re: [android-developers] Android native implementation for force stop in setting--manage applications

2012-02-09 Thread ashiq sayyad
, TreKing treking...@gmail.com wrote: On Thu, Feb 9, 2012 at 4:17 AM, ashiq sayyad ashiqsay...@gmail.comwrote: I want to achieve force stop functionality in my app on close button click. Why

Re: [android-developers] Android native implementation for force stop in setting--manage applications

2012-02-09 Thread ashiq sayyad
...@gmail.comwrote: On Thu, Feb 9, 2012 at 1:01 PM, ashiq sayyad ashiqsay...@gmail.comwrote: Actually activity.finish() will finish the current activity app will show the previously stacked activity.But i want to finish all activities also stop all background processes.So I need to have

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread ashiq sayyad
Thanks all. For earlier version devices, I tried dispatching power button key event via code to lock the phone.But its not dispatching the key event for. Thanks Regards, Ashiq Sayyad On 20 January 2012 14:17, Mukesh Srivastav mukicha...@gmail.com wrote: @Albnok, I had tried decompiling

[android-developers] How to manually dispatch key event for power button in android

2012-01-19 Thread ashiq sayyad
Hi, I want to dispatch key event for Power button programatically.I tried following line of code but its not working.. dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN,KeyEvent.KEYCODE_POWER)); But this is not working.. Any help on this most welcome.. Thanks Regards, Ashiq Sayyad

[android-developers] DevicePolicyManager LockNow problem

2012-01-19 Thread ashiq sayyad
screen lock functionality for below 2.3 devices as there in no direct APIS for tat.. Awaiting for help 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

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-19 Thread ashiq sayyad
Thanks.I will check that. One more is there any way to implement lock on earlier android versions(before 2.2) Thanks Regards. Ashiq Sayyad On 20 January 2012 12:00, albnok alb...@gmail.com wrote: You might have missed something in the implementation - it should cause the Device

Re: [android-developers] How to manually dispatch key event for power button in android

2012-01-19 Thread ashiq sayyad
... Thanks Regards, Ashiq Sayyad On 20 January 2012 02:37, Kristopher Micinski krismicin...@gmail.comwrote: Why are you trying to do this anyway? kris On Thu, Jan 19, 2012 at 3:56 PM, Mark Murphy mmur...@commonsware.com wrote: This would do you no good. Not only can't you attack the device