Hi Nishant, >From last 2 weeks i am also trying to get data from facebook. But still facing lot of difficulties. In my case i am using some FBRocket code. It shows login page and after successful login page it fulfill one request(like friends name, or set status) ; but if i make second request it give me some proxy authentication required error.
Because i am having session key and not token so this session key expire after one request. I am trying to resolve this issue. If anyone knows please help me. Thanks Sohan Badaya On Fri, Jun 18, 2010 at 3:24 PM, NishantKumar <[email protected]>wrote: > Hi, I am in need of help to complete my application. > > I am trying to execute a project that uses and android library. > Basically I am trying to execute the android facebook sdk to run the > sample code provided at http://github.com/facebook/facebook-android-sdk > > 1. I have downloaded the sdk and extracted the zip file to a folder > 2. I used Eclipse galileo import to create an android project from > existing resource. > I imported the sdk source code (facebook folder of the sdk) > into my project explorer successfully. I can also run Build Project > for this source code. > > 3. Now, I am trying to import the sample example in it. The project > is imported but I cannot execute it. > > I cannot build the project. > I am trying to clean the project and then build. This gives me > the following error. > > [2010-06-18 11:32:49 - Example] ERROR: Unknown flag '--' > [2010-06-18 11:32:49 - Example] Android Asset Packaging Tool > [2010-06-18 11:32:49 - Example] > [2010-06-18 11:32:49 - Example] Usage: > [2010-06-18 11:32:49 - Example] aapt l[ist] [-v] [-a] file. > {zip,jar,apk} > [2010-06-18 11:32:49 - Example] List contents of Zip-compatible > archive. > [2010-06-18 11:32:49 - Example] > [2010-06-18 11:32:49 - Example] aapt d[ump] WHAT file.{apk} [asset > [asset ...]] > [2010-06-18 11:32:49 - Example] badging Print the label and icon for > the app declared in APK. > [2010-06-18 11:32:49 - Example] permissions Print the permissions from > the APK. > [2010-06-18 11:32:49 - Example] resources Print the resource table > from the APK. > [2010-06-18 11:32:49 - Example] configurations Print the > configurations in the APK. > [2010-06-18 11:32:49 - Example] xmltree Print the compiled xmls in the > given assets. > [2010-06-18 11:32:49 - Example] xmlstrings Print the strings of the > given compiled xml assets. > [2010-06-18 11:32:49 - Example] > [2010-06-18 11:32:49 - Example] aapt p[ackage] [-d][-f][-m][-u][-v][- > x][-z][-M AndroidManifest.xml] \ [2010-06-18 11:32:49 - Example] [-0 > extension [-0 extension ...]] \ [2010-06-18 11:32:49 - Example] [-g > tolerance] \ [2010-06-18 11:32:49 - Example] [-j jarfile] \ > [2010-06-18 11:32:49 - Example] [-I base-package [-I base- > package ...]] \ [2010-06-18 11:32:49 - Example] [-A asset-source-dir] > [-P public-definitions-file] \ [2010-06-18 11:32:49 - Example] [-S > resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file- > dir] \ [2010-06-18 11:32:49 - Example] [raw-files-dir [raw-files- > dir] ...] [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - > Example] Package the android resources. It will read assets and > resources that are [2010-06-18 11:32:49 - Example] supplied with the - > M -A -S or raw-files-dir arguments. The -J -P -F and -R [2010-06-18 > 11:32:49 - Example] options control which files are output. > [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - Example] aapt > r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...] [2010-06-18 > 11:32:49 - Example] Delete specified files from Zip-compatible > archive. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - > Example] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...] > [2010-06-18 11:32:49 - Example] Add specified files to Zip-compatible > archive. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - > Example] aapt v[ersion] [2010-06-18 11:32:49 - Example] Print program > version. [2010-06-18 11:32:49 - Example] [2010-06-18 11:32:49 - > Example] Modifiers: [2010-06-18 11:32:49 - Example] -a print Android- > specific data (resources, manifest) when listing [2010-06-18 11:32:49 > - Example] -c specify which configurations to include. The default is > all [2010-06-18 11:32:49 - Example] configurations. The value of the > parameter should be a comma [2010-06-18 11:32:49 - Example] separated > list of configuration values. Locales should be specified [2010-06-18 > 11:32:49 - Example] as either a language or language-region pair. Some > examples: [2010-06-18 11:32:49 - Example] en [2010-06-18 11:32:49 - > Example] port,en [2010-06-18 11:32:49 - Example] port,land,en_US > [2010-06-18 11:32:49 - Example] If you put the special locale, zz_ZZ > on the list, it will perform [2010-06-18 11:32:49 - Example] > pseudolocalization on the default locale, modifying all of the > [2010-06-18 11:32:49 - Example] strings so you can look for strings > that missed the [2010-06-18 11:32:49 - Example] internationalization > process. For example: > [2010-06-18 11:32:49 - Example] port,land,zz_ZZ > [2010-06-18 11:32:49 - Example] -d one or more device assets to > include, separated by commas > [2010-06-18 11:32:49 - Example] -f force overwrite of existing files > [2010-06-18 11:32:49 - Example] -g specify a pixel tolerance to force > images to grayscale, default 0 > [2010-06-18 11:32:49 - Example] -j specify a jar or zip file > containing classes to include > [2010-06-18 11:32:49 - Example] -m make package directories under > location specified by -J > [2010-06-18 11:32:49 - Example] -u update existing packages (add new, > replace older, remove deleted files) > [2010-06-18 11:32:49 - Example] -v verbose output > [2010-06-18 11:32:49 - Example] -x create extending (non-application) > resource IDs > [2010-06-18 11:32:49 - Example] -z require localization of resource > attributes marked with > [2010-06-18 11:32:49 - Example] localization="suggested" > [2010-06-18 11:32:49 - Example] -A additional directory in which to > find raw asset files > [2010-06-18 11:32:49 - Example] -F specify the apk file to output > [2010-06-18 11:32:49 - Example] -I add an existing package to base > include set > [2010-06-18 11:32:49 - Example] -J specify where to output R.java > resource constant definitions > [2010-06-18 11:32:49 - Example] -M specify full path to > AndroidManifest.xml to include in zip > [2010-06-18 11:32:49 - Example] -P specify where to output public > resource definitions > [2010-06-18 11:32:49 - Example] -S directory in which to find > resources. Multiple directories will be scanned and the first match > found (left to right) will take precedence. -0 specifies an additional > extension for which such files will not > [2010-06-18 11:32:49 - Example] be stored compressed in the .apk. An > empty string means to not > [2010-06-18 11:32:49 - Example] compress any files at all. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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

