I will definitely read and learn about debugging now...Thanks :)))
The way you said works...
public int getCount() {
//return mThumbIds.length;
if(vidUris!=null){
return vidUris.length;}
return 0;
}
...but the videos don't show up, so I still have a problem with retrie
So far so good, you've successfully hit a breakpoint. Now you need to
inspect variables (Google for Eclipse debugging basics).
Also set a breakpoint whee data is handed over to the adapter, and see which
one gets hit first.
BTW, I think adding "if (vidUris != null)" inside getCount() will fix the
Alright :) okay I see what you mean now, I guess, but for most of these
lines I get something like source not found... The JAR of this class file
belongs to container Android 2.1 - update 1 which does not allow
modifications to source attachments on its entries.
On Fri, Jul 16, 2010 at 11:18 PM,
Are you using Eclipse? If you are using Eclipse, you should be able to step
through your code and examine variables and object state and step through
your code one line at a time...
--
There are only 10 types of people in the wo
Okay, I set the breakpoint for getCount(); and this is what I got...
Moved [Android Application]
DalvikVM[localhost:8615]
Moved [Android Application]
DalvikVM[localhost:8615]
Thread [<3> main] (Suspended (entry into method getCount in
EditGalleryView$VideoAdapter))
EditGalleryView$VideoAdapter.get
Thanks :) I'll check it now...
On Fri, Jul 16, 2010 at 10:43 PM, TreKing wrote:
> On Fri, Jul 16, 2010 at 4:41 PM, TreKing wrote:
>
>> http://help.eclipse.org/helios/index.jsp
>>
>
> Stupid Frames:
>
> http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-add_line_
On Fri, Jul 16, 2010 at 4:41 PM, TreKing wrote:
> http://help.eclipse.org/helios/index.jsp
>
Stupid Frames:
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-add_line_breakpoints.htm
--
On Fri, Jul 16, 2010 at 4:31 PM, Victoria Busse wrote:
> I am sorry for the next question but I am really new to all this: how do I
> set breakpoints??
Why are you sorry?
I could tell you how to set a break point. Or I could tell you that simple
Google search lead me to this, where you can fin
Hey thanks for the fast reply :), I am sorry for the next question but I am
really new to all this: how do I set breakpoints??
On Fri, Jul 16, 2010 at 9:58 PM, Kostya Vasilyev wrote:
> Victoria,
>
> The cause of this exception appears in logcat:
>
>
> 07-16 19:40:45.124: ERROR/AndroidRuntime(225
Victoria,
The cause of this exception appears in logcat:
07-16 19:40:45.124: ERROR/AndroidRuntime(225): Caused by:
java.lang.NullPointerException
07-16 19:40:45.124: ERROR/AndroidRuntime(225): at
com.mobilevideoeditor.moved.EditGalleryView
$VideoAdapter.getCount(EditGalleryView.java:73)
Loo
Hi,
I am trying to load videos from my emulated sdcard into my implemented
GridView, it worked fine before, when I used the GridView example from
Google...but now I get a Force close error when I try to open the app.
The entire app works (or rather should work) like this a TabView is
launched tha
11 matches
Mail list logo