Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: raad287 on November 18, 2012, 12:25:24 PM



Title: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on November 18, 2012, 12:25:24 PM
The Unofficial LTC-GLOBAL App is an Open Source Android utility used to pull market and fund information from Litecoin Global.
This thread will mirror the update thread posted on the Litecoin Forums.

The current version is v0.7.2
-All security information is accessible.
-Trade History and Ticker Browse functions utilize the API, all other functions are parsed;
 will evolve as LTC-GLOBAL does.

In Works
- AutoUpdate
- Extended Graphing Features
- Widget / Alerts
- Login / Google Authenticator
- Trading

The app contains no ads at the moment, however unobtrusive coin-centric ads may be added in the future, to promote
services and time spent developing the app. Any ads included will be announced before hand, and the option to disable
them will be available in the settings. There will be no paid versions.
 
Any comments, complaints or suggestions are welcome.  

Google Play
https://play.google.com/store/apps/details?id=com.raad287.ltcglobal

Github
https://github.com/raad287/The-Unofficial-LTC-GLOBAL-App

Litecoin Forums
http://forum.litecoin.net/index.php/topic,743.0.html

https://i.imgur.com/fVjFG.png https://i.imgur.com/FNFon.png


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: Liquid on November 18, 2012, 12:29:22 PM
Installed thanks  :D


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: Remember remember the 5th of November on November 18, 2012, 12:31:07 PM
How much RAM does it consume? My Android application uses over 10 megabytes of memory FOR NOTHING!


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on November 18, 2012, 12:35:30 PM
How much RAM does it consume? My Android application uses over 10 megabytes of memory FOR NOTHING!

The apk itself is about 250kb. As far as memory usage in app, I'll have to measure it, it shouldn't be storing anymore then what's displayed at one time.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: Remember remember the 5th of November on November 18, 2012, 01:23:25 PM
Well for instance, your buttons are always displayed, right? My application has a bunch of buttons and fields,text views that are always displayed and..it caused my app to use more than 10 megabytes of memory, even going as high as 12.
I honestly can't explain it...


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on November 18, 2012, 09:37:58 PM
Well for instance, your buttons are always displayed, right? My application has a bunch of buttons and fields,text views that are always displayed and..it caused my app to use more than 10 megabytes of memory, even going as high as 12.
I honestly can't explain it...
Are you adding views dynamically? It could just be continually adding views everytime the screen is drawn, when you see a button, and the screen was redrawn 10 times, there's actually 10 buttons there lol. Screen orientation changes also call onCreate again, which could be causing the redraws.

TableLayout tl_data = (TableLayout) findViewById(R.id.main_tableLayout_data);
      tl_data.removeAllViews();

removeAllViews clears out all the children, obviously it doesn't have to be a table layout lol.

You can force a specific orientation mode in the manifest, you can also do it dynamically. To write it into the manifest, add it to the activity tag.
 <activity
            android:name=".MainActivity"
            android:screenOrientation="portrait"


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: HotSwap on November 18, 2012, 09:51:54 PM
Looks awesome! to bad i have iPhone :(


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: Remember remember the 5th of November on November 19, 2012, 12:14:00 AM
Well for instance, your buttons are always displayed, right? My application has a bunch of buttons and fields,text views that are always displayed and..it caused my app to use more than 10 megabytes of memory, even going as high as 12.
I honestly can't explain it...
Are you adding views dynamically? It could just be continually adding views everytime the screen is drawn, when you see a button, and the screen was redrawn 10 times, there's actually 10 buttons there lol. Screen orientation changes also call onCreate again, which could be causing the redraws.

TableLayout tl_data = (TableLayout) findViewById(R.id.main_tableLayout_data);
      tl_data.removeAllViews();

removeAllViews clears out all the children, obviously it doesn't have to be a table layout lol.

You can force a specific orientation mode in the manifest, you can also do it dynamically. To write it into the manifest, add it to the activity tag.
 <activity
            android:name=".MainActivity"
            android:screenOrientation="portrait"
Everything is setup on startup. No dynamic creation(not sure if that was even possible). I have disabled screen orientation.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on November 19, 2012, 12:19:27 AM
Quote
Everything is setup on startup. No dynamic creation(not sure if that was even possible). I have disabled screen orientation.
Imageviews? I would watch the resolution of the whatever your filling an imageview with, it will scale it down, but there is no reason to have a 1080p icon that's gonna scale down to a max of 100x100 either.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on November 19, 2012, 12:48:31 AM
Also to clarify, this is a problem your having with an app your trying to write?

Just to make sure your not talking about a current bug in this app lol.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on December 08, 2012, 05:36:51 AM
v0.8 released on Google Play
- Added Orderbook (API)
- Added Settings page
      -Added graph options for Orderbook
- Added External button


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on December 08, 2012, 12:47:05 PM
v0.8.1 released on Google Play
- Basic error checking on settings page
- Code overhaul


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on December 09, 2012, 01:25:44 AM
v0.8.2 released
- Bugfix, orderbook off by one error


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on December 10, 2012, 06:51:57 AM
v0.8.3 released
- Bugfix: incorrect/incomplete order sorting, first and last orders were cut off.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: burnside on December 10, 2012, 07:18:06 AM
How hard would it be to clone it for "The Unofficial BTC-TC App"?  ;)

The API is an exact clone.

Cheers.



Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on December 10, 2012, 07:32:09 AM
How hard would it be to clone it for "The Unofficial BTC-TC App"?  ;)


The API is an exact clone.

Cheers.



If the api is exactly the same, about 15 minutes lol. Not everything is running off the api at the moment, but from what I can see it'll parse the same too.

The real question at this point is, should a separate BTC-TC App be created; with virtually duplicate code, or roll the functionality into this one?


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: burnside on December 11, 2012, 09:28:14 AM
How hard would it be to clone it for "The Unofficial BTC-TC App"?  ;)


The API is an exact clone.

Cheers.



If the api is exactly the same, about 15 minutes lol. Not everything is running off the api at the moment, but from what I can see it'll parse the same too.

The real question at this point is, should a separate BTC-TC App be created; with virtually duplicate code, or roll the functionality into this one?

I'd make a new one.  Better exposure I think in the app market.

I'll get to crackin' on the API for making trades soon.  Having a hard time sorting it all out in my head, how to deal with 2FA, etc...

Cheers.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on June 02, 2013, 07:36:42 PM
Version 0.8.4 released
-Dividends queries now work correctly
-Dividends now pull data via the API instead of parsing


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: burnside on June 03, 2013, 08:04:07 AM
Version 0.8.4 released
-Dividends queries now work correctly
-Dividends now pull data via the API instead of parsing

Very nice.  Love it!


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on June 05, 2013, 03:23:38 PM
v0.9 Released
-Fixed Contract and Prospectus, everything now displays correctly, and is pulling data via the API
-All functions now pull data directly from the API with the exception of Notifications and Motions, as there is no API for that information.

As of version 0.9 I have decided to AdMob ads in the free version, due to the amount of time this project takes. The ad is a banner ad only, and only on the main page, there will be no obtrusive push-ads or notification ads of any sort. There is also a paid version published if you would like to support development directly, and there will be no ads of any kind.

The project is still completely open source, and both versions run off of the same development tree. You could easily compile the app yourself, and remove the banner ad, but the idea is to support development on this project.

As of this update, all features on the app should be working correctly.

The next features lined up to implement are
-Dividend Graphing
-Graphing Customization options, color, size, etc
-Font Size Customization options
-Ability to view your portfolio via your API key
-Ability to trade using OAuth

There will also be a duplicate app published very shortly for https://btct.co/ the Bitcoin version of LTC-GLOBAL, they run off of the same API, and should require very little modification.


Title: Re: [LTC-GLOBAL] (Android) The Unoffical LTC-GLOBAL App
Post by: raad287 on July 19, 2013, 02:39:11 AM
v0.9.5 Released (paid/free)

-Added full portfolio (Personal, Trades, Dividends, Deposits, Withdrawals), your API key can be entered in the settings page.
-Bugfix: Motions and Notifications fixed, problem caused due to server side format changes.
-Bugfix: Security names now display correctly in the graph, they were cut off in the past.
-Code cleanup / Organization

LTC-GLOBAL and BTC-TC apps now save their settings using different key names, however each app's settings are saved in individual directories. Sharing of settings between apps should not have occurred in the first place.