I have created a wallet with the help of WalletAppKit on Android and did some transaction in it.
Now what I try to do is, restoring that wallet from mnemonic code (BIP39). It also returns the Wallet object but it doesn't contain the transactions.
Here is the link ref https://bitcoinj.github.io/working-with-the-wallet#seeds-and-mnemonic-codes which describe the working with mnemonic code and seeds.
It also says "now sync the restored wallet as described below" but I never found any way to sync it.
DeterministicSeed seed = wallet.getKeyChainSeed(); println("Seed words are: " + Joiner.on(" ").join(seed.getMnemonicCode())); println("Seed birthday is: " + seed.getCreationTimeSeconds()); String seedCode = "yard impulse luxury drive today throw farm pepper survey wreck glass federal"; long creationtime = 1409478661L; DeterministicSeed seed = new DeterministicSeed(seedCode, null, "", creationtime); Wallet restoredWallet = Wallet.fromSeed(params, seed); // now sync the restored wallet as described below.