[android-developers] Re: com.google.wireless.gdata
Hi James, do you have the source for your modified gdatarequest and abstract entity. I'd like to go a tried and tested route or just parse the RSS manually. Am I right in thinking you've successfully connected to a google service? I'm pretty new to Java (c and as3 background) so I hope the questions make sense? On Jan 14, 3:11 pm, James jw.ma...@gmail.com wrote: I've been able to use the 1.0 version of the java gdata api successfully from Android. I created custom implementations of GoogleAuthTokenFactory and GoogleGDataRequest.Factory. The second one meant I had to create a custom GDataRequest and AbstractHttpEntity. The code needed utilizes the same apache http client library supported in the phone. My use is specific to the print or BooksService, Though I suspect that it would work in other services. Let me know if you're interested in more information. I noticed more than one code.google.com project focused at porting the gdata api to Android. The farthest along I found ishttp://code.google.com/p/android-gdata/. I'm hesitant to start yet another gdata-porting project -- yet none of what I found met my requirements. First on my list is using the same gdata public api. Second is unit tests. Here's one of my integration tests: @Test public void makeAuthenticatedQuery_usingCustomFactories() throws Exception { BooksService service = createAuthenticatedCustomService(); VolumeFeed volumeFeed = query(service); Assert.assertNotNull(volume feed is not null, volumeFeed); Assert.assertFalse(volume feed has entries, volumeFeed.getEntries ().isEmpty()); } private BooksService createAuthenticatedCustomService() throws AuthenticationException { HttpClient httpClient = new DefaultHttpClient(); String serviceName = print; BooksService service = new BooksService(app name, new CustomRequestFactory(httpClient), new CustomAuthTokenFactory(serviceName, applicationName, httpClient)); service.setUserCredentials(username, password); return service; } On Dec 31 2008, 7:29 am, schtieF lisc...@googlemail.com wrote: Someone found the com.google.wireless code stuff in the open source repository of android? so we can compile and include it in our applications? Stefan On Dec 24, 6:21 pm, paxus paxu...@gmail.com wrote: OK, I agree that they could easily remove inner classes if it hasn't been published as common API. But I can't get what should I do to work with Gcalendar, for ex.? Can you show me the way? I can find several apps which somehow get calendar events, so there must be an API, right? Does anyone know a workaround? On 3 дек, 23:02, AndroidEngineer vaswani.jit...@gmail.com wrote: Yet you had them in the previous version of the library? Uh huh. I see. On Dec 2, 10:42 pm, Jean-Baptiste Queru j...@google.com wrote: I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer vaswani.jit...@gmail.com wrote: It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty lev.pert...@gmail.com wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer vaswani.jit...@gmail.com wrote: Howcomecom.google.wireless.gdataand com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
FYI: the wireless gdata code is here: http://android.git.kernel.org/?p=platform/external/gdata.git;a=summary --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
I've been able to use the 1.0 version of the java gdata api successfully from Android. I created custom implementations of GoogleAuthTokenFactory and GoogleGDataRequest.Factory. The second one meant I had to create a custom GDataRequest and AbstractHttpEntity. The code needed utilizes the same apache http client library supported in the phone. My use is specific to the print or BooksService, Though I suspect that it would work in other services. Let me know if you're interested in more information. I noticed more than one code.google.com project focused at porting the gdata api to Android. The farthest along I found is http://code.google.com/p/android-gdata/. I'm hesitant to start yet another gdata-porting project -- yet none of what I found met my requirements. First on my list is using the same gdata public api. Second is unit tests. Here's one of my integration tests: @Test public void makeAuthenticatedQuery_usingCustomFactories() throws Exception { BooksService service = createAuthenticatedCustomService(); VolumeFeed volumeFeed = query(service); Assert.assertNotNull(volume feed is not null, volumeFeed); Assert.assertFalse(volume feed has entries, volumeFeed.getEntries ().isEmpty()); } private BooksService createAuthenticatedCustomService() throws AuthenticationException { HttpClient httpClient = new DefaultHttpClient(); String serviceName = print; BooksService service = new BooksService(app name, new CustomRequestFactory(httpClient), new CustomAuthTokenFactory(serviceName, applicationName, httpClient)); service.setUserCredentials(username, password); return service; } On Dec 31 2008, 7:29 am, schtieF lisc...@googlemail.com wrote: Someone found the com.google.wireless code stuff in the open source repository of android? so we can compile and include it in our applications? Stefan On Dec 24, 6:21 pm, paxus paxu...@gmail.com wrote: OK, I agree that they could easily remove inner classes if it hasn't been published as common API. But I can't get what should I do to work with Gcalendar, for ex.? Can you show me the way? I can find several apps which somehow get calendar events, so there must be an API, right? Does anyone know a workaround? On 3 дек, 23:02, AndroidEngineer vaswani.jit...@gmail.com wrote: Yet you had them in the previous version of the library? Uh huh. I see. On Dec 2, 10:42 pm, Jean-Baptiste Queru j...@google.com wrote: I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer vaswani.jit...@gmail.com wrote: It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty lev.pert...@gmail.com wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer vaswani.jit...@gmail.com wrote: Howcomecom.google.wireless.gdataand com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
Someone found the com.google.wireless code stuff in the open source repository of android? so we can compile and include it in our applications? Stefan On Dec 24, 6:21 pm, paxus paxu...@gmail.com wrote: OK, I agree that they could easily remove inner classes if it hasn't been published as common API. But I can't get what should I do to work with Gcalendar, for ex.? Can you show me the way? I can find several apps which somehow get calendar events, so there must be an API, right? Does anyone know a workaround? On 3 дек, 23:02, AndroidEngineer vaswani.jit...@gmail.com wrote: Yet you had them in the previous version of the library? Uh huh. I see. On Dec 2, 10:42 pm, Jean-Baptiste Queru j...@google.com wrote: I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer vaswani.jit...@gmail.com wrote: It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty lev.pert...@gmail.com wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer vaswani.jit...@gmail.com wrote: Howcome com.google.wireless.gdata and com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
Yet you had them in the previous version of the library? Uh huh. I see. On Dec 2, 10:42 pm, Jean-Baptiste Queru [EMAIL PROTECTED] wrote: I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer [EMAIL PROTECTED] wrote: It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty [EMAIL PROTECTED] wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer [EMAIL PROTECTED] wrote: Howcome com.google.wireless.gdata and com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer [EMAIL PROTECTED] wrote: Howcome com.google.wireless.gdata and com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty [EMAIL PROTECTED] wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer [EMAIL PROTECTED] wrote: Howcome com.google.wireless.gdata and com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer [EMAIL PROTECTED] wrote: It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty [EMAIL PROTECTED] wrote: I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer [EMAIL PROTECTED] wrote: Howcome com.google.wireless.gdata and com.google.android.gdata have been removed from the 1.0 r1 library. I see these packages in 0.9 and previous versions but not in 1.0. What is the reason behind removing the libraries? From what I've seen, they seem to be very useful libraries. Please give me heads up. I am trying to write an application to access google calendar and its events. Thanks. Android Engineer --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---