Dukascopy
 
 
Wiki JStore Search Login

Android version of greed-common
 Post subject: Android version of greed-common Post rating: 0   New post Posted: Wed 07 Mar, 2012, 11:49 

User rating: 0
Joined: Thu 01 Mar, 2012, 10:34
Posts: 14
Location: RomaniaRomania
Hi,

I would like to have a migration of DCClientImpl and AuthorizationClient classes located in greed-common<versionnumber>.jar to Android platform.

I do believe this classes can't load the version number from the jar signature in Android, because all jars are "repacked" into dex, than a single .apk file.
The logging system can be replaced with : slf4j-android, and if the Eclipse got more than 512m max memory, than it will be able to make the .apk file.

jars needed to make a login with desktop(standalone) -as I saw:
dds2-common
greed-common
JForex-API
transport-client
mina-core
mina-filter-ssh
ta-lib
slf4j-api
slf4j-log4j12
log4j

With this libs can be done a login and receive an instrument price: bid, ask, 1h chart bars data and so on, account info.

If I migrate to the android, the java.awt package is missing, so the java.awt.BufferedImage can't be used for captcha, also the getClass().getPackage().getImplementationVersion() is lost too, because is repacking the system into 1 jar ( apk file)

In the desktop version the Authcleint made a connection with:
com.dukascopy.api.impl.connect.AuthorizationClient - >>
[https://www1.dukascopy.com/authorization/demo/auth?typus=0&munus=stngs&appello=DEMO10037QrNAeEU&licentio=293434d8709872ba94fc996e2e470a2f445c5be9ceccc0f8298719690dd37f14&sermo=4a28a8fd-5dec-4a8a-8762-0506d19e887f&stngs=1]

and the Android:
[https://www1.dukascopy.com/authorization/demo/auth?typus=0&munus=api&appello=DEMO10037QrNAeEU&specialis=200AE52B67A53C9B50663EBD6B58639E6795B137&versio=0.0&sermo=395f497a-8569-4772-a22a-e81e42920566&willPing=true]

munus=stngs vs api
licentio present vs none
stngs present vs none

specialis none vs present
willPing none vs present
versio none vs present


 
 Post subject: Re: Android version of greed-common Post rating: 0   New post Posted: Mon 16 Sep, 2013, 04:24 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I would strongly support this request.

I need the ability to write a client on Android which could take advantage
of the authentication of the client app, and act as a Plug-In.

For example, I'd like access to IEngine.broadcast with the ability to
send and receive broadcast messages.

This need not be a full emulation of an IStrategy, but enough to allow
a custom coding plugin which ideally could perform client trading
operations on Android.

What are your plans in this area? As Android devices become more and
more powerful, a full implementation of the API would seem to be the
right direction. They will eventually displace Windows type systems,
etc.

API support please comment.

HyperScalper


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com