[android-developers] Android : How to recognize MICR codes

2014-08-13 Thread Juned Khan
Since last few days I am trying to find the way to OCR the MICR codes from document. for that I used Tesseract https://github.com/rmtheis/tess-two library, Using this I got success in recognizing texts but when it comes to MICR it fails to recognize that. Here is the sample MICR image which

[android-developers] How to open dialer during a call programmatically ?

2014-01-12 Thread Juned Khan
/21019975/neither-user-10056-nor-current-process-has-android-permission-modify-phone-state for permission related error i found this http://code.google.com/p/android/issues/detail?id=15031#makechanges Any help and idea will be appreciated. Thanks Juned Khan -- You received this message because you

[android-developers] Re: how to add G729 codec in Android application?

2013-10-30 Thread Juned Khan
I have a broad idea about CSIPsimple application, but this for them who want to add g729 in codec in SipDroid -- 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

[android-developers] Re: how to add G729 codec in Android application?

2013-10-29 Thread Juned Khan
http://junedk.blogspot.in/2013/10/add-g729-codec-in-sipdroid.html On Monday, April 9, 2012 4:00:56 PM UTC+5:30, Juned Khan wrote: i am developing a SIP application for making and receiving a call and i want to add the G729 codec in my application. currently i am doing analysis on open

[android-developers] Getting java.lang.ExceptionInInitializerError and java.lang.UnsatisfiedLinkError

2013-01-12 Thread Juned Khan
I have project source as well as apk file. if i am directly installing APK on emulator then its working fine but while running the application from eclipse i am getting following errors. 01-12 07:45:42.918: E/AndroidRuntime(889): FATAL EXCEPTION: main 01-12 07:45:42.918:

[android-developers] Re: Shared preference usage

2013-01-07 Thread Juned Khan
Please refer this http://developer.android.com/reference/android/content/SharedPreferences.html here is example for same http://stackoverflow.com/questions/3624280/how-to-use-sharedpreferences-in-android-to-store-fetch-and-edit-values -- You received this message because you are subscribed to

[android-developers] Re: hi friends

2013-01-07 Thread Juned Khan
check for internet connection by this method if its returns true then eecute your code. public boolean isNetworkAvailable() { ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService (Context.CONNECTIVITY_SERVICE);

[android-developers] Re: XMPP file Transfer

2012-11-12 Thread Juned Khan
Hi all, I am developing the same application and i just stuck with this file transfer. Chatting is work fine but i want to add the feature of file transfer. Anyone succeeded in that ?? Thanks Regards Juned -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: NDK jni recommend some examples for me

2012-10-22 Thread Juned Khan
There is a sample example as well as Documents which bundled with Android NDK Read the documents and try to compile it. if you face any problem then post it. definitely you will get help. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] MEDIA_MOUNTED broadcast not being recieved when Application is installed on SD card

2012-10-04 Thread Juned Khan
How do i start my application on startup in case when application is installed on SD card? If i application is installed on Internal memory then using `BOOT_COMPLETED` completed broadcast we can achieve our requirements but this BOOT_COMPLETED intent is broadcasts before the media is mounted

[android-developers] Re: MEDIA_MOUNTED broadcast not being recieved when Application is installed on SD card

2012-10-04 Thread Juned Khan
Yeah thats true, but if i want to perform the action on ACTION_MEDIA_MOUNTED. and using that action i can start my application in background even if its on SD Card -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: databse

2012-09-06 Thread Juned Khan
Hi Sadhna, You can get the id of selected row of listview. based on that you can perform your operation. Thanks Juned Khan -- 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] Re: help me

2012-08-29 Thread Juned Khan
See some Android documentation which is available on net and review some sample SIP based application like Sipdroid,Csipsimple,linphone. these are open source application so u can use the source code of this applications. Thanks Juned Khan -- You received this message because you

[android-developers] Re: add contact in ics

2012-08-25 Thread Juned Khan
did you mean programmatically? -- 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: Is there a way to control the Android phone or do a automated test using a remote PC?

2012-08-24 Thread Juned Khan
are using linux then: cd /usr/src/android-sdk-linux/platform-tools/ ./adb shell monkey -p org.sipchat.sipua(your package name) -v 1500 Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Howto: Run the Test cases available in framework

2012-08-24 Thread Juned Khan
/usr/src/android-sdk-linux/ platform-tools/ ./adb shell monkey -p org.sipchat.sipua(your package name) -v 1500 Thanks Juned Khan -- 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] Re: Need some help with MyFirstApp tutorial.

2012-08-24 Thread Juned Khan
Hi Use this code Intent intent = new Intent(your_current_class.this, DisplayMessageActivity.class); startActivity(intent); -- 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: Need some help with MyFirstApp tutorial.

2012-08-24 Thread Juned Khan
did you defined this class in Androidmanifest.xml file? -- 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: Need some help with MyFirstApp tutorial.

2012-08-24 Thread Juned Khan
it will be better if you show us the logcat Thanks Juned Khan -- 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] Re: Help with application

2012-08-23 Thread Juned Khan
. Otherwise ping me or post the question on different forums. All The Best ! Thanks Juned Khan -- 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] Re: NDK in MacOS

2012-08-23 Thread Juned Khan
Hi Ricardo, Can you show the code of local.mk file? Thanks Juned Khan -- 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

[android-developers] Re: android.os.NetworkOnMainThreadException error

2012-08-23 Thread Juned Khan
it will be more clear to you. Thanks Juned Khan -- 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

[android-developers] Re: how to check table is empty or not

2012-08-23 Thread Juned Khan
=cursor.getCount();* Log.i(fav all contact,+totalcontact); * if (totalcontact== 0)* { Toast.makeText(Fav_contacts.this,You don't have any contacts to display ,200).show(); else do your stuff Thanks Juned Khan -- You received this message because you

[android-developers] Re: how to check table is empty or not

2012-08-23 Thread Juned Khan
Juned Khan -- 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] Re: edittext focus in tablerow

2012-08-23 Thread Juned Khan
Hi See this http://lmgtfy.com/?q=requestfocus+android 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

[android-developers] Re: edittext focus in tablerow

2012-08-23 Thread Juned Khan
This is the example: EditText android:id=@+id/editTextCurrentPassword android:layout_width=wrap_content android:layout_height=37dp * requestFocus /* /EditText -- You received this message because you are subscribed to the Google

[android-developers] Re: Help with application

2012-08-23 Thread Juned Khan
Use this link to Start your training. hope this will help you http://developer.android.com/training/index.html Thanks Juned Khan -- 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] Re: connecting database...

2012-08-23 Thread Juned Khan
problem then post it . Thanks Juned Khan -- 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

[android-developers] Re: How to bring to front stopped (background) application instead of launch new one

2012-08-23 Thread Juned Khan
Hi Andy, Use this code in your activity to do that, public void onBackPressed() { Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); } Thanks Juned

[android-developers] Re: Help!!!

2012-08-23 Thread Juned Khan
if your click button is not working then try to use View.onclickListener instead Button.onClickListenet button.setOnClickListener(new View.OnClickListener() {} -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Dynamically displaying images

2012-08-22 Thread Juned Khan
checkout this links http://iamvijayakumar.blogspot.in/2011/06/android-lazy-image-loader-example.html http://stackoverflow.com/questions/4885469/dynamically-show-images-from-resource-drawable http://stackoverflow.com/questions/8133055/android-displaying-image-and-text-dynamically-in-listview

[android-developers] Re: Unable to run the code on Android 4.0

2012-08-06 Thread Juned Khan
Can you specify what type of error you getting in error log? Thanks Juned Khan -- 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] Re: Unable to run the code on Android 4.0

2012-08-06 Thread Juned Khan
Can you specify what type of error you getting in error log? I think for long running task you should use AsynkTask.http://developer.android.com/reference/android/os/AsyncTask.html Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android

[android-developers] File is not being transferred in smack API

2012-07-26 Thread Juned Khan
Hii All, http://stackoverflow.com/questions/11666963/file-is-not-being-transferred-in-smack-api please see my question. Thanks Juned Khan -- 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] Re: flash file in webview on ICS

2012-07-25 Thread Juned Khan
I have developed one animation in Flash environment, but that also failed to load. -- 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] Re: flash file in webview on ICS

2012-07-24 Thread Juned Khan
Hi Shalini, The earlier device in which flash is supported on that devices flash file will load regardless the version of Android. And as zoltan pall said adobe dropped the support so in every newer device the flash file will not load. Thanks Juned Khan -- You received this message because

[android-developers] Re: States of matters

2012-07-24 Thread Juned Khan
Hi Sadhna, Try to ask your question properly don't make it ambiguous.Ask a question such a way so everyone can understand it easily and guide you through that. Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Application to start with

2012-07-24 Thread Juned Khan
Hi, There is a number of sample application is bundle with Android SDK. try to work on that. that will be very helpful to understand the development process in android and APIs of android. Thanks Juned Khan -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: urgent - how to include existing c++ code into Android

2012-07-18 Thread Juned Khan
NDK is the only solution to run .cpp files or .c files -- 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 Sample application : ToyVpn

2012-07-18 Thread Juned Khan
Hii all, i want to debug Android sample application ToyVpn. when i tried to run this application in my emulator its running properly but can not connecting to VPN but on actual device the application is crashes. have anyone tried with this application? How to run this application properly?

[android-developers] How to create new VPN account programmatically?

2012-07-18 Thread Juned Khan
Hii there, Can anyone give me the answer of this question? http://stackoverflow.com/questions/11471465/what-is-the-method-to-pass-username-and-password-in-vpnservice-builder-class http://stackoverflow.com/questions/11481391/how-to-add-and-activate-pptp-or-l2tp-vpn-connection Thanks -- You

[android-developers] Re: Android Sample application : ToyVpn

2012-07-18 Thread Juned Khan
yeah its Android Sample application. but it must be working, I want to add VPN facility in my 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

[android-developers] How to Add and activate PPTP VPN connection?

2012-07-13 Thread Juned Khan
i am developing the one SIP based application to make and receive a calls. In which i need to access a PPTP VPN connection because in some countries VOIP and SIP are blocked.If i use VPN connection then calls will not block even VOIP and SIP are blocked in that country. So how do i add a new

[android-developers] Re: Layout issues

2012-07-13 Thread Juned Khan
try to use this line in Android manifest file. supports-screens android:normalScreens=true android:smallScreens=true android:largeScreens=true android:anyDensity=false / -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android Text To Speech

2012-07-02 Thread Juned Khan
this may help you http://stackoverflow.com/questions/6222823/text-to-speech-in-android Thanks Juned Khan -- 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] how to add G729 codec in Android application?

2012-04-09 Thread Juned Khan
i am developing a SIP application for making and receiving a call and i want to add the G729 codec in my application. currently i am doing analysis on open source project SipDroidhttp://code.google.com/p/sipdroid/. if i want to make that application to support G729 codec how to do that?

[android-developers] Re: In Eclipse while viewing Graphical layout for xml file. it not showing the graphic

2012-04-02 Thread Juned Khan
i had the same problem. what i did to solve this problem. do one thing keep open your xml files graphical layouts page and then restart eclipse. once eclipse is restarted, it will refresh the that page and you will get the graphical layout. try it out and comment if you get success, -- You

[android-developers] Re: Return formatted time

2012-04-02 Thread Juned Khan
you can do this public String create_datestring(String timestring){ try{ final Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(Long.parseLong(timestring)); timestring = String.valueOf(cal.get(Calendar.MONTH)+1) + /

[android-developers] Re: Change the theme in android

2012-03-23 Thread Juned Khan
setTheme(android.R.style.Theme_Dialog); -- 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] how to compile linePhone(an open source SIP phone) in emulator?

2012-03-12 Thread Juned Khan
hi developers, i want to do analysis on linePhone application which is open source. for that purpose i have downloaded the source code from this link from http://www.linphone.org but while running that project i am facing a some problem which is related to sdk and versions. is

[android-developers] Re: change default SIP user agent in android

2012-03-10 Thread Juned Khan
i got this solution http://stackoverflow.com/questions/9634733/how-to-set-custom-sip-user-agent-in-android/9636288#comment12246108_9636288 -- 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] change default SIP user agent in android

2012-03-09 Thread Juned Khan
hi all developers, i am developing one SIP application.while registering on SIP server through my android application.the default user agent displayed by android on SIP server is *SIPAUA/0.1.001*. how do i change that? i have searched on internet couldn't find anything? is there any

[android-developers] Re: Android Game Programming help

2012-03-09 Thread Juned Khan
hi ahmad, the best resource is google books use this link http://books.google.com/ all the best -- 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

Re: [android-developers] how to get alert dialog on home screen?

2012-03-03 Thread Juned Khan
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 android-developers+unsubscr...@googlegroups.com For more

[android-developers] how to get alert dialog on home screen?

2012-03-02 Thread Juned Khan
hello all developers, for incoming call notification i am using alert dialog but problem is that when i am on home or main screen the dialog does not appears. it resides in the application. how to get that alert dialog on main or home home screen. so i can get notify of

Re: [android-developers] how to get alert dialog on home screen?

2012-03-02 Thread Juned Khan
thanks arun kumar, if you know any link or source regarding this task please share. -- 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] application unable to access internet on device while working properly on android emulator?

2012-03-01 Thread Juned Khan
hi all developers, I have developed one SIP based application which does not use INTERNET connection while debugging on android device. but debugging on emulator it works properly.I have given all the permission in manifest.xml regarding INTERNET connection. is there any other

[android-developers] Re: Run application in background

2012-02-27 Thread Juned Khan
thanx Kalandar On Monday, February 27, 2012 10:41:30 AM UTC+5:30, Juned Khan wrote: hii all developers, how do i keep my application running on background until it manually closed or exited by the user. -- You received this message because you are subscribed

[android-developers] Re: Run application in background

2012-02-27 Thread Juned Khan
thanx Kalandar -- 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] Re: Run application in background

2012-02-27 Thread Juned Khan
thanx for your reply *Moktarul* i know about services but what is transparent activity ? can you explain me about it or any link for that? * * -- 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] Run application in background

2012-02-26 Thread Juned Khan
hii all developers, how do i keep my application running on background until it manually closed or exited by the user. -- 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] codecs supported by android

2012-02-25 Thread Juned Khan
hi all, how to add new codec in android? and how to see which codecs are supported by android for audio calling? -- 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] dialer for DTMF?

2012-02-10 Thread Juned Khan
hi all developers, i am developing one SIP application in which i want to send DTMF for that can i use inbuilt dialer or i need to create customize dialpad? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] how to stop auto answer in android-application?

2012-02-07 Thread Juned Khan
Hello All, * When i am calling from my softphone (here i am using Twinkle as my softphone) it is automatic answered by the application. so how do i stop that? * am new to android and i want to develop a android based simple SIP application which can make and receive a call. For that