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:

enter image description here

what, want result - without user has select "show checkboxes" in actionbar:

enter image description here

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

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -