Wednesday, October 1, 2014

Image Buttons Continued

Apparently the only reason my image buttons were not rendering was because their file name began with a number so now I know there are some restrictions on the file name. I just changed the file name to a proper name like "back" and it now works. I also added "android:background="@android:color/transparent" to the xml because image buttons still have the default background which looks ugly. I might also try adding some different items to the buttons like "pressed" so it highlights when pressed.

Finn Edit:
I worked on some very basic bugs today. One was the server was not connecting to SQL, and I have fully fixed that via changing imports in IntelliJ. I also added a "stop" command to the server so I can update it and easily restart it without reconnecting to SSH.

4 comments:

  1. I noticed in your code you mentioned securely authenticating users. You should look into using SSL, like in http://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLSocket.html
    Also, if you want to use passwords, you should read http://security.stackexchange.com/questions/211/how-to-securely-hash-passwords

    ReplyDelete
  2. Also, your "Game Project GitHub" link is 404'ing.

    ReplyDelete
  3. What do you mean by "changing imports in IntelliJ"? IntelliJ is just an IDE, what does it have to do with your application not connecting to SQLite?

    ReplyDelete