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.
Related
As a beginner I researched on it but couldn't find my answer on the web. For example I want to build an Android app which will contain some articles already. But when I want to add new articles to the app (without uploading new release of the app) how can I achieve this? I don't want to use present news APIs as said, I need to put my own content- what is your suggestions? Thanks a lot
Use firebase. There you can deploy your mini-server. You can just remotely fill your database with news.
Example: https://www.androidhive.info/2016/10/android-working-with-firebase-realtime-database/
I would like to open this directly from my program, is it possbile?
I checked this, but cannot found relevant information
https://developers.google.com/maps/documentation/android-api/intents
If it is impossible, is there any alternative way?
You can't do that from your activity.
In the image above you can see a dialog that catches the voice of the user, this is because Google Maps calling an intent ACTION_RECOGNIZE_SPEECH, and you can't start an intent and after calling Maps.
Here is the only documentation that I found on the internet for that question. The Adding Voice Capabilities. Just remember that these voice actions are task-based and are built into the Wear platform. So you need to use Android wear for that, see Maps API on Android wear.
Just read the two documentation to understand more. Also take note, that do not violate any terms of service on the Google Maps. Here is one example question for that.
So far, I have not used this voice capablities, so I'm not sure if it will really help you, but I think I give you a small idea with it. Goodluck and Happy coding :)
Is it possible to extend the standard call/message UI which is provided by native android. Is it possible to add an extra tab/scrollable item to the dial pad and messaging screen?
Thanks in advance for the replies !
You can't "extend" the existing apps, but you can create your own call/message UI.
The call log has an official API that you can use to create your own call log (and you can check out Android's sources to get some code or reference).
The messaging currently isn't supported by an official API, by you can still access and use it, just check out the relevant Android sources to get an idea about how to query for messages.
Google provides a variety of 'cards' for Google Now (http://www.google.com/landing/now/). Is it possible to create your own cards? The system looks pretty modular, but I haven't found any documentation or instructions to do so. (I believe you need to supply the content of the card, and some way of signaling when it is supposed to be shown. There is probably just some interface that you have to implement.)
If there is no documented solution, a hackish/undocumented way would be ok, too. I'm mostly curious how it works.
Edit: Specifically, does somebody have knowledge about the internals of Google Now, e.g. by decompiling the .apk? What I've seen suggests it is pretty modular, and it should be fairly easy to drop another class into the .apk, or to maybe inject code using Cydia Substrate. I know that there is (as of Nov. 2013) no official way to add new cards.
There is currently no way to do that. Google makes its own cards and custom application cannot register any cards. But I hope it will be possible in future.
Actually Google announced last week that developers can now develop custom Google Now cards:
http://www.google.com/landing/now/integrations.html
However, a developer guide seems not available yet.
Edit:
On the end of the page they point out that:
We'll let you know when we are able to onboard more partners
There is a work-around that will soon allow you to place cards in Google Now's stream at a particular time or a particular location: Use Google Keep (https://drive.google.com/keep/)
You can create a new card at Google Keep with a time based or location based reminder, depending on which the relevant card will show up in Google Now.
Since Google Keep is now in Drive, the API is expected to be available soon (keep a lookout for it at http://discovery-check.appspot.com/ )
There is not way to do this by your own at the moment. If you really want to do it you can fill in this form: https://services.google.com/fb/forms/nowintegrations/. You can ask Google if they want to cooperate to create a Google Now card.
Note quite an answer, as it is still not possible to create Google Now cards, but you can now hook into the Google Now search function (basically Android's Siri) and provide custom search results. For example you can say "show me the lyrics to..." and it opens a lyrics app.
Here is a link to the project which is based on the Xposed framework.
Just guessing from my impression of the Google Search apk (which includes all the Google Now functionality and even the home screen on KitKat), it should be possible to use a similar technique to inject cards into the app - however since the app is huge and very complicated, it will be a lot of work. I'd keep my eyes open on the xda-developers forums, wouldn't be surprized if someone there solves this in the future.
It appears that there is developer documentation on how to push google now info via email, eg. flight details, restaurant reservations etc.
https://developers.google.com/schemas/now/cards
I have yet to dig into this, but may update this answer if I discover anything significant.
I am developing 2 application of android parallaly.Now i want to access one application data from another application i.e the data from folder data/data/com.sampleApp1.As both application will be developed by me so is it possible to access data of one application from another application if possible please provide solutions.Thanks in advance
If you're developing both applications you can use Shared User Ids. Both application will share permissions and files. Please be careful and check if you need/want this.
http://developer.android.com/guide/topics/security/permissions.html#userid
An another option would be a ContentProvider.
Please Refer Standard Content Providers Training Tutorial from developer.android
Please go through once you will not face any problem in future regarding Content provider
http://developer.android.com/guide/topics/providers/content-providers.html
I dont know how to access different folder and whether it is possible or not. I think the best idea for you is to use content provider.
Check this site:
http://www.vogella.com/articles/AndroidSQLite/article.html