[android-developers] Question about services

2010-11-30 Thread Isaac Wagner
I've been reading Mark Murphy's books about Android programming and I am having trouble understanding some things about services. As I understand it there are local and remote services that I can create. However, what I don't understand are the use cases for when you would use one over the

Re: [android-developers] Android Corba

2010-06-21 Thread Isaac Wagner
CORBA no. However, you can do client server apps using ICE from ZeroC (http://www.zeroc.com/labs/android/index.html). I did CORBA programming several years ago and stumbled onto ICE a year or so ago. I've not done anything other than simple stuff, but from what I've seen it is fairly easy to

[android-developers] Automatic font size adjustment?

2010-05-23 Thread Isaac Wagner
I've got a TextView that I allow to expand to fill the remaining available size in my layout. I'd like for the font size to automatically increase to fill the entire TextArea, if possible. Does anyone know of a way to make this happen? -- You received this message because you are subscribed to

[android-developers] Registering OnClick listener on AppWidget button

2010-05-15 Thread Isaac Wagner
I'm creating my first widget and ran into a snag. I have several buttons on this widget and need a way to register an onClick action for each of the buttons. So far I've only found examples where they start a configuration activity from a widget button. Does someone have example code on using

Re: [android-developers] Registering OnClick listener on AppWidget button

2010-05-15 Thread Isaac Wagner
, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: I'm creating my first widget and ran into a snag.  I have several buttons on this widget and need a way to register an onClick action for each of the buttons.  So far I've only found examples where they start a configuration

[android-developers] Portrait/landscape question

2010-04-18 Thread Isaac Wagner
I've got an app that I don't want to auto-rotate. Currently, I've got it set up so that it is always in portrait mode. However, I'd like to add a setting to my preferences where the user can choose either portrait or landscape mode. Is there a way to force screen rotation? Or, could I perhaps

Re: [android-developers] Portrait/landscape question

2010-04-18 Thread Isaac Wagner
On Sun, Apr 18, 2010 at 2:24 PM, Anurag Singh anusingh...@gmail.com wrote: Specify in your manifest file into Activity block as android:ScreenOrientation=portrait My question is, how do I change the orientation through my program? I want the user, through a settings option, to be able to

Re: [android-developers] Portrait/landscape question

2010-04-18 Thread Isaac Wagner
On Sun, Apr 18, 2010 at 3:25 PM, Justin Giles jtgi...@gmail.com wrote: Why would you want to allow them to set it in settings when Android handles the rotation automagically? All you have to do is have a xml file in your layout directory, then for landscape have a xml file (with the same name)

Re: [android-developers] Portrait/landscape question

2010-04-18 Thread Isaac Wagner
This discussion list gets a lot of people asking questions where they are barking up the wrong tree. It is commonplace to inquire about their rationale for barking up that tree and steer them in the direction of more common patterns. Sometimes, the barking is indeed up the correct tree, but

[android-developers] Can someone test my app on the Nexus One and Droid?

2010-04-06 Thread Isaac Wagner
I published an app that works in all the emulators I've tried and on the two Android phones that I've tried. I've got the Droid and my wife has the Eris. This morning I received the OTA update to 2.1 and now all the fonts in my app are REALLY tiny and unreadable. My app looks fine in the 2.1

Re: [android-developers] Can someone test my app on the Nexus One and Droid?

2010-04-06 Thread Isaac Wagner
Thank you! On Tue, Apr 6, 2010 at 8:16 AM, Jason LeBlanc jasonalebl...@gmail.com wrote: Search the forum for complains of shrinking font size J On Apr 6, 2010 7:07 AM, Isaac Wagner isaacewag...@gmail.com wrote: I published an app that works in all the emulators I've tried and on the two

[android-developers] HTML Email with inline image

2010-04-05 Thread Isaac Wagner
Is it possible to send an HTML email with an inline image via the SDK? -- 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] CALL_PHONE permission

2010-03-31 Thread Isaac Wagner
On Wed, Mar 31, 2010 at 7:44 AM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: startActivity(new Intent(Intent.ACTION_CALL, tel:...)); Yes, but that brings up the dialer.  I

[android-developers] Not sure if this is possible

2010-03-31 Thread Isaac Wagner
I want to write an app that would just be for my phone. I don't intend to distribute it. Basically, what I want to do is write a replacement phone app. However, all the phone API's that the existing phone app uses are all internal non-public API's. So, my questions: 1. I've seen time and time

[android-developers] Prevent screen rotation

2010-03-30 Thread Isaac Wagner
I've got an app where I don't want the screen to rotate when they rotate their device -- I need to keep the app in portrait mode all the time. How do I do this? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
In the Android docs for the CALL_PHONE permission it says: Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed. So, my question is, how do I make a phone call through the API without it bringing up the dialer

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:22 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: In the Android docs for the CALL_PHONE permission it says: Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being

Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: startActivity(new Intent(Intent.ACTION_CALL, tel:...)); Yes, but that brings up the dialer.  I don't want the dialer UI to come up on the screen. No, it doesn't. ACTION_DIAL brings up the Dialer

Re: [android-developers] Pulling my hair out

2010-03-26 Thread Isaac Wagner
of existing Phone APP and modify to suit your needs. I don't think so by keeping the existing dialer you can achieve your requirements LG On Fri, Mar 26, 2010 at 10:36 AM, Isaac Wagner isaacewag...@gmail.com wrote: I've been hunting for a solution for days and can't find an answer. I've got

[android-developers] Pulling my hair out

2010-03-25 Thread Isaac Wagner
I've been hunting for a solution for days and can't find an answer. I've got an application where I need to place multiple calls in a row. I can invoke the dialer just fine and it starts calling the number. The problem is that after the call is over the call log comes up. I don't want the call

[android-developers] Grrrrr.... 100 SMS per hour

2010-03-16 Thread Isaac Wagner
So, I've hit the 100 text messages per hour limit from my application. Is there: A) A way to work around that without rooting the phone B) A way for my application to push the OK button on the dialog that pops up C) Panic Thanks. -- You received this message because you are subscribed to

Re: [android-developers] Grrrrr.... 100 SMS per hour

2010-03-16 Thread Isaac Wagner
D) Recognize that sending 100 text messages per hour is going to be expensive for many Android device users, and so having this confirmation is good for Android as a whole, even if it means you cannot do whatever it is you are trying to do. I agree that this is a good thing to have in place.

Re: [android-developers] Grrrrr.... 100 SMS per hour

2010-03-16 Thread Isaac Wagner
using the 1.5 emulator. I've not yet tried it in a later version of Android. On Tue, Mar 16, 2010 at 8:21 AM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: So, I've hit the 100 text messages per hour limit from my application. Is there: A) A way to work around that without

Re: [android-developers] Grrrrr.... 100 SMS per hour

2010-03-16 Thread Isaac Wagner
On Tue, Mar 16, 2010 at 3:56 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: After the 100 messages limit Android pops up a dialog saying something about sending a large number of messages and asking the user if they want to continue.  When they click OK or Cancel

[android-developers] Dialer Question

2010-03-10 Thread Isaac Wagner
I've got an application where I need to dial a phone number. This is how I'm starting the dialer: int DIAL = 1; Intent dial = new Intent(Intent.ACTION_CALL, Uri.parse(tel:5551212)); startActivityForResult(dial, DIAL); After the phone call is ended the dialer automatically goes to the call log

[android-developers] Hang up phone call

2010-02-23 Thread Isaac Wagner
I've spend the last couple days looking for a way to hang up a phone cal via the API. I'm guessing for some security reason that Google does not allow this. Not being one to give up yet...is there any undocumented way to hang up a phone call? Of course the real solution would be for Google to

Re: [android-developers] Petition: Google, please improve the Android Market.

2010-02-22 Thread Isaac Wagner
I like it. Hopefully Google will listen. I'll sign it. On Sun, Feb 21, 2010 at 8:43 AM, Rob Irondad rob.iron...@gmail.com wrote: Hi fellow developers. I've come up with this text for a petition (warning: long): http://docs.google.com/View?id=dd9hmc43_0c9zh58gd You're all welcome to

[android-developers] Place a call and bypass call log on return

2010-02-21 Thread Isaac Wagner
I'm creating an application where I need to dial phone numbers. I am starting the dialer like this: Intent dial = new Intent(Intent.ACTION_CALL, Uri.parse(tel:123)); startActivity(dial); The dialer comes up and the phone dials the number. Now, here's my problem: At the end of the call I want