sdk

ref parameter on likes doesn't work

折月煮酒 提交于 2019-12-11 10:32:28
问题 What I am trying to do is track click throughs of individual users likes and shares. This is easy with a unique link or when using Like, using the ref parameter. What I do now is show the like button on a certain page, with the ref parameter set so I track any click through's on that link. But this has a problem or a bug, if you use ref and click the like button then ref will show up on the like post on fb and I can track this. BUT if you also leave a comment when you click the like button,

How to install Android 4.0 (API 14) in Eclipse?

天涯浪子 提交于 2019-12-11 10:23:55
问题 I am new to Android Development, I didn't know, how to install Android 4.0 in my eclipse tool? please help me. Thanks in Advance 回答1: You need to install the SDK http://developer.android.com/sdk/installing/index.html Then download the version you want in your case the 4.0 like this http://developer.android.com/sdk/installing/adding-packages.html You are developing on Eclipse so follow those steps to install the ADT plugin http://developer.android.com/sdk/installing/installing-adt.html And

Eclipse crashes when creating a new android project

对着背影说爱祢 提交于 2019-12-11 10:14:57
问题 I'm starting with Android Programming at the moment. I'm using die Android SDK and Eclipse. I downloaded the Bundle from the developer.android.com . At first it seems good, but when finishing the wizard for a new Android Project, Eclipse crashes. The programm returns the following error: I already tried to run "ulimit -c unlimited", with no effect. I'm running Kubuntu 14.04 (Linux/Debian/Ubuntu) and Java 1.7.0_55. Any help? 回答1: You need to change the Desktop Theme to a different theme. For

Android studio - gradle - failed to find target with hash string 'Google Inc.:Glass Development Kit Preview:19'

半腔热情 提交于 2019-12-11 10:09:35
问题 Failed to sync Gradle Project ‚HelloGlass‘ Error: Cause: failed to find target with hash string 'Google Inc.: Glass Development Kit Preview:19' in D:\Project\Android-SDK Strangly, this error didn’t appear 3 days ago when I last built the project. I haven’t changed anything or used Android Studio since then. These are the steps that I’ve tried to solve the issue: restarted Android Studio and tried to build again made sure that both gradle and my project use the same path for the Android SDK

Facebook SDK feed own Timeline only, not on friend's News Feed

自闭症网瘾萝莉.ら 提交于 2019-12-11 10:08:25
问题 I have some problems understanding Facebooks API. I managed to send feeds (with a "link" and "picture") to my own Time Line, but I want them to appear on my friend's News Feed. Only without using "link" and "picture" it does appear on my friend's News Feed. I am using facebook-android-sdk and facebook-ios-sdk. Here the Android example: Bundle params = new Bundle(); params.putString("name", "Some name"); params.putString("caption", "Some caption"); params.putString("link", "http://www.some

android:screenOrientation=“sensorLandscape” showing error for a project with the minimum SDK as 2.2

≯℡__Kan透↙ 提交于 2019-12-11 10:06:50
问题 I'm trying to set android:screenOrientation="sensorLandscape" for one of my activities, to enable landscape left and landscape right. In my project properties, I've set the project build target to Android 2.2. In my manifest, the minimum SDK version is set to Android 2.2 as well (API level 8): The line in my manifest is: <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10"/> According to the docs, the "sensorLandscape" attribute should be available to me, but still, when I try

Check if Facebook post was successful from Android application

落花浮王杯 提交于 2019-12-11 09:35:43
问题 I'm using this code from the Facebook Android Sdk to post on wall. I would like to have some feedback to know if the post was successfull or not. How to check this ? Any method from RequestAsyncTask object ? Many thanks. public void postOnMyWall(Context mycontext) { context = mycontext; pref = context.getSharedPreferences("AppPref", Context.MODE_PRIVATE); String fbtoken = pref.getString("fbtoken", null); if(!fbtoken.equals("") && fbtoken != null) { Session session = Session.getActiveSession()

AWS PHP SDK Version 2 S3 filename encoding issue

[亡魂溺海] 提交于 2019-12-11 09:15:58
问题 We've been using the AWS SDK with pretty good results for uploading/grabbing files, but we ran into a snag. There is a file stored in S3 that looks like it was urlescaped. "/mefile/412501_413000/412604_-12%20C008%20Fil%20R[1].doc.gpg" So far the SDK has managed to handle every mangled filename we've thrown at it. But when I try a "doesObjectExist" I also get a failure for that file. $s3->doesObjectExist("mabucket","/mefile/412501_413000/412604_-12%20C008%20Fil%20R[1].doc.gpg") will always

After Updating ADT 23, SDK path miss from preference [duplicate]

狂风中的少年 提交于 2019-12-11 09:08:56
问题 This question already has answers here : Update Eclipse with Android development tools v. 23 (43 answers) Closed 5 years ago . After Updating the ADT 23 getting the error for annotation tried too much appreciated solutions but can't able to solved it. Then after new problem arise that the SDK path not Found in Preference when tried to set Path again There is no enable ok button. NOTE: Using ADT bunble eclipse "Not specific eclipse version JUNO or etc". Using Ubuntu OS 12.4 回答1: I got The

HAXM gone after latest SDK update

你。 提交于 2019-12-11 08:47:29
问题 Ouch. I was using HAXM with Android versoin 19 quite fine. Project team wanted to use Android 18. I fell back. Now, HAXM no longer shows in AVD manager to add an AVD nor in Android Targets for project settings. Well, I can point my SDK to an old (oct 2013 release of adt) sdk and haxm is there and works. So, I totally reinstalled the ADT (20140321 version). That STILL doesn't have HAXM. Re-installed HAXM, just in case. Anyone figure this out yet: how to get HAXM (x86 target) to show up with