AKMafia001's Profile User Rating: -----

Reputation: 228 Stalwart
Group:
Active Members
Active Posts:
710 (0.51 per day)
Joined:
11-June 11
Profile Views:
6,270
Last Active:
User is offline Today, 04:00 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   AKMafia001 has not set their status

Posts I've Made

  1. In Topic: Save checkboxes to SQLite Database

    Posted 29 Mar 2015

    09              if (wifi.isChecked()) {
    10	            final String strWifi = wifi.getText().toString();
    11	        }
    

    You are checking each CheckBox if it is checked, and keep it's value then. But, later in your code you assigned all the CheckBoxes to the variables.
    32	        final String strWifi = wifi.getText().toString();
    

    Even if the CheckBox wasn't checked and you ignored it earlier, its value is taken again here. Similarly with the other CheckBoxes.

    Note: The variables you are declaring in the if checks are declared in that scope and are not accessible outside it. So, later in your code, the variables with the same name are not the variables within those if checks, they are different. What you can do is declare non-final variables at the beginning of the method and then if a CheckBox is checked, you assign them, otherwise they remain empty.
  2. In Topic: Map problems delays, other issues API Quota ?

    Posted 29 Mar 2015

    Well! There are limits on services that Google provide. Google Maps Javascript API V3 has a quota, but Google Maps Android API V2 doesn't have a limit/quota as you can see in the Google Play Developer Console. I looked at Google Maps Geolocation API and the limit for it is 0 which means it is not freely available and you have to pay for it.

    I would suggest trying it with a different Google Account. Turn on the services you are using, and use the new keys in your app and test it.
  3. In Topic: Animation start on button touch more than once?

    Posted 29 Mar 2015

    Well! You can either set the background to null and set it back to the animation. But a better way is to stop() the animation and set it to the first frame.

    e.g.
    faceAnimation.stop();
    faceAnimation.selectDrawable(0);
    
    
  4. In Topic: Android JAVA file help

    Posted 29 Mar 2015

    That's because you are setting the onclickListener on the class ImageButton instead of on it's object calendar. In other words, the setonclickListener is a non-static method and you are trying to call it in a static way.

    Here,
    ImageButton.setonclickListener(this);
    
    
  5. In Topic: Public value issue

    Posted 17 Mar 2015

    That's not how you do things in Android. Not even in Java, if you have a public data member, you would at least need an object to access the public data member from.

    Based on what you are trying to do, you need an Intent to start the other Activity and put some data into that Intent. Your second activity, once started will fetch the data from the Intent.

My Information

Member Title:
</code.in.dream>
Age:
24 years old
Birthday:
January 2, 1991
Gender:
Interests:
Computers, Programming, Games, Sports, Cooking, Swimming
Full Name:
Mafia
Years Programming:
7
Programming Languages:
BASIC
C/C++
SQL
Assembly (80x86)
Java
PHP
Javascript
C#

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    vaseeprasanna Icon

    18 Dec 2012 - 08:29
    and your rocking
  2. Photo

    vaseeprasanna Icon

    18 Dec 2012 - 08:28
    how to make glass form in c#
  3. Photo

    AKMafia001 Icon

    09 Dec 2012 - 12:04
    You are outstanding, buddy! ;) You have to accept that... :P
  4. Photo

    Xupicor Icon

    09 Dec 2012 - 10:24
    I think you're way overstating my input here at DIC. But still, thanks. :P
  5. Photo

    raghav.naganathan Icon

    09 Dec 2012 - 09:26
    Well, thank you...:)...although its not such a good job compared to what you are doing...:)
  6. Photo

    AKMafia001 Icon

    07 Dec 2012 - 03:15
    Thanks Raghav! You are also doing good job in C/C++...
  7. Photo

    raghav.naganathan Icon

    07 Dec 2012 - 02:56
    Congrats on the excellent answer...and a well deserved 100 :)
  8. Photo

    raghav.naganathan Icon

    05 Dec 2012 - 10:29
    Dude...I have to say this...Outstanding work in the C/C++ forums...:)
    Looks like you are up in line for the expert badge :)
  9. Photo

    techdreamer Icon

    04 Nov 2012 - 06:59
    ok
Page 1 of 1