Spreadsheet to App help - Java for Android App Development

Hi!
I have an excel spreadsheet that calculates things based on 2 input fields and gives the output. For example, lets say multiplication of 2 numbers.
Is there a way to directly convert this excel sheet to android app?
AppSheet didn't work for me for some reason.
Any help on this would be appreciated, any guide or tutorial or converting software/web.
Thanks

Related

Help with file io app.

I'm a long time VB (and occasional Delphi) developer that doesn't know jack about java. I want to learn and I prefer to do that by immersing myself into a personal project. I listen to audio books on my Droid X and want to write an app that will let me populate a list of files from a directory that you navigate to and then rename the files to a numeric sequence (like 1.mpg, 2.mpg, etc...).
2 Questions:
1. Can anybody tell me a few key words (like some of the methods/calls) that are commonly used in file io/directory listing, so that I'll have a direction of study to start with?
2. In the VB world, there are web sites where you can find find generic segments of code (modules) that do specific things (like file io) that you can copy/paste into an app, then modify as needed. Are there places to find java code like this?
Thanks for your help.
I just did something like this a few weeks ago. Basically, I have a directory with a bunch of text files that my app parses through and list to the user using ListView. I think this page helps a lot: (looks like I can't post external links yet..) Just do a search for "Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)"
For your second question, developer.android.com was pretty adequate for me.

Android indoor map generates different path from point a to b depending on user input

Android indoor map using image generates different path from point a to b depending on destination's input (No use of indoor navigation technologies)
I'm working on an android app for my final year project and I'm unsure how to solve this problem. I would like some advices to get me started in the right direction.
The project is to develop an android app to output a direction path from point a to point b on an image representing a two dimensional indoor map. The direction displayed will be depending on the user's input (destination). The starting point will always be the same location on the image. Once the user select a specific object, the app should find its location on the map using a database and then draw the direction's path from Point "a" to point "b".
I do not want to use any indoor navigation technology for this app. The location of each object on the map should be predefined and stored in a database.
The part which I am really unsure about is how to do the following for and android app. --> How to predefine points on an image and how to use these predefined data to display the path to take in the image representing the indoor map. I have been advised to use SVG (Scalable Vector Graphics), I have found androidVG to use SVG with android but I haven't found much information on it.
I am currently clueless regarding what language and techniques to use in order to perform the above feature on android.
Questions:
1) What general advice would you give me on how to effectively tackle this problem from the information I've provided?
2) Was I correctly advised when I have been given SVG as one of the language to use for the development of this app? If I was, would anybody have any more information on using SVG for android to provide me with?
3) IF there would be a better way to solve this problem which language should be used?
I really appreciate all the help provided in this community. Hopefully I have been clear enough, hoping to have my questions answered.
Thank you!

[extension] Powerful viewer for android code snippets (free)

If you're reading android code on the web, the Codota extension for Chrome can help you.
This extension analyzes code snippets on web pages and shows you all the relevant android API javadocs in nice bubbles.
It works for classes, methods and XML attributes.
get it from codota.com/extension
Thanks, very useful
drorwe said:
If you're reading android code on the web, the Codota extension for Chrome can help you.
This extension analyzes code snippets on web pages and shows you all the relevant android API javadocs in nice bubbles.
It works for classes, methods and XML attributes.
get it from codota.com/extension
Click to expand...
Click to collapse
Thank you for posting about this extension, it's very helpful. :good:

[Q] Regarding layout and storing of data

Hi there, I'm in the middle of building an app with the same navigation structure as this app which involves a list of items which when clicked displays details pertaining to that item in another layout.
So I wanted to ask a few questions:
1) Which is better?
a) To use fragments, one for the listView and another one to display the details.
b) To use 2 separate activities for each layout and to pass data using intents to handle selection.
2) What is a better way to store data in this case? JSON or SQLite? Can you please briefly explain why?
Thanks for your time.
K12 said:
Hi there, I'm in the middle of building an app with the same navigation structure as this app which involves a list of items which when clicked displays details pertaining to that item in another layout.
So I wanted to ask a few questions:
1) Which is better?
a) To use fragments, one for the listView and another one to display the details.
b) To use 2 separate activities for each layout and to pass data using intents to handle selection.
2) What is a better way to store data in this case? JSON or SQLite? Can you please briefly explain why?
Thanks for your time.
Click to expand...
Click to collapse
1) A: Fragments as its easier to create large screen (tablet/phablet) layouts for fragments as you can have them side-by-side
2) SQLite - fast, easy to store and get data from, easy to code for, compact.
Jonny said:
1) A: Fragments as its easier to create large screen (tablet/phablet) layouts for fragments as you can have them side-by-side
2) SQLite - fast, easy to store and get data from, easy to code for, compact.
Click to expand...
Click to collapse
Regarding 2),
If I want to make the app accessible to people of different languages, which would be a better approach?
a) To create separate databases for different languages.
b) To create one database with the relevant tables for different languages.
K12 said:
Regarding 2),
If I want to make the app accessible to people of different languages, which would be a better approach?
a) To create separate databases for different languages.
b) To create one database with the relevant tables for different languages.
Click to expand...
Click to collapse
I would go for having one database and relevant tables for the different languages.

[Q] Help with code that retrieves character info for RPG style games?

Hello, I'm new to java coding and would like some help.
I want to make a simple RPG card collecting style game (like Brave Frontier, Defender of Texel, Blood Brothers, etc) for Android. Right now I'm focusing on how to write a code so when you click the character's icon in your inventory for example, it will bring up a new page with the full character sprite, stats, lore, etc. I figured it would be redundant to write a code specific to every character, so I thought it would be possible to make a "universal" code that works with all characters.
So for example, you assign an ID to a character, and when you click on the icon(a button), the code retrieves the ID and brings up the character's information.
How would I go about doing this? If I am using this method, will I also have to create, for example, a text file for each character with its stats and other info? If not, what is a way I can store the character info?
I am not looking for someone to do the coding for me; I merely want to be pointed in the right direction. Thanks!

Categories

Resources