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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[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: > > > > > > >> > 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

