Go Back   Android Forums > Android Development > Application Development > App Inventor

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old September 29th, 2011, 07:40 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default searching in a predefined TinyDB in App inventor

Hi!

I am quite new to App Inventor and need some hints on how to design an app which searches in a tinyDB which is pre-made (there is no "saving to"-functionality).

The app basically contains a text field in which the user enters a keyword and then presses a search button. The app then searches through a database to check if the entered keyword matches any contained in the database. If it does, the app then retrieves and displays up to five fields of information connected to the keyword in the database. The database and its contents I will create before hand, as stated above.

- How do I structure the blocks to make the search functionality?
- How do I structure the blocks to display on the screen five fields contained under the keyword in the database?
- and how do I create the tinyDB that is to be connected to this App?

Advertisements
PhaGeek is offline  
Reply With Quote
sponsored links
Old May 24th, 2012, 11:43 AM   #2 (permalink)
New Member
 
Join Date: May 2012
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

looking to have a similar working app only with mine, Id like to use a list picker to to narrow down a list of venues (rows) to match search criteria that are defined by various attributes (Column). The list result would be the venues that match the search criteria. Then, each Venue would have its own page that displays all attributes for that venue.


EX: Venues: place 1, place 2, place 3, ect
Attributes: City, Restaurant (yes/no), Open late (yes/no), ect

User searches for a place that is a restaurnat that is not open late-- And gets a list of all venues that match up to that query.

My db is also genereated and dont need option for a user to "enter" info. If you ever ot this working, I would be curious to how its done using which layout and code blocks.


THANKS!
CHRIS
glitz521 is offline  
Reply With Quote
Old May 24th, 2012, 12:23 PM   #3 (permalink)
~Play Nice~
 
Unforgiven's Avatar
 
Join Date: Jun 2010
Location: Douglas, MA
Gender: Male
Posts: 25,034
 
Device(s): Moto X Developer Edition, Nexus 7 (2012 & 2013), Note II, S3
Carrier: Not Provided

Thanks: 15,703
Thanked 16,983 Times in 9,348 Posts
Default

I've moved this to our App Inventor forum so you can get the help you need.
__________________

Join the fun and make some friends, register for free here.
If someone helped, hit Thanks, if you see rude or abusive posts, spam, or threads that need staff attention, hit Report.
Site Rules / Android Forums FAQ
*** Do you want to talk guns? ***

Unforgiven is offline  
Reply With Quote
The Following User Says Thank You to Unforgiven For This Useful Post:
glitz521 (May 24th, 2012)
Old October 10th, 2012, 11:21 AM   #4 (permalink)
New Member
 
Join Date: Oct 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi guys,

I am also looking to make something similar, though am having a lot of trouble getting any type of search function to work. My app is idea is very simple, just a few hundred texts quotes that i want to be searchable. All i want is a front screen that you can type in keywords and hit 'search'. screen 2 displays the quotes that matched any of the searched words.

seems really simple though i cannot find any info on how to do this. Did you guys find a solution?
Mathias198623 is offline  
Reply With Quote
Old November 4th, 2012, 03:49 PM   #5 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

If you are going to have just a searchable DB, then how do you propose to populate the DB in the first place?

With just searchable data, I would construct variables with make list, and pull the data from there. Each variable is the name of the main subject, and the items in the list will be extra data associated with it.
PavementPilot is offline  
Reply With Quote
Old February 3rd, 2014, 07:33 AM   #6 (permalink)
New Member
 
Join Date: Sep 2011
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

Did anybody solve this issue? I have a confidential database which I don't wont to upload anywhere, and I wont to query it on my phone using my own app developed by AppInventor2: how can I populate the tinyDB of my app using my own data?
jumpjack is offline  
Reply With Quote
Reply
Tags
tinydb


Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.