Fake call in android
Android is open source. Use it!
In the Phone app on the git repository you can find call_card.xml and CallCard.java, which are used to display the incoming call screen. Especially the java file is quite long and complex, but the layout (combined, of course, with the resources it references) should give you a fairly accurate copy of the default Android call screen.
How to send fake call broadcast on android
I may be wrong as I can't find anything in the docs but I'd say it's not possible to 'spoof' a call ringing broadcast. It's almost certainly reserved as 'system only'.
Think about it - if apps could do this, it may simply result in 'mischief' rather than anything malicious but it isn't something that I'd like to happen on my phone.
Create your own 'phone ringing' action to use for testing purposes and have your BroadcastReceiver listen for it. When you come to release the app then simply change the BroadcastReceiver's intent filter to listen for the real one.
Related Topics
Converting from Glsurfaceview to Textureview (Via Gltextureview)
How to Deal with Deprecated Classes in Android to Keep Compatibility
How to Access an Existing Sqlite Database in Android
Android Get Application's 'Home' Data Directory
Exception When Opening Parse Push Notification
How to Set Proxysettings and Proxyproperties on Android Wi-Fi Connection Using Java
How to Kill All Running Applications in Android
Android View Layout_Width - How to Change Programmatically
Package Signatures Do Not Match The Previously Installed Version
Retrofit and Get Using Parameters
How to Get Md5 from Debug.Keystore File
How to Use Standard Attribute Android:Text in My Custom View
Using Onbackpressed() in Android Fragments
How to Fix Android Studio Getting Stuck Executing Gradle Tasks
How to Import Eclipse Library Project from Github to Android Studio Project