<table><tr><td style="">vishalgupta created this revision.<br />vishalgupta created this object with edit policy "Administrators".<br />Restricted Application added a project: KDE Connect.<br />Restricted Application added a subscriber: kdeconnect.<br />vishalgupta requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14248">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>I was unable to build the desktop application and didn't understand it well enough to add a new plugin on the desktop application. <br />
So I improvised and used --ping-msg. <br />
Made changes to the android application in order to parse ping messages starting with ::DIALER with another function.<br />
I'm now sending information through to the android application by seperating arguments with ::</p>
<p>For example,<br />
kdeconnect-cli -d f69e2e8ac00b140d --ping-msg "::DIALER::DIAL::9176119388"<br />
*Will pop up a notification to dial the number 9176119388, which when clicked, opens a dialer*</p>
<p>kdeconnect-cli -d f69e2e8ac00b140d --ping-msg "::DIALER::ADD::Vishal::9176119388::0123456789"<br />
*Will pop up a notification to add a contact Vishal (9176119388), which when clicked, opens the add contact screen on the user's phone.<br />
This can be used to add upto three numbers in a single contacts.*<br />
<br />
<a href="https://salsa.debian.org/comfortablydumb-guest/Hello-from-the-Debian-side/blob/master/Images/Screenshot_20180715-190706.jpg" class="remarkup-link" target="_blank" rel="noreferrer">Screenshot</a></p>
<p><strong>More context :</strong><br />
I'm working on a project to create a Click-to-dial pop-up Dialer application for GSoC under Debian. This application (would be invoked as a MIME handler and) is being developed with Python3 & PyQt4. It can place a phone call with VoIP, display details about the country in which the phone number is registered, save the number to an address book.</p>
<p>With KDE-Connect, my aim is to send a phone number/contact to a user's mobile phone. This will show a notification on the Android device which the user can click to either dial (starting a dialer intent) or add to his contacts.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R225 KDE Connect - Android application</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14248">https://phabricator.kde.org/D14248</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>AndroidManifest.xml<br />
build.gradle<br />
src/org/kde/kdeconnect/Backends/LanBackend/LanLink.java<br />
src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java<br />
src/org/kde/kdeconnect/Device.java<br />
src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java<br />
src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java</div></div></div><br /><div><strong>To: </strong>vishalgupta<br /><strong>Cc: </strong>kdeconnect, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, ach, apol<br /></div>