Hi guys,
i am new here.
i am not sure if i am posting a noob question but i have check up the web and google till no help hence i come here to see help from all the masters and grand masters.
i currently trying to call / bring up a fragment intent/class from another package but cant do it as the app keep crashing.
if i place all the file in the same package, i will be using the below line which will work fine:
Intent in = new Intent(getActivity(), test.class);
startActivity(in);
but when i try to call from another package , it crashs. i am using the below line:
Intent in = new Intent("com.xxx.xxxx.xxxxxx.test");
startActivity(in);
any advise or suggest are greatly welcome.
i am new here.
i am not sure if i am posting a noob question but i have check up the web and google till no help hence i come here to see help from all the masters and grand masters.
i currently trying to call / bring up a fragment intent/class from another package but cant do it as the app keep crashing.
if i place all the file in the same package, i will be using the below line which will work fine:
Intent in = new Intent(getActivity(), test.class);
startActivity(in);
but when i try to call from another package , it crashs. i am using the below line:
Intent in = new Intent("com.xxx.xxxx.xxxxxx.test");
startActivity(in);
any advise or suggest are greatly welcome.