1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, PO has ceased our separate tiering and adopted Smogon tiers for SM. More information and updates here.

    Dismiss Notice

Android app

Discussion in 'Development General' started by coyotte508, Dec 21, 2012.

  1. Jethalal

    Jethalal (~o.o)~ So Spooky ~(o.o~)

    Joined:
    Sep 13, 2014
    Messages:
    527
    Likes Received:
    356
    PO Trainer Name:
    Jethalal
    I tried the 2.6.1 beta -4 evs for 252 and if u are in pm box and u slide to next pm chat it crashes( not every time tho i think if u get a pm when u are already in pm chat with another and slides ,it crashes)

    Edit: idk why but it crashes in pms a lot
     
    Last edited: May 28, 2015
  2. Casparov

    Casparov This is supposed to be a Medal!

    Joined:
    Jun 3, 2014
    Messages:
    477
    Likes Received:
    644
    PO Trainer Name:
    Casparov
    marshmallow this is what if found:
    - the -4 ev thing, doesn't seem to matter but its annoying af.
    - the app crashes when I try to open pms via notification bar, it also crashes when I just click the name. The only way to not crash is go to name and click send message
    - I'm not able to copy text anymore in chat. It works in pm tho
     
  3. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  4. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    Downloaded the new apk and everything seems to be working well for me.

    -No more crashing when receiving a pm, swiping between different messages, or switching to long view mode when replying in pm.
    -The -4=252 EV's in Team builder is fixed as well.

    *The setting isn't showing up for me to enable :v
     
    Last edited: Jun 3, 2015
  5. Silvis

    Silvis New Member

    Joined:
    Nov 12, 2014
    Messages:
    4
    Likes Received:
    0
    PO Trainer Name:
    Hitokage, Malice
    If you're in the PM window, it won't tell you when you get a PM still. That issue is almost more annoying than the c/p bug in the last build, with how much I PM. Is the next update going to fix that? Official update that is. If my post doesn't make sense, I can record what I'm talking about, if needed.
     
  6. UberMan556

    UberMan556 New Member

    Joined:
    Jul 13, 2015
    Messages:
    5
    Likes Received:
    0
    ANDROID

    Freshly installed twice to make sure
    ALSO did a reboot.

    I can't see chat or battle in the pokemon online server.
    I can't join other channels in Pokémon online.

    But I can in Español. Or other servers. I can battle or change channels.
    I can't find a fix anywhere.

    GS4, not rooted. Ive had PO on my S3 and S2 just having trouble with my S4.
    I can see people. But no chat.
    I can see tohjo falls beginning messages but nothing else.
     
  7. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Last edited: Aug 10, 2015
    turbedi likes this.
  8. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
  9. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    [​IMG]
    A more serious attempt mixing two systems together. Two sandslash are animated.
    This apk is quite bigger and has a little problem with releasing memory. The apk won't install if you don't have OpenES 2.0 or higher on your phone.
    Every time you go to settings (only from the registry) it will be a different background and pokemon. I think there is a missing pokemon resource because I got a one time crash.
    Let me know about any pokemon that do something strange, some animate really slowly something might be wrong with the gif decoder. If you interact with the screen the OpenGL thread gets better priority and will keep the FPS closer to 60, idling will make it slow down as wake lock gets closer to activating.
    http://www.mediafire.com/download/k2q2132ibec8tnv/android-client-animation2.apk
     
    Last edited: Aug 12, 2015
  10. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    Very impressive work. Truly outstanding.

    Now, I've gotten 2 crashes while going to the settings from registry. Most pokemon so far have animated really well. The only one's I've seen animate slowly are Swablu, Metang, Samurott, and Mamoswine. Combusken while it animated very good when you look at yours it's fine but looking at the opponents Combusken his 3 feathers on his head aren't all there. Only the lower half of his 3 feathers appear.

    P.S. This apk takes up 100MB
     
    Last edited: Aug 11, 2015
  11. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    [​IMG]
    *Every time the opponents Grovyle turns it head to the side you can see as I posted above the top of it's head just poofs then reappears when it faces forward again.

    [​IMG]
    *Frosslass
     
    Last edited: Aug 12, 2015
  12. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  13. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    [​IMG]

    [​IMG]

    Looks legit on yours. As for mine, pretty much the same for every pokémon as the 2 picture's I posted.
     
    Last edited: Aug 13, 2015
  14. Joyverse

    Joyverse Back for a blast!

    Joined:
    Aug 23, 2014
    Messages:
    1,517
    Likes Received:
    909
    PO Trainer Name:
    Joyverse
    100+ MB APK. Okay bring it on. :v
     
  15. Joyverse

    Joyverse Back for a blast!

    Joined:
    Aug 23, 2014
    Messages:
    1,517
    Likes Received:
    909
    PO Trainer Name:
    Joyverse
  16. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    It's not lines of code silly. It's what is known as a stack trace. It says you have a Pokemon with the move number -10240 not sure how you managed that.
     
  17. Joyverse

    Joyverse Back for a blast!

    Joined:
    Aug 23, 2014
    Messages:
    1,517
    Likes Received:
    909
    PO Trainer Name:
    Joyverse
    I was fiddling with a GSC OU. Guess that's some trigger? I changed happiness of Snorlax to 255 and changed Frustration to Return and this happens.
     
  18. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Spent awhile but I've managed to write a program turn all back sprites (not including XY/ORAS) gifs of 35 MB to compressed texture/atlas pairs of 7.65MB, and then made the app able to read the information.
    I'm not really worried about fitting all the needed assets in the app anymore.
     
    o c: likes this.
  19. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    App to 62.24mb with all sprites (no shinies :c) with an even a new compression type that has a much better look up ability.
    Damn gen 6 animations have huge amount of animation data.

    Also taught pokemon how to dance on the screen
     
    o c: likes this.
  20. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    That's awesome you were able to save MB's. Those 100MB's were a killer on my phone lol (RIP photos & app's). Can't wait to see & test all this awesome new stuff you doing MidwayMarshmallow c: Keep up the excellent work!
     
  21. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  22. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    So, let's begin with what I experienced

    *Like MidwayMarshmallow posted above if you are in a match with the new battle window and pop out to go too chat and then back to the match it'll switch the screen back to the original one.

    *If you or your opponent evolve your pokémon to it's Mega form in the new window it will crash you and it will keep crashing you (As soon as you log in) until you switch back to the old window in Settings on the server selection screen before trying to log back in.

    *Every time you try finding a match with the new battle window option on its going to crash you. It usually crashes for me 1 or 2 times before it will let me into the match. It also crashes during the battle at times.

    *It lags quite a bit during matches. While battling with the new battle window, after both opponent's have selected a move, it'll take about 5-7 seconds for each opponent's moves to go through.
     
  23. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Team preview crashes. It irks me that it lags while at FPS is 60fps yet the main thread struggles to tell the graphics controller what to change.

    Random crashes at startup may be caused by the threads racing. Usually the main thread will try to update the HUD before the graphics thread has even made it.

    A possible solution is to make the graphics thread the main thread and have an async task builder communicating with the graphics thread from network calls, but too much work
     
  24. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Okay I've made a build that I think might be faster than the old, I rooted out some old methods that are obsolete with the new renderer

    ALSO. Looking for someone with java knowledge and a pc. The renderer I use is cross platform, so that means you can program animations on PC and test them on PC. Really for the more flavor animations like throwing a ball and it pops open revealing da pokemon inside

    Also want to limit the FPS down to 30, because honestly I'm pretty sure the games have been set to 30 since 3D logic was added, so the animations don't really fair better at 60.
     
    Last edited: Sep 22, 2015
  25. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  26. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    http://www.mediafire.com/download/3oixd66dnyadckd/android-client-261test.apk
    https://www.dropbox.com/s/bfc2tfoy1goep9v/android-client-261test.apk?dl=0
    Hopefully team preview is fixed, ORAS megas fixed
    (Remember you have to enable the setting to turn on animation)

    https://github.com/po-devs/android-client/releases/tag/2.6.1
    (Not ^ Animated)
    2.6.1 (prerelease) Change Log:

    - Battling
    Added animated battle screen
    Rearrange pokemon dialog now displays information about the pokemon in the first slot
    Regular battling is faster
    Added opponent disconnection/reconnection message

    - Teambuilder
    Import team button now prompts download; Download team option removed from menu
    Switch place option added to menu and functional
    Manual IV button enabled and functional

    -Chat/Network
    Incoming Challenges are more informative

    - Minor/Bug fixes
    Fixed Shedinja improperly showing HP other than 1
    Fixed Sub improperly showing when a pokemon is forced back in
    Fixed issue from bad user input to happiness and level input dialogs
    Fixed title of the change level dialog box
    Fixed issue when upon disconnecting and reconnecting quickly and pressing on a user that is bolded would crash app
    Renamed Challenge option "Wifi Battle" to "Team Preview"
     
    Last edited: Sep 24, 2015
  27. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  28. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    I'm still having the same Team Preview problem as the last apk. Also, tried doing the Experimental Battle and the app just freezes when I try battling with it on. I can't move or type and if I try going to the match the screen will go black. I have to close the app from the Task Manager, Restart the app and disable Experimental Battle before logging back in or it'll freeze up again.
     
    Nightfall Alicorn likes this.
  29. TraceofLife

    TraceofLife Lucky Strike

    Joined:
    Jan 17, 2014
    Messages:
    743
    Likes Received:
    654
    PO Trainer Name:
    TraceofLife

    Attached Files:

  30. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    http://www.mediafire.com/download/pu55uxvyedggs35/ColorInfo.jar

    Made a desktop java application that is similar to Qt's color picker in Teambuilder. Uses approximation methods on the weird color spaces to save time.
    But mine omits all colors that will not be accepted by the server (I think!)

    Will try to implement it as a dialog on android when I finish other projects
     
    Nightfall Alicorn likes this.
  31. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    This was more technically challenging than making the animations :VVVVV

    I know the UI is amazing, you don't need to tell me how great I am.
    http://i.imgur.com/OKx37LF.png
     
    o c: and Nightfall Alicorn like this.
  32. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    [​IMG]

    You deserve it c:
     
  33. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Nightfall Alicorn likes this.
  34. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    This is not for animated version
    Hopefully 2.6.1 : http://www.mediafire.com/download/229gusz40l9210v/android-client-261.apk
    I'd be thankful if testers can test and confirm it's all is well by when I wake up, I want to push this out finally.
    • Team Preview addition will be deferred.
      @TraceofLife shirfty now knows leaf blade.
    • Color picking will only be for animated versions for now.
    • Not working on animated version until I finish animating battles on the new webclient.
     
  35. o c:

    o c: Kittyloaf

    Joined:
    Jul 3, 2014
    Messages:
    189
    Likes Received:
    156
    Downloaded and everything working good on my end Marshmallow. I've yet to experience any problems with it.
     
  36. Jethalal

    Jethalal (~o.o)~ So Spooky ~(o.o~)

    Joined:
    Sep 13, 2014
    Messages:
    527
    Likes Received:
    356
    PO Trainer Name:
    Jethalal
    Idk why but i cant download it from that link
     
  37. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
  38. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    Fixed all invalid colors showing as black
     
    Nightfall Alicorn likes this.
  39. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170
    • Fix move list generation for pokemon below gen 6
    • Better name matching for flashing (team doesn't flash user tea)
    • Made it so a # channel shows in the same line as a flash ("hey guest901234 click #tournaments to join")
    • <a href:po/watch> is now handled ("±Trevenant: The final battle ...." is clickable and pops up the battle) multiple tags per line does not work
    • Stop linking dumb shit (the La. clan won't be an eyesore in tournaments)
    • Active channel tab lights up green (There is a new message to be read!)
    • let "All Gen Hacksmon" tier enable the hackmon button regardless of gen (make sure to write the tier in the slot)
     
    Last edited: Oct 18, 2015
  40. MidwayMarshall

    MidwayMarshall woof Forum Moderator Developer Forum Moderator Developer

    Joined:
    Jun 13, 2014
    Messages:
    303
    Likes Received:
    170