login about faq

I have a problem when I try run a example from http://www.chilkatsoft.com/chilkatAndroid.asp. Apparently the error occurs on the System.loadLibrary("chilkatcrypt") instruction. I checked the ...libsarmeabi directory and I found only libchilkatcrypt.so file. Some idea??? Thanks mBarbiero

asked Jan 03 '13 at 14:00

mbarbiero's gravatar image

mbarbiero
1335


link

answered Jan 04 '13 at 05:35

mbarbiero's gravatar image

mbarbiero
1335

I solved the problem. Is very simple: Put the line code setContentView(R.layout.main); in example

Instead of:

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);

        CkCrypt2 crypt = new CkCrypt2();

        // Display the version of the CkCrypt2 class
        tv.setText(crypt.version());

        setContentView(tv);
    }

I use

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    TextView tv = new TextView(this);

    CkCrypt2 crypt = new CkCrypt2();
    // Display the version of the CkCrypt2 class
    tv.setText(crypt.version());

    setContentView(tv);
}
link

answered Jan 04 '13 at 11:56

mbarbiero's gravatar image

mbarbiero
1335

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45
×6
×2

Asked: Jan 03 '13 at 14:00

Seen: 1,548 times

Last updated: Jan 04 '13 at 11:56

powered by OSQA