raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
November 18, 2012, 12:25:24 PM Last edit: November 18, 2012, 01:02:47 PM by raad287 |
|
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.ltcglobalGithub https://github.com/raad287/The-Unofficial-LTC-GLOBAL-AppLitecoin Forums http://forum.litecoin.net/index.php/topic,743.0.htmlhttps://i.imgur.com/fVjFG.png https://i.imgur.com/FNFon.png
|
|
|
|
Liquid
|
|
November 18, 2012, 12:29:22 PM |
|
Installed thanks
|
Bitcoin will show the world what hard money really is.
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
November 18, 2012, 12:31:07 PM |
|
How much RAM does it consume? My Android application uses over 10 megabytes of memory FOR NOTHING!
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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.
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
November 18, 2012, 01:23:25 PM Last edit: November 18, 2012, 01:47:10 PM by Remember remember the 5th of November |
|
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...
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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"
|
|
|
|
HotSwap
|
|
November 18, 2012, 09:51:54 PM |
|
Looks awesome! to bad i have iPhone
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
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.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
November 19, 2012, 12:19:27 AM |
|
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.
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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.
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
December 08, 2012, 12:47:05 PM |
|
v0.8.1 released on Google Play - Basic error checking on settings page - Code overhaul
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
December 09, 2012, 01:25:44 AM |
|
v0.8.2 released - Bugfix, orderbook off by one error
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
December 10, 2012, 06:51:57 AM |
|
v0.8.3 released - Bugfix: incorrect/incomplete order sorting, first and last orders were cut off.
|
|
|
|
burnside
Legendary
Offline
Activity: 1106
Merit: 1006
Lead Blockchain Developer
|
|
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.
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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?
|
|
|
|
burnside
Legendary
Offline
Activity: 1106
Merit: 1006
Lead Blockchain Developer
|
|
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.
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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
|
|
|
|
burnside
Legendary
Offline
Activity: 1106
Merit: 1006
Lead Blockchain Developer
|
|
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!
|
|
|
|
raad287 (OP)
Newbie
Offline
Activity: 25
Merit: 0
|
|
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.
|
|
|
|
|