android - Google Keep list note from inside your app -
in app, writing functionality share shopping list google keep. this, use intent.action_send action , set package 1 of google keep.
everything works great, wondering if possible add parameter intent telling google keep must displayed list checkboxes, possible add event-specific extra's when creating calendar event. now, displayed plain text.
here code:
try { intent keepintent = new intent(intent.action_send); keepintent.settype("text/plain"); keepintent.setpackage("com.google.android.keep"); keepintent.putextra(intent.extra_subject, "shopping list " + recipe.getname()); keepintent.putextra(intent.extra_text, "flower\nyeast\nbutter\nalmonds"); startactivity(keepintent); } catch (exception e) { dialogs.toastshort(this, "google keep not installed on device"); }
now, result:
what, want result - without user has select "show checkboxes" in actionbar:
thanks help.
unfortunately, it's not possible. google has not published api public nor 3rd party use. if check out http traffic can see underlying api there's no real way replicate it. sorry
Comments
Post a Comment