modi123_1's Profile User Rating: *****

Reputation: 10030 Legendary
Group:
Admins
Active Posts:
39,912 (16.07 per day)
Joined:
12-June 08
Profile Views:
391,711
Last Active:
User is online 12 minutes ago
Currently:
Viewing Topic: webbrowser: Get media download l...

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
1125

Latest Visitors

Icon   modi123_1 Be excellent to each other!

Posts I've Made

  1. In Topic: webbrowser: Get media download link instead using default media player

    Posted 31 Mar 2015

    That sort of depends on the browser. Each handles things their own way.
  2. In Topic: Local Yokels

    Posted 31 Mar 2015

    Ha! I heard that all the way out here!
  3. In Topic: Can't retrieve data from database

    Posted 31 Mar 2015

    Look at the exception. "getAllData()' on a null object reference". You are trying to use 'getalldata()' on a null object. aka an object you have not instantiated.

    I see you using this:
    38	        Cursor cursor = data.getAllData(); 
    

    .. so let's trace back where 'data' comes from.

    You have it as a global variable here:


    01	public class BoekenLijst extends ListActivity {
    02	 
    03	    private ListView listView;
    04	    DataSource data;
    
    


    .. but wait - in your 'on create' you create a second variable called 'data' and instantiate it. Line 10 is *NOT* the same as line 04. Line 10 has a different scope than 04. If you wanted to instantiate 04 then you need to get ride of that type declaration in line 10.. (the initial "datasource" type).

    06	    protected void onCreate(Bundle savedInstanceState) {
    ...
    10	        DataSource data  = new DataSource(this);
    


    If you are unclear why line 10 and line 04 are not the same variable then you need to refresh yourself on what 'scope' is.
  4. In Topic: Destroying sessions on user logout.

    Posted 31 Mar 2015

    Quote

    That is also not a good way to do role switching.

    Yawn - I don't quite care enough to bogged down in the the granularity of 'good-enough way' or not.
  5. In Topic: pull all links and their text from a web page

    Posted 31 Mar 2015

    Is that your site or the site you are targeting to scrape?

My Information

Member Title:
Suitor #2
Age:
Age Unknown
Birthday:
December 29
Gender:
Location:
Omaha, NE
Interests:
VB.NET C#.NET MS Reporitng services
Forum Leader:
VB6, VB.NET, C#
Years Programming:
15
Programming Languages:
VB.NET,C#.NET,MS Reporting services, SQL, XNA, Java, C++, PHP, HTML/CSS.

Contact Information

E-mail:
Private
Website URL:
Website URL  http://wangnet.org
Facebook:
https://github.com/modi1231
Twitter:
modi321

Comments

  • (14 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  1. Photo

    modi123_1 Icon

    24 Mar 2015 - 07:21
    10001 - palindrome! -> macosxnerd101
  2. Photo

    macosxnerd101 Icon

    24 Mar 2015 - 06:51
    Welcome to the 10k club!
  3. Photo

    modi123_1 Icon

    24 Mar 2015 - 06:43
    10,000 -> jon.kiparsky
  4. Photo

    Tyr4el Icon

    24 Mar 2015 - 04:16
    Grats on 10k rep :P
  5. Photo

    BenignReaver Icon

    12 Mar 2015 - 09:53
    Just saw you post on my page, hi there :3
  6. Photo

    modi123_1 Icon

    05 Mar 2015 - 07:37
    Salem_c -> 9900
  7. Photo

    modi123_1 Icon

    20 Jan 2015 - 09:37
    9701 -> b9
  8. Photo

    modi123_1 Icon

    20 Jan 2015 - 07:58
    That has been my standard greeting late at night.. I am trying to perfect my tone so I can try out to be the fourth Dora!
  9. Photo

    BenignDesign Icon

    20 Jan 2015 - 07:53
    http://data2.whicdn.com/images/11804315/large.jpg
  10. Photo

    depricated Icon

    08 Jan 2015 - 08:00
    Let me know, I'll be devastated. That pack was supposed to have 5 Slammers, but I wanted to leave them wrapped for you. The looks the FedEx guy gave me when I started dumping the pogs into the box was hilarious by the way.
  11. Photo

    depricated Icon

    08 Jan 2015 - 05:21
    I thought the unopened Marvel pouches were all Slammers
  12. Photo

    modi123_1 Icon

    02 Jan 2015 - 14:23
    9609
  13. Photo

    modi123_1 Icon

    31 Dec 2014 - 14:03
    Check the thread.. no demon voices.. which is nice.. well.. more than the usuals.
  14. Photo

    depricated Icon

    31 Dec 2014 - 08:32
    So uh, what's on that tape?
  15. Photo

    Choscura Icon

    23 Nov 2014 - 11:25
    Cool link, thanks!
  • (14 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »