Android TPT port

  • jBot-42
    28th Sep 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacob1
    28th Sep 2015 Developer 0 Permalink
    @jBot-42 (View Post)
    Oh, I misread what you said then ...

    What file are they being included from? Can you post the errors to pastebin.com or something?
  • jBot-42
    28th Sep 2015 Banned 0 Permalink
    This post is hidden because the user is banned
    Edited once by jBot-42. Last: 28th Sep 2015
  • jerrythebest
    28th Sep 2015 Member 0 Permalink

    @jacob1. A bit of an update. 

    After playing around with it a little, I found that tpt crashses on all saves from the internet (havn't tested local saves). Normal crashes would generate a crash dialog with system info and the stack trace, but, oddly, tpt doesn't do so. I tried looking at stdout through ADB but all I got is SDL complaining about its not finding certain libraries when the app loads. Nothing appears on stdout when the app closes. It could mean that the app closed willingly without encountering exceptions, but im not entirely sure because im used to making java android apps. 

    Also, I thought it would be really handy if there is a "safety" button that either prevents you from drawing or only allows you to draw when pressed. This would allow the user to line up the brush without actually making a mess. 

    Also, eraser tool doesnt work in zoom pan.

  • duckiestmars
    5th Oct 2015 Member 0 Permalink

    @jerrythebest (View Post)

     

    SD Card issues after 4.4 stopped with 5.0! So that is no longer an issue! :)

     

    @jBot-42 (View Post)

     

    I have not used XCode in a long time, but from what I remember, the compiler is not C nor C++ it is Objective C. The code must be re-written to conform to ObjectiveC contructs. Not an easy task, but do-able. However iOS does support C/C++ libraries similar to Android but there are some declares you have to set/change. Again you will have to re-write code to support iOS API.

     

    Are you going to put the result up on the Apple Store since without Jail-breaking an iOS device, you cannot "side-load" apps as you can on Android?

     

    Hope that helps and good luck!

    Edited once by duckiestmars. Last: 5th Oct 2015
  • superpokemaster
    7th Oct 2015 Member 0 Permalink

    Why aren't we funding this?

  • Qwert_Yuiop
    8th Oct 2015 Member 1 Permalink

    Sorry to interrupt all that awesome-sounding programmer babble, but:

    1) Great work(ofc)

    2) There's an issue that's not exactly too bad, but still mildly annoying. When using search, the last letter typed will sometimes not be in the query.

  • jacob1
    8th Oct 2015 Developer 0 Permalink
    @jerrythebest (View Post)
    Weird, maybe one of the libraries we are using is making it exit. I'm not sure why it would do that.

    Not sure how the "safety" button would help but I do plan to improve drawing sometime, to also allow lines / boxes and stuff.

    Eraser does work in zoom, you probably found another strange bug. When clicking in / out of the zoom window, the first click gets ignored. Some rewrites to drawing that I finish soon will probably fix it.

    @superpokemaster (View Post)
    What is there to fund? If anything it needs more developers / support :)

    @Qwert_Yuiop (View Post)
    I can't reproduce that bug, strange.
  • jerrythebest
    11th Oct 2015 Member 0 Permalink

    Here is the full adb log from when the app starts up to when it crashes.

    http://pastebin.com/xyTxzpYp

    The complaints I talked about starts at line 12. Is that supposed to happen?

    Edit: just want to add that the last line happened before the crash and is not likely related to the crash. Nothing appeared at the crash.

    Edited 2 times by jerrythebest. Last: 11th Oct 2015
  • jacob1
    11th Oct 2015 Developer 0 Permalink
    @jerrythebest (View Post)
    Well I assume it found the libraries somewhere, because if not it wouldn't have been able to start at all (TPT itself is loaded as a library, also every library is required).

    I don't see anything too useful, but thanks for posting that because at the least it does rule out some stuff.

    Maybe a bit more info would be nice, at what point when opening saves does it crash? Does it crash immediately when you click on the thumbnail in the save browser? Or after a few seconds of looking at the save preview? Or only when you actually hit "open".