needmoreprofit
Member
Offline
Activity: 83
Merit: 10
|
|
March 17, 2014, 09:59:27 AM |
|
Particle Advanced Wallet BETA 1Download Particle BETA 1 from Mega.co.nzIn addition, I have uploaded the source code for a very basic Sample Application. It is a VS2012 class library project. This sample app assembly is included in the Plugins folder of the BETA above. This way you can see it running, and then look at the source code to see how to create an app that will load into the UI. SampleAppThe sample app posts messages to the message bus. Those messages are picked up by the Monitor app as it listens for IStatusMessage and IErrorMessage on the CoreMessageBus. So you can type in a message, send it, it posts to the message bus, and moments later you can see it get received by and appear in the Monitor. Already download wallet... Looking very cool and work smooth. This is GREAT wallet! Exactly what I expected from you. Great work moonmoon!
|
PRT - PbmHw7wksumZhvf5EwznD26VedTQ3agEvU
|
|
|
qbd1313
|
|
March 17, 2014, 10:00:18 AM |
|
Particle Advanced Wallet BETA 1Download Particle BETA 1 from Mega.co.nzIn addition, I have uploaded the source code for a very basic Sample Application. It is a VS2012 class library project. This sample app assembly is included in the Plugins folder of the BETA above. This way you can see it running, and then look at the source code to see how to create an app that will load into the UI. SampleAppThe sample app posts messages to the message bus. Those messages are picked up by the Monitor app as it listens for IStatusMessage and IErrorMessage on the CoreMessageBus. So you can type in a message, send it, it posts to the message bus, and moments later you can see it get received by and appear in the Monitor. Hi Moon, Does it not support 32 bit OS?? Could you tune something so that it can be supported? You need to install .net 4.0 environmental 你需要安装.net 4.0 或者4.5 环境
|
|
|
|
lucienlu
|
|
March 17, 2014, 10:03:09 AM |
|
Particle Advanced Wallet BETA 1Download Particle BETA 1 from Mega.co.nzIn addition, I have uploaded the source code for a very basic Sample Application. It is a VS2012 class library project. This sample app assembly is included in the Plugins folder of the BETA above. This way you can see it running, and then look at the source code to see how to create an app that will load into the UI. SampleAppThe sample app posts messages to the message bus. Those messages are picked up by the Monitor app as it listens for IStatusMessage and IErrorMessage on the CoreMessageBus. So you can type in a message, send it, it posts to the message bus, and moments later you can see it get received by and appear in the Monitor. Hi Moon, Does it not support 32 bit OS?? Could you tune something so that it can be supported? You need to install .net 4.0 environmental 你需要安装.net 4.0 或者4.5 环境 thanks for you reminder!!!
|
|
|
|
needmoreprofit
Member
Offline
Activity: 83
Merit: 10
|
|
March 17, 2014, 10:03:23 AM |
|
Particle Advanced Wallet BETA 1Download Particle BETA 1 from Mega.co.nzIn addition, I have uploaded the source code for a very basic Sample Application. It is a VS2012 class library project. This sample app assembly is included in the Plugins folder of the BETA above. This way you can see it running, and then look at the source code to see how to create an app that will load into the UI. SampleAppThe sample app posts messages to the message bus. Those messages are picked up by the Monitor app as it listens for IStatusMessage and IErrorMessage on the CoreMessageBus. So you can type in a message, send it, it posts to the message bus, and moments later you can see it get received by and appear in the Monitor. Hi Moon, Does it not support 32 bit OS?? Could you tune something so that it can be supported? Wallet support 32bit OS , first you need config BitParticle.Wallet.exe.config file : <add key="rpcuser" value=" PUT you RPCUSER"/> <add key="rpcpassword" value=" PUT you RPCPASSWORD"/> You can set rpcuser and rpcpassword in particle.conf( must be in C:\Users\home\AppData\Roaming\Particle\)
|
PRT - PbmHw7wksumZhvf5EwznD26VedTQ3agEvU
|
|
|
moonmoon (OP)
|
|
March 17, 2014, 10:08:54 AM |
|
How to listen to the message bus: BitParticleContext.Instance.CoreMessageBus.MessageReceived += CoreMessageBus_MessageReceived;
And then: void CoreMessageBus_MessageReceived(object sender, Interface.IMessageBusEventArgs<Interface.CoreMessages.ICoreMessage> e) { if (e.Message is IGetInfoResponseMessage) { BitParticleContext.Instance.SynchronizationContext.Post(AddDifficulty, ((IGetInfoResponseMessage)e.Message).GetInfoResult.Difficulty); } }
You can see above that we are then posting to a SynchronizationContext. You need to do this if you are going to update your user interface, to ensure you are on the UI thread. In the above example it calls a method AddDifficulty that adds a value to the status chart. You can also use the alternate syntax: BitParticleContext.Instance.CoreMessageBus.MessageReceived += new EventHandler<IMessageBusEventArgs<ICoreMessage>>(CoreListener); BitParticleContext.Instance.AppMessageBus.MessageReceived += new EventHandler<IMessageBusEventArgs<IAppMessage>>(AppListener);
And e.g.: private void CoreListener(object sender, IMessageBusEventArgs<ICoreMessage> e) { AppendMessage(e.Message.ToString()); }
private void AppListener(object sender, IMessageBusEventArgs<IAppMessage> e) { AppendMessage(e.Message.ToString()); }
But as above, you can handle the MessageReceived event and then test the type of the Message to filter for the ones you are interested in.
|
particle://prt/send/Pjh1SXpcgaQ7bbbweXU1ioQUWcNtW4yZZx
|
|
|
vsmamm
|
|
March 17, 2014, 10:11:19 AM |
|
How to listen to the message bus: BitParticleContext.Instance.CoreMessageBus.MessageReceived += CoreMessageBus_MessageReceived;
And then: void CoreMessageBus_MessageReceived(object sender, Interface.IMessageBusEventArgs<Interface.CoreMessages.ICoreMessage> e) { if (e.Message is IGetInfoResponseMessage) { BitParticleContext.Instance.SynchronizationContext.Post(AddDifficulty, ((IGetInfoResponseMessage)e.Message).GetInfoResult.Difficulty); } }
You can see above that we are then posting to a SynchronizationContext. You need to do this if you are going to update your user interface, to ensure you are on the UI thread. In the above example it calls a method AddDifficulty that adds a value to the status chart. You can also use the alternate syntax: BitParticleContext.Instance.CoreMessageBus.MessageReceived += new EventHandler<IMessageBusEventArgs<ICoreMessage>>(CoreListener); BitParticleContext.Instance.AppMessageBus.MessageReceived += new EventHandler<IMessageBusEventArgs<IAppMessage>>(AppListener);
And e.g.: private void CoreListener(object sender, IMessageBusEventArgs<ICoreMessage> e) { AppendMessage(e.Message.ToString()); }
private void AppListener(object sender, IMessageBusEventArgs<IAppMessage> e) { AppendMessage(e.Message.ToString()); }
But as above, you can handle the MessageReceived event and then test the type of the Message to filter for the ones you are interested in. You'd better put these instructions in the first page
|
|
|
|
CarlosWing
Member
Offline
Activity: 98
Merit: 10
|
|
March 17, 2014, 10:25:25 AM |
|
......
|
|
|
|
moonmoon (OP)
|
|
March 17, 2014, 10:31:12 AM |
|
Carlos update your rpcuser and rpcpassword in BitParticle.Wallet.exe.conf to match what is in your particle.conf.
|
particle://prt/send/Pjh1SXpcgaQ7bbbweXU1ioQUWcNtW4yZZx
|
|
|
CarlosWing
Member
Offline
Activity: 98
Merit: 10
|
|
March 17, 2014, 10:33:00 AM |
|
Carlos update your rpcuser and rpcpassword in BitParticle.Wallet.exe.conf to match what is in your particle.conf.
..YEs...I was copy the wrong BitParticle.Wallet.exe.conf..
|
|
|
|
qbd1313
|
|
March 17, 2014, 10:37:02 AM |
|
Carlos update your rpcuser and rpcpassword in BitParticle.Wallet.exe.conf to match what is in your particle.conf.
..YEs...I was copy the wrong BitParticle.Wallet.exe.conf.. pls tell us how to use it thx
|
|
|
|
CarlosWing
Member
Offline
Activity: 98
Merit: 10
|
|
March 17, 2014, 10:37:27 AM |
|
Carlos update your rpcuser and rpcpassword in BitParticle.Wallet.exe.conf to match what is in your particle.conf.
It has some error It said : ParticleNewsFeed:The underlying connection was closed: An unexpected error occurred on a send What it means
|
|
|
|
needmoreprofit
Member
Offline
Activity: 83
Merit: 10
|
|
March 17, 2014, 10:46:20 AM |
|
Just copy this BitParticle.Wallet.exe.config to you new wallet folder (Particle Advanced Wallet BETA 1) and to Daemon folder (in new wallet folder) . And copy this particle.conf to you Particle roaming folder (my folder is - C:\Users\home\AppData\Roaming\Particle\)
|
PRT - PbmHw7wksumZhvf5EwznD26VedTQ3agEvU
|
|
|
qbd1313
|
|
March 17, 2014, 10:51:49 AM |
|
Just copy this BitParticle.Wallet.exe.config to you new wallet folder (Particle Advanced Wallet BETA 1) and to Daemon folder (in new wallet folder) . And copy this particle.conf to you Particle roaming folder (my folder is - C:\Users\home\AppData\Roaming\Particle\) +1, thx,needmoreprofit
|
|
|
|
waldwichtel
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 17, 2014, 10:53:17 AM |
|
I'm unable to start the wallet on any of my computers (Win7 64). Always stucks at "starting particled" according to the taskmanager particled got started and works, but wallet's still stucked at startup is there anything else than net.framework 4.5 i have to install?
|
|
|
|
needmoreprofit
Member
Offline
Activity: 83
Merit: 10
|
|
March 17, 2014, 10:56:09 AM |
|
I'm unable to start the wallet on any of my computers (Win7 64). Always stucks at "starting particled" according to the taskmanager particled got started and works, but wallet's still stucked at startup is there anything else than net.framework 4.5 i have to install? You have this problem because you config file and you particle.conf not convergent . Do like i write and you will don't stuck on "starting particled"
|
PRT - PbmHw7wksumZhvf5EwznD26VedTQ3agEvU
|
|
|
waldwichtel
Newbie
Offline
Activity: 25
Merit: 0
|
|
March 17, 2014, 11:05:08 AM |
|
You have this problem because you config file and you particle.conf not convergent . Do like i write and you will don't stuck on "starting particled"
Thought i did so, but got typo at rpcport. Now all's fine Thanks
|
|
|
|
BrienLai
Newbie
Offline
Activity: 12
Merit: 0
|
|
March 17, 2014, 11:18:28 AM |
|
finally, it is out.
|
|
|
|
needmoreprofit
Member
Offline
Activity: 83
Merit: 10
|
|
March 17, 2014, 11:27:15 AM |
|
Someone dumping price on bter ...
|
PRT - PbmHw7wksumZhvf5EwznD26VedTQ3agEvU
|
|
|
qbd1313
|
|
March 17, 2014, 12:03:28 PM |
|
Someone dumping price on bter ...
No problem,take it esay,my friend
|
|
|
|
qbd1313
|
|
March 17, 2014, 12:18:28 PM |
|
The Particle Foundation Discussion Process Propose an idea ---> Vote this idea ---> Free or how much funding ---> Who and How do it ---> Doing it ---> DONEwhat do you think about it? it is ok?
|
|
|
|
|