On Monday, June 18, 2012 7:26:47 PM UTC+2, MagouyaWare wrote:
>
> I need it to be 100% pure code, without any kind of XML
>>
>
> Just out of curiosity, why?  From my experience it is much much easier to 
> use XML layouts unless there is a really really good reason not to...  
>

I am not writing a Java Android App, I am writing a framework which allows 
other developers to write Pascal applications for Android using Free Pascal 
and Lazarus.

In this case I want to provide a dialog with the native ListView so that 
the user can click in a button for example, then we execute Pascal code and 
this Pascal code can call this dialog via JNI.

So everything is dynamic, nothing is pre-set. My entire code base so far 
has very few Java code and zero XML, and I would like to keep it that way. 
The vast majority of the work is in Pascal.
 
> As far as your error, I did a simple Google search and came up with this:
> 
http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/CloneNotSupportedException.html

thanks, but that is a run-time error, for me it is very wierd that a 
run-time error would appear at compilation time...

Maybe I need to inherit my Activity from ListActivity? So far I haven't 
done it as I couldn't see a reason for doing that, but maybe for some 
obscure reason I need to.

thanks,
Felipe 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to