Yorumlar
kardeşim gson isimli googlenin json sınıfı var çek onu projene exampleside var indirdiğin yerde jsonarrayi parse edip pojo class yaz mesela student gibi.
public class student{
private string name,surname,email,tel;
public student(){}…
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
bu iyi oldu.teşekkürler
Ahmet Burak Demirkoparan
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
şöyle bir hata veriyo
06-04 16:36:42.792: D/dalvikvm(4097): Late-enabling CheckJNI
06-04 16:36:42.878: E/Trace(4097): error opening trace file: No such file or directory (2)
06-04 16:36:42.901: V/ActivityThread(4097): Class path: /data/app/abdi72.muzik-1.apk, JNI path: /data/data/abdi72.muzik/lib
06-04 16:36:43.089: D/AndroidRuntime(4097): Shutting down VM
06-04 16:36:43.089: W/dalvikvm(4097): threadid=1: thread exiting with uncaught exception (group=0x40ea82a0)
06-04 16:36:43.097: E/AndroidRuntime(4097): FATAL EXCEPTION: main
06-04 16:36:43.097: E/AndroidRuntime(4097): java.lang.RuntimeException: Unable to start activity ComponentInfo{abdi72.muzik/abdi72.muzik.Main}: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2070)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2095)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread.access$600(ActivityThread.java:135)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.os.Handler.dispatchMessage(Handler.java:99)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.os.Looper.loop(Looper.java:137)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread.main(ActivityThread.java:4849)
06-04 16:36:43.097: E/AndroidRuntime(4097): at java.lang.reflect.Method.invokeNative(Native Method)
06-04 16:36:43.097: E/AndroidRuntime(4097): at java.lang.reflect.Method.invoke(Method.java:511)
06-04 16:36:43.097: E/AndroidRuntime(4097): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
06-04 16:36:43.097: E/AndroidRuntime(4097): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
06-04 16:36:43.097: E/AndroidRuntime(4097): at dalvik.system.NativeStart.main(Native Method)
06-04 16:36:43.097: E/AndroidRuntime(4097): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ListActivity.onContentChanged(ListActivity.java:243)
06-04 16:36:43.097: E/AndroidRuntime(4097): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:414)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.Activity.setContentView(Activity.java:2087)
06-04 16:36:43.097: E/AndroidRuntime(4097): at abdi72.muzik.Main.onCreate(Main.java:11)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.Activity.performCreate(Activity.java:5236)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)
06-04 16:36:43.097: E/AndroidRuntime(4097): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034)
06-04 16:36:43.097: E/AndroidRuntime(4097): ... 11 more
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
Resim çok küçük yahu :) mümkünatı yok nasa bile okuyamaz o kodları :D
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
benim içinde işte verinin değişip değişmediği kısmı lazım :)
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
son çektiğin verinin ilk kelimesiyle yeni tarama yaptırdığında gelen ilk verinin ilk kelimesini eşleştir eğer eşleşme sağlanmadıysa çek o tarz bir şey yapabilirsin.oturup güzel bi şekilde düşün eminim bulursun iyi bi yol
Ahmet Burak Demirkoparan
10 yıl 5 ay önce
tamam eyw bu konu üzerinde biraz daha çalışmam gerekecek :)
Ahmet Burak Demirkoparan