Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: HTC Evo 4G by Sprint
Instinct Forum, Samsung Instinct message board, Samsung Instinct By Sprint, Samsung Instinct phone, new Samsung Instinct, Samsung Instinct phone, Sprint Instinct, Samsung Instinct phone
Best Screen Protector for Samsung Instinct                 Free Sprint Phones and Cheap Plans
                Samsung Instinct Scratch Protection
Pages: 1 [2]
Reply Print
Author Topic: WTK & ECLIPSE!!  (Read 7361 times)
mhousser
Moderator
[I][N][S][T][I][N][C][T]
***

Cookies: 7
Hometown: Vancouver
Posts: 96



« Reply #15 on: September 04, 2008, 12:57:03 PM »

App shows blankness, and then returns to menu. No error.. just doesn't want to start.

The only difference in the jars, like I said, are the sizes of the .class files. Haven't figured out why yet..
Logged
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« Reply #16 on: September 04, 2008, 01:00:00 PM »

That's annoying!  I hate it when you get nothing at all!

I assume you are not letting it include the SIWL stuff in the phone build that is needed for the emulator build?
Logged
mhousser
Moderator
[I][N][S][T][I][N][C][T]
***

Cookies: 7
Hometown: Vancouver
Posts: 96



« Reply #17 on: September 04, 2008, 02:31:14 PM »

Correct. I am not including anything I shouldn't. The jars have all the same folders/files, except Eclipse's .class files are of very slightly different sizes. And also, 7Zip tells me that the .class files are UNIX format for the Eclipse jar, and DOS format for the NetBeans jar. Geez, I hope that doesn't matter, what a silly difference. But I'm at work right now so can't investigate at the moment!
Logged
mhousser
Moderator
[I][N][S][T][I][N][C][T]
***

Cookies: 7
Hometown: Vancouver
Posts: 96



« Reply #18 on: September 04, 2008, 10:56:29 PM »

Yeah, I'm at home, and I've confirmed that the .class files that Eclipse exports in its jar are the only reason the jar doesn't run.

ie. If i copy over NetBeans' .class files from its jar into my Eclipse jar, the program runs just fine on my Instinct.

So, does anyone have any idea what this difference might be? Maybe something to do with the .class compliance version? (I have eclipse set to 1.3...)
Logged
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« Reply #19 on: September 05, 2008, 07:47:05 AM »

Yeah, I'm at home, and I've confirmed that the .class files that Eclipse exports in its jar are the only reason the jar doesn't run.

ie. If i copy over NetBeans' .class files from its jar into my Eclipse jar, the program runs just fine on my Instinct.

It could be anything - a compiler bug or who knows what else.  When you say the class files are the only reason it doesn't run, that almost like saying "the exe I compiled with Visual Studio runs, but the exe I compiled with GCC doesn't".  They are two completely different environments with completely different outputs.

I stuck with Netbeans since it's clear that most mobile development, particularly from Sprint, is based on Netbeans.  But then again, you are from Vancouver; isn't there a big IBM site in Vancouver?

A few things you could try
- reducing the obfuscation level, because I have heard of obfuscator issues
- decompiling the class files and comparing
« Last Edit: September 05, 2008, 07:49:37 AM by KillerBeagle » Logged
mhousser
Moderator
[I][N][S][T][I][N][C][T]
***

Cookies: 7
Hometown: Vancouver
Posts: 96



« Reply #20 on: September 05, 2008, 10:34:14 AM »

Zero obfuscation on both i'm afraid.

Well, they're not compilers themselves.. Eclipse and NetBeans merely set up the arguments with which javac is run, after being provided with an installed JDK to use.

..Unless I'm completely mistaken. =P

Hmm, maybe I could look at the commands being generated by both programs and compare..

It's just.. Netbeans is *so* slow, in my opinion. It just doesn't compare to eclipse, as an IDE.. Sad
Logged
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« Reply #21 on: September 05, 2008, 11:49:24 AM »

Zero obfuscation on both i'm afraid.

Well, they're not compilers themselves.. Eclipse and NetBeans merely set up the arguments with which javac is run, after being provided with an installed JDK to use.

..Unless I'm completely mistaken. =P

Hmm, maybe I could look at the commands being generated by both programs and compare..

It's just.. Netbeans is *so* slow, in my opinion. It just doesn't compare to eclipse, as an IDE.. Sad

You're right, I was assuming you were using Sun JDK with Netbeans and IBM's JDK with Eclipse, but if you use the same JDK for both, there goes that idea.

Is there any difference in any of the libraries that get pulled in?

And you are definitely right about Netbeans being slow.  I'd hate to use it for a large project given how long it takes to rebuild a tiny app for a phone!
Logged
Twelve
[I]
*

Cookies: 0
Hometown: Colorado
Posts: 6



« Reply #22 on: September 13, 2009, 04:30:32 PM »

bUmp... i know this post is old but.... I'd like to know if anyone has had any success setting up their environment for developing in eclipse. thnx.
Logged

-Twelve
Pages: 1 [2]
Reply Print
Jump to:  

Got a new phone? Find the forum here


Subject Started by Replies Views Last post
Thoughts on Sanyo Katana Eclipse (SCP-6750)?
Other Cell Phones
stormygal_indy 3 505 Last post August 31, 2008, 09:52:24 PM
by stormygal_indy




Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Tech Support Forum | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "mobile@vssupportqueue.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip





















CopyRight 2008 www.instinct-samsung.com
Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC