[android-developers] Re: failure to connect to database

2008-04-24 Thread scimitar
Ok. Now I'm trying to communicate with a webservice. The problem is that I need to import java.rmi.RemoteException for something like: String ret = (String) call.invoke(String method, Object[] o); But the Android Eclipse plugin would not allow me to import java.rmi.RemoteException, saying that it

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

2008-04-24 Thread Greg
i have done it i used onDraw function and ur Great Thanks Again I love u On Apr 25, 6:54 am, xingye <[EMAIL PROTECTED]> wrote: > 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 sho

[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 t

[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 IOExce

[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=102914&package_id=113719 http://jdj.sys-con.com/read/44695

[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 messa

[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, se

[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] 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 applica

[android-developers] Re: Updating the view from an external thread

2008-04-24 Thread Eduardo Dutra
All, I think that find a solution for your problem! try{ //do code } finally { msg.what = 1001; this.HandlerListaPaciente.sendMessage(msg); } Handler

[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

[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] 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] Calling SubActivity using URI

2008-04-24 Thread shaimailit
Hi everybody, I am trying to call another activity using the method StartSubActivity(action, URI). The reason that I am calling the method with URI instead of direct class is because I am using content provider and I don't want to pass additional data using bundle (at least, I hope so). However, w

[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] 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 subscr

[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, infor

[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; http://code.google.com/android/devel/data/

[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 i

[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: 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

[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 Hielko
while (c.next()) { // Do something. } On Apr 24, 6:11 pm, scimitar <[EMAIL PROTECTED]> wrote: > 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 wan

[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 t

[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, Stef

[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/ http://www.

[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, th

[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 real

[android-developers] Re: Cannot connect to server running in Android

2008-04-24 Thread Brijesh_Mindtree
Hi. Could you please tell me The IP i.e (10.0.2.2) you have mentioned is Your Matchine's IP or something else. please tell me in details how the Redir command works. and please describe...more abt how we can bind the server side emulator by IP. your first step. Thanks Brijesh On Apr 14, 11

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

2008-04-24 Thread Greg
hello now all work fine but applicated crashed on imageView.draw(canvas); --~--~-~--~~~---~--~~ 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@googlegr

[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: I want to Draw a image on image on x and y axis

2008-04-24 Thread Greg
Bitmap mainImageBitmap = BitmapFactory.decodeByteArray(couponDto.getCouponImageBytes(), 0, couponDto.getCouponImageBytes().length); Bitmap logoBitmap = BitmapFactory.decodeByteArray(imageName.getBytes(), 0, imageName.getBytes().length);

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

2008-04-24 Thread Greg
hummm but it doesnt even show only one bitmap i tried to show single bitmap but it dosent work can you please give me an working code example On Apr 24, 3:32 pm, xingye <[EMAIL PROTECTED]> wrote: > try to do this when you already have two bitmap instances. maybe you > can test it in View.onDraw

[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 PROTECTE

[android-developers] Re: Launching an activity from the web browser

2008-04-24 Thread David Given
Megha Joshi wrote: [...] > Which layout file? It can't be my activity's, because it never even gets > instantiated before the crash happens, and besides it works fine if I > launch it directly (from the debugger). > > As the error is regarding the ListView, could you post the layout f

[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 ar

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

2008-04-24 Thread Greg
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 > > 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

[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 subs

[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 xingye
Canvas c = new Canvas(bitmapA); c.drawBitmap(bitmapB, left, top, paint); On 4月24日, 下午3时10分, Greg <[EMAIL PROTECTED]> wrote: > 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]> w

[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: 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 i