Re: [android-developers] SSL Certificate Installation Problem

2010-11-03 Thread saify.zeenwala
Hi you can by-pass but if you want to check certificate then use the following code to store certificate in keystore KeyStore trusted = KeyStore.getInstance(BKS); InputStream in = getResources().openRawResource(R.raw.cerrrt); trusted.load(in, ez24get.toCharArray());

[android-developers] undx.jar

2010-09-23 Thread saify.zeenwala
Hi Guys I am looking for undx.jar I have tried hard on sourceforge as well as on illegalaccess.com too but not found any thing. Can any one please share it with me. Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: sdcard MEDIA_MOUNTED, File.canRead = true, File.canWrite = false

2010-08-09 Thread saify.zeenwala
hi try with /mnt/sdcard This will help you out On Sat, Aug 7, 2010 at 6:55 AM, john brown johnbrowngreybe...@gmail.comwrote: I got a command prompt via c:\Program Files\Android-SDK\tools adb shell # ls -l /sdcard/Android/data/lms rwxr-x systemsdcard_rw63 2010-07-19

Re: [android-developers] Upload Images to server

2010-08-03 Thread saify.zeenwala
Hi Don't get confused Used below pasted code HttpURLConnection oHttpConnection = null; OutputStream oOutputStream = null; FileInputStream oFileInputStream = null; java.io.InputStream oInputStream = null; boolean bSuccess = true; byte[] arrBuf = null;

Re: [android-developers] How to store questions for quiz type application

2010-08-03 Thread saify.zeenwala
Hi Better opt for SQL as it would be convenient for you to do further SQL query. where as in property file you have to do manual search and have to do string operation. create table with 3 columns question possibleanswer correct answer Might be this will help you On Tue, Aug 3, 2010 at

Re: [android-developers] Re: Interaction between an Activity and a Service ?

2010-08-03 Thread saify.zeenwala
Hi Use shared preference. It is the easiest way to handle ur problem On Tue, Aug 3, 2010 at 12:25 PM, Paul Turchenko paul.turche...@gmail.comwrote: See ApiDemos for 2way service communication sample. On Aug 1, 11:29 pm, Rajesh Bachani rajesh.bach...@gmail.com wrote: Hello friends!

Re: [android-developers] Mount USB Drive

2010-07-23 Thread saify.zeenwala
u can use linux mount command directly avail in /system/etc regards On Tue, Jul 13, 2010 at 2:39 PM, perumal316 perumal...@gmail.com wrote: Hi All, I want my application to automatically mount the phone into USB storage drive if USB cable is connected. Is there code to do it? I tried

Re: [android-developers] Where to Check for files/data created in emulator?

2010-05-05 Thread saify.zeenwala
use ddms tool to check create files and dir. On Tue, May 4, 2010 at 9:23 PM, dillipk codersnet2...@gmail.com wrote: Hello, Where can I check for the Dir/ files/ data created in Internal Memory/SDCard ? Thanks in advance.. Regards, DK -- You received this message because you are

Re: [android-developers] SSL3_READ_BYTES error

2010-03-04 Thread saify.zeenwala
Hi First chek for ur client side certificate. Android only support BKS certificate. First ensure for client side certificate and use following code this will work SSLSocketFactory SSLSF = *new* SSLSocketFactory(trusted); schemeRegistry.register(*new* Scheme(https, SSLSF, 443));

Re: [android-developers] client certificate authentication for ssl/https connection

2010-02-23 Thread saify.zeenwala
hi just create certificate using bouncy castle algo as android supports only BKS certificates only. use below mentioned link to generate client side certificat and store it using keystore. http://crazybob.org/2010/02/android-trusting-ssl-certificates.html regards On Tue, Feb 23, 2010 at

Re: [android-developers] Background listener getting killed

2009-11-26 Thread saify.zeenwala
hi have u tried android:enabled = true attribute in recieve tag of ur broadcaster regards On Thu, Nov 26, 2009 at 12:00 AM, Ravi textlo...@gmail.com wrote: I have an app that listens to incming Calls. If the user has another app that listens to the same (Call popup applicaitons in

Re: [android-developers] Background Service is not working.

2009-11-25 Thread saify.zeenwala
hi put ur code in onstart() instead of oncreate() becuase ur on create will get call only once through out the life cycle of service. hope this will help u On Tue, Nov 24, 2009 at 2:25 PM, Wei Jian weijia...@gmail.com wrote: Hello. i wish to use implement Service in my application to

Re: [android-developers] how to fetch datas from database like mysql/sqlite

2009-11-25 Thread saify.zeenwala
hi try out these simple line of code QLiteDatabase m_oSQLiteDatabase; m_oSQLiteDatabase.query(strTableName, arrColumns, *null*, *null*, *null*, * null*, *null*); this will return u cursor object use get method to retive data from cursor On Tue, Nov 24, 2009 at 5:38 PM, siva

Re: [android-developers] Deleting Incoming SMS - Android

2009-11-25 Thread saify.zeenwala
hi use below mentioned method this will give u object[] of smsmessage * private* SmsMessage[]getMessagesFromIntent(Intent intent) { SmsMessage retMsgs[] = *null*; Bundle bdl = intent.getExtras(); *try*{ Object pdus[] = (Object [])bdl.get(pdus); retMsgs = *new* SmsMessage[pdus.length];