Thanks Jon, again.. haha:p
I really appreciate your help since I'm really new to this stuff.. but the
methods like WithCommand are just regually in there?
Cause I have monodroid in visual studio but don't see any files like
MonoDataSqlite.. Or is that just baked into the framework?
Because if I am
By the way, if I try to adda reference of Mono.Data.Sqlite it goes wrong, I
can't seem to find it :S
2011/9/15 Mittchel Van Vliet
> Thanks Jon, again.. haha:p
>
> I really appreciate your help since I'm really new to this stuff.. but the
> methods like WithCommand are just regually in there?
> C
Jonathan Pryor writes:
>
> On Aug 12, 2011, at 8:56 AM, malexandroni wrote:
> > I tried the JS interface in Java and it works fine, but I tried to
replicate the code in Mono for Android and it
> does not work. What am I doing wrong?
>
> That won't work at this point in time.
>
> The problem
On Sep 15, 2011, at 2:59 AM, moelski wrote:
> In Activity 1 I tried this:
>var intent = new Intent(this.BaseContext, new
> HelloTabWidget().Class);
>intent.AddFlags(ActivityFlags.NewTask);
>
>Bundle bun = new Bundle();
>
On Sep 15, 2011, at 3:08 AM, Mittchel Van Vliet wrote:
> I really appreciate your help since I'm really new to this stuff.. but the
> methods like WithCommand are just regually in there?
No, WithCommand() is a helper method within the same source file:
https://github.com/xamarin/monotou
Hi Jonathan,
thx for your answer.
If Activity2 is in your process, store the BaseData object reference in a
global variable somewhere and just read it from Activity2.
Since I have to finish a small demonstration app this would be ok.
I´ve tried to define a public variable in activity1. But
On Sep 15, 2011, at 3:44 AM, Maik wrote:
> I would be interessted in a quick fix for this. Could you please post a
> sample Java file?
You can see the GoogleMaps sample, which has a .java file included in the build:
https://github.com/xamarin/monodroid-samples/tree/master/GoogleMaps
> C
On Sep 15, 2011, at 5:42 AM, moelski wrote:
> I´ve tried to define a public variable in activity1. But I had no luck to
> access this from activity2.
class Activity1 : Activity {
public static BaseData ThisIsGlobalData;
}
Alternatively, you could stuff it in the A
Thanks Jon you really been a big help,
Don't I need a .dll for the Mono.Data.Sqlite or does that come automatically
when you create a project?
Because I just imported an sqlite from other project, worked fine.
Though, I still have a few questions..
if I use the GetConnection() method then he do
I think that this turned out to be an incorrect (?) use of the "using"
statement.
What I was doing was (pseudo code):
AbsoluteLayout al = new AbsoluteLayout(this);
using (RotatingTextView rtv = new RotatingTextView())
{
rtv.somenewproperty = somevalue;
al.AddView(rtv);
}
Set
Hello everyone,
I recently started exploring around with Monodroid and now I wanted to work
with databases.
Finally I got that working, but what I want now is I made an database with
SQLite database browser.. and I want that file(database) to be deployed onto
the machine so that I can use the alre
Thx alot.
Now as I see your first info I think I was completely blinded
Alternatively, you could stuff it in the Application object
Where can I find this object (which file is it)?
Greetz
Dominik
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/How-to-send-
Brian Long wrote:
>
> The sample Mono for Android app at
> http://blong.com/Downloads/MonoAndroidJavaSplashScreenApp.zip uses a
> Java splash screen, which appears pretty promptly.
>
I've launched this example on my HTC. Got "slideshow effect", because blur
was too heavy for my weak graphic acce
Hi
Please read this article
http://android-developers.blogspot.com/2009/03/window-backgrounds-ui-speed.html
Instead of using a Splash screen, you can create a Theme with
Background Tile as in the above article and you will see that the
screen will instantaneously display.
Best Regar
Hi,
You can use like this
using (System.IO.Stream dbStream = Assets.Open(items.db3))
{
using (var fileStream = File.Create("C:\\Path\\To\\File"))
{
appStream.CopyTo(fileStream);
}
}
http://redth.info/2010/10/12/monodroid-custom-listadapter-for-your-listview
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Need-a-custom-list-item-example-tp4807108p4807130.html
Sent from the Mono for Android mailing list archive at Nabble.com.
Hi,
Thanks for your reply,
I do have a question regarding your example; The "C:\\Path\\To\\File" means
the path to the file on my computer right? But why's that neccesary when you
save it in your assets folder?
Further; I'm definitely going to exceed the 1MB limit.. so how does the
Resources opti
On Sep 15, 2011, at 7:52 AM, Martyn Wendon wrote:
> I think that this turned out to be an incorrect (?) use of the "using"
> statement.
I believe you are correct.
> What I was doing was (pseudo code):
>
> AbsoluteLayout al = new AbsoluteLayout(this);
>
> using (RotatingTextView
On Sep 15, 2011, at 8:28 AM, moelski wrote:
> > Alternatively, you could stuff it in the Application object
> Where can I find this object (which file is it)?
>From the Context.ApplicationContext documentation [0]:
Return the context of the single, global Application object of the
curren
On Sep 15, 2011, at 9:51 AM, SRI wrote:
> using (var fileStream = File.Create("C:\\Path\\To\\File"))
It should be noted that Android is a Linux-like platform. There is no C drive,
'\' is not the directory separator char, and you probably won't have write
access there anyway. :-)
On Sep 15, 2011, at 1:59 PM, Mittchel Van Vliet wrote:
> Further; I'm definitely going to exceed the 1MB limit.. so how does the
> Resources option work? haha:P
Add your file to the project, and set the Build action to "Embed as resource,"
and optionally set the Resource ID.
At runtime, you can
21 matches
Mail list logo