Android PRSpy
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Hello everyone, although slowly I'm still working oh this. Currently I'm working in adding information for each Map/Layout.
My only problem is the vehicles names, currently some assets are displayed as "Tank t72" or "Jeep zastava900ak", etc, and I'm still wondering if I should leave that name, remove it and show only the type,like "Tank"/"Jeep"/etc, or try and transform in images.
Spoiler for Sneek peak:

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: Android PRSpy
I'd say it should be fine that way. Although indeed for some it will sound a bit weird.(now I'm ashamed of the FSA logistics truck name
) But often it's vital to know which variant of a vehicle is available.
ps: give me dod layouts (i will keep asking
)
ps: give me dod layouts (i will keep asking
-
Spalatum
- Posts: 10
- Joined: 2012-02-07 22:03
Re: Android PRSpy
Mind sharing some details on the design? How do you collect the player information? You just parse the PRSPY html or is there an API available?
-
ryan d ale
- Posts: 1632
- Joined: 2007-02-02 15:04
Re: Android PRSpy
Eagerly awaiting this.
Edit - Joined group and DL'd.
App runs but no server data currently (for me).
Edit - Works now.
Edit - Joined group and DL'd.
App runs but no server data currently (for me).
Edit - Works now.
Last edited by ryan d ale on 2014-06-06 10:24, edited 2 times in total.
Project Reality's Unofficial Self-Appointed Anti vehicle mufti
Over 8 years and still not banned
Obligatory Epic Forum Quote (QFT + LOL)
saXoni: "According to ********'s title their server is for skilled people only, so this doesn't make any sense. Are you sure you were playing on ********?"
Indy Media
Over 8 years and still not banned
Obligatory Epic Forum Quote (QFT + LOL)
saXoni: "According to ********'s title their server is for skilled people only, so this doesn't make any sense. Are you sure you were playing on ********?"
Indy Media
-
AfterDune
- Retired PR Developer
- Posts: 17094
- Joined: 2007-02-08 07:19
Re: Android PRSpy
He loads the json files that PRSPY uses.Spalatum wrote:Mind sharing some details on the design? How do you collect the player information? You just parse the PRSPY html or is there an API available?

-
Spalatum
- Posts: 10
- Joined: 2012-02-07 22:03
Re: Android PRSpy
Is that json url freely available? If so can you share it please? 
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Hi, like AfterDune said, I'm leeching the PRSPY JSON files, link.Spalatum wrote:Is that json url freely available? If so can you share it please?![]()
Meanwhile, the app now allows the filtering the maps, I'm really hoping that this will be used by admins to make more "interesting" Map votes.
Eventually I'l add a 3rd/4thFilter with Assets types and Map Type (Forest/Urban/...) but for now this will do it.


Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Hi everyone, v0.5 of PRSPY for android is now rolling out and i should be available to download/update really soon.
This new version fixes some issues and adds descriptive information about the map?s layouts. This information is still a work in progress, for now you?ll be able to see if the asset has a start delay, respawn time, quantity and the asset?s name.
Not only that the map Gallery now allows you to filter the view by size and faction.
And here is the official changelog:
Edit: A side note for programmers interested in helping
This new version fixes some issues and adds descriptive information about the map?s layouts. This information is still a work in progress, for now you?ll be able to see if the asset has a start delay, respawn time, quantity and the asset?s name.
Not only that the map Gallery now allows you to filter the view by size and faction.
And here is the official changelog:
Code: Select all
[New] Map?s Layout information
[New] MapGallery?s Filter
[New] Filter?s icon
[New] Artic Lion, Hades peak and Shikotan island map?s images
[Fixed] MapGallery random artifacts
[Fixed] Timer issues, were it wouldn't display until the settings were open
[Fixed] Some faction's names not being recognized
[Fixed] Some faction's flags not being recognized
[Fixed] Some country's flags not being recognized
Spoiler for side note:
Last edited by UTurista on 2014-06-08 15:31, edited 2 times in total.

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
Re: Android PRSpy
Good update, nice progress.
App crashes when clicking a map in the overview though, I sent you a crash report.
Also the SwipeRefreshLayout still feels a bit weird. It's far to quick compared to Apps like Gmail.
App crashes when clicking a map in the overview though, I sent you a crash report.
Also the SwipeRefreshLayout still feels a bit weird. It's far to quick compared to Apps like Gmail.

-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Although I found out what is causing I cannot reproduce the crash, can you tell me if this happens every time you open a map's overview, or if its random?BloodyDeed wrote:App crashes when clicking a map in the overview though, I sent you a crash report.
Regarding the Swipe to Refresh I'll give it a look.

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
v0.5.1 should now be available.
This hotfix should solve a few issues were the map would crash when opening the map overview layout.
Here's the changelog.
This hotfix should solve a few issues were the map would crash when opening the map overview layout.
Here's the changelog.
Code: Select all
[HotFix] v0.5.1:
>[Fixed] Issue were app would crash on map overview opening
>[Fixed] African Resistance Forces not being recognized
>[Removed] Data time information from Map Gallery and Map Overview layouts
[Disclaimer]
PRSPY is still in alpha development, crashes and bugs are to be expected.
Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
Re: Android PRSpy
Works now, great fix.
Minor issue: when you select a map in the overview and then use the back navigation key (not the icon in the top left corner) the action bar keeps saying the maps name:
Picture: click
For a possible feature: would be cool if your app would display all the server information like Country, Operation system, Battlerecorder like the web client does.
Minor issue: when you select a map in the overview and then use the back navigation key (not the icon in the top left corner) the action bar keeps saying the maps name:
Picture: click
For a possible feature: would be cool if your app would display all the server information like Country, Operation system, Battlerecorder like the web client does.

-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Thanks, It will be fixed in the next version.BloodyDeed wrote:Minor issue: when you select a map in the overview and then use the back navigation key (not the icon in the top left corner) the action bar keeps saying the maps name:
Picture: click
The country information is displayed in form of a flag.BloodyDeed wrote: For a possible feature: would be cool if your app would display all the server information like Country, Operation system, Battlerecorder like the web client does.
Regarding the OS and Battlerecorder there's no much use in that, players will join servers no matter of that information.
Still, I could add that information plus the logo, and server's description in form of a "Server info" tab in the menu, and not in a "swipable" fashion

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
- Mineral
- Retired PR Developer
- Posts: 8534
- Joined: 2012-01-02 12:37
- Location: Belgium
Re: Android PRSpy
Could you link the server information with the map information? meaning maybe make the map/layer info clickable and then automatically opens the map information?
Not sure if you still want suggestions though, just saying stuff I come up with
Not sure if you still want suggestions though, just saying stuff I come up with
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Hey, a new version should be coming up somewhere next week, after my last exams but I'll leave here a few images with the upcoming features.
From the Player list you can see more information about the server and the layout that is being played.

Ther server's information should be limited to this, eventually country codes will showed in full name,eg: DE will be displayed Germany.

Map view should be coming in the next version and as you can see assets now have the proper name and eventually their ingame icon will also be displayed left of the information.

Regarding notifications, player based ones will be scrapped, therefor notifications will be based on maps/layouts only.
From the Player list you can see more information about the server and the layout that is being played.

Ther server's information should be limited to this, eventually country codes will showed in full name,eg: DE will be displayed Germany.

Map view should be coming in the next version and as you can see assets now have the proper name and eventually their ingame icon will also be displayed left of the information.

Regarding notifications, player based ones will be scrapped, therefor notifications will be based on maps/layouts only.

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
V0.5.5 is now available for download/Update, it addes the ability to see switch between the text and image overview of the map's layout.
It also changes a bit the layout of the Player List, and the Map Gallery is visually the same but technically different.
As per usual, feedback is always welcome,
UTurista
It also changes a bit the layout of the Player List, and the Map Gallery is visually the same but technically different.
Code: Select all
v0.5.5:
>[Added] You're now able to see extra information from the server, including its description
>[Added] You can open the map information directly from the server detailed view
>[Added] You can now download the image of the map's layout
>[Fixed] Server Browser's settings, the summary is now shows the current status
>[Fixed] The map and server's name is now showed in the Action Bar
[Disclaimer]
PRSPY is still in alpha development, crashes and bugs are to be expected.As per usual, feedback is always welcome,
UTurista

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!
-
gumball
- Posts: 331
- Joined: 2007-03-19 01:12
Re: Android PRSpy
@O_turista_portugues is this app open source? I'd love to contribute!
-
UTurista
- PR:BF2 Developer
- Posts: 985
- Joined: 2011-06-14 14:13
Re: Android PRSpy
Like I say in the first post, I do need a program able to read the game folders and create JSON information about Maps/Layouts/Assets.gumball wrote:Is this app open source? I'd love to contribute!
My current parser, is incomplete and skips some information.
Regarding the app itself I may make it open source but not now.

Dont question the wikipedia! Just because it reports different things on different languages does not make it unreliable source!


