Advertisement
techmik

1 error

Nov 2nd, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. This code:
  2.  
  3. public void onClick(View v)
  4. {
  5. EditText domain = (EditText)findViewById(R.id.EditTextDomain);
  6. EditText username = (EditText)findViewById(R.id.EditTextUsername);
  7. EditText password = (EditText)findViewById(R.id.EditTextPassword);
  8.  
  9. com.cyanogenmod.filemanager.SambaExplorer.DownloadService.ProvideLoginCredentials(domain.toString(), username.toString(), password.toString());
  10.  
  11. Intent intent = new Intent(this, com.cyanogenmod.filemanager.SambaExplorer.SambaExplorer.class);
  12. intent.setData(Uri.parse(share));
  13. startActivity(intent);
  14. }
  15.  
  16. Causes this error
  17. ERROR: cannot find symbol
  18. symbol : constructor Intent(<anonymous android.view.View.OnClickListener>,java.lang.Class<com.cyanogenmod.filemanager.SambaExplorer>)
  19. location: class android.content.Intent
  20. Intent intent = new Intent(this, com.cyanogenmod.filemanager.SambaExplorer.class);
  21. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement