Git Product home page Git Product logo

Comments (3)

canciloglu avatar canciloglu commented on September 27, 2024

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.

oshamahue avatar oshamahue commented on September 27, 2024

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.

oshamahue avatar oshamahue commented on September 27, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.