Comments (3)
Merhaba Hadi,
Dikkat edersen bu hata sonucu değil, SDK tarafından özellikle atılan bir IllegalStateException. Amacı da tam sizin yaptığınız şeyi engellemek. SDK'yı nasıl çağırdığınızı gösteren bir kod parçasını gönderirsen daha iyi yardımcı olabilirim ama yazdıklarından anladığım, SDK'yı hatalı çağırıyor olabileceğiniz, Curio'yu yaratmadan SDK'yı kullanmaya çalışıyorsunuz. try-catch ile exception'ı yakalayıp orda Curio'yu yaratmak da doğru bir yöntem değil. Tabii dediğim gibi kodu görmem lazım. Hangi durumda buraya düştüğünüzü bilmem lazım.
from obsolete_curio_android_sdk_eclipse.
Can Merhaba,
Kodu yarin gonderebilirim. Ama bu bahsettigim durum uygulama background'a
dusup Application kill edildikten sonra olusuyor. Normal uygulama akisinda
sikinti olmadan calisiyor. Clientin initialize edildigi Activity'de degil
baska bir Activity'e gecip uygulamayi DDMS ile kill edip uygulamaya geri
dondugunuzde bu sorunun olustugunu goreceksiniz.
3 Kasım 2014 20:17 tarihinde Can Çiloğlu [email protected] yazdı:
Merhaba Hadi,
Dikkat edersen bu hata sonucu değil, SDK tarafından özellikle atılan bir
IllegalStateException. Amacı da tam sizin yaptığınız şeyi engellemek.
SDK'yı nasıl çağırdığınızı gösteren bir kod parçasını gönderirsen daha iyi
yardımcı olabilirim ama yazdıklarından anladığım, SDK'yı hatalı çağırıyor
olabileceğiniz, Curio'yu yaratmadan SDK'yı kullanmaya çalışıyorsunuz.
try-catch ile exception'ı yakalayıp orda Curio'yu yaratmak da doğru bir
yöntem değil. Tabii dediğim gibi kodu görmem lazım. Hangi durumda buraya
düştüğünüzü bilmem lazım.—
Reply to this email directly or view it on GitHub
https://github.com/Turkcell/Curio_android_SDK/issues/1#issuecomment-61522211
.
from obsolete_curio_android_sdk_eclipse.
Can Merhaba,
Uygulamaya turkcell login ile giris yapiliyor ve curio burada initialize ediliyor.
public void onCreate(Bundle savedInstancedState) {
super.onCreate(savedInstancedState);
CurioClient.createInstance(this);
CurioClient.getInstance().startSession();
turkcellIdManager = new TurkcellIdManager(TurkcellLoginActivity.this, getString(R.string.turkcellLoginId), getResources().getBoolean(R.bool.isTest));
}
BaseActivityde asagidaki gibi startScreen gonderiyoruz. Yukarda bahsettigim exceptionu startScreen de aliyoruz.
@OverRide
protected void onStart() {
super.onStart();
if (getActivityName() != null && !getActivityName().isEmpty()){
CurioClient.getInstance().startScreen(getContext(), getActivityName(), getActivityName());
}
}
from obsolete_curio_android_sdk_eclipse.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsolete_curio_android_sdk_eclipse.