+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Facebook api for android

  1. #1
    Join Date
    Feb 2009
    Posts
    4

    Default Facebook api for android


    Hello I trying to create a facebook client for android but I have a problem with the facebook api; the application crash in the constructor or FacebookRestClient. Somebody know if this api is compatible with android? Another idea for solution my problem? Thanks.

  2. #2
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,187

    Default Re: Facebook api for android

    What's the stack trace say?

  3. #3
    Join Date
    Feb 2009
    Posts
    4

    Default Re: Facebook api for android

    It say unhandled exception in the constructor but I can throw any exception in this line.

  4. #4
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,187

    Default Re: Facebook api for android

    What's the unhandled exception? Where specifically is it being thrown from? Have you "ported" the classes to the Dalvik VM?

  5. #5
    Join Date
    Feb 2009
    Posts
    12

    Default Re: Facebook api for android

    I'm terrible with developing, but thought I could add two cents anyway.
    The blackberry version of the facebook app is WAY better than the Iphone version (like the android copy of this version).
    Was hoping that the next person who makes a facebook app could try to duplicate the BB version..

  6. #6
    Join Date
    Feb 2009
    Posts
    4

    Default Re: Facebook api for android

    Quote Originally Posted by ickyfehmleh View Post
    What's the unhandled exception? Where specifically is it being thrown from? Have you "ported" the classes to the Dalvik VM?
    I working with eclipse and I linked the jar. I never need anymore for use a jar in an android project. The line with the problem is:
    FacebookRestClient f = new FacebookRestClient(apikey,id)
    The problem is than I unknow the source of this class because it`s on the jar and I can`t know what's the problem.

  7. #7
    Join Date
    Nov 2008
    Posts
    157

    Default Re: Facebook api for android

    will it be possible to ever get the facebook chat application on the G1?

  8. #8
    Join Date
    Jul 2009
    Posts
    4

    Default Re: Facebook api for android

    Hello everyone,
    When I added the facebook java api in an android project in Eclipse, I get this error. I understand that I need to port this to Dalvik compatible api. The error I get is,

    Attempt to include a core VM class in something other than a core library.
    It is likely that you have attempted to include the core library from a desktop
    virtual machine into an application, which will most assuredly not work. If
    you really intend to build a core library -- which is only appropriate as
    part of creating a full virtual machine binary, as opposed to compiling an
    application -- then use the "--core-library" option to suppress this error
    message. If you go ahead and use "--core-library" but are in fact building
    an application, then please be aware that your build will still fail at some
    point; you will simply be denied the pleasure of reading this helpful error
    message.
    [2009-07-13 20:58:22 - Hello] 1 error; aborting
    [2009-07-13 20:58:22 - Hello] Conversion to Dalvik format failed with error 1

    Anyone knows a solution for this?

  9. #9
    Join Date
    Oct 2008
    Location
    909 So Cal
    Posts
    3,230

    Default Re: Facebook api for android

    facebook api are limited for Android aka google

    both iphone / blackberry had their "facebook app" created BY Facebook THEMSELVES.

    also rumor is that facebook just "created" an app for T-mobile / google so gotta wait to see how that comes along. hope your time isnt wasted on this.

    To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.

    KOBE
    BRYANT
    24 >23 ALL DAY
    ROM:DrizzyHero v2.8 | Follow me on
    To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.


  10. #10
    Join Date
    Sep 2008
    Location
    The Boonies of Pinal County, Arizona
    Posts
    1,187

    Default Re: Facebook api for android


    Quote Originally Posted by Vijay View Post
    Hello everyone,
    When I added the facebook java api in an android project in Eclipse, I get this error. I understand that I need to port this to Dalvik compatible api. The error I get is,

    Attempt to include a core VM class in something other than a core library.
    It is likely that you have attempted to include the core library from a desktop
    virtual machine into an application, which will most assuredly not work. If
    you really intend to build a core library -- which is only appropriate as
    part of creating a full virtual machine binary, as opposed to compiling an
    application -- then use the "--core-library" option to suppress this error
    message. If you go ahead and use "--core-library" but are in fact building
    an application, then please be aware that your build will still fail at some
    point; you will simply be denied the pleasure of reading this helpful error
    message.
    [2009-07-13 20:58:22 - Hello] 1 error; aborting
    [2009-07-13 20:58:22 - Hello] Conversion to Dalvik format failed with error 1

    Anyone knows a solution for this?
    Are you using the unofficial client @ http://code.google.com/p/facebook-java-api/ or some other jar ?
    I blame
    To view links or images in signatures your post count must be 5 or greater. You currently have 0 posts.
    for most programming problems.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Android gets Facebook application after all
    By refused9150 in forum Talkback
    Replies: 35
    Last Post: 09-14-2009, 01:45 PM
  2. Android Facebook and IM Questions.
    By phone_fanatic in forum Reviews
    Replies: 3
    Last Post: 02-09-2009, 12:28 PM
  3. no facebook for android
    By rev616 in forum Reviews
    Replies: 14
    Last Post: 11-02-2008, 01:41 AM
  4. Android may never see a Facebook app
    By refused9150 in forum Talkback
    Replies: 21
    Last Post: 10-25-2008, 11:21 AM
  5. Facebook for Android
    By nickmgray in forum New Application Ideas
    Replies: 5
    Last Post: 10-23-2008, 06:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts