Posts tagged Blackbook
Shady SMS – Mblware Cease and Desist – Open Source Declaration of Various Code Elements
Aug 6th
At the request of Mblware I have changed the name of Android Blackbook to Shady SMS. To completely and unilaterally comply with the cease and desist request the name was immediately changed as to not further infringe on the copyright of Mblware.
I have also adjusted the description of the application, and various instructions as to not use the same semantic terminology as Mblware. This is also to the effect of not infringing on potentially additional copyrights of Mblware.
As a sign of good faith I will be publicly disclosing various code elements to the general public.
To process outgoing calls on the Android operating system several elements are required in the manifest file:
<uses-permission android:name=”android.permission.PROCESS_OUTGOING_CALLS” />
Particularly in the application section, of the manifest, you create a filter associating a particular class with a particular broadcast:
<receiver android:name=”.OutgoingCallReceiver”>
<intent-filter android:priority=”0″>
<action android:name=”android.intent.action.NEW_OUTGOING_CALL”></action>
</intent-filter>
</receiver>
Then in the class you extend BroadcastReceiver and override the onReceive method:
@Override
public void onReceive(final Context context, final Intent intent)
You can then process the outgoing call a variety of ways. I know several of my associates are aborting the outgoing call to change the telephone number to something more economical. You can also abort the outgoing call, for instance, if the screen is off; this can be part of an application to enhance “butt dialing” prevention.
To abort an outgoing call you can use:
setResultData(null);
After the call is aborted you can dial another number using:
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(“tel: xxxxxxxx”));
context.startActivity(intent);
The previous code is an intent, which can also be used to launch an application activity as follows:
Intent intent = new Intent(context, newActivity.class);
context.startActivity(intent);
All of the above code is part of the Android SDK a publication of predominantly open source code. It is freely searchable, viewable, and downloadable directly from the internet.
All code in Shady SMS is completely unique and derived of novel copyright. The sole reference used to generate the code was and is:
http://developer.android.com/guide/index.html
and:
http://developer.android.com/reference/packages.html
While the vast majority of code in Shady SMS is not open source I have no problem sharing most elements. Any requests for example algorithms can be sent directly to me via the contact tab at the top of this website. Email or call anytime, I’m always around