How to include and use ZXing Library in Android with eclipse?
Hi, I am new to the concept of ZXing,so i want to know the step by step process to use the ZXing in android and i am using elicpse as IDE.Any one knows about it please help me. ...
Hi, I am new to the concept of ZXing,so i want to know the step by step process to use the ZXing in android and i am using elicpse as IDE.Any one knows about it please help me. ...
I have a xml file name "list_row.xml", this was load in a listView: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <ImageView android:id="@+id/icon" android:layout_...
hello I am developing an app in which i need the image in TIFF format.But in android u can convert your bitmap/image to only JPEG/png image. is there a way to convert JPEG/png file to TIFF format or is there any jar availble to do so.. plz help... thanx in adv... ...
I'm building an app that has a ListActivity and the view for each item has a progress bar. I've been able to bind my data to the TextView, but I can't seem to figure out how to bind it to the max and progress of the ProgressBar. This is a simplified version of my view: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res...
i have an activity that crashes randomly after the device resume from a long period of sleep, the activity is forced to be landscape mode only. When the device resumes from sleep, the activity seems to be redrawing itself in portrait mode, occupying half the horizontal view, then have to force close it. any idea? ...
Hello, I would like to create a drawable in XML that should include: image drawable color drawable The color drawable provides white transparent color. So, as a result we would have image with some white transparent layer on top. I have tried to use LayerDrawable, but it fails to be created during application launch: <LayerDrawabl...
Hi, I am trying to set padding in shape declared in XML file. But whatever I set, nothing changes related to padding. If I modify any other properties, I see updated UI. But it doesn't work with padding. Could you please advice possible reasons for this? I will provide below example of my shape.xml: <shape xmlns:android="http://schem...
In MediaPlayer.create method an id to a Raw file can be used but how to use that in setDataSource method? ...
How can I register for SMS database changes? I tried: mCursor = mActivity.getContentResolver().query(Sms.CONTENT_URI, new String[] { Sms.ADDRESS }, null, null, null); mCursor.registerDataSetObserver(mydataSetObserver); where mydataSetObserver is implemented like this: private class MyDataSetObserver extends DataSetObs...
Dear Friends,Can anyone tell me how to write a socket program in android.If is possible pls provide me some code samples. regards, s.kumaran. ...
Hi I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK? Thanks. Edit : Ok I know I need to add an intent-filter tag in my activity. But I don't know what I should put in the mime type. I want to be able to process the live camera previews if the user selects the menu option. So what do...
Hi,Can any one tell me which version of android sdk contains the class " android.hardware.CameraDevice " .At present i m using android-sdk-windows-1.5_r1. I want to capture image from the web cam. Please help me. regards, s.kumaran. ...
I'm currently writing some stylesheets for mobile browsers and have come across a strange issue in the Android browser. When changing the font-size CSS attribute of a text box the box gets bigger to accomodate the larger text. Doing this on a select box however does not change the size of the select box, but the text still gets larger (a...
Hi All, I know a variant of this question was asked before trying-to-attach-a-file-from-sd-card-to-email But the solution offered, i.e. a reboot doesn't seem to do it for me. I have seen a good number of group postings which support this being a problem. I can only assume the OP for the linked to question made some other changes, pos...
I've come across MANY AR libraries/SDKs/APIs, all of them are marker-based, until I found this video, from the description and the comments, it looks like he's using SIFT to detect the object and follow it around. I need to do that for Android, so I'm gonna need a full implementation of SIFT in pure Java. I'm willing to do that but I n...
Hey, How do you get the text of a TextView to be Justified (with text flush on the left- and right- hand sides)? I found a possible solution here, but it does not work (even if you change vertical-center to center_vertical, etc). Cheers, Pete ...
How to implement internet radio using java? Is there any Java APIs for this? I want to make a internet radio using Android / java. But I am not getting any APIs how to connect or how to receive the channel information for streaming the audio. Please help me how to create that same and provide some code/API for that. ...
Hi, i want to convert 3gp file to wave file can i do it programmatically . As the headers are different is it possible .Any help would be appreciated Thanks in advance. ...
Is it possible to evaluate a string of python code (or Perl) from Java when developing Android applications? I am try to do something like evaluating a text-input script: e.g. String script = text1.getText().toString(); String result = PythonRuntime.evaluate(script); text2.setText(result); ...
I want to perform a query like the following: uvalue = EditText( some user value ); p_query = "select * from mytable where name_field = '" + uvalue + "'" ; mDb.rawQuery( p_query, null ); if the user enters a single quote in their input it crashes. If you change it to: p_query = "select * from mytable where name_field = \"" + uvalu...