Mixed news out of the tech sector had a large hand in after-hours trading Thursday, and leading the upside charge was a red-hot

Research In Motion

( RIMM).

Shares were

soaring 17.2%

after the company, which makes Blackberry handheld devices, posted a fiscal first-quarter profit of $223.2 million, or $1.17 a share -- a 74.6% per-share surge from last year -- on ballooning sales of $1.08 billion. Analysts polled by Thomson Financial were seeking $1.06 a share on $1.05 billion in revenue. RIM shares were up $28.40 to $193.99.

Fellow tech name

Micron Technology

(MU) - Get Report

, an Idaho-based semiconductor firm, traded 2% higher to $12.66 despite

swinging to a wider-than-expected loss

in the fiscal third quarter.

And

Komag

( KOMG), which makes hard-disk-drive equipment, leapt 7.6% to $31.83 after

Western Digital

(WDC) - Get Report

agreed to buy

the San Jose, Calif., company for $32.25 a share in cash. The roughly $1 billion deal should close in the third quarter. Western Digital shares lately sank 0.8% to $19.38.

Away from tech stocks, Dallas-based

Heelys

( HLYS) jumped 8.7% at $26.85 after withdrawing an earlier stock-offering registration for 4.5 million shares -- which was, itself, amended from an original May offering for 8 million shares. The selling stockholders don't wish to proceed "in light of current market conditions."

Arizona's

Apollo Group

(APOL)

, which runs the University of Phoenix, among other educational programs, said adjusted income in the third quarter rose 3 cents from last year to 81 cents a share, or $141.4 million, and furthermore launched a $500 million share-repurchase program. Shares were up $3.97, or 7.8%, to $54.75, in recent late trading.

Among losing tech stocks, meanwhile, was smartphone maker

Palm

( PALM), which sank 2.7% to $16.12 after guiding

well below earnings estimates

for the fiscal second quarter, despite a better-than-expected profit in the most recent quarter. The California-based company forecasted 7 cents to 9 cents a share on a non-GAAP basis.

3Com

( COMS), of Marlborough, Mass., widened its fourth-quarter loss to $66.2 million, or 17 cents a share, from 4 cents a share last year. Shares slid 3.8% to $4.51.

Elsewhere, women's-apparel retailer

Christopher & Banks

(CBK) - Get Report

reported that per-share income sank 17.9% to 32 cents in the quarter ended June 2 as same-store sales declined 4%. Looking ahead, next-quarter earnings should plummet by nearly half from the year-earlier period to 11 cents to 12 cents a share. The Minneapolis-based company blames an anticipated higher level of inventory-clearance activity and "challenging" market trends. Shares tumbled $1.02, or 5.7%, to $16.79.

And

Peregrine Pharmaceuticals

(PPHM)

dropped after agreeing to sell about $22.5 million of its shares to institutional investors. Net proceeds are expected to be around $20.9 million. Shares of the Tustin, Calif., company shed 8.4% t0 82 cents.