[android-developers] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread Greg
hello any body can help me out ? On Apr 24, 10:10 am, Greg [EMAIL PROTECTED] wrote: public static BitmapDrawable convertBytesintoDrawable(byte[] imageBytes, Context context,byte[] logoImageBytes) throws IOException { ByteArrayInputStream

[android-developers] Re: Problem in Setting XMPP

2008-04-24 Thread Brijesh_Mindtree
Hi Megha, Thanks for your Post. I have follwed the step as you mentioned. But I am facing the same error . I guess It occures because I am setting the XMPP behind the proxy. Thanks in Advance. On Apr 24, 6:08 am, Megha Joshi [EMAIL PROTECTED] wrote: The thread below has more detailed

[android-developers] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread Greg
hello android champs On Apr 24, 11:02 am, Greg [EMAIL PROTECTED] wrote: hello any body can help me out ? On Apr 24, 10:10 am, Greg [EMAIL PROTECTED] wrote: public static BitmapDrawable convertBytesintoDrawable(byte[] imageBytes, Context context,byte[]

[android-developers] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread Greg
i tried it but it doesnt work it gives below logs all are work fine when i want to go to show imageView Like ImageView.draw(canvas) it gives me exception and below logs as u can see please help me out i have been stucked INFO/DEBUG(494): *** *** *** *** *** *** *** *** *** *** *** ***

[android-developers] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread Greg
it gives me java.lang.IllegalStateException when i do like this Canvas c = new Canvas(bitmapA); On Apr 24, 2:51 pm, Greg [EMAIL PROTECTED] wrote: waiting for your reply On Apr 24, 2:44 pm, Greg [EMAIL PROTECTED] wrote: i tried it but it doesnt work it gives below logs all are work fine

[android-developers] Is there any class which implements sending a MMS in Android?

2008-04-24 Thread Pierre
Hi, all Is there any class which implements sending a MMS in Android? I would like to send a MMS(text, image, video ect) between Android device, How to implement this? Any one can help me? Thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread xingye
try to do this when you already have two bitmap instances. maybe you can test it in View.onDraw(). On 4月24日, 下午5时54分, Greg [EMAIL PROTECTED] wrote: it gives me java.lang.IllegalStateException when i do like this Canvas c = new Canvas(bitmapA); On Apr 24, 2:51 pm, Greg [EMAIL PROTECTED]

[android-developers] Re: How to Create a new Content Providers on Android Platform

2008-04-24 Thread Hielko
See the noteslist example in the sdk On Apr 24, 6:42 am, Naveen Garg [EMAIL PROTECTED] wrote: I am trying to create a new content provider in android but have not seen any sample code on the net so far. I will be thank full if anybody can share it.

[android-developers] Re: Any hits ?

2008-04-24 Thread keashF
since most people (including myself) observed that their applications have not been tested very thoroughly, i'd like to think that the hits we've all got until now have been part of only some preliminary testing, eg. if our programs run properly or if they are interesting enough to reach some

[android-developers] Re: How to Create a new Content Providers on Android Platform

2008-04-24 Thread Charlie Collins
As Heilko states, the NotePad example (samples/NotePad) has a provider. The WikiNotes example app Dick Wall of Google wrote has a ContentProvider (yes, the Dick Wall for the inside joke people): http://android-developers.blogspot.com/2008/03/wikinotes-for-android-routing-intents.html. Also, the

[android-developers] Re: What wud u do if you app if not selected?

2008-04-24 Thread David Welton
What r ur future plans for your android app, if ur submission is not accepted? I intend to keep developing and porting Hecl to whatever devices and platforms will run it:-) The competition was just a nice bonus on top of that. -- David N. Welton http://www.welton.it/davidw/

[android-developers] How to compute the size of a string in pixel

2008-04-24 Thread Semeria Stefano
Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if there's a simple way to get the size of the string according to the size of the currently used font? Thanks a lot for your help. Regards,

[android-developers] iterating over a contact list

2008-04-24 Thread scimitar
Hi, I have a cursor that gets the contact list stored on the phone: Cursor c = getContentResolver().query( People.CONTENT_URI, null, null, null, null); Now I want to iterate over the contact list, and for each contact print out the associated number. What's a good way

[android-developers] Re: How to compute the size of a string in pixel

2008-04-24 Thread Hielko
There is a pixelcalculator class with this functionality inside the sdk On Apr 24, 3:01 pm, Semeria Stefano [EMAIL PROTECTED] wrote: Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if

[android-developers] Re: iterating over a contact list

2008-04-24 Thread Twyst
Try: while (c.next()){ int ColumnIndex = cur.getColumnIndex(android.provider.Contacts.Phones.NUMBER); String Number = cur.getString(ColumnIndex); } There may be better ways. That's just my first inclination. On Apr 24, 11:11 am, scimitar [EMAIL PROTECTED] wrote: Hi, I have a

[android-developers] XMPPConnection Service

2008-04-24 Thread WildLuka
Dear All, I'm beginning to feel the impasse frustration. I've been trying to write a (smack) XMPPConnection Service, a local one, running in a different thread than the main one. The smack library does spawn a couple of threads for reading and writing, but I'd like the service to be run totally

[android-developers] Re: How to compute the size of a string in pixel

2008-04-24 Thread Michael Johnston
The Paint class has a measureText() function that might suit your needs. On Apr 24, 6:01 am, Semeria Stefano [EMAIL PROTECTED] wrote: Hello I need to compute the size of a string I'm drawing with Canvas.drawText() in pixels, to be able to surround it with a rectangle. Do you know if

[android-developers] Re: How to set SQLite's write permission In SQLiteDatabase class?

2008-04-24 Thread sacoskun
Hello Macro, In order to let other applications to use your database, you need to create content provider. By the help of content providers you can indicate/let which parts of the database can be used by others. Please take a look at the following link;

[android-developers] [OT] Moblin Developer Contest in India

2008-04-24 Thread Amit Karpe
Hello All, Just for your information. Please check http://moblin-contest.org and register for Moblin Developer Contest. Competition Focus This is your opportunity to help build the future on Moblin. You are invited to create localized applications for entertainment,

[android-developers] Error no space left on device

2008-04-24 Thread Yatish
hi , when i am run android application following error was encoutered. Failed to install FinalVideo.apk on 'emulator-tcp-': No space left on device. please help me. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Error no space left on device

2008-04-24 Thread Dan U.
Sounds like you are trying to install a large file or already have other files taking up a lot of disk space on the emulator. On Apr 24, 4:19 pm, Yatish [EMAIL PROTECTED] wrote: hi , when i am run android application following error was encoutered. Failed to install FinalVideo.apk on

[android-developers] Masked EditText

2008-04-24 Thread shaimailit
Hi, Some of my input fields are of specific data types. Therefore, I want to add to my EditText controls implementation of mask (the mask will control the input limitiations). Masks for example: Decimal - N.N (Numeric is not good enought, because it doesn't allow decimal point). Date - DD/MM/

[android-developers] ListActivity SelectedItem

2008-04-24 Thread shaimailit
Hi, I guess it's a newbie question (which i am... :) I would like to know what list item is selected in different procedures, and not only when it is being clicked (onListItemClick method). for example, during onPrepareOptionsMenu invocation. How can this be achieved? Thanks, Shai

[android-developers] How to upload the video to web site?

2008-04-24 Thread mikel
I want to implement upload the video to web site ? Can you tell me how to implement it?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] Re: I want to Draw a image on image on x and y axis

2008-04-24 Thread xingye
i don't know when did you call the imageView.draw(canvas), but if i need draw a bitmap on a imageview, i should call ImageView.setImageBitmap(bm). here the bm should be Bitmap background in before code. On 4月24日, 下午7时09分, Greg [EMAIL PROTECTED] wrote: hello now all work fine but applicated

[android-developers] Re: How to upload the video to web site?

2008-04-24 Thread Himanshu
Hey, Check out the WebCamBroadCaster on http://www.tomgibara.com/android/camera-source Himanshu On Apr 24, 6:07 pm, mikel [EMAIL PROTECTED] wrote: I want to implement upload the video to web site ? Can you tell me how to implement it?thanks!

[android-developers] Help)))) How to develope MMS VT in Android

2008-04-24 Thread NVIDIA
Does Android Api support MMS VT? --~--~-~--~~~---~--~~ 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] failure to import java.rmi.RemoteException

2008-04-24 Thread scimitar
Hi, When I try 'import java.rmi.RemoteException;', I get the message: 'The import java.rmi.RemoteException cannot be resolved'. Why is this? I really need this to make my app communicate with a webservice. thanks, --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Help)))) How to develope MMS VT in Androi

2008-04-24 Thread Shane Isbell
I built an MMS client for J2ME/MIDP a while back. You should be able to adapt this to Android. The article below shows how you can do all of this over SMS, without using carrier's MMSC. http://sourceforge.net/project/showfiles.php?group_id=102914package_id=113719

[android-developers] Re: i try to catch an exeption in a thread but although it does throws the exeption the catch i planted did not cought it, why is that?

2008-04-24 Thread Beginner
Hi. I have basically the exact same problem. My app attempts to connect to a server using the method talkToServer, in class MyClass. The code that connects to the server is wrapped by a try/catch block. An IOException gets thrown but isn't caught. For sanity's sake, after catching the

[android-developers] Re: sqlite and junit

2008-04-24 Thread Cyrus
Could you be a bit more specific regarding the problem you're seeing? Taking a guess here, but is it related to getting a Context reference in your junit tests to access the SQLiteDatabase? Cyrus On Apr 5, 2:52 pm, AhtiK [EMAIL PROTECTED] wrote: Is it just me or it's pretty much impossible to