ruscoe / space-trivia Goto Github PK
View Code? Open in Web Editor NEW:rocket: A space-themed trivia app for Android.
Home Page: https://play.google.com/store/apps/details?id=org.ruscoe.spacetrivia
License: MIT License
:rocket: A space-themed trivia app for Android.
Home Page: https://play.google.com/store/apps/details?id=org.ruscoe.spacetrivia
License: MIT License
Is there a way we can alter the code to provide 4 options?
To fix the issue with the assets that disallow redistribution, you can replace the affected sound files with ones that work. This package from OpenGameArt is under CC-Zero (functionally public domain), and includes interface sounds that seem spacey enough to fit on the next versions.
Hi,
I've tried to import your trivia project in Eclipse, but i,m facing an error in TriviaDAO.java
The problem seems to be in this part of the code:
/**
* Reads rows from a CSV data file and returns each record
* as a string array.
*
* @param int resourceId - The resource ID of the CSV data file.
* @return List<String[]> - The records from the data file.
*/
@SuppressWarnings("resource")
private List<String[]> readDataFromFileResource(int resourceId)
{
List<String[]> records = null;
try
{
CSVReader reader = new CSVReader(new InputStreamReader(mContext.getResources().openRawResource(resourceId)));
records = reader.readAll();
}
catch (IOException e)
{
Log.e(Constants.APP_LOG_NAME, "Failed to read data from file: " + e.getMessage());
e.printStackTrace();
}
return records;
}
}
The data cannot be read from file.(CSVReader reader = new CSVReader)
How do you typically clear the data after loading a new csv file? I typically see the old data unless I force clear the data using the android application manager to clear data. Is there a programmatic way to force a db reload to the TriviaDao?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.