Yorumlar
kardeşim senin için güzel bir webview çalışması
[code]
public class MainActivity extends ActionBarActivity {
final Activity activity = this;
private WebView webView;
@Override…
Zafer M ŞEN
9 yıl 10 ay önce
extends Activity yap
Zafer M ŞEN
9 yıl 10 ay önce
MainActivity extends dediğimizde sadece "MainActivity" hata veriyor diğerini dediğimizde birçok düzeltme istiyor ve hepsini yapınca ortalık karışıyor...
Zafer M ŞEN
9 yıl 10 ay önce
tesekkur ederim
Zafer M ŞEN
9 yıl 11 ay önce
Şu şekilde bir log çıktısı alıyorum kardeş.
12-19 00:01:47.951 22329-22329/com.davidgassner.plainolnotes I/PersonaManager﹕ getPersonaService() name persona_policy
12-19 00:01:47.971 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:48 height:48 bitmap id is 180
12-19 00:01:47.971 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 181
12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 182
12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:13 height:41 bitmap id is 183
12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 184
12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 185
12-19 00:01:47.981 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 186
12-19 00:01:47.991 22329-22329/com.davidgassner.plainolnotes E/MoreInfoHPW_ViewGroup﹕ Parent view is not a TextView
12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 187
12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 188
12-19 00:01:48.001 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:72 height:72 bitmap id is 189
12-19 00:01:48.011 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:30 height:30 bitmap id is 190
12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:13 height:41 bitmap id is 191
12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 192
12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:18 height:18 bitmap id is 193
12-19 00:01:48.021 22329-22329/com.davidgassner.plainolnotes D/AbsListView﹕ Get MotionRecognitionManager
12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes D/skia﹕ GFXPNG PNG bitmap created width:96 height:96 bitmap id is 194
12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes D/AndroidRuntime﹕ Shutting down VM
12-19 00:01:48.031 22329-22329/com.davidgassner.plainolnotes W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41828da0)
12-19 00:01:48.041 22329-22329/com.davidgassner.plainolnotes E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.davidgassner.plainolnotes, PID: 22329
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.davidgassner.plainolnotes/com.davidgassner.plainolnotes.MainActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2394)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2452)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5586)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.davidgassner.plainolnotes.MainActivity.onCreate(MainActivity.java:45)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2358)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2452)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5586)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Zafer M ŞEN
9 yıl 11 ay önce
http://s3.dosya.tc/server29/tMcM05/Log.docx.html
karmaşık geldiyse de dosya linkini de attım buraya kardeş
Zafer M ŞEN
9 yıl 11 ay önce
Çok teşekkürler :) bende araba kontrolü yapıcam projem bu :) yarışmada kaçıncı oldun
Zafer M ŞEN
9 yıl 11 ay önce
Aynısını yaptım.Eclipse hiçbir hata vermedi ama telefonuma yüklediğimde (kullandığım sdk:4.4.2 telefonum 4.4.2) BLuetoothA adını vermiştim.BluetoothA durduruldu hatası veriyor