Форум программистов, компьютерный форум CyberForum.ru

Не запускается форма с WebView пример - Android

Войти
Регистрация
Восстановить пароль
Другие темы раздела
Android Заблокировать клавиатуру http://www.cyberforum.ru/android-dev/thread936268.html
Требуется заблокировать клавиатуру, чтобы она не появлялась, когда EditText попадает в фокус, но при этом оставался видимым курсор и текст можно было выделять. Установка InputType в "none" или editable в false прячут курсор.
Android Трабл с краями отображения Добрый день. Вот такая досадная проблема: элементы нельзя перетащить в самый край Activity, только по определенным рамкам. А если все-таки начинаю перемещать через XML, то получается вещь, изображенная на скрине - элементы уходят "в никуда". Как решить? P.S: Использую Eclipse. http://www.cyberforum.ru/android-dev/thread936215.html
Android Ошибка в файле, расположение Uncnow
Всем привет ! Ребят помогите, я не могу найти на что конкретно ругается компилятор. Выдает мне вот такую ошибку: ... res\layout\viewThree.xml: Invalid file name: must contain only В файле viewThree.xml следующий код: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
Android Размещение рекламы в приложении
Доброго времени суток форумчане! Кто знает реально ли разместить свои рекламные сообщения в приложении, знаю про admob, но все же реально ли это реализовать чтобы реклама показывалась та которую я выбрал?
Android Timer в ListView http://www.cyberforum.ru/android-dev/thread936022.html
Добрый вечер! Поставлена задача: нужно создать ListView в элементах которого тикало время от даты создания объекта. Я пошел по самому короткому и казалось бы единственному пути. Сделать ListView, запустил таймер который будет каждую секунду обновлять значения для адаптера ( adapter.notifyDataSetChanged(); ) Естественно, ListView стал дрожать при прокрутке. Решено было при начале прокрутки убивать...
Android Изменить код работы с Bitmap в связи с OutOfMemoryError Прочитал статью ( http://habrahabr.ru/post/161027/#habracut ) и хотел бы изменить свой код, так как в данный момент приложение испытывает OutOfMemoryError. У меня есть код: @Override protected HashMap<String, Object> doInBackground( HashMap<String, Object>... hm) { InputStream iStream = null; String imgUrl = (String) hm.get("imageLogo_path"); подробнее

Показать сообщение отдельно
SERGEY199100
16 / 16 / 0
Регистрация: 29.10.2009
Сообщений: 425
12.08.2013, 22:14  [ТС]     Не запускается форма с WebView пример
Да чтож за фигня, какого хрена мне компилятор выдает ошибку мол я не правильно переменную описал... ??
Ошибка:
Java
1
[2013-08-12 21:33:10 - MainActivity] res\layout\ThreeView.xml: Invalid file name: must contain only [a-z0-9_.]
XML
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
 
    <WebView
        android:id="@+id/webView1"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />
 
</LinearLayout>
Добавлено через 1 минуту
Блин... Или ему не нравится регистр ??? Походу я понял, нужно не ViewThree.xml а viewthree.xml ...

Добавлено через 21 минуту
Блин ребят помогите, вроде 100тый раз уже все переделываю... но не в какую тварь поганая не запускается (((

Что он пишет в логах ?

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
08-12 17:17:36.193: I/Choreographer(12389): Skipped 60 frames!  The application may be doing too much work on its main thread.
08-12 17:17:47.164: I/Choreographer(12389): Skipped 66 frames!  The application may be doing too much work on its main thread.
08-12 17:18:01.041: I/Choreographer(12389): Skipped 86 frames!  The application may be doing too much work on its main thread.
08-12 17:18:04.610: D/AndroidRuntime(12389): Shutting down VM
08-12 17:18:04.611: W/dalvikvm(12389): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-12 17:18:04.907: E/AndroidRuntime(12389): FATAL EXCEPTION: main
08-12 17:18:04.907: E/AndroidRuntime(12389): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=geo:0.0,0.0 }
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Activity.startActivityForResult(Activity.java:3370)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Activity.startActivityForResult(Activity.java:3331)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Activity.startActivity(Activity.java:3566)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.Activity.startActivity(Activity.java:3534)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at com.example.coomap.MainActivity.onClick(MainActivity.java:106)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.view.View.performClick(View.java:4204)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.view.View$PerformClick.run(View.java:17355)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.os.Handler.handleCallback(Handler.java:725)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.os.Handler.dispatchMessage(Handler.java:92)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.os.Looper.loop(Looper.java:137)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at android.app.ActivityThread.main(ActivityThread.java:5041)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at java.lang.reflect.Method.invokeNative(Native Method)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at java.lang.reflect.Method.invoke(Method.java:511)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-12 17:18:04.907: E/AndroidRuntime(12389):    at dalvik.system.NativeStart.main(Native Method)
08-12 17:18:21.104: I/Process(12389): Sending signal. PID: 12389 SIG: 9
08-12 17:20:18.021: D/dalvikvm(17172): GC_FOR_ALLOC freed 54K, 7% free 2503K/2680K, paused 103ms, total 108ms
08-12 17:20:18.071: I/dalvikvm-heap(17172): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:20:18.141: D/dalvikvm(17172): GC_FOR_ALLOC freed 2K, 4% free 4902K/5084K, paused 66ms, total 67ms
08-12 17:20:18.232: D/dalvikvm(17172): GC_CONCURRENT freed <1K, 4% free 4902K/5084K, paused 11ms+17ms, total 96ms
08-12 17:20:22.083: I/Choreographer(17172): Skipped 140 frames!  The application may be doing too much work on its main thread.
08-12 17:20:22.582: D/gralloc_goldfish(17172): Emulator without GPU emulation detected.
08-12 17:20:26.231: I/Choreographer(17172): Skipped 184 frames!  The application may be doing too much work on its main thread.
08-12 17:21:02.192: I/Choreographer(17172): Skipped 34 frames!  The application may be doing too much work on its main thread.
08-12 17:21:04.811: D/AndroidRuntime(17172): Shutting down VM
08-12 17:21:04.811: W/dalvikvm(17172): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-12 17:21:04.861: E/AndroidRuntime(17172): FATAL EXCEPTION: main
08-12 17:21:04.861: E/AndroidRuntime(17172): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=geo:0.0,0.0 }
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Activity.startActivityForResult(Activity.java:3370)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Activity.startActivityForResult(Activity.java:3331)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Activity.startActivity(Activity.java:3566)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.Activity.startActivity(Activity.java:3534)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at com.example.coomap.MainActivity.onClick(MainActivity.java:106)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.view.View.performClick(View.java:4204)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.view.View$PerformClick.run(View.java:17355)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.os.Handler.handleCallback(Handler.java:725)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.os.Handler.dispatchMessage(Handler.java:92)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.os.Looper.loop(Looper.java:137)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at android.app.ActivityThread.main(ActivityThread.java:5041)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at java.lang.reflect.Method.invokeNative(Native Method)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at java.lang.reflect.Method.invoke(Method.java:511)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-12 17:21:04.861: E/AndroidRuntime(17172):    at dalvik.system.NativeStart.main(Native Method)
08-12 17:21:09.312: I/Process(17172): Sending signal. PID: 17172 SIG: 9
08-12 17:31:03.881: E/Trace(17250): error opening trace file: No such file or directory (2)
08-12 17:31:05.121: D/dalvikvm(17250): GC_FOR_ALLOC freed 57K, 7% free 2503K/2684K, paused 170ms, total 175ms
08-12 17:31:05.181: I/dalvikvm-heap(17250): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:31:05.251: D/dalvikvm(17250): GC_FOR_ALLOC freed 2K, 4% free 4902K/5088K, paused 69ms, total 69ms
08-12 17:31:05.361: D/dalvikvm(17250): GC_CONCURRENT freed <1K, 4% free 4902K/5088K, paused 13ms+6ms, total 110ms
08-12 17:31:08.372: I/Choreographer(17250): Skipped 132 frames!  The application may be doing too much work on its main thread.
08-12 17:31:08.532: D/gralloc_goldfish(17250): Emulator without GPU emulation detected.
08-12 17:31:10.881: I/Choreographer(17250): Skipped 34 frames!  The application may be doing too much work on its main thread.
08-12 17:31:11.911: I/Choreographer(17250): Skipped 184 frames!  The application may be doing too much work on its main thread.
08-12 17:31:12.571: W/IInputConnectionWrapper(17250): showStatusIcon on inactive InputConnection
08-12 17:31:13.051: I/Choreographer(17250): Skipped 86 frames!  The application may be doing too much work on its main thread.
08-12 17:31:17.853: I/Choreographer(17250): Skipped 63 frames!  The application may be doing too much work on its main thread.
08-12 17:31:23.202: D/dalvikvm(17250): GC_CONCURRENT freed 57K, 4% free 5571K/5752K, paused 73ms+63ms, total 511ms
08-12 17:31:23.202: D/dalvikvm(17250): WAIT_FOR_CONCURRENT_GC blocked 178ms
08-12 17:31:25.331: D/dalvikvm(17250): GC_FOR_ALLOC freed 44K, 4% free 6436K/6660K, paused 243ms, total 259ms
08-12 17:31:25.991: I/Choreographer(17250): Skipped 46 frames!  The application may be doing too much work on its main thread.
08-12 17:31:27.541: I/Choreographer(17250): Skipped 193 frames!  The application may be doing too much work on its main thread.
08-12 17:31:33.491: I/Choreographer(17250): Skipped 113 frames!  The application may be doing too much work on its main thread.
08-12 17:31:44.051: I/Choreographer(17250): Skipped 93 frames!  The application may be doing too much work on its main thread.
08-12 17:31:49.061: I/Choreographer(17250): Skipped 32 frames!  The application may be doing too much work on its main thread.
08-12 17:31:51.312: I/Choreographer(17250): Skipped 98 frames!  The application may be doing too much work on its main thread.
08-12 17:36:47.892: E/Trace(17315): error opening trace file: No such file or directory (2)
08-12 17:36:49.122: D/dalvikvm(17315): GC_FOR_ALLOC freed 61K, 7% free 2503K/2688K, paused 89ms, total 112ms
08-12 17:36:49.212: I/dalvikvm-heap(17315): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:36:49.292: D/dalvikvm(17315): GC_FOR_ALLOC freed 2K, 4% free 4902K/5092K, paused 78ms, total 78ms
08-12 17:36:49.422: D/dalvikvm(17315): GC_CONCURRENT freed <1K, 4% free 4902K/5092K, paused 29ms+17ms, total 134ms
08-12 17:36:52.562: I/Choreographer(17315): Skipped 155 frames!  The application may be doing too much work on its main thread.
08-12 17:36:52.971: D/gralloc_goldfish(17315): Emulator without GPU emulation detected.
08-12 17:37:03.103: D/dalvikvm(17315): GC_FOR_ALLOC freed 34K, 3% free 5445K/5600K, paused 270ms, total 313ms
08-12 17:37:03.502: D/dalvikvm(17315): GC_CONCURRENT freed 57K, 4% free 6294K/6508K, paused 6ms+28ms, total 317ms
08-12 17:37:06.192: I/Choreographer(17315): Skipped 93 frames!  The application may be doing too much work on its main thread.
08-12 17:37:07.721: I/Choreographer(17315): Skipped 212 frames!  The application may be doing too much work on its main thread.
08-12 17:37:11.901: I/Choreographer(17315): Skipped 84 frames!  The application may be doing too much work on its main thread.
08-12 17:37:44.512: I/Choreographer(17315): Skipped 42 frames!  The application may be doing too much work on its main thread.
08-12 17:37:47.021: I/Choreographer(17315): Skipped 105 frames!  The application may be doing too much work on its main thread.
08-12 17:37:52.102: I/Choreographer(17315): Skipped 30 frames!  The application may be doing too much work on its main thread.
08-12 17:38:15.312: I/Choreographer(17315): Skipped 30 frames!  The application may be doing too much work on its main thread.
08-12 17:55:19.484: E/Trace(17436): error opening trace file: No such file or directory (2)
08-12 17:55:21.191: D/dalvikvm(17436): GC_FOR_ALLOC freed 68K, 7% free 2503K/2692K, paused 166ms, total 171ms
08-12 17:55:21.261: I/dalvikvm-heap(17436): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:55:21.351: D/dalvikvm(17436): GC_FOR_ALLOC freed 2K, 4% free 4902K/5096K, paused 83ms, total 83ms
08-12 17:55:21.511: D/dalvikvm(17436): GC_CONCURRENT freed 0K, 4% free 4902K/5096K, paused 13ms+64ms, total 163ms
08-12 17:55:24.631: I/Choreographer(17436): Skipped 150 frames!  The application may be doing too much work on its main thread.
08-12 17:55:24.902: D/gralloc_goldfish(17436): Emulator without GPU emulation detected.
08-12 17:56:16.651: D/dalvikvm(17436): GC_FOR_ALLOC freed 34K, 3% free 5445K/5600K, paused 255ms, total 307ms
08-12 17:56:17.111: D/dalvikvm(17436): GC_CONCURRENT freed 58K, 4% free 6294K/6508K, paused 9ms+47ms, total 321ms
08-12 17:56:19.622: I/Choreographer(17436): Skipped 91 frames!  The application may be doing too much work on its main thread.
08-12 17:56:21.321: I/Choreographer(17436): Skipped 237 frames!  The application may be doing too much work on its main thread.
08-12 17:56:24.501: D/AndroidRuntime(17436): Shutting down VM
08-12 17:56:24.521: W/dalvikvm(17436): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-12 17:56:24.711: E/AndroidRuntime(17436): FATAL EXCEPTION: main
08-12 17:56:24.711: E/AndroidRuntime(17436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.coomap/com.example.coomap.ActivityThree}: java.lang.NullPointerException
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread.access$600(ActivityThread.java:141)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.os.Handler.dispatchMessage(Handler.java:99)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.os.Looper.loop(Looper.java:137)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread.main(ActivityThread.java:5041)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at java.lang.reflect.Method.invokeNative(Native Method)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at java.lang.reflect.Method.invoke(Method.java:511)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at dalvik.system.NativeStart.main(Native Method)
08-12 17:56:24.711: E/AndroidRuntime(17436): Caused by: java.lang.NullPointerException
08-12 17:56:24.711: E/AndroidRuntime(17436):    at com.example.coomap.ActivityThree.onCreate(ActivityThree.java:57)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.Activity.performCreate(Activity.java:5104)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
08-12 17:56:24.711: E/AndroidRuntime(17436):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
08-12 17:56:24.711: E/AndroidRuntime(17436):    ... 11 more
08-12 17:56:33.211: I/Process(17436): Sending signal. PID: 17436 SIG: 9
08-12 17:56:35.812: D/dalvikvm(17452): GC_FOR_ALLOC freed 71K, 8% free 2504K/2696K, paused 73ms, total 78ms
08-12 17:56:35.882: I/dalvikvm-heap(17452): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:56:36.031: D/dalvikvm(17452): GC_FOR_ALLOC freed 2K, 4% free 4903K/5100K, paused 148ms, total 148ms
08-12 17:56:36.172: D/dalvikvm(17452): GC_CONCURRENT freed <1K, 4% free 4903K/5100K, paused 13ms+18ms, total 145ms
08-12 17:56:40.594: I/Choreographer(17452): Skipped 115 frames!  The application may be doing too much work on its main thread.
08-12 17:56:40.712: D/gralloc_goldfish(17452): Emulator without GPU emulation detected.
08-12 17:56:44.622: I/Choreographer(17452): Skipped 38 frames!  The application may be doing too much work on its main thread.
08-12 17:56:46.501: D/dalvikvm(17452): GC_FOR_ALLOC freed 42K, 3% free 5447K/5612K, paused 255ms, total 285ms
08-12 17:56:46.952: D/dalvikvm(17452): GC_CONCURRENT freed 17K, 3% free 6337K/6520K, paused 7ms+55ms, total 312ms
08-12 17:56:49.441: I/Choreographer(17452): Skipped 80 frames!  The application may be doing too much work on its main thread.
08-12 17:56:51.132: I/Choreographer(17452): Skipped 130 frames!  The application may be doing too much work on its main thread.
08-12 17:56:56.302: D/AndroidRuntime(17452): Shutting down VM
08-12 17:56:56.322: W/dalvikvm(17452): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-12 17:56:56.531: E/AndroidRuntime(17452): FATAL EXCEPTION: main
08-12 17:56:56.531: E/AndroidRuntime(17452): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.coomap/com.example.coomap.ActivityThree}: java.lang.NullPointerException
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread.access$600(ActivityThread.java:141)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.os.Handler.dispatchMessage(Handler.java:99)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.os.Looper.loop(Looper.java:137)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread.main(ActivityThread.java:5041)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at java.lang.reflect.Method.invokeNative(Native Method)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at java.lang.reflect.Method.invoke(Method.java:511)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at dalvik.system.NativeStart.main(Native Method)
08-12 17:56:56.531: E/AndroidRuntime(17452): Caused by: java.lang.NullPointerException
08-12 17:56:56.531: E/AndroidRuntime(17452):    at com.example.coomap.ActivityThree.onCreate(ActivityThree.java:57)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.Activity.performCreate(Activity.java:5104)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
08-12 17:56:56.531: E/AndroidRuntime(17452):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
08-12 17:56:56.531: E/AndroidRuntime(17452):    ... 11 more
08-12 17:57:00.211: I/Process(17452): Sending signal. PID: 17452 SIG: 9
08-12 17:57:03.991: D/dalvikvm(17468): GC_FOR_ALLOC freed 36K, 6% free 2504K/2660K, paused 81ms, total 88ms
08-12 17:57:04.061: I/dalvikvm-heap(17468): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-12 17:57:04.151: D/dalvikvm(17468): GC_FOR_ALLOC freed 2K, 4% free 4903K/5064K, paused 86ms, total 87ms
08-12 17:57:04.311: D/dalvikvm(17468): GC_CONCURRENT freed <1K, 4% free 4903K/5064K, paused 15ms+19ms, total 166ms
08-12 17:57:07.381: I/Choreographer(17468): Skipped 102 frames!  The application may be doing too much work on its main thread.
08-12 17:57:07.492: D/gralloc_goldfish(17468): Emulator without GPU emulation detected.
08-12 17:57:08.614: I/Choreographer(17468): Skipped 53 frames!  The application may be doing too much work on its main thread.
Добавлено через 2 минуты
Опять строка 57... с списоком категорий чтоб ее что мне делать ??

Java
1
lv1.setAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1 , lv_arr)); //устанавливаем массив в ListView
Добавлено через 11 минут
Все ребят, разобрался, заработало. Какой я молодец...

Добавлено через 49 секунд
По этим логам определил, что не вызывается форма в которой инициализированны переменные, в которые передавались значения
 
Текущее время: 05:47. Часовой пояс GMT +3.
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Рейтинг@Mail.ru