Kişisel Sayfaları
İlgi Alanları
İş Tecrubesi
Eğitim Geçmişi
Sertifikalar & Başarılar
Kullanıcıya ait test sonucu bulunmamaktadır.
Dil Becerileri
Son Forum Aktiviteleri
6Logcat Hataa-Acil
Merhaba; Ben android de dinamik olarak çizgi çizdirmeye çalıştım uzun uğraşlar sonucunda...Şu an kodda çizgi çiziyor ancak ilk çizgiyi çizdiğim anda hata veriyor. Lütfen yardım edin. LogCat hatası: 05-22 05:45:56.635: E/AndroidRuntime(13077): FATAL EXCEPTION: main 05-22 05:45:56.635: E/AndroidRuntime(13077): Process: com.example.slicedenemee, PID: 13077 05-22 05:45:56.635: E/AndroidRuntime(13077): java.lang.NullPointerException 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.graphics.Canvas.drawLine(Canvas.java:931) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.example.slicedenemee.MainActivity$DrawView.onTouchEvent(MainActivity.java:111) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.View.dispatchTouchEvent(View.java:7782) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2322) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2112) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1544) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.app.Activity.dispatchTouchEvent(Activity.java:2491) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2060) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.View.dispatchPointerEvent(View.java:7973) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4392) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4263) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3859) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3828) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3935) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3836) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3992) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3859) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3828) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3836) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3809) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6124) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6104) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6058) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6254) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.os.MessageQueue.nativePollOnce(Native Method) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.os.MessageQueue.next(MessageQueue.java:138) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.os.Looper.loop(Looper.java:150) 05-22 05:45:56.635: E/AndroidRuntime(13077): at android.app.ActivityThread.main(ActivityThread.java:5307) 05-22 05:45:56.635: E/AndroidRuntime(13077): at java.lang.reflect.Method.invokeNative(Native Method) 05-22 05:45:56.635: E/AndroidRuntime(13077): at java.lang.reflect.Method.invoke(Method.java:515) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:831) 05-22 05:45:56.635: E/AndroidRuntime(13077): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647) 05-22 05:45:56.635: E/AndroidRuntime(13077): at dalvik.system.NativeStart.main(Native Method) bu şekilde...Lütfen nerede hatm olduğuunu ya da neye bakmam gerektiğini söyleyebilir misiniz?Şimdiden teşekkürler...
Web Srvice yardım
Merhaba;
Ben android mobil bir mobilya uygulaması geliştirmeye çalışıyorum.Projeyi dinamik olarak tasarlamam için bana resimleri web servis le yapabilirsin denildi ama tam olarak nasıl olması gerektiğini anlamadım.İnternetten baktım ancak biraz karışık..sırasıyla ne yapmam gerektiğini bilmiyorum.Yardımcı olabilecek varsa yardıımınızı bekliyorum.Ya da uygulamaya indiirme tarzı birşey yapsam ve kullanıcı bakmak iistediği mobilyalara indirerek baksa bunun için ne yapmam lazım?1.olan tercihim...O olursa daha mutlu olacağım.2 si hakkında da bilgi verebilirseniz teşekkür ederim.
unfortunalety xxx has stopped
Merhaba;
Yaptığım projeyi emülatörde açlıştırdığımda splash ekranı açılıyor,daha sonra unfortunaletyxx has stopped hatası veriyor..epey seyler denedim ama android programlamada da yeniyim o yüzden logcatteki hataların ne anlama geldiğini bilmiyorum.
Yardım ederseniz sevirim:)
Logcat hataları:
-------------------------------------------------------------------------------------------------------------------------------------------------
09-09 13:21:37.937: I/dalvikvm(16292): at android.app.Activity.setContentView(Activity.java:1881)
09-09 13:21:38.257: E/AndroidRuntime(16292): FATAL EXCEPTION: main
09-09 13:21:38.257: E/AndroidRuntime(16292): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dogtasst.dogtasmobilya/com.dogtasst.dogtasmobilya.MainActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread.access$600(ActivityThread.java:141)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.os.Handler.dispatchMessage(Handler.java:99)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.os.Looper.loop(Looper.java:137)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread.main(ActivityThread.java:5041)
09-09 13:21:38.257: E/AndroidRuntime(16292): at java.lang.reflect.Method.invokeNative(Native Method)
09-09 13:21:38.257: E/AndroidRuntime(16292): at java.lang.reflect.Method.invoke(Method.java:511)
09-09 13:21:38.257: E/AndroidRuntime(16292): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
09-09 13:21:38.257: E/AndroidRuntime(16292): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
09-09 13:21:38.257: E/AndroidRuntime(16292): at dalvik.system.NativeStart.main(Native Method)
09-09 13:21:38.257: E/AndroidRuntime(16292): Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
09-09 13:21:38.257: E/AndroidRuntime(16292): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
09-09 13:21:38.257: E/AndroidRuntime(16292): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.Activity.setContentView(Activity.java:1881)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.support.v7.app.ActionBarActivity.superSetContentView(ActionBarActivity.java:217)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.support.v7.app.ActionBarActivityDelegateICS.setContentView(ActionBarActivityDelegateICS.java:110)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.support.v7.app.ActionBarActivity.setContentView(ActionBarActivity.java:77)
09-09 13:21:38.257: E/AndroidRuntime(16292): at com.dogtasst.dogtasmobilya.MainActivity.onCreate(MainActivity.java:19)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.Activity.performCreate(Activity.java:5104)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
09-09 13:21:38.257: E/AndroidRuntime(16292): ... 11 more
09-09 13:21:38.257: E/AndroidRuntime(16292): Caused by: java.lang.reflect.InvocationTargetException
09-09 13:21:38.257: E/AndroidRuntime(16292): at java.lang.reflect.Constructor.constructNative(Native Method)
09-09 13:21:38.257: E/AndroidRuntime(16292): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
09-09 13:21:38.257: E/AndroidRuntime(16292): ... 26 more
09-09 13:21:38.257: E/AndroidRuntime(16292): Caused by: java.lang.OutOfMemoryError
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.content.res.Resources.loadDrawable(Resources.java:1965)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.View.<init>(View.java:3330)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.View.<init>(View.java:3259)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.view.ViewGroup.<init>(ViewGroup.java:425)
09-09 13:21:38.257: E/AndroidRuntime(16292): at android.widget.RelativeLayout.<init>(RelativeLayout.java:210)
09-09 13:21:38.257: E/AndroidRuntime(16292): ... 29 more
----------------------------------------------------------------------------------------------------------------------------------------
Şimdiden teşekkürler:)
splash scrreen ekranında Handler().postDelayed
Merhaba; ben splash screen sayfası oluşturdum ve gayet güzel çalışıyordu ta ki sabah projeyi açana kadar..şu an tam olarak hata da değil sanırım ama neyden kaynaklandığını blmiyorum,çözemedim internette de bunnula ilgili bir şey bulamadım..
openDelayed kısmında şöyle bişey çıkıyo;
The method postDelayed(Runnable, long) in the type Handler is not applicable for the arguments (new Runnable()
{}, long)
kodlar;
-------------------------------------------------------------------
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
public class SplashScreen extends Activity {
// Splash screen timer
private static long SPLASH_TIME_OUT = 3000;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
Intent i = new Intent(SplashScreen.this, MainActivity.class);
startActivity(i);
finish();
}
}, SPLASH_TIME_OUT);
}
}
-----------------------------------------------------
sadece bu kadar ama çalıştıramadım bi türlü..
resim ekleme,lütfen yardım edin
Merhaba ben daha yeni android programlama,java,eclipse ile uğraşıyorum..mobilyalar için bir mobil program geliştirmeye çalışıyorum ama yolun daha çok başındayım.diğer yüklenmiş programlara baktım ve o programlarda mobilyanın ürünler kısmı internet olmayınca açılmıyor,bunun anlamı resimleri internetten falan mı çekiyoruz demek,yoksa veritabanı ile falan mı olması gerekiyo,mobilya resimlerini falan nereden almalıyım??nesl yapsam daha iyi olur öğrenmek istiyorum,bu konu için link falan da paylaşabilirseniz sevinirim:)
resim ekleme,lütfen yardım edin
Rica etsem nasıl bi yol izlemem gerektiğini anlatabilcek var mı acaba?nereye bakmam lazım??web konusunda çok bişey bilmiyorum:/