|
Answer» Hi, i have deesigned a small mobile phone compatible game with J2ME and i want to insert the .jad and .jar files into an XHTML web page ,so that any one can download the game in their phone and play it. But i donot know how to insert the files as downloadables. Can anyone help me with thisI don't know specifically how this is done (downloading programs to mobile phones) but why not find another site that does this, and examine their code?Thanks Rob . I figured it out . Just have to give the link to the files directly. And when you try tht link it prompts whether to open or save the file. Now i am struck up with accessing a data base (.DB file) to read the table and display it in my XHTML web page . i tried GOOGLING but could not find anything . Precisely , i want to include the High score for the game which i wrote it into a .DB file and now i have to access the file and display the table in the web page. Could you please give me some ideda how to work this out. If any one could put down the sample script on how to do this would be appreciatedYou would NORMALLY need a scripting language (such as PHP, PERL or PYTHON) to access a database from a web page. Are you FAMILIAR with any of those? What did you use, to create the database?Hi Rob , thanx for ur concern . i used J2ME tool kit which created a record in DB and wrote the SCORES everytime i ran the game , but i could not open the data base at all . When i googled i found it could be opened with MSAcess , but it didnt . I honestly do not know how J2ME writes the database. I stopped processing tht currently writing midlets to output the score in a text file .
thanks againDoes your website host provide you with any server-side scripting? That would give you some fairly sophisticated capabilities, even with a flat text file.
If you can program in Java, picking up PHP would be a breeze.
|