[android-developers] Android 3.1 presentation - Portland Code Camp 2011
I gave a presentation on Android 3.1 at Portland Code Camp on June 4th. The slides are available here: http://www.slideshare.net/sullis/android-31-portland-code-camp-2011 Sean -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android 3.0 presentation on Slideshare
I gave a presentation about Android 3.0 at the Portland Java User Group on March 15th. The slides are available here: http://www.slideshare.net/sullis/android-30-portland-java-user-group-20110315 Cheers, Sean -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] BroadcastReceiver, Intent objects
I've implemented a BroadcastReceiver class to receive Intent objects. In my BroadcastReceiver class, I'd like to be able to identify the source (sender) of the Intent object. Is there an API that enables me to do this? I've already read through the javadocs and the Android platform source code but didn't find an answer. Thank in advance. Sean -- 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android @ Open Source Bridge conference
I gave a presentation about Android at the Open Source Bridge conference on June 17th. The slides are available here: http://www.slideshare.net/sullis/domo-arigato-mr-roboto-open-source-bridge-2009 Cheers, Sean --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] REST Web Services and Android
I gave a presentation about Web Services at the Android Dev Camp in Amsterdam yesterday. The slides are now available on SlideShare: http://www.slideshare.net/sullis/connecting-to-web-services-on-android/ Cheers, Sean --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] using Google GSON in an Android application
Is anybody using Google's GSON library in an Android application? I can't get GSON to work properly on Android's Dalvik VM. The Dalvik runtime is throwing java.lang.TypeNotPresentException. Here is the stack trace: E/jpoco.android.ContactsActivity( 251): Type jpoco.client.Contact not present E/jpoco.android.ContactsActivity( 251): java.lang.TypeNotPresentException: Type jpoco.client.Contact not present E/jpoco.android.ContactsActivity( 251):at org.apache.harmony.luni.lang.reflect.ImplForType.getRawType(ImplForType.java:63) E/jpoco.android.ContactsActivity( 251):at org.apache.harmony.luni.lang.reflect.ImplForType.getResolvedType(ImplForType.java:72) E/jpoco.android.ContactsActivity( 251):at org.apache.harmony.luni.lang.reflect.ListOfTypes.getResolvedTypes(ListOfTypes.java:68) E/jpoco.android.ContactsActivity( 251):at org.apache.harmony.luni.lang.reflect.ImplForType.getActualTypeArguments(ImplForType.java:40) E/jpoco.android.ContactsActivity( 251):at com.google.gson.TypeInfoFactory.getActualType(TypeInfoFactory.java:65) E/jpoco.android.ContactsActivity( 251):at com.google.gson.TypeInfoFactory.getTypeInfoForField(TypeInfoFactory.java:54) E/jpoco.android.ContactsActivity( 251):at com.google.gson.ObjectNavigator.navigateClassFields(ObjectNavigator.java:136) E/jpoco.android.ContactsActivity( 251):at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:122) E/jpoco.android.ContactsActivity( 251):at com.google.gson.JsonDeserializationContextDefault.fromJsonObject(JsonDeserializationContextDefault.java:73) E/jpoco.android.ContactsActivity( 251):at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:49) E/jpoco.android.ContactsActivity( 251):at com.google.gson.Gson.fromJson(Gson.java:381) E/jpoco.android.ContactsActivity( 251):at com.google.gson.Gson.fromJson(Gson.java:329) E/jpoco.android.ContactsActivity( 251):at com.google.gson.Gson.fromJson(Gson.java:305) E/jpoco.android.ContactsActivity( 251):at jpoco.io.Deserializer.deserialize(Deserializer.java:63) E/jpoco.android.ContactsActivity( 251):at jpoco.client.Client.fromString(Client.java:152) --~--~-~--~~~---~--~~ 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 android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Calendar app in the Android Emulator?
On Nov 3, 7:13 am, ppcinfo [EMAIL PROTECTED] wrote: Thanks for that tip. I forgot that the Android OS is open-source and available for examination (duh!). From the android.git.kernel.org link I saw the project file for what appears to be thecalendarapp, so why didn't Google include this app in the emulator? I would also like to see the Calendar app in the Android SDK. I just submitted an issue to the Android issue tracker: http://code.google.com/p/android/issues/detail?id=1389 Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] geolocation API in Android's web browser
Recently, the W3C has been working on a geolocation API for web browsers: http://dev.w3.org/geo/api/spec-source.html WebKit's trunk has preliminary support for this new Geolocation API. You can see the capability in the WebKit source tree: http://trac.webkit.org/browser/trunk/WebCore/page/Geolocation.cpp I looked in Android's Git repository and it appears that the Android repository doesn't (yet) include WebKit's Geolocation implementation: http://android.git.kernel.org/?p=platform/external/webkit.git;a=tree;f=WebCore/page;h=41b57623a2343e387a4126b0f5e44b826a10408f;hb=refs/heads/master According to a Twitter user, Google gave a demo of geolocation in the Android browser at the Future of Mobile conference: http://twitter.com/geekyouup/status/1009624011 #FOM Android browser gives access to location info thru google gears mobile I searched the Google Gears source tree and found this code: http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/AndroidGpsLocationProvider.java http://code.google.com/p/gears/source/browse/trunk/gears/geolocation/gps_device_android.cc?r=3007 It appears that Google Gears for Mobile is coming to the Android platform. The Gears Gelocation API is nice but I'd really like to see support for the W3C Gelocation API. I hope the W3C finalizes their work soon. Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: geolocation API in Android's web browser
On Nov 18, 9:26 pm, Dianne Hackbod [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 8:03 PM, Sean Sullivan [EMAIL PROTECTED]wrote: It appears that Google Gears for Mobile is coming to the Android platform. Gears is already in 1.0, though currently only available in the web browser application. Thanks. I wasn't aware of that. I just tested the Android web browser in emulator (Android SDK 1.0 R1). It appears that Gears is present: http://www.seansullivan.com/gearstest.html FYI - the Gears for Mobile web site doesn't mention Android at all. It only mentions Windows Mobile support: http://code.google.com/apis/gears/mobile.html Cheers, Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaRecorder on G1
Same here. My application calls start() on the MediaRecorder and then I observe a RuntimeException with the message start failed I am running the application in the Android 1.0 R1 SDK emulator on Mac OS X. Sean On Nov 11, 5:39 pm, cirion [EMAIL PROTECTED] wrote: Hi g1ster - are you running on the G1 or the emulator? On the emulator, I've followed the steps people described above, but still run into the problem with constant AudioStreamInGeneric messages and an eventual RuntimeException that says start failed. I don't see anything in DDMS that indicates what the underlying problem might be; I'm wondering if it just isn't supported on the emulator. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] using StAX API in an Android application
I'd like to use the StAX API (also known as JSR-173) in an Android application javax.xml.stream javax.xml.stream.events javax.xml.stream.util Are there any plans to add these to the core platform? Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] unable to import android.provider.Contacts.Presence
I am using Android SDK 1.0 R1 and I want to use the android.provider.Contacts.Presence class It appears that the android.jar in Android SDK 1.0 R1 does not have the Presence class file. Can somebody explain why this class is missing from the SDK? $ pwd /usr/local/android-sdk-mac_x86-1.0_r1 $ jar tvf android.jar | grep Presence 382 Mon Sep 22 13:55:04 PDT 2008 android/provider/Contacts $PresenceColumns.class Thanks in advance. Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] java.awt.Graphics2D on Android
I examined android.jar and noticed that the java.awt.Graphics2D class is not part of the Android platform. http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html Are there any plans to support the Java2D API's in a future release? http://java.sun.com/docs/books/tutorial/2d/index.html I have an existing Java library that relies on Java2D / Graphics2D. I'd like to be able to use my existing code on Android. Regards, Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.awt.Graphics2D on Android
I just inspected the Android platform source code. In platform/ frameworks/base.git I found: com/android/internal/awt/AndroidGraphics2D.java com/android/internal/awt/AndroidGraphicsFactory.java com/android/internal/awt/AWTFactory.java The AWTFactory class provides this method: /** 32 * Use this method to get acces to AWT drawing primitives and to 33 * render into the surface area of a Android widget. Origin and 34 * clip of the returned graphics object are the same as in the 35 * corresponding Android widget. 36 * 37 * @param c Canvas of the android widget to draw into 38 * @param p The default drawing parameters such as font, 39 * stroke, foreground and background colors, etc. 40 * @return The AWT Graphics object that makes all AWT 41 * drawing primitives available in the androind world. 42 */ 43 public static Graphics2D getAwtGraphics(Canvas c, Paint p) { 44 // AWT?? TODO: test it! 45 if (null == gf) { 46 Toolkit tk = Toolkit.getDefaultToolkit(); 47 gf = tk.getGraphicsFactory(); 48 } 49 return gf.getGraphics2D(c, p); 50 } 51 Unfortunately, these classes are in the com.android.internal package. Is there any way for a third party application to use this functionality? Sean On Nov 12, 5:13 pm, Sean Sullivan [EMAIL PROTECTED] wrote: I examined android.jar and noticed that the java.awt.Graphics2D class is not part of the Android platform. http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html Are there any plans to support the Java2D API's in a future release? http://java.sun.com/docs/books/tutorial/2d/index.html I have an existing Java library that relies on Java2D / Graphics2D. I'd like to be able to use my existing code on Android. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] rejecting opcode 0x6e - Android 1.0 R1 SDK
Environment: Android 1.0 R1 SDK + Eclipse 3.4 My application uses some third party libraries. The libraries are: openxri-client-1.0.1.jar openxri-syntax-1.0.1.jar openid4java 0.9.5 jar When I run my application in the emulator, I observe this error: W/dalvikvm( 173): VFY: unable to find class referenced in signature (Lorg/openxri/xml/XRDS;) W/dalvikvm( 173): VFY: unable to resolve virtual method 1465: Lorg/ openxri/xml/XRDS;.getFinalXRD ()Lorg/openxri/xml/XRD; W/dalvikvm( 173): VFY: rejecting opcode 0x6e at 0x000f W/dalvikvm( 173): VFY: rejected Lorg/openid4java/discovery/ Discovery;.extractDiscoveryInformation (Lorg/openxri/xml/XRDS;Lorg/ openid4java/discovery/Identifier;)Ljava/util/List; W/dalvikvm( 173): Verifier rejected class Lorg/openid4java/discovery/ Discovery; D/AndroidRuntime( 173): Shutting down VM Can somebody explain what rejecting opcode 0x6e means? Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] using OAuth in an Android application
I built an Android application that uses OAuth to connect to Yahoo Fire Eagle: http://code.google.com/p/jfireeagle/wiki/Android The source code is available in the Subversion repository: http://code.google.com/p/jfireeagle/source/checkout Cheers, Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] HTTP proxy, android.net.Proxy, Android 1.0
My Android application uses HttpClient (org.apache.http.client) to connect to a remote web service. I want my application to play nicely with HTTP proxies. I examined the Android SDK and found the android.net.Proxy class. android.net.Proxy allows my application to get the proxy host (getProxyHost) and proxy port (getProxyPort) . However, android.net.Proxy does not have any methods for proxy username or proxy password. Am I missing something? Here's what I've coded so far: UsernamePasswordCredentials cred = null; // todo : what is the Android API for obtaining HTTP proxy username/password? hclient.getCredentialsProvider().setCredentials( new AuthScope(Proxy.getHost(this), Proxy.getPort(this)), cred); HttpHost proxy = new HttpHost(Proxy.getHost(this), Proxy.getPort(this)); hclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy); Cheers, Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: AndroidHttpClient gone so now what
On Oct 26, 1:50 am, Emery [EMAIL PROTECTED] wrote: I have spent hours on end trying to figure out how to make a simple HTTP request in Android. Examples and docs are outdated... nothing works. AGGH! Please help I built an Android application that uses HttpClient to send HTTP requests to Yahoo Fire Eagle. The code runs on Android 1.0 You can find all the source code in SVN: http://code.google.com/p/jfireeagle/source/browse/#svn/trunk Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: does the syncml package follow OMA DS 1.2 completely
On Oct 26, 5:17 am, Zhihong GUO [EMAIL PROTECTED] wrote: I have read the the source code in android.syncml, but I am not sure if it follow OMA DS 1.2 or not. Can anyone tell me? Where did you find android.syncml code? Is this code in the Git repository? I looked in the Git repository and didn't see anything http://git.source.android.com/ Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: HTTP proxy, android.net.Proxy, Android 1.0
android.net.Proxy has four static methods: getDefaultHost getDefaultPort getHost(Context) getPort(Context) According to the javadocs: - (getDefaultHost, getDefaultPort) are for a carrier proxy - (getHost, getPort) are for a user specified proxy I'm looking for methods that will return the user specified proxy username and password. I looked at the source code for android.net.Proxy and I don't see any methods for retrieving the username or password: http://git.source.android.com/?p=platform/frameworks/base.git;a=blob;f=core/java/android/net/Proxy.java;h=86e1d5b64c6ff9a19b190b4f3100afe9c78e184c;hb=54b6cfa9a9e5b861a9930af873580d6dc20f773c Are there other API's that I should be looking at? android.net.ConnectivityManager looked promising but I did not see any methods for retrieving proxy configuration: http://code.google.com/android/reference/android/net/ConnectivityManager.html android.net.http.AndroidHttpClient doesn't seem to help either. The source code doesn't reveal how Android handles proxies: http://git.source.android.com/?p=platform/frameworks/base.git;a=blob;f=core/java/android/net/http/AndroidHttpClient.java;h=01442aecaac13c7907d98352b259886bf4e6e3d0;hb=54b6cfa9a9e5b861a9930af873580d6dc20f773c Sean On Oct 26, 3:32 pm, Charlie Collins [EMAIL PROTECTED] wrote: I believe the android.net.Proxy class is intended to be used for default carrier proxies, which don't require credentials (but rather use the fact that the device is on the private carrier network as auth) not for connecting through your own proxy server with authentication. You should be able to do your own proxy stuff though, with credentials, using the straight up HttpClient classes - looks like you are almost there. Check out the HttpClient 4 examples. http://hc.apache.org/httpcomponents-client/examples.html This specific example should work on Android, all these classes are there (or so it appears from a quick glance):http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/modul... --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OAuth, HttpClient, Android 1.0
As of today (October 22nd), the OAuth Java library now supports HttpClient 4 and Android. You'll need to checkout the trunk code from SVN and build the code yourself. http://code.google.com/p/oauth/source/checkout To use the OAuth library on Android, use the classes in the net.oauth.client.httpclient4 package. Sean On Oct 11, 11:04 pm, Sean Sullivan [EMAIL PROTECTED] wrote: I am trying to use oauth-1.3.jar in my Android application. As far as I can tell,oauth-1.3.jar is dependent upon Apache HttpClient 3.1 Has anybody been able to make this work? (I'm aware that the Android platform uses the HttpClient 4 API) I opened an issue in the OAuth tracker: http://code.google.com/p/oauth/issues/detail?id=50 http://code.google.com/p/oauth/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1
Have you tried using org.apache.http.conn.ssl.AllowAllHostnameVerifier ? http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java?view=markup Sean On Oct 17, 7:07 am, Guillaume Perrot [EMAIL PROTECTED] wrote: On android 1.0 I tried to connect to my https server which uses a self- signed certificate: Here is my code, which uses a custom hostname verifier: /* Create and initialize HTTP parameters */ HttpParams params = new BasicHttpParams(); ConnManagerParams.setMaxTotalConnections(params, 2); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); /* Create and initialize scheme registry */ SchemeRegistry schemeRegistry = new SchemeRegistry(); schemeRegistry.register(new Scheme(http, PlainSocketFactory .getSocketFactory(), 80)); SSLSocketFactory sslSocketFactory = SSLSocketFactory.getSocketFactory(); sslSocketFactory.setHostnameVerifier(new X509HostnameVerifier() { @Override public boolean verify(String host, SSLSession session) { return true; } @Override public void verify(String host, SSLSocket ssl) throws IOException { /* Nothing to do */ } @Override public void verify(String host, X509Certificate cert) throws SSLException { /* Nothing to do */ } @Override public void verify(String host, String[] cns, String[] subjectAlts) throws SSLException { /* Nothing to do */ } }); schemeRegistry.register(new Scheme(https, sslSocketFactory, 443)); /* Allow multiple threads (two in our case) to access the HTTP client */ ClientConnectionManager cm = new ThreadSafeClientConnManager(params, schemeRegistry); mHttpClient = new DefaultHttpClient(cm, params); try { HttpGet ping = new HttpGet(mConnectionManagerURL); HttpResponse response = mHttpClient.execute(ping); HttpEntity entity = response.getEntity(); if (entity != null) entity.consumeContent(); } catch (IOException ioe) { ioe.printStackTrace(); shutdown(); throw ioe; } catch (Exception e) { e.printStackTrace(); shutdown(); throw new IOException(e.getMessage()); } I have the following exception in stack trace: 10-17 13:46:23.484: ERROR/ubikim-streams(783): javax.net.ssl.SSLException: Not trusted server certificate 10-17 13:46:23.554: ERROR/ubikim-streams(783): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java: 353) 10-17 13:46:23.654: ERROR/ubikim-streams(783): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl $SSLInputStream.init(OpenSSLSocketImpl.java:491) 10-17 13:46:23.704: ERROR/ubikim-streams(783): at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java: 432) 10-17 13:46:23.784: ERROR/ubikim-streams(783): at org.apache.http.impl.io.SocketInputBuffer.init(SocketInputBuffer.java: 93) 10-17 13:46:23.844: ERROR/ubikim-streams(783): at org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java: 83) 10-17 13:46:23.894: ERROR/ubikim-streams(783): at org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java: 170) 10-17 13:46:23.944: ERROR/ubikim-streams(783): at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java: 106) 10-17 13:46:24.035: ERROR/ubikim-streams(783): at org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java: 129) 10-17 13:46:24.085: ERROR/ubikim-streams(783): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 136) 10-17 13:46:24.135: ERROR/ubikim-streams(783): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) 10-17 13:46:24.185: ERROR/ubikim-streams(783): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) 10-17 13:46:24.275: ERROR/ubikim-streams(783): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) 10-17 13:46:24.325: ERROR/ubikim-streams(783): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) 10-17 13:46:24.375: ERROR/ubikim-streams(783): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) 10-17 13:46:24.425: ERROR/ubikim-streams(783): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) 10-17 13:46:24.504: ERROR/ubikim-streams(783): at com.ubikod.smackx.bosh.BoshSession.init(BoshSession.java:105) 10-17 13:46:24.554:
[android-developers] Re: how import org.apache.commons.httpclient ?
FYI: Early versions of the Android SDK used Jakarta Commons HttpClient 3.1 The library HttpClient 3.1 package name is org.apache.commons.httpclient The Android 1.0 SDK uses HttpClient 4. In HttpClient 4, the package name is org.apache.http.client Sean On Oct 19, 3:44 am, jphdsn [EMAIL PROTECTED] wrote: Anyone has imported the package org.apache.commons.httpclient? Is there a special mnipulation? If someone could give me a response it will be fine. thank's --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] OAuth, HttpClient, Android 1.0
I am trying to use oauth-1.3.jar in my Android application. As far as I can tell, oauth-1.3.jar is dependent upon Apache HttpClient 3.1 Has anybody been able to make this work?(I'm aware that the Android platform uses the HttpClient 4 API) I opened an issue in the OAuth tracker: http://code.google.com/p/oauth/issues/detail?id=50 http://code.google.com/p/oauth/ Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] android.net.http.AndroidHttpClient vs
I am using Android SDK 1.0 R1 and I have a question about sending HTTP requests in an Android application. Google's Downloader application uses the AndroidHttpClient class to send an HTTP request: http://code.google.com/p/apps-for-android/source/browse/trunk/Samples/Downloader/src/com/google/android/downloader/DownloaderActivity.java?r=65 line 24: import android.net.http.AndroidHttpClient; line 432: mHttpClient = AndroidHttpClient.newInstance(mUserAgent); I checked the online javadocs and did not find any public documentation for AndroidHttpClient: http://code.google.com/android/reference/android/net/http/package-summary.html Is Google's Downloader application using a public API class or an internal (non-public) class? Please advise. Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android at O'Reilly OSCON - Portland Oregon
I am hosting an Android BOF on Monday July 21 at 7 PM: http://en.oreilly.com/oscon2008/public/schedule/detail/4910 The conference is in Portland, Oregon. Cheers, Sean --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---