• Android Java: List of items, when click on specific remove that specific.
    6 replies, posted
In Android Java: How would one make it so it fetches specific data from SQlite dabatase, then prints it out in rows( each row has it's own id as it's different entry). And when user clicks on that item/row it will show menu: Remove, Edit, Cancel? Any ideas? I mean in PHP/HTML I would use GET method and links like: <li><a href="view.php?itemid=15">Item 15</a></li> <li><a href="view.php?itemid=35">Item 35</a></li> Then on view.php file i would use like: $selectedItem = $_GET['itemid']; Then if user clicked remove, it would cast something like: DETELETE FROM ItemList WHERE `id`='$selectedItem'; but how can I make this using java in android? P.S - I asked in "What you need help with" - no one ever replies there. So any help here? Thanks.
anyone?
bump? seriously? :v:
-nevermind-
I suggest you first try to learn some java instead of jumping into java thinking php knowledge is enough.
[QUOTE=mobrockers2;39944639]I suggest you first try to learn some java instead of jumping into java thinking php knowledge is enough.[/QUOTE] Apparently that's what the problem is, in college we were given project details - where to start and where we should finish. Task says: Develop an mobile application that will use persuasion technique for users for specific idea (example: to stop smoking), and then it must be published to mobile app market. I did java before but not android - just java applications with basic GUI. What platform, how, how long, what to use is up to students and learning about it is up to students as well. We were given 5 months for this.
[QUOTE=arleitiss;39945270]Apparently that's what the problem is, in college we were given project details - where to start and where we should finish. Task says: Develop an mobile application that will use persuasion technique for users for specific idea (example: to stop smoking), and then it must be published to mobile app market. I did java before but not android - just java applications with basic GUI. What platform, how, how long, what to use is up to students and learning about it is up to students as well. We were given 5 months for this.[/QUOTE] [url]http://www.vogella.com/articles/AndroidSQLite/article.html[/url] I recon this article should prove very helpful to you. [editline]17th March 2013[/editline] Also the person that created this college assignment should be fired.
Sorry, you need to Log In to post a reply to this thread.