Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

android - Unable to run imported project -


i have few projects tested working in 1 pc.

i've since moved windows xp pc, , i've setup development tools on xp system. i've downloaded , installed following in order:
1. eclipse classic 3.6.1
2. jdk v6(jdk-6u23-windows-i586.exe)
3. android sdk tools rev8(installer_r08-windows.exe)
4. sdk platform v2.3/2.2, google apis, android api8, rev2, google usb driver, rev4
5. adt 8.0.1

i created new empty project make sure things working, , seem able new project run on emulator fine. however, when imported existing project workspace, bunch of errors, such as: "the import java.util cannot resolved" "the import android cannot resolved"

when @ project properties->java build path, shows "unable system library project" under "libraries" , "order , export". what's wrong?

i've tried copying , pasting .java files , main.xml files imported project new project, , runs correctly...but somehow imported project doesn't.

thanks.

  1. right click on project name, open properties.
  2. select java build path (from left menus)
  3. under "libraries" tab, find entry 'unable system library project', select click on remove button.
  4. select android (from left menus), tick on version of android want target.
  5. select project menu (main top level menu), select clean... select ok.
  6. right click on project name again, go down android tools > fix project properties.

that should trick , add android x.x (version selected) project, , imported project should start working.

enjoy.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -