Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid twitter connection/authentication intent bad formed?
    primarykey
    data
    text
    <p>I've been trying to connect to twitter through android for a while. I'm currently using this api: <a href="http://kenai.com/projects/twitterapime/forums/forum/topics/13327-Twitter-API-ME-1-8-Now-with-OAuth-support" rel="nofollow">http://kenai.com/projects/twitterapime/forums/forum/topics/13327-Twitter-API-ME-1-8-Now-with-OAuth-support</a></p> <p>I used their exemple with my keys and everything connects without problem. So no problem with configuration. But in my project which has exactly the same code I can't make it work.</p> <p>I believe its related with the creation of a new Intent (also this is where the eclipse is point the error)</p> <p>Im trying to use a custom layout but I don't know what do I need to change to make this specific Twitter layout to work. On main activity I have a button with this:</p> <pre><code>public void onClick(View v) { startActivity(new Intent(this,Twitter.class)); } </code></pre> <p>on twitter class</p> <pre><code>public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //this.webView = (WebView) findViewById(R.id.webView1); WebView myWebView = new WebView(this); setContentView(myWebView); authenticate(); } private void authenticate() { WebViewOAuthDialogWrapper page = new WebViewOAuthDialogWrapper(webView); page.setConsumerKey(CONSUMER_KEY); page.setConsumerSecret(CONSUMER_SECRET); page.setCallbackUrl(CALLBACK_URL); page.setOAuthListener(this); page.login(); } </code></pre> <p>what requirements/adjustments are needed to make/change to the Twitter activity?</p> <p>I believe I need to change something in the intent-filter but I don't even understand the work of intents. I've been only making easy layouts.</p> <p>Note that I also gave internet permissions already.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload