IrisSofia / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Is there any way for do not inherrit my application from NgnApplication? #484

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make all the code that uses the ngn-stack except inheritance of the 
Application from NgnApplication.
2. Run your application.

What is the expected output? What do you see instead?
I expect that it will work correctly but it raises NPE.

What version of the product are you using? On what operating system?
Ngn Stack 2.0 for Android.

Please provide any additional information below.
Our application contains a lot of functions. The videocalls is one of them. We 
need to allow user to switch off and switch on videocalls. But the only way to 
use ngn-stack is to inherit the application from the NgnApplication. This 
inheriting will force a lot of fields to be created when the application is 
started. But is there some way to work around the inheriting and run the 
ngn-stack initialization by calling the function?

Original issue reported on code.google.com by nadk...@gmail.com on 4 Sep 2013 at 9:33