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

Reputation: 234 Stalwart
Active Posts:
733 (0.46 per day)
11-June 11
Profile Views:
Last Active:
User is offline Jun 18 2015 04:41 AM

Previous Fields

Who Cares
OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:

Latest Visitors

Icon   AKMafia001 has not set their status

Posts I've Made

  1. In Topic: How to change android default with webview ?

    Posted 29 May 2015

    Sorry your question is a bit unclear to me. Using a WebView will open the page inside your app. Do you mean you want to also open the redirecting links that otherwise open in the browser instead of the WebView to also open inside your app in the WebView?

    If so, override the shouldOverrideUrlLoading() method. e.g.
    webview.setWebViewClient(new WebViewClient() {
        public boolean shouldOverrideUrlLoading(WebView view, String url){
            return false;

    Hope it Helps!
  2. In Topic: First Android App using Android Studio - XML error

    Posted 25 May 2015

    Topics Merged...

    You should be using YourPackageName.R instead of android.R. If you receive an error about R not being resolved there might be an error in one of your resource files which is preventing the R file from being generated. Make sure you don't have an error in your resource files.
  3. In Topic: Getting a null object reference?

    Posted 21 May 2015

    Can you please provide the complete error message from the logcat. Also when posting multiple code files, kindly do mention what the file names are. e.g. MainActivity.java or layout_map.xml.

    	             SupportMapFragment mapFragment = ((SupportMapFragment) getActivity().getSupportFragmentManager().findFragmentById(R.id.map));

    Try moving the above code in your Fragment class to the onCreateView method. Instead try this code,
    mapFragment = ((SupportMapFragment) getChildFragmentManager().findFragmentById(R.id.map));

    Hope it Helps!
  4. In Topic: Bunch of Errors after creating a project

    Posted 21 May 2015


    Did you import your app's R file? It's YourPackageName.R, hover over the R in your code and the IDE will prompt with suggestions. Select the correct R import from it. If you cannot find it, there will be errors in your resources, which is preventing the R file from generating.

    Make sure you have the Android Support Library installed and included in the project. If you are using eclipse, just right click on the project, android, there add the library to your project.

    Before doing that, you will need to import the AppCompat v7 to your workspace and the add it to your project. It will be located in the sdk folder.

    Hope it Helps!
  5. In Topic: Logcat issue in android studio

    Posted 21 May 2015

    Welcome to DIC!

    You can press Alt + 6 to show/hide the logcat window.

My Information

Member Title:
24 years old
January 2, 1991
Computers, Programming, Games, Sports, Cooking, Swimming
Full Name:
Years Programming:
Programming Languages:
Assembly (80x86)

Contact Information



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
Page 1 of 1