[android-developers] LinearLayout with multiple TextViews

2009-12-30 Thread legerb
I'm struggling with the following: I have a linear layout with horizontal orientation, which I'm adding text views dynamically (with WRAP_CONTENT layout params). The problem is that when reaching the screen border, instead of placing the new text view on a new line, the new textview is placed in

[android-developers] WebView and javascript problem

2009-09-14 Thread legerb
I have a WebView in my activity opening html file, containing a simple javascript. My problem is that the webview opens the html file, but doesn't execute the javascript. When i open the file from web browser, and not from my app, it executes the javascript correctly. What could be the

[android-developers] Re: How send DTMF in android?

2009-09-10 Thread legerb
ToneGenerator won't help here - This API is not for generating tones over the uplink audio path. On Sep 8, 12:44 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well.

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-08-24 Thread legerb
I have the latest SDK 1.5r3, modified the android_usb.inf and installed the usb driver. But still the device is not recognized by the ADB. If adb in r3 supports Samsung devices directly, then the problem is in the drivers? --~--~-~--~~~---~--~~ You received this

[android-developers] ListView touch problem

2009-07-30 Thread legerb
Each list item in my ListView is a linkified TextView, and a regular TextView. The problem is that once there is a touchable item in the ListView, the touch works only for that item, that is - only links work, but the entire list item containing the link cannot be touch selected (only with the

[android-developers] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread legerb
Hey, I just got this device too. Trying to figure out how to debug on device too. According this http://groups.google.com/group/android-beginners/browse_thread/thread/167b279683bddc8a Samsung have their own adb. Please update the thread if you've got any progress :) thanks ahead! On Jul 11,

[android-developers] how to access mobile web app on local network

2009-03-18 Thread legerb
I expireince the same problem. Is it possible to configure the emulator to access local network addresses? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: How do I refer to a string ressource in the array.xml?

2009-03-16 Thread legerb
It should be @string, not @strings. string-array name=services item@string/call/item /string-array On Jan 22, 2:18 pm, code_android_festival_way festival.s...@googlemail.com wrote: Is there a possibility to refer to a string ressource in the arrays.xml? I have tried:    

[android-developers] Re: access to internal telephony

2009-02-23 Thread legerb
should yield a timed pause, the ';' - a hard pause - waiting for the user to acknowledge before dialing) Thanks ! On Feb 9, 1:19 pm, legerb drim...@gmail.com wrote: I had problems with the '#', but when encoded, it works fine. With other symbols i didn't have any problems. And i remember

[android-developers] Re: access to internal telephony

2009-02-09 Thread legerb
I had problems with the '#', but when encoded, it works fine. With other symbols i didn't have any problems. And i remember that when '#' was the last char (even encoded), it was always stripped. On Feb 9, 9:25 am, shimo...@gmail.com shimo...@gmail.com wrote: Hi, Using a DEV phone, seems I

[android-developers] Re: I can use Intent make outgoing call, but how to detect the call state?

2009-01-22 Thread legerb
You can't detect this. On Jan 20, 3:38 am, ben ben.flash...@gmail.com wrote: hi all. i can use this code make outgoing call.         Intent dial = new Intent(Intent.ACTION_CALL);         dial.setData(Uri.parse(tel:5556) );         context.startActivity(dial); but how to detect callee

[android-developers] Re: How to make my application know where I am, in country level.

2009-01-22 Thread legerb
String networkOperator = ((TelephonyManager) context .getSystemService (Context.TELEPHONY_SERVICE)).getNetworkOperator(); String locationCode = networkOperator.substring(0, 3); First 3 digitis are the mcc code - Mobile Country Code which will tell you what you need. On Jan 20,

[android-developers] Re: PhoneStateListener GarbageCollection

2008-12-15 Thread legerb
Having the same problem with the PhoneStateListener. Did you manage to keep it alive? Regarding services, this might help: http://groups.google.com/group/android-developers/browse_frm/thread/fa2848e31636af70?hl=en On Dec 3, 3:21 pm, blau vinb...@gmail.com wrote: I'm trying to figure out the

[android-developers] ACTION_ANSWER

2008-12-07 Thread legerb
I've also tried to use ACTION_ANSWER, but i keep getting the ActivityNotFoundException. Does it mean that the Phone app is not registered for this intent? What is the purpose of ACTION_ANSWER then? -- Forwarded message -- From: Jose María González [EMAIL PROTECTED] Date: Sep 10,

[android-developers] Re: Sending DTMF

2008-11-30 Thread legerb
PROTECTED] wrote: Hi, Did this actually work ? Did you try this on a real device ? (we dont have access to G1 devices here in Israel) TIA On Oct 5, 2:36 pm, legerb [EMAIL PROTECTED] wrote: I'm trying to send DTMF tones during outgoing call this way in my PhoneStateListener

[android-developers] Re: Fwd: Send DTMF

2008-11-27 Thread legerb
It seems that the phone dialer wouldn't send the '#' char. If the dtmf sequence contained pound char, everything following the '#', including, will be cut off. Bug? On Oct 5, 11:09 am, legerb [EMAIL PROTECTED] wrote: Joining this one. Is it possible to send DTMF during an ongoing call in SDK

[android-developers] Intent extras modified

2008-11-27 Thread legerb
I'm generating outgoing call using this: Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: 123456;1##)); 123456 - is the phone number i want to dial 1## - post dial DTMF sequence i'm trying to send. The problem is that somehow the chars next to '#' (including) are cut off

[android-developers] Re: Intent extras modified

2008-11-27 Thread legerb
Thanks Mark :) this is what i was missing. On Nov 27, 2:18 pm, Mark Murphy [EMAIL PROTECTED] wrote: legerb wrote: I'm generating outgoing call using this: Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: 123456;1##)); 123456 - is the phone number i want to dial 1#

[android-developers] Re: Fwd: Send DTMF

2008-11-27 Thread legerb
(may be it would be usefull to someone else) Apparently the # should be encoded. Also the sequence shouldn't end with # or you be getting invalid mmi code error. On Nov 27, 10:25 am, legerb [EMAIL PROTECTED] wrote: It seems that the phone dialer wouldn't send the '#' char. If the dtmf sequence

[android-developers] Re: Fwd: Send DTMF

2008-11-23 Thread legerb
(Intent.ACTION_CALL, Uri.parse(tel: + phoneNumber + ; + dtmfSequence)); On Thu, Nov 6, 2008 at 12:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Hi, How do you do this ? (adding theDTMFsequence to the dialed number) Thanks. On Oct 23, 4:13 pm, legerb [EMAIL PROTECTED] wrote

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-30 Thread legerb
that is already connected  - whether the call originated from or is answered by the g-phone. Paul On Oct 29, 1:42 am, legerb [EMAIL PROTECTED] wrote: You can use a BroadcastReceiver to catch the Intent, and terminate it with abortBroadcast(). On Oct 27, 8:50 pm, dreamerBoy [EMAIL

[android-developers] Re: how to listen callee hangup call event?

2008-10-30 Thread legerb
Could you also add that it would be most usefull to have events indicating that call was established, active call, dialing... On Oct 30, 2:04 am, Justin (Google Employee) [EMAIL PROTECTED] wrote: There's no way to do this. It seems like something others would be interested in, so I've passed

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-29 Thread legerb
You can use a BroadcastReceiver to catch the Intent, and terminate it with abortBroadcast(). On Oct 27, 8:50 pm, dreamerBoy [EMAIL PROTECTED] wrote: Hi - I am looking for a way to terminate a call in an automated fashion. (I realize it can be done manually - the application requires that it

[android-developers] Re: PhoneCall Controls

2008-10-26 Thread legerb
What about call events like dialing state, active state, would they become public in the SDK? There is a need to have more call information, rather than just ofhook, ringing and idle. On Oct 24, 10:00 pm, Justin (Google Employee) [EMAIL PROTECTED] wrote: No, there will no ability to intercept

[android-developers] Re: Fwd: Send DTMF

2008-10-23 Thread legerb
I'm adding the DTMF sequence to the dialed number. This seems to work, but when the call is established I'm getting a confirmation dialog asking Send the following tones?. Is it possible to prevent this dialog from being shown? May be some additional permissions? Though I didn't find any

[android-developers] Re: How to distinguish between dialing and active call states?

2008-10-19 Thread legerb
Anyone with some Telephony layer knowledge? On Oct 5, 1:34 pm, legerb [EMAIL PROTECTED] wrote: I would like to catch the moment when an outgoing dialing call becomes active, that is accepted at the other side. according to the documentation the CALL_STATE_OFFHOOK : Device call state: Off

[android-developers] Re: Program Finished - Now What?

2008-10-15 Thread legerb
Use keytool and jarsigner, they come with the jdk. http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html eventually this is what worked for me: keytool -genkey -keystore refArchive/myKeyStore -alias somealias jarsigner

[android-developers] XML through SAX - for local files in res/ --- NOT for data/data/.../files and no XmlPullParser

2008-10-15 Thread legerb
I'm also having IO exceptions when trying to parse the raw ersources: I have a BroadCastReceiver, where: public void onReceive(Context context, Intent intent) { SAXParserFactory spf = SAXParserFactory.newInstance(); try {

[android-developers] Re: repackaging .apk

2008-10-13 Thread legerb
Great! Thanks :) Just what I needed. On Oct 12, 8:07 pm, hackbod [EMAIL PROTECTED] wrote: An .apk is really just a zip file, so you can manipulate it with standard tools.  Note that you will also need to re-sign any .apk you generate. On Oct 12, 7:57 am, legerb [EMAIL PROTECTED] wrote

[android-developers] Fwd: Send DTMF

2008-10-05 Thread legerb
Joining this one. Is it possible to send DTMF during an ongoing call in SDK 1.0? The Phone.java was removed from the new SDK, and I couldn't find an equivalent to sendDTMF in other classes. -- Forwarded message -- From: Renato Mangini [EMAIL PROTECTED] Date: Jan 10, 9:36 pm

[android-developers] How to distinguish between dialing and active call states?

2008-10-05 Thread legerb
I would like to catch the moment when an outgoing dialing call becomes active, that is accepted at the other side. according to the documentation the CALL_STATE_OFFHOOK : Device call state: Off-hook. At least one call exists that is dialing, active, or on hold, and no calls are ringing or

[android-developers] Re: Intercept incoming call

2008-10-02 Thread legerb
Is this the same for outgoing calls? They also cannot be interecepted in 1.0? If so, what is the purpose of ACTION_NEW_OUTGOING_CALL? this is from the documentation: It is perfectly acceptable for multiple receivers to process the outgoing call in turn: for example, a parental control application

[android-developers] Sending DTMF

2008-10-02 Thread legerb
Is it possible to make a call and then send DTMF sequence in android sdk 1.0? I've seen the ToneGenerator and PhoneNumberUtils classes, but couldn't find an option of sending DTMF... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: BroadCastReceiver with PhoneStateListener

2008-09-28 Thread legerb
I changed the xml accordingly, and it worked :) On Sep 27, 2:53 am, Nayr [EMAIL PROTECTED] wrote: Hi, Did you describe the StartServicesAtStartUp in your AndroidManifest.xml? for example,         receiver android:name=.transaction.MmsSystemEventReceiver             intent-filter          

[android-developers] Hanging up outgoing calls.

2008-09-25 Thread legerb
Is there a way to hang up an outgoing call? May be some sort of equivalent to ACTION_DIAL or ACTION_CALL? --~--~-~--~~~---~--~~ 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: Ending a call

2008-09-25 Thread legerb
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu [EMAIL PROTECTED] wrote: I do not want to end the call manually. I need to code it in the same way as I code in the call

[android-developers] Re: Ending a call

2008-09-25 Thread legerb
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu [EMAIL PROTECTED] wrote: I do not want to end the call manually. I need to code it in the same way as I code in the call

[android-developers] Re: Ending a call

2008-09-25 Thread legerb
Hi anu, I'm facing the same problem. Did you manage to find a solution? Also, could you elaborate a little on how you simulate an outgoing call? On Sep 18, 7:06 am, anu [EMAIL PROTECTED] wrote: I do not want to end the call manually. I need to code it in the same way as I code in the call

[android-developers] Re: Intercept incoming call

2008-09-25 Thread legerb
How about: ACTION_NEW_OUTGOING_CALL? According to SDK documentation it gives the possibility to intercept the call. Has anyone tried to use it? On Sep 17, 9:41 pm, friedger [EMAIL PROTECTED] wrote: I could imagine an application that accepts acallwhen the user presses a button like I am