Go Back   Android Forums > Android Development > Developer Forums > Dmforum

test: Reply
 
LinkBack Thread Tools
Old November 29th, 2012, 12:02 PM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
Dm47021's Avatar
 
Join Date: Nov 2011
Location: grand rapids mi
Gender: Male
Posts: 1,184
 
Device(s): Htc Evo Design 4G, Zte warp, Zte Warp Sequent, Samsung Epic 4G, Hauwei m835 cm7.2 748mhz OC
Carrier: Boost Mobile

Thanks: 59
Thanked 1,711 Times in 518 Posts
Lightbulb CyanogenMod 7 Zte Warp Development thread, Sources, and Discussions

reserved

Advertisements
Dm47021 is offline  
Last edited by Dm47021; December 13th, 2012 at 01:38 PM.
Reply With Quote
sponsored links
Old December 4th, 2012, 02:28 PM   #2 (permalink)
ROM Developer
Thread Author (OP)
 
Dm47021's Avatar
 
Join Date: Nov 2011
Location: grand rapids mi
Gender: Male
Posts: 1,184
 
Device(s): Htc Evo Design 4G, Zte warp, Zte Warp Sequent, Samsung Epic 4G, Hauwei m835 cm7.2 748mhz OC
Carrier: Boost Mobile

Thanks: 59
Thanked 1,711 Times in 518 Posts
Default Need Help with Compilation errors of Ril

Ive added a Ril Class to phoneFactory.java to use ZTEQualcommRIL.java but like hroark, iam getting errors with Symbols.

This may be a job for you Mercury. Lets do this thing

frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:122: cannot find symbol
symbol : variable RIL_REQUEST_VOICE_REGISTRATION_STATE
location: class com.android.internal.telephony.ZTEQualcommRIL
case RIL_REQUEST_VOICE_REGISTRATION_STATE: ret = responseStrings(p); break;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:123: cannot find symbol
symbol : variable RIL_REQUEST_DATA_REGISTRATION_STATE
location: class com.android.internal.telephony.ZTEQualcommRIL
case RIL_REQUEST_DATA_REGISTRATION_STATE: ret = responseStrings(p); break;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:176: cannot find symbol
symbol : method responseGetPreferredNetworkType(android.os.Parcel)
location: class com.android.internal.telephony.ZTEQualcommRIL
case RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE: ret = responseGetPreferredNetworkType(p); break;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:179: cannot find symbol
symbol : variable RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE
location: class com.android.internal.telephony.ZTEQualcommRIL
case RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE: ret = responseVoid(p); break;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:356: cannot find symbol
symbol : variable mPreferredNetworkType
location: class com.android.internal.telephony.ZTEQualcommRIL
setPreferredNetworkType(mPreferredNetworkType, null);
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:357: cannot find symbol
symbol : method setCdmaSubscriptionSource(int,<nulltype>)
location: class com.android.internal.telephony.ZTEQualcommRIL
setCdmaSubscriptionSource(mCdmaSubscription, null);
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:379: cannot find symbol
symbol : variable mRilVersion
location: class com.android.internal.telephony.ZTEQualcommRIL
mRilVersion = rilVer;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:380: cannot find symbol
symbol : variable mRilConnectedRegistrants
location: class com.android.internal.telephony.ZTEQualcommRIL
if (mRilConnectedRegistrants != null) {
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:381: cannot find symbol
symbol : variable mRilConnectedRegistrants
location: class com.android.internal.telephony.ZTEQualcommRIL
mRilConnectedRegistrants.notifyRegistrants(
^
Install: out/target/product/arthur/system/lib/libcamera_client.so
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:830: cannot find symbol
symbol : method PinStateFromRILInt(int)
location: class com.android.internal.telephony.IccCardApplication
ca.pin1 = ca.PinStateFromRILInt(p.readInt());
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:831: cannot find symbol
symbol : method PinStateFromRILInt(int)
location: class com.android.internal.telephony.IccCardApplication
ca.pin2 = ca.PinStateFromRILInt(p.readInt());
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:850: incomparable types: int and com.android.internal.telephony.IccCardStatus.PinSt ate
mPinState = (application.pin1 == IccCardStatus.PinState.PINSTATE_DISABLED ||
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:851: incomparable types: int and com.android.internal.telephony.IccCardStatus.PinSt ate
application.pin1 == IccCardStatus.PinState.PINSTATE_UNKNOWN) ? 0 : 1;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:860: cannot find symbol
symbol : method needsOldRilFeature(java.lang.String)
location: class com.android.internal.telephony.ZTEQualcommRIL
boolean oldRil = needsOldRilFeature("datacall");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:863: cannot find symbol
symbol : method getDataCallState(android.os.Parcel,int)
location: class com.android.internal.telephony.RIL
return super.getDataCallState(p, version);
^
target SharedLib: libmedia (out/target/product/arthur/obj/SHARED_LIBRARIES/libmedia_intermediates/LINKED/libmedia.so)
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:865: cannot find symbol
symbol : variable version
location: class com.android.internal.telephony.DataCallState
dataCall.version = 3; // was dataCall.version = version;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:872: cannot find symbol
symbol : variable addresses
location: class com.android.internal.telephony.DataCallState
dataCall.addresses = addresses.split(" ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:874: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.ifname = "rmnet0";
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:878: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses = new String[2];
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:879: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:879: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:880: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:880: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:856: method does not override or implement a method from a supertype
@Override
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:890: cannot find symbol
symbol : method needsOldRilFeature(java.lang.String)
location: class com.android.internal.telephony.ZTEQualcommRIL
boolean oldRil = needsOldRilFeature("datacall");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:893: cannot find symbol
symbol : method responseSetupDataCall(android.os.Parcel)
location: class com.android.internal.telephony.RIL
return super.responseSetupDataCall(p);
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:896: cannot find symbol
symbol : variable version
location: class com.android.internal.telephony.DataCallState
dataCall.version = 3;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:899: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.ifname = p.readString();
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:900: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
if (TextUtils.isEmpty(dataCall.ifname)) {
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:906: cannot find symbol
symbol : variable addresses
location: class com.android.internal.telephony.DataCallState
dataCall.addresses = addresses.split(" ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:909: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses = new String[2];
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:910: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:910: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[0] = SystemProperties.get("net."+dataCall.ifname+".dns1 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:911: cannot find symbol
symbol : variable dnses
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:911: cannot find symbol
symbol : variable ifname
location: class com.android.internal.telephony.DataCallState
dataCall.dnses[1] = SystemProperties.get("net."+dataCall.ifname+".dns2 ");
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:913: cannot find symbol
symbol : variable status
location: class com.android.internal.telephony.DataCallState
dataCall.status = 0;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:885: method does not override or implement a method from a supertype
@Override
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:922: cannot find symbol
symbol : class OperatorInfo
location: class com.android.internal.telephony.ZTEQualcommRIL
ArrayList<OperatorInfo> ret;
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:930: cannot find symbol
symbol : class OperatorInfo
location: class com.android.internal.telephony.ZTEQualcommRIL
ret = new ArrayList<OperatorInfo>(strings.length / 5);
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:934: cannot find symbol
symbol : class OperatorInfo
location: class com.android.internal.telephony.ZTEQualcommRIL
new OperatorInfo(
^
frameworks/base/telephony/java/com/android/internal/telephony/ZTEQualcommRIL.java:918: method does not override or implement a method from a supertype
@Override
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
41 errors
Dm47021 is offline  
Last edited by Dm47021; December 4th, 2012 at 02:41 PM.
Reply With Quote
Old December 9th, 2012, 02:59 PM   #3 (permalink)
Digital Packrat
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,650
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 928
Thanked 1,232 Times in 747 Posts
Default

Almost looks like a declaration is missing or changed. The only thing that sucks is I know zero about Java. It seems fairly C-like, so that helps a little bit. What source did you start with and what have you done to it so far?
__________________
The name's Thirteen. Mercury Thirteen.
My Android work: ABSM, PRL compilation, Mercury Sound Packs, PowerNap, Warp OEM ROM
mercury0x000d is offline  
Reply With Quote
Old December 9th, 2012, 08:06 PM   #4 (permalink)
ROM Developer
Thread Author (OP)
 
Dm47021's Avatar
 
Join Date: Nov 2011
Location: grand rapids mi
Gender: Male
Posts: 1,184
 
Device(s): Htc Evo Design 4G, Zte warp, Zte Warp Sequent, Samsung Epic 4G, Hauwei m835 cm7.2 748mhz OC
Carrier: Boost Mobile

Thanks: 59
Thanked 1,711 Times in 518 Posts
Default

That's all un modified
Dm47021 is offline  
Reply With Quote
Old December 9th, 2012, 08:50 PM   #5 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,394
Thanked 1,732 Times in 877 Posts
Default

Try the modified lge Java that the triumph uses
downthemachine is online now  
Reply With Quote
Old December 10th, 2012, 09:58 AM   #6 (permalink)
ROM Developer
Thread Author (OP)
 
Dm47021's Avatar
 
Join Date: Nov 2011
Location: grand rapids mi
Gender: Male
Posts: 1,184
 
Device(s): Htc Evo Design 4G, Zte warp, Zte Warp Sequent, Samsung Epic 4G, Hauwei m835 cm7.2 748mhz OC
Carrier: Boost Mobile

Thanks: 59
Thanked 1,711 Times in 518 Posts
Default

K
Dm47021 is offline  
Reply With Quote
Old December 13th, 2012, 01:39 PM   #7 (permalink)
ROM Developer
Thread Author (OP)
 
Dm47021's Avatar
 
Join Date: Nov 2011
Location: grand rapids mi
Gender: Male
Posts: 1,184
 
Device(s): Htc Evo Design 4G, Zte warp, Zte Warp Sequent, Samsung Epic 4G, Hauwei m835 cm7.2 748mhz OC
Carrier: Boost Mobile

Thanks: 59
Thanked 1,711 Times in 518 Posts
Default IRC

IF You have the skills/Knowledge, Or just want to help with CM7 Warp Development. FEEL FREE to join the IRC Channel for CM7 server: freenode channel #CM7WRP

Please do not bombard the channel with non dev questions or you will be banned.. sorry but this is for development only
Dm47021 is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Developer Forums > Dmforum
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.