Using Android API with other application in Android Platform - android

I want to find out if it is possible to create Android API's that can be used or implemented in other applications, so that they can be synchronized. For example, there is a calendar application and a separate application that has the details of all the meetings of the day. Can the calendar & the other app be synchronized to get a new application in which the calendar itself shows the meetings for the day?
Where can I learn more about these API's?

Question is not very clear, but what I understood from your question that you want to create two applications which uses same datasource.
To Achieve this, you can use ContentProvider, By ContentProviders an application make exposure of its data to other applications. To create and Use content providers look into following links:
http://developer.android.com/guide/topics/providers/content-provider-creating.html
and
http://developer.android.com/guide/topics/providers/calendar-provider.html

Related

How to create an android app database that will be modified in real time?

i just started Android Development a few weeks ago for a college project : an Android application that manages the transport of students (with several buses) from their home to school with a geolocation service.
So I have already made a schema of my database. I do not want this database to be local (which is the case if I use the SQLiteOpenHelper class).
I want it to be alterable in real time : and by that I mean: For example I am the administrator and I have a page where I can consult all the data of the students who are registered. If a new student installs the application and signs up, I need to be able to see his data directly after registration.( i hope i explained it well ) . What should I learn or look for to accomplish this task?
ANy recommendations ?
Thank you.
If its not necessary i would recommend using a web application instead of an android application. So it works on all devices.
I have used these one for time management with some years ago
cherrypy: https://cherrypy.org/
Beside an android application you need an management website/api for your android application to communicate with, for example an rest api. cherrypy is an easy webframework to accomplish this.
jquery: https://jquery.com/
Could be used for a nice working management website using AJAX, otherwise you have to refresh the management page everytime or using frames for partially refreshing.
If you like to stay with python https://kivy.org/ is an way to create an application on android and other.

Effective way to develop scheduling apps both on web and android

Im currently studying to develop a schedule apps project.. This app developed both on web and android.. Warn: This post will be long with some newbie questions inside
So, the Main features are: the app interface like a calendar with addable reminders and activity.. (like google calendar)
The only thing i could think firstly is build a restServer along with the client, so my android app could connect to the same database.. My progress right now is developing the restServer with codeigniter..
Before going to far i decide to ask this on the forum to get any ideas.
The problem is i dont know what should i do to make them integrated to each other.. If im using library (ex: the calendar to track reminders and activity) on the website.. So how i implement that to my android app too? I know how to get the data.. But how about the ui?
Could i use any library for calendar on android and implement same data as on the website?
And then, what is the effective way to implement this project? I tried to search something like progressive web apps but no luck.. Hard to find the tutorial..
Any ideas or help would be appreciated.. This is my first post, very sorry for any mistakes and my bad grammar 🙏

Are there android intents to add data to Google keep

Are there android intents to add data to Google keep?
It is possible via new Intent(Intent.ACTION_SEND)!
There is a technique to programmatically select the appropriate application instead of showing the possibilities.
Testet.
I have the confirmation from the Android team. As they answer here about some other things, a project member said that THERE IS NOT Google Keep API.
https://code.google.com/p/dashclock/issues/detail?can=1&start=0&num=100&q=&colspec=ID%20Type%20Component%20Summary%20Stars%20Status%20TargetRelease&groupby=&sort=-id&id=380
So I assume, that there is no way to pass information to the app or not a known one.

Should I use a Content Provider?

I'm reading the official documentation from android's content providers and I've seen this:
Decide if you need a content provider.
You need to build a content
provider if you want to provide one or more of the following features:
You want to offer complex data or files to other applications.
You want to allow users to copy complex data from your app into other
apps.
You want to provide custom search suggestions using the search
framework.
You don't need a provider to use an SQLite database if the
use is entirely within your own application.
I'm developing an app that syncs data on background when the position changes through an IntentService.
What I've seen is that with ContentProvider you could observe when data changes which I really want without user noticing it. It changes in IntentService and MainActivity observes this changes and when it's notificated, layout content change
Is it a great idea to use a ContentProvider although they don't even mention this?
Thanks
Personally, I have been using ContentProviders in all my projects for the last year and a half. They provide good, database independent, data abstraction to access your data. They are very flexible, I even had a play project where one URI pointed to a SharedPreference while all others where for accessing database tables. ContentProviders also allow you to use already built framework infrastructure such as CursorLoaders, for example. Implementing your own from interfaces and abstract classes is not that hard, but it may be time consuming and error prone, being able to just leverage work that's already been tried and tested is a great advantage.
By the way, I remember the same exact question on a post in google+ about 2 weeks ago where Cyril Mottier gave a very good answer. You can read it here.

how to create full functionality of calendar in android?

it seems android calendar api is not available. can you please give me some tips and tricks for creating a similar thing.just like creating events,meeting, birthday etc.. and also notification when the event occurs. and also layout should be similar to-our in-built calendar give me some ideas or hint about look and logic?
To send notifications, read creating status bar notifications.
To create layouts, read declaring layout, common layout objects, and hello GridView. There is an equivalent introductory tutorial for each layout type.
You can access the Calendar events through the Data API. However, the Android specific calendar APIs are not part of the public Android SDK. Thus, you could access them, but it is highly recommended that you do not since they are likely to change in future versions of the os.

Categories

Resources