Software Development
Member Avatar

Hi friends,

Being new in junit i have onw question that How to test local variable in method using junit test case?
Check that below is my method suppose,

public …
Topic by Sunil_19

The idea of testing your code is to have some method that has a return and that is what you want to test. So to get testing going on above …

Software Development
Member Avatar

Hi friends,

Being new in junit i have onw question that How to test local variable in method using junit test case?
Check that below is my method suppose,

public …
Mobile Development
Member Avatar

Can anyone tell me what is wrong with this?
App crashes if user input is left blank. I was hoping it would display toast and wait for input.

                EditText userWireInput …
Mobile Development
Member Avatar

Can anyone tell me what is wrong with this?
App crashes if user input is left blank. I was hoping it would display toast and wait for input.

                EditText userWireInput …
Topic by Centorpe

@Centorpe you should have posted also error message...

Mobile Development
Member Avatar

So i have been searching all the net but haven't exactly found what I'm looking for and I'm starting to believe that it is impossible.

The problem is that I …

Topic by lukemaister

http://seotoolzz.com/android/android-login-app-with-mssql-server.php Here is the complete description of connecting android login application with mssql server database using JDBC.

Mobile Development
Member Avatar

Hi everyone, I've no idea how to design the grid layout like this :

unnamed.png

My image is square and I want to make it responsive to mobile and …

Mobile Development
Member Avatar

Hi everyone, I've no idea how to design the grid layout like this :

unnamed.png

My image is square and I want to make it responsive to mobile and …

Topic by devianleong

Some code by you would been good start, since you did not provide one I can only suggest you to read http://android-developers.blogspot.co.uk/2011/11/new-layout-widgets-space-and-gridlayout.html and http://developer.android.com/guide/topics/ui/layout/gridview.html

Mobile Development
Member Avatar

Hi guys

OK i have been working on a map soultion in android. I use google places. I have the correct APi key. The place api works well and its …

Mobile Development
Member Avatar

Hi guys

OK i have been working on a map soultion in android. I use google places. I have the correct APi key. The place api works well and its …

Topic by amit_33

Please share code

Hardware and Software
Member Avatar

I bought Iiyama XB2783HSU-B1DP monitor. However I'm not able to connect my MacBook Pro 2015 from HDMI with DisplayPort to HDMI cable. From monitor menu I am able to select …

Topic by peter_budo

I ordered Thunderbolt 2 to DisplayPort cable now. Will see if that works. Nevertheless rather weird that HDMI from Asus laptop did not worked either...

Hardware and Software
Member Avatar

I bought Iiyama XB2783HSU-B1DP monitor. However I'm not able to connect my MacBook Pro 2015 from HDMI with DisplayPort to HDMI cable. From monitor menu I am able to select …

Hardware and Software
Member Avatar

I bought Iiyama XB2783HSU-B1DP monitor. However I'm not able to connect my MacBook Pro 2015 from HDMI with DisplayPort to HDMI cable. From monitor menu I am able to select …

Hardware and Software
Member Avatar

I bought Iiyama XB2783HSU-B1DP monitor. However I'm not able to connect my MacBook Pro 2015 from HDMI with DisplayPort to HDMI cable. From monitor menu I am able to select …

Software Development
Member Avatar

Is there any easy way to create constructors from private variables
from

public class Vehicle {
public String VehicleNo;//  AQP 4300
public String Model;    //Toyota Vitz
public String ChassisNo;//  AE-09-8E-104N …
Topic by Farhan_8

Yes

Right click in the editor
Insert Code...
Constructor...
click the fields you want to include as parameters

Software Development
Member Avatar

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when …

Software Development
Member Avatar

Hello to all! I am doing practice for JDBC and using netbeans 8.1. I created a table in mc access and wrote a program. But the problem is that when …

Topic by Saboor Siddique

Ehmmm silly question will

"SELECT *FROM students"

actually work?
Shouldn't it be with space?

"SELECT * FROM students"

I haven't touched DBs in ages :P

Software Development
Member Avatar

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0

I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html".

On page index.html …

Software Development
Member Avatar

Hello guys! I am using netbeans8.1 and apache Tomcat8.0.27.0

I am making a simple web application for practice. I have made two html pages "index.html" and "welcome.html".

On page index.html …

Topic by Saboor Siddique

Also good starting point would be NetBeans documentation here

Mobile Development
Member Avatar

Hello guys! I'm currently working on a matching app. In the app, the user can select what mode of difficulty they want(easy, medium, hard and suvival) as well as select …

Mobile Development
Member Avatar

Hello guys! I'm currently working on a matching app. In the app, the user can select what mode of difficulty they want(easy, medium, hard and suvival) as well as select …

Topic by laguardian
  1. There is only one Bundle so no point for creating second (first snippet line 5 & 6)
  2. Use containsKey(String key) to see if bundle contains mode or logo …
Web Development
Member Avatar

Hi Guys,

I've been playing around with Angular and Ionic tutorials and I'm attempting to put together things I've learnt from different tutorials to build a simple NPR audio player. …

Mobile Development
Member Avatar
public class MainActivity extends ActionBarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        ParseObject.registerSubclass(MyFirstClass.class);
        Parse.initialize(this, "Id", "Id");

        Button button = (Button)findViewById(R.id.button1);
        button.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View arg0) …
Mobile Development
Member Avatar
public class MainActivity extends ActionBarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        ParseObject.registerSubclass(MyFirstClass.class);
        Parse.initialize(this, "Id", "Id");

        Button button = (Button)findViewById(R.id.button1);
        button.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View arg0) …
Topic by nitin1

Is your MyFirstClasssome sort of map? Please share that class or we will not be able to help...

Mobile Development
Member Avatar

I have 4 textviews which take their values from dropdown list (spinner) selected at previous screen. There can be either 2 or 4 numbers/letters as result of this selection. The …

Mobile Development
Member Avatar

I have 4 textviews which take their values from dropdown list (spinner) selected at previous screen. There can be either 2 or 4 numbers/letters as result of this selection. The …

Mobile Development
Member Avatar

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If …

Mobile Development
Member Avatar

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If …

Topic by burhanahmed92

Not sure what you are trying to do in this layout but I would suggest to look on this setup http://ivankocijan.xyz/android-nestedscrollview/
You use power of LinearLayout and its option of …

Mobile Development
Member Avatar

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If …

Mobile Development
Member Avatar

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If …

Mobile Development
Member Avatar

List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If …