[android-developers] how to query from two unrelated tables and display data in same listview

2012-12-26 Thread Vijay Krishnan
Hi all, I am having two unrelated tables in my application database.I have to query from two tables and display data on same listview. Is it possible to do this?. Regards, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread Vijay Krishnan
my question is when i m having two cursors that points to different data and i want to display the data in same listview.How could this can be done by merge cursor? On Wed, Dec 26, 2012 at 8:15 PM, skink psk...@gmail.com wrote: Vijay Krishnan wrote: Hi all, I am having two

Re: [android-developers] Re: how to query from two unrelated tables and display data in same listview

2012-12-26 Thread Vijay Krishnan
Hi skink, cursors point to different tables and tables have different column names.How do i know that this cursor points to this table? How do i display data from different tables? Regards, vijay.k On Wed, Dec 26, 2012 at 9:48 PM, skink psk...@gmail.com wrote: Vijay

[android-developers] How to perform multiple queries from different tables and show in single list view

2012-12-23 Thread Vijay Krishnan
Hi all, I have to query from different tables and show in single listview.How to do this? Regards, vijay.k -- 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] android-support-v13.jar not present in my application

2012-08-23 Thread Vijay Krishnan
Hi all, I am using eclipse for developing android application.When i create my application,android-support-v13.jar is not bundled in my application.Help on this. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] how to find the position of the imageview

2012-08-14 Thread Vijay Krishnan
Hi all, I have imageview at the center of the layout.How to find the position of the imageview? Thanks, vijay.k -- 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

Re: [android-developers] how to find the position of the imageview

2012-08-14 Thread Vijay Krishnan
#SizePaddingMargins for more information about the width.) 2012/8/14 Vijay Krishnan vijay.vijay...@gmail.com Hi all, I have imageview at the center of the layout.How to find the position of the imageview? Thanks, vijay.k -- You received this message because you are subscribed

[android-developers] problem when i set margins dynamically for imageview

2012-08-13 Thread Vijay Krishnan
Hi all, RelativeLayout android:orientation=horizontal android:layout_width=wrap_content android:layout_height=wrap_content ImageView android:id=@+id/discover android:layout_width=wrap_content android:layout_height=wrap_content

Re: [android-developers] position the different image views

2012-08-09 Thread Vijay Krishnan
was NOT to use a *Relative*Layout? I'm not sure I follow the logic train on that one... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Aug 7, 2012 at 5:14 AM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I have different

[android-developers] position the different image views

2012-08-07 Thread Vijay Krishnan
Hi all, I have different image views and i want to position the other imageviews relatively with centre image view.And i have done it with using FrameLayout.ImageViews look fine in Samsung S3,but in samsung galaxy Y the last imageview added to the layout only appears on the screen.

Re: [android-developers] Re: how to run a service in background when the user is out of android application

2012-08-02 Thread Vijay Krishnan
whenever his location changes at the interval of 5 min On Thu, Aug 2, 2012 at 8:46 PM, Kristopher Micinski krismicin...@gmail.comwrote: how often? kris On Thu, Aug 2, 2012 at 1:16 AM, Vijay Krishnan vijay.vijay...@gmail.com wrote: If a user installed my app,i need to update his location

Re: [android-developers] Re: how to run a task in background,eventhough i am out of the application

2012-08-01 Thread Vijay Krishnan
How it is possible to run a service when i am out of my application? On Mon, Jul 30, 2012 at 7:18 PM, bob b...@coolfone.comze.com wrote: I would try creating a Service instead of an Activity. On Monday, July 30, 2012 8:38:37 AM UTC-5, Vijay Krishnan wrote: Hi all, I want to run

Re: [android-developers] Re: how to run a service in background when the user is out of android application

2012-08-01 Thread Vijay Krishnan
/reference/android/app/Service.html On Monday, July 30, 2012 1:44:39 AM UTC-5, Vijay Krishnan wrote: Hi all, In my case,i want to update the user latitude and longitude in background when he is out of the application. Thanks, vijay.k -- You received

[android-developers] how to run a service in background when the user is out of android application

2012-07-30 Thread Vijay Krishnan
Hi all, In my case,i want to update the user latitude and longitude in background when he is out of the application. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] how to position imageview in linear layout with respect to screen size

2012-07-30 Thread Vijay Krishnan
... On the first image, set android:layout_centerInParent=true On the second image, set android:layout_above=@id/id_of_first_image Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 27, 2012 at 3:49 AM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi

[android-developers] how to run a task in background,eventhough i am out of the application

2012-07-30 Thread Vijay Krishnan
Hi all, I want to run a task in background,eventhough i am out of the application. Thanks, vijay.k -- 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 position imageview in linear layout with respect to screen size

2012-07-27 Thread Vijay Krishnan
Hi all, In my application,i used to customize the position of image view in linear layout.First,i position the first image view at the centre of the screen and then i try to position the second image view above the first image view.But i couldn't do that because the second image view is

[android-developers] Failed to find an AVD compatible with target 'Android 2.2'

2012-07-22 Thread Vijay Krishnan
Hi all, When i run my application using eclipse in Sony Experia(android version 4.0.3),it shows 'Failed to find an AVD compatible with target android 2.2' in the log.This application is running in Galaxy S3. Thanks, vijay.k -- You received this message because you are subscribed to the

[android-developers]

2012-07-16 Thread Vijay Krishnan
Hi all, I am using the Google Cloud Messaging service for push notication to my android device.But the message is not delivered to my device.Here is my code Sender sender = new Sender(AIzaSyCXhF692i0L2hDpaOkUJS1AhRumZI_Cl_o); Message message = new

[android-developers] push notification not delivered to my device

2012-07-16 Thread Vijay Krishnan
Hi all, I am using the Google Cloud Messaging service for push notication to my android device.But the message is not delivered to my device.Here is my code Sender sender = new Sender(AIzaSyCXhF692i0L2hDpaOkUJS1AhRumZI_Cl_o); Message message = new

Re: [android-developers]

2012-07-12 Thread Vijay Krishnan
AM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, Anyone know about push notifications, share ur ideas. Thanks, vijay.k -- 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]

2012-07-12 Thread Vijay Krishnan
Hi all, I want to update my phone location to the server whenever location changes.How should i do this? Is using a service the best way to do this? Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers]

2012-07-12 Thread Vijay Krishnan
to server when location changes. Refer the below link. http://developer.android.com/reference/android/location/LocationListener.html On Thu, Jul 12, 2012 at 3:54 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I want to update my phone location to the server whenever location

[android-developers]

2012-07-12 Thread Vijay Krishnan
Hi all, I couldn't install helper libraries for Google Cloud Messaging. Thanks, vijay.k -- 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]

2012-07-11 Thread Vijay Krishnan
Hi all, Anyone know about push notifications, share ur ideas. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers]

2012-07-10 Thread Vijay Krishnan
Hi all, I want to know about push notifications in android.Anyone help on this. Thanks, vijay.k -- 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

Re: [android-developers] Call the functions of *.SO from JAVA

2012-07-05 Thread Vijay Krishnan
using java native interface,we can call the function in c or c++. On Thu, Jul 5, 2012 at 12:12 PM, HideCheck hidech...@gmail.com wrote: Hi chainz #put .so file. eclipse project/libs/armeabi/xxx.so #add code private native void [method name](args..); static {

[android-developers]

2012-06-27 Thread Vijay Krishnan
Hi all, I have been developing some OCR(Optical Character Recognition) app.So,i want to process the image and remove the noise on the surface.If anyone knows about image processing,share ur knowledge. Thanks, vijay.k -- You received this message because you are subscribed to the

[android-developers]

2012-06-27 Thread Vijay Krishnan
Hi all, I have been developing some OCR(Optical Character Recognition) app.So,i want to process the image and remove the noise on the surface.If anyone knows about image processing,share ur knowledge. Thanks, vijay.k -- You received this message because you are subscribed to the

[android-developers]

2012-06-26 Thread Vijay Krishnan
Hi all, How to resolve the java.lang.OutOfMemoryError while calling BitmapFactory.decodeStream(stream). Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers]

2012-06-26 Thread Vijay Krishnan
bitmaps before the user touches Play button. b) Keep main menu bitmaps in memory after the user touches Play button. So my advice is to review your code and try to load/recycle bitmaps as needed in each different application screen or state. Best regards, On 26/06/12 14:54, Vijay Krishnan

[android-developers]

2012-06-25 Thread Vijay Krishnan
Hi all, I have eng.traineddata file in my assets directory(inside tessdata).I got input stream from assetmanager.open(tessdata/eng.traineddata).when i read input stream ,FileNotFoundException occurs. Thanks, vijay.k -- You received this message because you are subscribed to the Google

Re: [android-developers]

2012-06-25 Thread Vijay Krishnan
this code works for galaxy nexus,but it won't work for samsung s3. On Mon, Jun 25, 2012 at 5:03 PM, asheesh arya asheesharya...@gmail.comwrote: import all external jar!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers]

2012-06-21 Thread Vijay Krishnan
how to relocate it? On Thu, Jun 21, 2012 at 12:43 PM, asheesh arya asheesharya...@gmail.comwrote: try to relocate the location of file accurate. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers]

2012-06-21 Thread Vijay Krishnan
i have connected the device to my PC and checking in my PC. On Thu, Jun 21, 2012 at 12:04 PM, Harri Smått har...@gmail.com wrote: On Jun 21, 2012, at 8:29 AM, Vijay Krishnan wrote: but i couldn't able to see that file in my mobile Are you using DDMS on host PC - or Gallery/My Files or some

[android-developers]

2012-06-21 Thread Vijay Krishnan
Hi all, How to exit from the application when backbutton is pressed? Thanks, vijay.k -- 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

Re: [android-developers]

2012-06-21 Thread Vijay Krishnan
when i call finish(), previous activity is called. On Thu, Jun 21, 2012 at 7:35 PM, Justin Anderson magouyaw...@gmail.comwrote: Call finish() Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 21, 2012 at 7:52 AM, Vijay Krishnan

[android-developers]

2012-06-20 Thread Vijay Krishnan
Hi all, i can create and write a file in my android phone,but i couldn't able to see that file in my mobile.I have given the path as /mnt/sdcard/Pictures/myfile.bmp.Any one help on this. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android

[android-developers]

2012-06-15 Thread Vijay Krishnan
Hi all, How to call another activity when i press the back button. Thanks, vijay.k -- 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

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, After starting a activity,i want to do some task in background.After finishing the task,i want to call another activity.How to do this? Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, I am using tesseract-3.00 for my android OCR application.But the accuracy of the text is 90%.I have tried using tesseract-3.01 and i was unable to compile the source.Is any one used tesseract-3.00 .Give ur suggestion. Thanks, vijay.k -- You received this message because you are

Re: [android-developers]

2012-06-14 Thread Vijay Krishnan
Rahul, I had done these things.Problem is that i couldn't view that image. Thanks, vijay.k On Wed, Jun 13, 2012 at 7:22 PM, Rahul Radhakrishnanunnithan K rahu...@whiteovaltechnologies.com wrote: Refer this link i think that its useful for you

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, I am unable to compile the tesseract-3.01 for my ocr application.If anybody having knowledge in this,share it. Thanks, vijay.k -- 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]

2012-06-13 Thread Vijay Krishnan
Hi all, I could not save my image in phone.Here is my code Bitmap imageMap=BitmapFactory.decodeByteArray(data,0,data.length); File root = Environment.getExternalStorageDirectory(); File f1 = new File(root.getAbsolutePath()+/DCIM/Camera/,image.jpeg);

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
no.that is for creating thumnail. On Wed, Jun 13, 2012 at 12:01 PM, vaibs malviya vaibs.malviy...@gmail.comwrote: try this *MediaStore.Images.Media.insertImage(getContentResolver(), yourBitmap, yourTitle , yourDescription)* On Wed, Jun 13, 2012 at 11:52 AM, Vijay Krishnan vijay.vijay

[android-developers]

2012-06-13 Thread Vijay Krishnan
Hi all, I am getting the following runtime exception while using camera intent java.lang.RuntimeException: failure delivering result resultinfo {who=null request=0 result=-1 data=null} Thanks, vijay.k -- You received this message because you are subscribed to the Google

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I could not save the image taken from my app in my phone.Anyone help on this. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
, Jun 13, 2012 at 6:50 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: hi raghav, Here is my code File root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); File f1 = new File(root.getPath

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
Raghav, Inside manifest tag and above the application tag On Wed, Jun 13, 2012 at 7:01 PM, Raghav Sood raghavs...@gmail.com wrote: Where did you put it in your manifest? On Wed, Jun 13, 2012 at 6:56 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: raghav, i had

[android-developers]

2012-06-12 Thread Vijay Krishnan
Hi all, I am using tesseract-3.00 and leptonlib-1.66 for android,it is working.But,i want to compile tesseract-3.01 and leptonlib-1.68.While trying to compile,it shows some error from Android.mk file.Help on creating the Android.mk file. Thanks, vijay.k -- You received this message

[android-developers]

2012-06-11 Thread Vijay Krishnan
Hi all, How to load images from gallery in my app. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers]

2012-06-11 Thread Vijay Krishnan
Thank U Harri On Mon, Jun 11, 2012 at 6:44 PM, Harri Smått har...@gmail.com wrote: Check gallery Intent. Shouln't be a problem to find example code. -- H On Jun 11, 2012 4:00 PM, Vijay Krishnan vijay.vijay...@gmail.com wrote: Hi all, How to load images from gallery in my app

Re: [android-developers]

2012-06-11 Thread Vijay Krishnan
i want to load images from gallery without using gallery intent On Mon, Jun 11, 2012 at 6:45 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Thank U Harri On Mon, Jun 11, 2012 at 6:44 PM, Harri Smått har...@gmail.com wrote: Check gallery Intent. Shouln't be a problem to find example code

[android-developers]

2012-06-11 Thread Vijay Krishnan
Hi all, I am developing OCR application,so that i want to take clear picture of business cards.Anyone help on taking a clear picture. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers]

2012-06-08 Thread Vijay Krishnan
Hi all, I am using tesseract ocr for converting image to text.while passing the image ,i didn't get recognized text.Any one help on this. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers]

2012-06-08 Thread Vijay Krishnan
Hi all, Could anyone tell me the way to extract text from image in android. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers]

2012-06-08 Thread Vijay Krishnan
what about tesseract? On Fri, Jun 8, 2012 at 7:01 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jun 8, 2012 at 9:22 AM, Vijay Krishnan vijay.vijay...@gmail.com wrote: Could anyone tell me the way to extract text from image in android. The same way you extract text from

[android-developers]

2012-06-06 Thread Vijay Krishnan
Hi all, How to get clear picture? Thanks, vijay.k -- 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]

2012-06-05 Thread Vijay Krishnan
Hi all, I am using tesseract ocr android tool for card reader application.Here is my code TessBaseAPI baseApi = new TessBaseAPI(); baseApi.setDebug(true); baseApi.setPageSegMode(TessBaseAPI.PSM_SINGLE_LINE); baseApi.init(DATA_PATH,eng);

[android-developers]

2012-06-04 Thread Vijay Krishnan
Hi all, I want to use tesseract ocr android tool in my app.Anyone help on using this tool. Thanks, vijay.k -- 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