[android-developers] Custom view scrolling

2008-10-09 Thread alan
I am trying to implement a custom view which can scroll horizontally and vertically. I have called setHorizontalScrollBarEnabled(true); setVerticalScrollBarEnabled(true); but no scroll bars are displayed. I have overridden computeHorizontalScrollExtent etc. but none of these

[android-developers] Re: compatibility between Android (beta version) and GWT 1.5.1

2008-10-09 Thread Stefano
Thank you Ahmet for your suggestion..useful 'cause I'm 'new' even to Java ;-) Actually I have not solved my problem on Android beta yet. I still can't open properly my listboxes with 'dynamic content' (that is filled up by rpc calls to server) and I cant't click on some listboxes with 'static

[android-developers] read IM Contacts

2008-10-09 Thread Pinguinul
How can I read IM(Instant message) contacts from android on sdk1 r1? --~--~-~--~~~---~--~~ 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

[android-developers] to play audio when a button is clicked

2008-10-09 Thread [EMAIL PROTECTED]
I want to play audio when a button is clicked. 16.03.2008 redhunt writed as he solved this problem. It hhelp me in m5. But in 9beta and 1.0_r1 it does not work. I can't type button many times with good sound. Can anybody help me? Thank's. --~--~-~--~~~---~--~~ You

[android-developers] Re: Modifying Phone Information

2008-10-09 Thread Pinguinul
I hace the same problem, and I couldn't figure it out. I home some one will have a solution for this. On Sep 18, 1:52 am, herakl337us [EMAIL PROTECTED] wrote: Hi y'all: Has anyone had any success updating thephonenumberon acontact? I can't seem to get the Uri right. Here's the google

[android-developers] Re: polite request for better error messages

2008-10-09 Thread Chris Chiappone
Wrap the issue in a try catch block and log the exception. You'll get much more detailed info. On Wed, Oct 8, 2008 at 4:32 PM, Jason Proctor [EMAIL PROTECTED] wrote: dear google, any chance of better error messages from the android classes? usually, the java frameworks have nice

[android-developers] Re: Charting engine within Android?

2008-10-09 Thread Mark Murphy
Olaf Encke wrote: Does anyone know if there is an Android class available or planned that provides a charting engine similar to the Google Chart API? Available? No. Planned? My guess is no, only because few applications need charting and the bigger the operating system, the more expensive it

[android-developers] Re: Few programming problems.

2008-10-09 Thread Mark Murphy
Pinguinul wrote: 1. How can I update Android phone contacts? I have this code that doesn't work. the error message is ERROR/AndroidRuntime(196): java.lang.UnsupportedOperationException: Cannot update URL: content://contacts/people/22/phones Do you have the appropriate permission in your

[android-developers] Re: JavaMail and Android - Little excursus

2008-10-09 Thread Mos Alexandru
This .jar package realy works for sending mails. Thank you. --~--~-~--~~~---~--~~ 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

[android-developers] Can I record an audio file via MediaRecorder on the simulator which based on android-sdk-windows-1.0_r1?

2008-10-09 Thread Lurky
Hi, All I need record voice on the simulator and playback it. I wrot my code according the example in the documents: A common case of using MediaRecorder to record audio works as follows: MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

[android-developers] Re: mail.jar activation.jar problem in android

2008-10-09 Thread [EMAIL PROTECTED]
http://groups.google.com/group/android-developers/browse_thread/thread/9c7bca0a1b6957a9# could be useful? On 4 Ott, 05:14, Megha Joshi [EMAIL PROTECTED] wrote: Any details of what you are trying to do would be good... 2008/10/3 mpredosin [EMAIL PROTECTED] I am having the same problem.  

[android-developers] Broadcast Events on Incoming Calls

2008-10-09 Thread Clay
I have been reading over the docs on Intent, http://code.google.com/android/reference/android/content/Intent.html, and while I find quite a large number of broadcast actions but I cannot find *any* about incoming calls. Is it possible to have an application listener on INCOMING_CALL? Secondly i

[android-developers] Re: Cannot create new Android Projects

2008-10-09 Thread Anm
I eventually re-installed Eclipse and the Android plug-ins, but not the SDK, and that fixed the problem. On Oct 6, 2:47 am, Baonq86 [EMAIL PROTECTED] wrote: I have a same problem with you. I have installed again (Android SDK and eclipse) and it works well On Oct 6, 9:52 am, Anm [EMAIL

[android-developers] is there any one using XML to Java binding in Android?

2008-10-09 Thread Satya Komatineni
Android seem to have a nice way to inflate lay out objects into their equivalent java stuff. Can I use the same kind of features for an xml downloaded from a website? Thanks again --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] MyLocationOverlay throws exception

2008-10-09 Thread zl25drexel
Hi, i tried to add an overlay to my mapview screen using the MyLocationOverlay class, but it throws an exception and the overlay is not displayed. Any ideas? --- myLocationOverlay = new MyLocationOverlay(AndroidResultsMap.this, mapView);

[android-developers] Re: Broadcast Events on Incoming Calls

2008-10-09 Thread hackbod
Sorry, there is no way to replace the incoming call screen at this time. On Oct 8, 11:33 pm, Clay [EMAIL PROTECTED] wrote: I have been reading over the docs on Intent,http://code.google.com/android/reference/android/content/Intent.html, and while I find quite a large number of broadcast

[android-developers] Re: Keyboards and Screen Rotation

2008-10-09 Thread Rmac
I respectfully have to say you are missing my point. You don't know my app (nor other possible future complex ones) and are making assumptions about the save-ability of some apps. I have had an iPhone from day one so I know about running apps and interruptions. Some apps are simple enough

[android-developers] Re: Keyboards and Screen Rotation

2008-10-09 Thread Mark Murphy
Since I can use an Intent to open an external activity (browser for example) and return without a recreate Not necessarily. You may or may not get control again before a recreate. It all depends on what the user does. Assuming you will get control again before a recreate is dangerous. let

[android-developers] Re: is there any one using XML to Java binding in Android?

2008-10-09 Thread hackbod
The XML files used for layout resources and other things must be compiled by aapt before they are used on the device. On the device we are not parsing raw XML files. On Oct 9, 8:40 am, Satya Komatineni [EMAIL PROTECTED] wrote: Android seem to have a nice way to inflate lay out objects into

[android-developers] Re: is there any one using XML to Java binding in Android?

2008-10-09 Thread Satya Komatineni
so they will become serialized java objects befor they get to the deice? Thanks On Thu, Oct 9, 2008 at 1:03 PM, hackbod [EMAIL PROTECTED] wrote: The XML files used for layout resources and other things must be compiled by aapt before they are used on the device. On the device we are not

[android-developers] Re: Popup Windows

2008-10-09 Thread Xolotl Loki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anyone have any experience with pop ups? I'll keep playing with it and if I figure it out I'll be sure to share it here for future developers. The Activity class has specific methods for managing dialogs:

[android-developers] phoneStateListener

2008-10-09 Thread chouman82
Can anyone give a simple example of the usage of PhoneStateListener? I have tried to overwrite the listener and register it with the TelephonyManager with the Context.TELEPHONY_SERVICE. But i only saw my logging statement printed out right when I started to run the application. The logging

[android-developers] Re: http connection

2008-10-09 Thread [EMAIL PROTECTED]
Yes, evidently. But, its doesn't work. My code : DefaultHttpClient httpclient = new DefaultHttpClient(); HttpHost targetHost = new HttpHost(My_URL); HttpRequest req = new BasicHttpRequest(GET, /, HttpVersion.HTTP_1_1); HttpResponse response=null; //uses proxy.

[android-developers] Re: Overriding Contacts View

2008-10-09 Thread hackbod
Just implement the same intent protocols you want to handle. For pressing the green button, the intent is action android.intent.action.CALL_BUTTON. For someone dialing a number, it is android.intent.action.DIAL, etc. These should be defined in the Intent class. On Oct 9, 11:05 am, Rohit

[android-developers] polite request for better error messages

2008-10-09 Thread Jason Proctor
i'd never have thought of that ;-) in the socket case, the actual exception message is as i posted. prior to me logging the exception, OSNetworkSystem logs unknown socket error -1. in the MediaPlayer.create() case, no exception is thrown. the method returns null to signify the error.

[android-developers] MediaPlayer streaming playback

2008-10-09 Thread Jason Proctor
i've been trying to play 3gp and mp4 movies off an HTTP server with MediaPlayer without success. i know the movie files are OK because i can play them locally off the sdcard. the errors i'm getting include the now famous unknown errors 0x and 0xfffc. from googling i know that

[android-developers] Re: polite request for better error messages

2008-10-09 Thread hackbod
It is true that the messages should be better, but usually they aren't very good because it's not as simple as somebody knew but decided not to tell. For example, in the case of trying to connect to a socket: the connection request is rejected deep down in the kernel, and by the time it even

[android-developers] Re: Need advice for implementation best practices for multi-level game

2008-10-09 Thread Steve Oldmeadow
On Oct 9, 9:40 pm, Ewan Grantham [EMAIL PROTECTED] wrote: That sounds like a reasonable idea. I presume that since it's a different view I'd still have to do it as a separate activity that I would launch when I was in the STATE_WIN state? Is there a good tutorial or example out there you

[android-developers] getLatitudeSpan, getLongitudeSpan, getHeight, getWidth errors

2008-10-09 Thread yarun
Hello, in my MapView, getLatitudeSpan is returning 0, and getLongitudeSpan is returning 360,000,000. Similarly, getHeight, getWidth and any other get[Pixel] method is returning 0. How am I improperly setting up my code? XML: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: getLatitudeSpan, getLongitudeSpan, getHeight, getWidth errors

2008-10-09 Thread Romain Guy
This is because at the time code is executed in onCreate(), the first layout pass hasn't happened yet. You need to wait for the activity to be laid out before you can retrieve these information. On Thu, Oct 9, 2008 at 6:28 PM, yarun [EMAIL PROTECTED] wrote: Hello, in my MapView,