NATION

PASSWORD

Android App: NSDroid

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Android App: NSDroid

Postby Laevendell » Thu Jan 31, 2013 4:59 pm

This is the information page for the NationStates Android app NSDroid, here in these forums.
My aim with this app is to make NationStates more accessible and easier to use on an Android device.
If you have any suggestions for improvements or new features, please let me know in this thread.

Link: https://play.google.com/store/apps/details?id=com.limewoodmedia.nsdroid

Currently supported functions include:
* An overview of recent events in your nation and region, as well as the last RMB message
* General information on your nation and other nations, including charts for People, Government and Economy
* See and answer issues for your nation (previous issue choices done in the app are marked)
* General information on your region and other regions, including World Factbook Entry
* Read and post to your Regional Message Board
* Information from the World Assembly and the possibility to vote on proposals
* Regional officers listed
* Embassies for each region, including invitations, requests etc.
* Move between regions
* Intra-app links for nations, regions and RMB's
* Automatic updating of your region's RMB with a message for when there are new messages (recommended setting (if on) of at least 30 minutes)
* Automatic checking of issues
* Access your dossier to keep track of other nations and regions
* Keep track of your puppets with a nations list
* Read news from nationstates.net
* Search the world for nations and regions and see the featured region of the day

Interface languages:
* English
* Spanish

MIT-license, code available at https://code.google.com/p/nsdroid/.

Some screenshots:
ImageImage
ImageImage
ImageImage


List of planned features:
* Nation census values
* Viewing and creating factbooks/dispatches
* Changing your nation settings
* Creating a new nation

Telegrams are currently prohibited according to the scripting rules, though I'm checking with the admins if it could be OK for this app.
Last edited by Laevendell on Wed Mar 16, 2016 8:48 am, edited 18 times in total.

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Thu Jan 31, 2013 5:06 pm

Wow, when it rains, it pours! :clap:

Nice work.

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Thu Jan 31, 2013 5:07 pm

[violet] wrote:Wow, when it rains, it pours! :clap:

Nice work.


Thank you very much! :)

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Thu Jan 31, 2013 5:22 pm

On first sight, it seems to have a very streamlined design.

I don't know what streamlined means, though, but this app has it.

User avatar
Ruridova
Post Marshal
 
Posts: 15860
Founded: Jun 20, 2011
Ex-Nation

Postby Ruridova » Thu Jan 31, 2013 6:01 pm

Might I ask if an Apple app is in the works?
Республіка Рюрідова - Королівство Вілкія
"For I was hungry and you gave me something to eat; I was thirsty and you gave me something to drink; I was a stranger and you invited me in; I needed clothes and you clothed me; I was sick and you looked after me; I was in prison and you came to visit me... Truly, whatever you did for one of the least of my brothers and sisters, you did for me."
- the Gospel of Matthew, 25:35-40

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Thu Jan 31, 2013 6:15 pm

Ruridova wrote:Might I ask if an Apple app is in the works?

Sure you might!
It isn't though, I develop for Android, the web, general Java, Python and probably for the upcoming Firefox, Ubuntu and Sailfish mobile OS's, but not for Apple, sorry.

User avatar
Ruridova
Post Marshal
 
Posts: 15860
Founded: Jun 20, 2011
Ex-Nation

Postby Ruridova » Thu Jan 31, 2013 6:16 pm

Laevendell wrote:
Ruridova wrote:Might I ask if an Apple app is in the works?

Sure you might!
It isn't though, I develop for Android, the web, general Java, Python and probably for the upcoming Firefox, Ubuntu and Sailfish mobile OS's, but not for Apple, sorry.

Darn.
Республіка Рюрідова - Королівство Вілкія
"For I was hungry and you gave me something to eat; I was thirsty and you gave me something to drink; I was a stranger and you invited me in; I needed clothes and you clothed me; I was sick and you looked after me; I was in prison and you came to visit me... Truly, whatever you did for one of the least of my brothers and sisters, you did for me."
- the Gospel of Matthew, 25:35-40

User avatar
Scoochi2
Envoy
 
Posts: 207
Founded: Antiquity
Ex-Nation

Postby Scoochi2 » Fri Feb 01, 2013 5:31 am

Ruridova wrote:
Laevendell wrote:Sure you might!
It isn't though, I develop for Android, the web, general Java, Python and probably for the upcoming Firefox, Ubuntu and Sailfish mobile OS's, but not for Apple, sorry.

Darn.

That's not to say nobody else is though, it's just that nobody has announced it.
The problem in developing iOS apps is the cost.
I looked into it a while ago. For me personally, IIRC there are three price barriers. Not sure how accurate my memory is though:
  1. You can only develop on a mac (£1000?)
  2. You need an iPhone/pad/pod to test properly (£400?)
  3. You need a licence from Apple to develop/publish apples (£100?)
If people want to club together and donate £1500 then I might think about it :lol2:
Or maybe there are existing iOS developers that don't have as many (if any) expenses and wish to create the app.
The problem with a UDP joke is that you have no idea if people got it.

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Fri Feb 01, 2013 6:38 am

Indeed, if you've submitted yourself to learning the Objective C language Apple require, you still have lots of costs (if you're not an Apple user, at least) and submitting apps to Apple's app store is not as easy as to Google Play.

I've found some style bugs for Gingerbread (which uses a different theme than later versions) and I'm fixing them now.
Please let me know in this thread if you find any bugs (and send crash reports via Google Play if you find crashes).

User avatar
Everbeek
Chargé d'Affaires
 
Posts: 452
Founded: Jun 12, 2012
Ex-Nation

Postby Everbeek » Fri Feb 01, 2013 7:20 am

Scoochi2 wrote:
Ruridova wrote:Darn.

That's not to say nobody else is though, it's just that nobody has announced it.
The problem in developing iOS apps is the cost.
I looked into it a while ago. For me personally, IIRC there are three price barriers. Not sure how accurate my memory is though:
  1. You can only develop on a mac (£1000?)
  2. You need an iPhone/pad/pod to test properly (£400?)
  3. You need a licence from Apple to develop/publish apples (£100?)
If people want to club together and donate £1500 then I might think about it :lol2:
Or maybe there are existing iOS developers that don't have as many (if any) expenses and wish to create the app.

That third cost is a yearly cost, too, not a one-off thing.
The Awesomeness Formerly Known As Campinia
Cromarty wrote:Antifa, the Internationale and the Red Fleet are encased in the largest glass house in existence, and they're not throwing stones, they're firing boulders from catapults.

Big Jim P wrote:
Everbeek wrote:I never say "for god's sake", I always say "for fuck's sake", for the rest I don't care much


Fucking created most of us, so fucking IS god.

User avatar
San Leggera
Postmaster-General
 
Posts: 13414
Founded: Dec 15, 2011
Ex-Nation

Postby San Leggera » Fri Feb 01, 2013 8:37 am

I noticed the WA badge in your app screenshot says 'WORLD ASSEMBLY' rather than 'WA MEMBER'. Does the same go for the delegate badge?
#JusticeForGat
Flag | CoA | Map (bigger!)
I Just Want to Sell Out My Funeral

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Fri Feb 01, 2013 9:31 am

San Leggera wrote:I noticed the WA badge in your app screenshot says 'WORLD ASSEMBLY' rather than 'WA MEMBER'. Does the same go for the delegate badge?

You've got an eye for details! ;)
It was actually a miss on my part, forgetting about WA Delegates, it's fixed in the latest version I'm about to upload (1.0.3), along with the Gingerbread display issues and some other minor visual oddities. In this version it says "WA Member" / "WA Delegate" or there is no badge (for non-members).

Edit: New version uploaded, should appear soon.
Last edited by Laevendell on Fri Feb 01, 2013 9:54 am, edited 1 time in total.

User avatar
Menassa
Post Czar
 
Posts: 33851
Founded: Aug 11, 2010
Ex-Nation

Postby Menassa » Fri Feb 01, 2013 9:34 am

How does this relate and flow with the only important part of NS the forums?
Remember what Amalek did to you on your journey --- Do not Forget!
Their hollow inheritance.
This is my god and I shall exalt him
Jewish Discussion Thread בְּ
"A missionary uses the Bible like a drunk uses a lamppost, not so much for illumination, but for support"
"Imagine of a bunch of Zulu tribesmen told Congress how to read the Constitution, that's how it feels to a Jew when you tell us how to read our bible"
"God said: you must teach, as I taught, without a fee."
"Against your will you are formed, against your will you are born, against your will you live, against your will you die, and against your will you are destined to give a judgement and accounting before the king, king of all kings..."

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Fri Feb 01, 2013 9:50 am

Menassa wrote:How does this relate and flow with the only important part of NS the forums?

No forum support currently and none planned for the foreseeable future, as I'm not sure how to do that.
There is Tapatalk if you want to access the forums on your mobile device outside of the browser. There doesn't appear to be any open source alternatives.
Or did you have something else in mind regarding forum integration?

User avatar
Esternial
Retired Moderator
 
Posts: 54391
Founded: May 09, 2009
Inoffensive Centrist Democracy

Postby Esternial » Fri Feb 01, 2013 11:07 am

Laevendell wrote:
Menassa wrote:How does this relate and flow with the only important part of NS the forums?

No forum support currently and none planned for the foreseeable future, as I'm not sure how to do that.
There is Tapatalk if you want to access the forums on your mobile device outside of the browser. There doesn't appear to be any open source alternatives.
Or did you have something else in mind regarding forum integration?

You could check out another app and 'borrow' some of their coding.

Or would that be illegal.

Maybe not if they don't find out :p

User avatar
The Blaatschapen
Technical Moderator
 
Posts: 63226
Founded: Antiquity
Anarchy

Postby The Blaatschapen » Fri Feb 01, 2013 1:59 pm

Scoochi2 wrote:
Ruridova wrote:Darn.

That's not to say nobody else is though, it's just that nobody has announced it.
The problem in developing iOS apps is the cost.
I looked into it a while ago. For me personally, IIRC there are three price barriers. Not sure how accurate my memory is though:
  1. You can only develop on a mac (£1000?)
  2. You need an iPhone/pad/pod to test properly (£400?)
  3. You need a licence from Apple to develop/publish apples (£100?)
If people want to club together and donate £1500 then I might think about it :lol2:
Or maybe there are existing iOS developers that don't have as many (if any) expenses and wish to create the app.


I have access to a mac at work. I don't know about the license and if I can work under it while not being officially 'working' (unless you want the code both proprietary and me charging for it). So that leaves an iphone/pad thingy to buy to test on.

400-500 euros(pending if I need a license). And you have to find a way for me to get motivated to actually work on a mac :p
The Blaatschapen should resign

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Fri Feb 01, 2013 3:57 pm

Esternial wrote:You could check out another app and 'borrow' some of their coding.

Or would that be illegal.

Maybe not if they don't find out :p

I think it would still be illegal, even if they didn't find out. ;)
If the code is proprietary, of course. The Tapatalk app costs just $3 and it seems to be good (I haven't used it myself), so unless someone wants to create a true Open Source project for forum access in an app, I'd say that is your best bet.

I'll probably be adding embassies to regions next (so you can tour the world from region to region in the app!) and when the new telegram system is implemented here on NS, that's probably what I'll try to integrate next. When anything is done depends on when I have time. I do have other work to do as well. :)

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Sat Feb 02, 2013 11:21 am

I've now added an embassies list, reachable from the region view.
You'll see all current, invited, requested etc. embassies and be able to browse to the region in question.
You can also filter them by type.
I've also fixed a few bugs, like the app crashing when a region doesn't have a flag.
It should be up on Google Play soon.
Last edited by Laevendell on Sat Feb 02, 2013 6:11 pm, edited 1 time in total.

User avatar
GraySoap
Ambassador
 
Posts: 1013
Founded: Mar 17, 2008
Scandinavian Liberal Paradise

Postby GraySoap » Sat Feb 02, 2013 11:41 am

Thanks for the very reasonable license and functional little app.
The fact that we're sentient bars of soap is non-negotiable.

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Wed Feb 06, 2013 7:18 am

I've added history navigation controls to the RMB view, so you can now go back and forth in the "pages" of the RMB.
You can also jump to a specific offset (e.g. 56 pages back) by clicking on the number in between the arrows.
The new version should be available on Google Play soon.

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Fri Feb 08, 2013 4:25 pm

The latest version now features optional automatic polling of the RMB, accessible in the settings. This option checks the RMB of your region at a specified interval (default is off). Remember that frequent polling drains the battery, so the recommended setting (if you intend to use it) is at least a 30 minute interval. This is an experimental feature that may change or be removed later if there are problems with it.

There will probably be a lapse in development of this app for a time now, due to low interest from users and a lack of time on my part (I should really work on other projects). When the new telegram system has settled in and rules and the API have been decided, I will probably work on including support for that in the app.

The new version should be available soon on Google Play.

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Fri Feb 08, 2013 9:09 pm

I wonder if this is the first "new" feature that we've seen, that isn't just another way of looking at current NS features.

Exciting!
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
McMasterdonia
Diplomat
 
Posts: 961
Founded: Apr 19, 2012
Mother Knows Best State

Postby McMasterdonia » Fri Feb 08, 2013 11:17 pm

Excellent work!

User avatar
Laevendell
Envoy
 
Posts: 220
Founded: Jan 29, 2011
Left-wing Utopia

Postby Laevendell » Sat Feb 09, 2013 5:07 am

Mahaj wrote:I wonder if this is the first "new" feature that we've seen, that isn't just another way of looking at current NS features.

Exciting!

I'm considering what other features might be possible as well as useful, but right now the plan is to add polling for issues (just before updates) and telegrams (when you can read them in the app).

McMasterdonia wrote:Excellent work!

Thank you!

I uploaded a new version with mostly minor quick fixes:
* The app now makes fewer calls when fetching info on your home region
* There is now support for deleted messages on the RMB

User avatar
Genovany
Bureaucrat
 
Posts: 45
Founded: Feb 28, 2013
Ex-Nation

Do you want a nationstates app?

Postby Genovany » Thu Mar 07, 2013 11:51 am

I would pay money for this, how about you NSG?
"We the People"
"With unity and peace the world is ours"
"Only the Madhero will preserve us"

Next

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Arechias, Cantuariensis, Greater Fennoskandia, Holy Marsh, IC-Water, Ioudaia, Istastioner, Kyrusia, Southern Numenor, Tesco Aisle 17, Thorn1000, Valles Stellarum

Advertisement

Remove ads