[android-developers] Re: ListView Row not firing the click event

2011-10-06 Thread dilo.mt
Hi, There is nothing wrong with the code above. You have said when the image button clicks, it works. And you need to make the whole entry clickable. all the buttons by default clickable. I think you have image button and text or what ever inside a linear layout or relative layout. make sure the

[android-developers] Re: How to convert the raw data from Camera.takepicture(shutter, raw,jpeg) to Bitmap?

2011-07-21 Thread dilo.mt
byte[] tempdata = ur byte array; Bitmap bm = BitmapFactory.decodeByteArray(tempdata, 0, tempdata.length); On Jul 20, 10:08 pm, musfiq musfiqu...@gmail.com wrote: Hi: I want to find the faces in an image after taking picture. I want to use the Facedetetor.findfaces(...,); But for that I

[android-developers] Re: Parameters passed to a .NET webservice are always null when using ksoap2 jar

2011-07-21 Thread dilo.mt
use soap ui application to get a good idea about how the web server handle the request and respose. On Jul 21, 3:12 am, Shabu Thomas shabuthoma...@gmail.com wrote: Hi, I tried to call a .NET web service from a sample application using KSOAP2. I could successfully call a web service method

[android-developers] Re: how do you add an item in a list if a user presses yes button in an alert dialog box and don't add it if he presses no

2011-07-21 Thread dilo.mt
hope this will help you.. AlertDialog.Builder b = new AlertDialog.Builder(Main.this); b.setItems(new String[]{you, may, need, to, add}, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { AlertDialog.Builder bb = new

[android-developers] Re: popupwindow

2011-07-21 Thread dilo.mt
hope this will help you. TextView tx = new TextView(this); tx.setClickable(true); txtextControl.setOnClickListener(new OnClickListener() { @Override public void onClick(final View view) { //add ur alert box here, dont ask me how, read the documentation, :D im serious

[android-developers] Re: Confusing XML reading.

2011-07-21 Thread dilo.mt
need more information to give you a good answer. what is the error you getting? On Jul 21, 6:39 am, minh leminh...@gmail.com wrote: Hi everyone. I try to parser XML file using SAX parser. Can you help me.? Above is some line code i think it not correct. Someone can check for me, please:

[android-developers] Re: quick menu implementation

2011-07-21 Thread dilo.mt
here you go.. very good post, need bit hard work, http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/ On Jul 21, 10:50 am, josh.bash avi410vik...@gmail.com wrote: hi everybody i am trying to implement quick menu design pattern. when i touch a button a menu should pop out

[android-developers] Re: what is the problem؟

2011-07-21 Thread dilo.mt
this is not the way to get the answer, post the error or exception you got. do you how to view to log file? if not, got to window-open perspective-other and select DDMS on the pop up window from this you can view log file of the emulator(it is on the tabs name as LogCat). now go back to the java

[android-developers] inset a Base64.encode string into a xml

2011-06-07 Thread dilo.mt
Hi, I need to inset a Base64.encode string within xml tags, image/image I need to inset the encoded sting with in those two tags. i tried with this : StringBuilder sb = new StringBuilder(); sb.append(image); sb.append(Base64.encode(byteArray)); sb.append(/images); but it gives me an error