Posting LinkedIn message from Android application

did you even try google it ? from http://developer.linkedin.com/docs/DOC-1255 we got http://code.google.com/p/linkedin-j/ EDIT: here is my sample project http://esilo.pl/LITest.zip EDIT2: minimal sample, with tokens stored in SharedPreferences (so you don’t need to do authorization every time(i’ll update LITest.zip)) EDIT3: AsyncTask code added … to avoid NetworkOnMainThreadException 🙂 AndroidManifest.xml: <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”pl.selvin.android.LinkedInTest” android:versionCode=”1″ … Read more

Twitter integration:consumer key/secret pair already set

Looking at both the code and documentation, it looks like your method of instantiating a Twitter instance is not recommended. If you want to supply configuration programmatically (and not use properties), it looks like you need to supply a Configuration to the TwitterFactory. … ConfigurationBuilder builder = new ConfigurationBuilder(); builder.setOAuthConsumerKey(CONSUMER_KEY); builder.setOAuthConsumerSecret(CONSUMER_SECRET); Configuration configuration = builder.build(); … Read more

Load block outside Magento, and apply current template

Took me a couple minutes of debugging, but it seems relatively easy. <?php /* * Initialize magento. */ require_once ‘app/Mage.php’; Mage::init(); /* * Add specific layout handles to our layout and then load them. */ $layout = Mage::app()->getLayout(); $layout->getUpdate() ->addHandle(‘default’) ->addHandle(‘some_other_handle’) ->load(); /* * Generate blocks, but XML from previously loaded layout handles must be … Read more

How do I use Browserify with external dependencies?

You can achieve that by using browserify-shim. Assuming that you’ve got a module named mymodule.js that depends on jQuery in the global scope with the following contents: var $ = require(‘jQuery’); console.log(typeof $); Install browserify-shim: npm install browserify-shim –save-dev In package.json file, tell browserify to use browserify-shim as a transform: { “browserify”: { “transform”: [ … Read more

How to integrate Samsung Gear Steps in android Application?

For connection and data transfer between mobile android device and Samsung Gear device , Accessory Protocol is defined. So, the option available here is using Accessory SDK for Android mobile and Tizen wearable. Tizen provides HumanActivityMonitor for 3rd party developers to retrieve Pedometer step count data. I have developed a sample app in Tizen platform … Read more