English 中文(简体)
Blackberry: Sybase(SUP):Login ToSync:登记册反馈
原标题:Blackberry: Sybase(SUP): LoginToSync: register callback

我对黑莓和西底都说了新话,我必须承认,我确实不赞成这两个方面缺乏信息。

试图写一个小块,使我能够与我的血库连接和记录。

I m currently blocked by this line

SUP101DB.loginToSync("supAdmin", "s3pAdmin");

我知道我是否继承我的标识?

the IOS version of the SUP registers a eventlistener and a callback

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onLoginSuccess:) name:ON_LOGIN_SUCCESS object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onLoginFailure:) name:ON_LOGIN_FAILURE object:nil];

how can I do the same with Blackberry ?

最佳回答

loginToSync() tries offlineLogin first. If offlineLogin fails, it will try onlineLogin. This is the recommended login method. I am not pretty sure about the exception type, you get if it fails. But i guess it throws the ULjException exception from synchronize() method, which is present in SUP MBO generated code.

问题回答

暂无回答




相关问题
Access Database Pass Through Query?

I have linked Sybase database table with Access 2003. I only have read access to the Sybase database and created a pass-through query in access. Now what I need is, I need to create a temp table in ...

Can I trace database s records by SQL query from log file?

I need to trace changes on a record in database. I have some triggers on different tables that calls one stored procedure and this sp updates records in certain table (table1). I will trace records ...

How *does* Powerbuilder POST work?

Unfortunately searching for Sybase Post doesn t get me the answers I m looking for. I want to know what the actual function is of POST As in .. procedure lala POST procedure1() procedure2() I m ...

Full table scan occured even when index exists?

We have a sql query as follows select * from Table where date < 20091010 However when we look at the query plan, we see The type of query is SELECT. FROM TABLE Worktable1. ...

Sybase Development IDE

Is there a Toad type application for Sybase? I can t seem to find a single one! I ve tried using VS 2008 but can t see the sproc source.

热门标签