EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Trouble with MsgConnect and Android

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#19964
Posted: 04/27/2012 07:18:18
by Nicolas Ciezki (Standard support level)
Joined: 04/26/2012
Posts: 13

OK, thanks.

I'll try to use MsgConnect with delphi while waitng for, but I really need to use it with Android.
#19965
Posted: 04/27/2012 07:42:05
by Eugene Mayevski (EldoS Corp.)

There exists at least one solution - add source code of MsgConnect directly to your application (without JAR). Nevermind I have to check the sample to see what could be wrong.


Sincerely yours
Eugene Mayevski
#19968
Posted: 04/27/2012 11:14:28
by Eugene Mayevski (EldoS Corp.)

I have successfully compiled and run the sample by taking the following steps:

1. Create new workspace.
2. Open .classpath file and update MsgConnect entry there as follows:

Quote

<classpathentry exported="true" kind="lib" path="../../Core/MsgConnect.jar"/>


I used the absolute path in my test but the above path should work as well.

3. Use Import... command to import SendNote project into workspace.

4. The compiler *can* complain that run() method must override the descendant. The strangest thing is that @Override directive is present, and to fix the problem you need to *comment* that Override directive. Another strange thing is that the original code worked in original project and workspace, so the glitch is specific to some settings.

Once the changes above are made, the project is run under the emulator successfully.


Sincerely yours
Eugene Mayevski
#19973
Posted: 04/30/2012 02:47:17
by Nicolas Ciezki (Standard support level)
Joined: 04/26/2012
Posts: 13

Hello !

I just tried it and it works perfectly ! Thanks a lot for your support !

Now I'll checkout the source to understand how it works. I'll come back if I need.

By the way, about the run() method error : Eclipse is defaulting to Java 1.5 and you have classes implementing interface methods (which in Java 1.6 can be annotated with @Override, but in Java 1.5 can only be applied to methods overriding a superclass method). Go to your project/ide preferences and set the java compliance level to 1.6. That's why the compiler *can* complain, it depends on the java compliance level ;-)

Reply

Statistics

Topic viewed 9457 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!