From: Pavel A. <ak...@gm...> - 2010-01-20 14:08:46
|
I've tried to convert to iPhone next android app (XMPP sample) but unsuccessfully. http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ Could someone help? What android SDK version is supported? What could be done to fix it? I've extract smack classes from smack.jar but still errors, there is tail of long log gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone -Isrc/lib/android -Isrc/app -c src/app/org_apache_android_xmpp_SettingsDialog.m -o build/obj/app/org_apache_android_xmpp_SettingsDialog.o src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: android_text_Editable.h: No such file or directory In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: java_lang_Cloneable.h: No such file or directory In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot find protocol declaration for ‘java_lang_Cloneable’ src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘android_app_Dialog’ may not respond to ‘-__init_android_app_Dialog___android_content_Context:’ src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages without a matching method signature src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be assumed to return ‘id’ and accept src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as arguments.) src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: ‘android_app_Dialog’ may not respond to ‘-onStart__’ src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setContentView___int:’ src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setTitle___java_lang_CharSequence:’ src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 |
From: Sascha H. <sa...@xm...> - 2010-01-20 15:12:20
|
Hi Pavel, we don't have an Android SDK version we fully support, and I don't think we are anywhere close to that at this point. >From the logs your provided I can see, that there are compatibility classes missing, for example for android.text.Editable and others, that first need to be implemented. // Sascha 2010/1/20 Pavel Aksonov <ak...@gm...> > I've tried to convert to iPhone next android app (XMPP sample) but > unsuccessfully. > > http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ > > Could someone help? What android SDK version is supported? What could be > done to fix it? > > > I've extract smack classes from smack.jar but still errors, there is tail > of long log > > gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 > -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type > -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk > -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone > -Isrc/lib/android -Isrc/app -c > src/app/org_apache_android_xmpp_SettingsDialog.m -o > build/obj/app/org_apache_android_xmpp_SettingsDialog.o > src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: > android_text_Editable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: > java_lang_Cloneable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot > find protocol declaration for ‘java_lang_Cloneable’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function > ‘-[org_apache_android_xmpp_SettingsDialog > __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: > ‘android_app_Dialog’ may not respond to > ‘-__init_android_app_Dialog___android_content_Context:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages > without a matching method signature > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be > assumed to return ‘id’ and accept > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as > arguments.) > src/app/org_apache_android_xmpp_SettingsDialog.m: In function > ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: > ‘android_app_Dialog’ may not respond to ‘-onStart__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: > ‘org_apache_android_xmpp_SettingsDialog’ may not respond to > ‘-setContentView___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: > ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: > ‘org_apache_android_xmpp_SettingsDialog’ may not respond to > ‘-setTitle___java_lang_CharSequence:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: > ‘org_apache_android_xmpp_SettingsDialog’ may not respond to > ‘-findViewById___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function > ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: > ‘org_apache_android_xmpp_SettingsDialog’ may not respond to > ‘-findViewById___int:’ > make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 > > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Pavel A. <ak...@gm...> - 2010-01-20 20:23:38
|
Thank you for the information, where i can find list what is supported and what is not? Is socket-network communication supported? Maybe i could help here, but i'm not familiar with Objective-C... 20.01.2010, в 17:11, Sascha Haeberling написал(а): > Hi Pavel, > > we don't have an Android SDK version we fully support, and I don't think we are anywhere close to that at this point. > > From the logs your provided I can see, that there are compatibility classes missing, for example for android.text.Editable and others, that first need to be implemented. > > // Sascha > > 2010/1/20 Pavel Aksonov <ak...@gm...> > I've tried to convert to iPhone next android app (XMPP sample) but unsuccessfully. > > http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ > > Could someone help? What android SDK version is supported? What could be done to fix it? > > > I've extract smack classes from smack.jar but still errors, there is tail of long log > > gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone -Isrc/lib/android -Isrc/app -c src/app/org_apache_android_xmpp_SettingsDialog.m -o build/obj/app/org_apache_android_xmpp_SettingsDialog.o > src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: android_text_Editable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: java_lang_Cloneable.h: No such file or directory > In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: > src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot find protocol declaration for ‘java_lang_Cloneable’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘android_app_Dialog’ may not respond to ‘-__init_android_app_Dialog___android_content_Context:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages without a matching method signature > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be assumed to return ‘id’ and accept > src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as arguments.) > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: ‘android_app_Dialog’ may not respond to ‘-onStart__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setContentView___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ > src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-setTitle___java_lang_CharSequence:’ > src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ > src/app/org_apache_android_xmpp_SettingsDialog.m: In function ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: > src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-findViewById___int:’ > make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sascha H. <sa...@xm...> - 2010-01-21 16:23:51
|
Socket-network communication is not supported at this point, however, I know that some HTTP-level communication works. Arno is much better to answer these questions, as he takes care of most of the Objective-C code. You can check what is supported here: http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/src/android2iphone/android/ http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/src/xmlvm2objc/compat-lib/ // Sascha 2010/1/20 Pavel Aksonov <ak...@gm...> > Thank you for the information, where i can find list what is supported and > what is not? > Is socket-network communication supported? > > Maybe i could help here, but i'm not familiar with Objective-C... > > > 20.01.2010, в 17:11, Sascha Haeberling написал(а): > > Hi Pavel, > > we don't have an Android SDK version we fully support, and I don't think we > are anywhere close to that at this point. > > From the logs your provided I can see, that there are compatibility classes > missing, for example for android.text.Editable and others, that first need > to be implemented. > > // Sascha > > 2010/1/20 Pavel Aksonov <ak...@gm...> > >> I've tried to convert to iPhone next android app (XMPP sample) but >> unsuccessfully. >> >> http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ >> >> Could someone help? What android SDK version is supported? What could be >> done to fix it? >> >> >> I've extract smack classes from smack.jar but still errors, there is tail >> of long log >> >> gcc-4.2 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 >> -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type >> -D__IPHONE_OS_VERSION_MIN_REQUIRED=30000 -isysroot >> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk >> -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -Isrc/lib/iphone >> -Isrc/lib/android -Isrc/app -c >> src/app/org_apache_android_xmpp_SettingsDialog.m -o >> build/obj/app/org_apache_android_xmpp_SettingsDialog.o >> src/app/org_apache_android_xmpp_SettingsDialog.m:9:34: error: >> android_text_Editable.h: No such file or directory >> In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: >> src/app/org_jivesoftware_smack_ConnectionConfiguration.h:3:32: error: >> java_lang_Cloneable.h: No such file or directory >> In file included from src/app/org_apache_android_xmpp_SettingsDialog.m:10: >> src/app/org_jivesoftware_smack_ConnectionConfiguration.h:23: error: cannot >> find protocol declaration for ‘java_lang_Cloneable’ >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog >> __init_org_apache_android_xmpp_SettingsDialog___org_apache_android_xmpp_XMPPClient:]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: >> ‘android_app_Dialog’ may not respond to >> ‘-__init_android_app_Dialog___android_content_Context:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: (Messages >> without a matching method signature >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: will be >> assumed to return ‘id’ and accept >> src/app/org_apache_android_xmpp_SettingsDialog.m:59: warning: ‘...’ as >> arguments.) >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog onStart__]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:79: warning: >> ‘android_app_Dialog’ may not respond to ‘-onStart__’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:81: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-setContentView___int:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:82: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to ‘-getWindow__’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:86: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-setTitle___java_lang_CharSequence:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m:88: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-findViewById___int:’ >> src/app/org_apache_android_xmpp_SettingsDialog.m: In function >> ‘-[org_apache_android_xmpp_SettingsDialog getText___int:]’: >> src/app/org_apache_android_xmpp_SettingsDialog.m:243: warning: >> ‘org_apache_android_xmpp_SettingsDialog’ may not respond to >> ‘-findViewById___int:’ >> make: *** [build/obj/app/org_apache_android_xmpp_SettingsDialog.o] Error 1 >> >> >> >> >> ------------------------------------------------------------------------------ >> Throughout its 18-year history, RSA Conference consistently attracts the >> world's best and brightest in the field, creating opportunities for >> Conference >> attendees to learn about information security's most important issues >> through >> interactions with peers, luminaries and emerging and established >> companies. >> http://p.sf.net/sfu/rsaconf-dev2dev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > > |