Port 65 lines of Javascript code to Android

Port 65 lines of Javascript code to Android

Write a component for Android that implements an advert system as follows:

1. Component downloads data in JSON format from URL

2. This data is stored locally

3. Ads are rotated randomly

4. If a user clicks on a Advert, then advert text is displayed

5. Click data is sent back to server.

This can be implemented in 65 lines of Javascript (attached). I need this ported to Android.

Important features:

1. This is designed to be a component of another project, so the code should be packaged so

it can be "dropped in" to existing code, ideally as one class or package, with no dependencies.

Only the following properties should be public

- PublisherId : A numeric identifier of the publisher *

- ElementId: The visual element used to display adverts on the app *

- RotationInterval : Time between ads being displayed, default to 10 seconds

- AdvertRenderer: A delegate accepting a string that can be overridden by the developer to change how advert text is displayed

Only Properties marked (*) are mandatory

2. The system is designed to work offline - with no internet connection; this means

- If the download of JSON data fails, then the most recent cached data should be used.

- If the click data cannot be sent back to the server, then it should be stored locally, until the device is online, then reported.

3. A readme file should be provided allowing a non-expert developer include this component in their android project.

Beceriler: Android, Java, Javascript, Mobile App Development

Daha fazlasını gör: write javascript code online, online format javascript, javascript download, download for android, download developer android, developer android online, code offline, code developer android, code code internet, change default app android, cached data android, android string, android javascript developer, android file system, android developer download, android app developer online, android-9, android 4.4, android 4.2.2, write javascript online, online json format, javascript on android, javascript data format, c++ to android, android json

İşveren Hakkında:
( 43 değerlendirme ) derry, United Kingdom

Proje NO: #6509423



I recently worked on my project which downloaded the json data from the server parses to show a list of books. So I think I can do it. Pay me only if I complete the task. Also I am familiar using Git and GitHub. So Daha Fazla

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(0 Değerlendirme)

Hello I can port your javascript into android class fast with good quality of source code. Unfortunately. not all that you can make easy in javascript you can do in android. Just contact to me here or by skype: s Daha Fazla

%selectedBids___i_period_sub_7% gün içinde 111%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(6 Değerlendirme)

Bu iş için 8 freelancer ortalamada $76 teklif veriyor


A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde88%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(46 Değerlendirme)

Hi there, Glad to know you. I have good experience in android development. Please refer my previous developments in android [login to view URL] [login to view URL] Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(26 Değerlendirme)

Hello Sir i am professional android developer and i can do you work . i have a question can you answer it ?

in %bids___i_period_sub_35% gün içinde90%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)

Hello, I am a UK-based Android professional and I can help you with this project. I've been an Android developer since 2011, originally creating an app for an upcoming UK telecoms company. Since then, I've gone on t Daha Fazla

in %bids___i_period_sub_35% gün içinde121%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)

Hi I read your description carefully. I can decompile any apk. And I have android experience for 3 years. If you give me chance, i will do the best. Thank you.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde45%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)