Java game data transfer - game-engine

Does anyone know how to transfer data from website (SQL/PHP) to PC game. For example, like MMO games, one buys items in website and updated items in game. I am trying get an idea how it works.
Thanks

Related

how to fix this error when i try to save my phone pictures to my firebase database?

I am designing an application for selling plants and I would like all users to be able to add plants from their phone to the application, but I cannot load and retrieve the images in the database
not having a very good knowledge of this language, I started to follow some videos but the result was still not satisfactory.

trading pet system between players (javascript, php...)

Hi everyone and sorry in advance for my horrible english.
I'm making an adoptable pet site project and I want to built a system where players can exchange their creatures between them. But my problem ? I don't know where to start. With my DB or my DOM I don't kwow at all. How can I stock the creatures (who already exists) and offers to the other.
I have some bases in javascripts and php, it's just the way I can make it who sound wrong on my brain.
Thank you for the help
There are several ways to realize that. I will give you a basic idea of a possible software architecture.
A database stores all the information. So you might think about entities. In your case, creatures and players are entities. You can also create an entity to connect both and realize the ownership of those creatures. Let's call it creature_player_assignments. This means, that you could assign N creatures to M players. Or the other way around: M players can have N creatures. (n:m relationship). You don't need it, if you only want to assign a creature to only one player. In this case you could direclty assign the creature to a player by storing something unique from the player in the creature (like the player ID or something). So, N creatures are assigned to 1 player, or the other way around: One player can have multiple creatures (1:n relationship).
A server connects to the database and gets the information you need. You can use PHP and some libraries to do so.
The same server implements an API to make the information accessible from outside. Think about a RESTful service or something.
The client sends requests to the server using the implemented API. You could do that using JavaScript and fetch.
In the end it is up to you, to design the architecture. Try to think about your software first and plan it before you start smashing the keyboard.

How can I grab a list of games by Google Play Gamer ID?

I am trying to figure out how I can retrieve the list of games owned by a person by their Google Play Gamer ID. I remember that I saw the exact answer and code example somewhere on Google's API documentation or n their help center but I have spent half a day today and couldn't find it again. It's probably somewhere here and I just keep overlooking it.
I know that it is definitely possible not only because I saw it but also there are some products that actually use this function. Like this one → https://www.exophase.com
It doesn't have to be a list of games, a list of achievements gained by a person is also fine (since you can link achievements to games).

CoreBluetooth or the EAAccessoryManager and hands free

Is it possible to know if an iPhone is paired with the hands free system in a car using the CoreBluetooth or the EAAccessoryManager? If not, is there another way to do it?
If the iPhone considers the car an accessory you can get the connected accessories by calling:
[[EAAccessoryManager sharedAccessoryManager] connectedAccessories];
This will return an array of EAAccessory objects which you can then query to get certain information like the name: accessory.name.
I don't know for certain of this will work with cars having never tried it myself (I have used it with other accessories), so I would suggest that you create a test app that logs the connected accessories to the screen on demand and test it yourself.
Here's the documentation for EAAccessoryManager and EAAccessory.

iPhone app sugesion

in India we have movie culture where every movie has 5 to 6 songs.  We have copy rights and distribution rights for the songs of the some movies. What I want to know is can we make an app which has the only the audio songs in it. So that fans of that movie can download the app and listen to the music of that movie. We will provide the songs along with the app itself , without the users having to stream from the Internet. Before we start off with making of the ap we need to know if apple allows such kind of app. Has any one seen such an app before. I am not sure how to contact apple to ask the same question.
Such an app is possible: see things like the Napoleon Dynamite soundboard app, it's an app that just plays sounds.
The main problem is though, the user would probably expect to have the music in their music collection as well. Are you sure that is the best way?