connect, send, and display data in Android via App Inventor - android

I have a huge demand for people who want an application to connect to Uniquez from their Android devices.
I want to build an application to connect to my PHP and MySQL ShoutBox to send and receive information. First we need the user to be-able to login to the website. I am sure once I know how to do this I could use these techniques to send and receive shouts.
I do have access to Google's App Inventor and I have also downloaded and taken a quick peek at Eclipse. It seems App Inventor is a lot easier to use than Eclipse.
It all seems a little daunting and very complicated/
I do have knowledge in PHP and some JavaScript that could help me progress my knowledge.
Please could someone demonstrate how this could be done?
I want to learn this is why I am asking for help and not asking some one to do this for me.
I do need examples and a lot of help as I am totally new to building applications for the Android platform.
I am sorry I don't have any source code to go off right now as this is something I want to start building.
If you can do this in App Inventor this would be amazing. If not I will learn the hard way!
All information will be great full and I really am enthusiastic about completing my task.

please find an example how to connect App Inventor with a MySQL database using a php script here http://ai.kittywolf.net/index.php/WebMysql (App Inventor Classic) and https://puravidaapps.com/mysql.php (App Inventor 2)
and here are more examples using App Inventor together with php scripts https://groups.google.com/forum/#!searchin/app-inventor-developers-library/php
and here some App Inventor examples using embedded HTML/JavaScript http://puravidaapps.com/snippets.php#javascript
for login to a webpage using App Inventor you also might want to look at this thread https://groups.google.com/d/msg/programming-with-app-inventor/FQSBZGcK1WE/CuUWZmEU5KkJ
Hope that helps

Please refer http://appinventorapi.com/app-inventor-php-application-framework/ for log-in framework and http://ai.kittywolf.net/index.php/PHP_TinyWebDB_with_MySQL for TinyWebDB to MySQL PHP Interface. I tried both, they worked well.

Related

How to implement an app for existing website

I have a website hosted on godaddy cPanel with mysql database and I am willing to make an app for it. Can anyone tell me how can I do this and please tell me where can I learn more about making an app for a existing website.
Look into cross-platform development if you want to code for both ios and android. Visual Studio is a good tool to work on this, too.
Or, for more simple conversions the below may help:
https://www.appypie.com/convert-website-to-mobile-apps
https://www.mobiloud.com/blog/convert-website-to-mobile-app
https://appsgeyser.com/blog/convert-website-to-mobile-app-free-software/

I am a beginner and I am planning to develop my own app and I don't know how to work use 1 database on both mobile and web

I am thinking of developing an app and I don't know which service I should use for my data to run to. I tried on using Amazon Web Services but they don't offer any support for free users. And I am just a teenager who wants to develop my skills, I don't have any source of income at all. I am hoping some recommendations or help from here. Some ideas on what tools I should use.
My app is both web and I'll be making mobile app version of it and I am having a hard time about how would I make those two work from the same something like server. It's like, facebook website and the facebook app, it has only one source of data.
I hope anyone can help me...

MYSQL and SQLite

I know this might seem like a basic question but can an android app which i know uses SQLite work with a web site like http://www.freemysql.net/client/. I have developed a desktop program in netbeans that functions with this website using MYSQL and I want my android app to upload information to this site as well. Or can i use MYSQL with android. I just need to be pointed in the right direction. Any help will be greatly appreciated
If you only expect your app to work if "online" you may be able to make it work. I would expect that the cloud db API already qualifies as a web service interface like Kevin mentioned you would need. If you want a desktop and Android app to use this same database, it seems vaguely reasonable.
I didn't see any API documentation for the site you mentioned. I would focus your attention on how to write an Android app that communicates with a web service. Since you've already written a Java desktop client, you probably already have some idea about this.
If you decide at some point you need access to a database "offline" you should just look at a tutorial for database access on Android. It's not that painful. You may want this so you can store data locally and push to the cloud when you're connected.
http://developer.android.com/guide/topics/data/data-storage.html#db

Please give me a 'kick-start' to build an app to log into a web site

Never built an app before.
Downloaded & installed SDK & Eclipse.
For my 'learning experience' I would like to build an app for my Galaxy S II (4.0.4) that will take me to a web site and then log me in, eg: my Gmail Account or my Voip.ms Account
Can someone point me to a tutorial or suggest how I should start such an app?
Is this too complicated to begin with?
Personally, I think this is way too complicated to start as a learner. You may end up spending a lot more time in debugging some code which does not work because of some silly stuff rather than "learning" how to code Android.
I started with a simple app that has few screens, stores some info in local SQLite DB and sends some across to an remote SQL Server over internet. I managed to complete this in 2 weeks and got quite a good hold on Android basics. Now I am working on a much complex app and am not getting stuck in fundamental issues.
Developer.android.com offers some good app examples and tutorials and is the first go-to location when you want to see how to do something Android-related.
As for what you want to do, it will really depend on the website. Going to the website in question, searching for a developer section is the way to go.
There they will explain which API they offer to devs. OAuth + REST are widely adopted but there is no universal solution, it really depends on the website.
A final note : embedding a webpage in an Android app is a very bad idea from an user-experience perspective, Using an API to offer a native app will always result in a better experience.

Updating Android Content via web?

I'm developing an app for a company that will include profiles of some clients. The company wants the clients to be able to update information on their profile from the company's website through a secure log-in. I want to do this in a way that the content could be updated without the application users needing to update the .APK.
I'm relatively new to Android development and I'm not quite sure how to do this. Would love the simplest way of doing this. If simple isn't the best way to go about it, I'm open to other suggestions.
Thank you.
The website should have a webservice backend.
Your Android app needs to implement the protocol for that
webservice.
See for example this link http://fahmirahman.wordpress.com/2011/04/21/connection-between-php-server-and-android-client-using-http-and-json/ for a tutorial or search for others.

Categories

Resources