I am developing a facebook-integrated application and i am experiencing a very weird issue.
I log in normally, but as i am about to log out the SDK forces a login again...
package com.machinarius.facebook;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
So i'm using Viewflow in my activity.
I have a DiffAdapter which defines my two views. I also have two layouts; comments and app.
My activity setContentView(viewflow_holder);
then i define my textview like this:
TextView txtAppName = (TextView) findViewById(R.id.txtAppName);
txtAppName.setText("String");
When i use setText i get an NullPointer exception.
i am creating a simple test app for login process but the error that i get that when i use the browser in the emulator and try the url that i used it give me web page not available
i used the localhost 127.0.0.2 but it give me the same msg and i used the ip of my pc the same msg anyone can help me ??
java code
package com.sencide;
import java.io.BufferedReader;
import java.io.IOException;
i
Hi all,
I am new to this community. Actually i am facing a problem regarding tomcat that when i run it, it is giving me following error
ERROR 18 Feb 2010 18:17:11,959 [main] [org.apache.tomcat.util.digester.Digester.startElement(1281)] Begin event threw error
java.lang.NoClassDefFoundError: org.apache.catalina.mbeans.ServerLifecycleListener
I have ocassional crash at my emulator, but for now never on tablet on which I am testing.
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:346)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:375)
at java.util.LinkedHashMap$EntryIterator.next(Link
Here is my WallePapeAuto.java code:
package com.demo.wallpaper;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
public class WallePapeAuto extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Intent intent = new Intent(WalleP
I developed an app to connect my android app to remote server and display data in listview
I did everything and i spend 2 weeks to do it but the data don't show up in the listview
these are the files i used to accomplish that, please help me because i must finish this app quickly
MediaActivity.java
package com.shadatv.shada;
import java.io.BufferedReader;
import java.io.InputStream;
import ja
I got exception in dialog while binding dynamic TextViews through BaseAdapter class
I can get the dialog box but it does not bind the TextView value hell..
I'm working on an app that has a login activity.
The view has an email field, a password field and a button.
I have created some listeners to catch the various posibilities, but on neither one of them the onClick and/or onTouch method is fired.
here is the code:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.i