Re: [mono-android] Slow Build- und Packaging-Process & few other things after update

2013-04-19 Thread JLee
Are you still investigating this problem?
Is it realy only me who is experiencing this problem?
I tested on different machines with the same behaviour.
Even if i start new, empty mono projects (without any extra references) and
deploy them to the device -> build & package always performed.

Is it maybe a licence-related problem?

After one week, always waiting for debbuger becomes quite annoying.
I hope you guys at xamarin don't loose the focus for "the basic things"
beside developing nice new features.

Lee

PS. i tried to install 4.7.4 but !Avast Antirus blocked with
"auto-sandboxing", when I started Visual Studio after installation. After
that, i wasn't able to load my project. I had to deinstall 4.7.4 and go back
to 4.6.4.
When I now try to install 4.7.4 again, the installer says, the 4.7.4 can't
be installed, cause the same shell is already installed on the system?!

Here is the avast log:
16.04.2013 22:22:00 Autosandbox candidate: C:\Program
Files\MSBuild\Xamarin\Android\mandroid.exe
[Source: local://*C:\Windows\system32\msiexec.exe   ]
[Opened by:
C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\bcee5d59d5cc1be6caddd114461e60b6\mscorlib.ni.dll]
[Reason: 0x0002]
 --> Result: Sandboxing (because policy set to Auto).





--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Slow-Build-und-Packaging-Process-few-other-things-after-update-tp5713139p5713182.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Slow Build- und Packaging-Process & few other things after update

2013-04-19 Thread JLee
jfi: Of course I removed mono from sandbox, but still wasn't able to load my
project.



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Slow-Build-und-Packaging-Process-few-other-things-after-update-tp5713139p5713183.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Slow Build- und Packaging-Process & few other things after update

2013-04-19 Thread JLee
this message I get when I try to install 4.7.4 again:


 



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Slow-Build-und-Packaging-Process-few-other-things-after-update-tp5713139p5713184.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] NoClassDefFoundError on new classFromNativeLibrary(AppContext)

2013-04-19 Thread Sayed Arian Kooshesh
and the logcat says???


On Fri, Apr 12, 2013 at 8:50 AM, Chas Xu  wrote:

> Thanks for the reply,
>
> The issue was because that I added the reference only in the core project
> (in which the native class is used ) not into the UI project. After I add
> the generated dll file as a reference in the app project as well, I can use
> the class and create the object now.
>
> However the app just crashes after the main activity set content view.
>
>
>
> On 12 April 2013 13:58, Sayed Arian Kooshesh  wrote:
>
>> right click content set to *AndroidJavaLibrary*
>>
>>
>> On Fri, Apr 12, 2013 at 3:48 AM, Chas Xu  wrote:
>>
>>> Hi,
>>>
>>> I created a Java bindings library project (in VS) and add the generated
>>> dll as the reference in my mono android app project. The class in the
>>> library project is visible at compile time but not visible at runtime. The
>>> exception NoClassDefFoundError was thrown on a simple new
>>> classFromNativeLibrary(AppContext). How could I resolve it?
>>>
>>> Thanks for any help.
>>>
>>> ___
>>> Monodroid mailing list
>>> Monodroid@lists.ximian.com
>>>
>>> UNSUBSCRIBE INFORMATION:
>>> http://lists.ximian.com/mailman/listinfo/monodroid
>>>
>>>
>>
>>
>> --
>> Extreme Knowledge is not something for which he programs a computer but
>> for which his computer is programming him.
>>
>> -Wozniak
>>
>>
>>- if my programming advice has helped you, feel free to donate to : 
>> 
>>
>> 
>> 
>>
>> ___
>> Monodroid mailing list
>> Monodroid@lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>>
>
> ___
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak


   - if my programming advice has helped you, feel free to donate to :




___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] call web service in background service

2013-04-19 Thread reza_z
HI ALL
how to call web service (asmx) periodically in background using android
service?
Thanks



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/call-web-service-in-background-service-tp5713154.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] for hire

2013-04-19 Thread Sayed Arian Kooshesh
Hey 
guys,

I'm for hire right now, 45$/hour. Mono-droid,android,python/perl/php/c++
and c.

-Arian Kooshesh
State programming champ
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] HOW TO CALL WEB SERVICE IN BACKGROUND SERVICE?????

2013-04-19 Thread reza_z
HI ALL 
how to call web service (asmx) periodically in background using android
service? 
Thanks



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/HOW-TO-CALL-WEB-SERVICE-IN-BACKGROUND-SERVICE-tp5713168.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] Mono_UnhandledException in emulator

2013-04-19 Thread sridhar

 protected void LoadProduct(ProductDetails[] productlist)
{

try
{

LayoutInflater inflater =
(LayoutInflater)v.Context.GetSystemService(Context.LayoutInflaterService);
TableLayout tblEvents =
v.FindViewById(Resource.Id.tblproducts);
tblEvents.RemoveAllViews();
tblEvents.Invalidate();
tblEvents.RefreshDrawableState();

foreach (ProductDetails events in productlist)
{
  

using(  View item =
inflater.Inflate(Resource.Layout.searchproductrowtemplate, tblEvents,
false)){

TextView lblProductTitle =
(TextView)item.FindViewById(Resource.Id.lblProductTitle);
TextView lblCategoryTilte =
(TextView)item.FindViewById(Resource.Id.lblCategoryTilte);
TextView lblSupplierTilte =
(TextView)item.FindViewById(Resource.Id.lblSupplierTilte);
TextView lblSubstanceTilte =
(TextView)item.FindViewById(Resource.Id.lblSubstanceTilte);

lblProductTitle.Text = 
events.Product;


lblCategoryTilte.Text = 
events.Category;


lblSupplierTilte.Text = 
events.SupplierName;



lblSubstanceTilte.Text = 
events.Substance;



Button btnProductSelect =
(Button)item.FindViewById(Resource.Id.btnProductSelect);
btnProductSelect.Tag = 
events.PKProductID;
//  btnProductSelect.Click += 
delegate(object sender, EventArgs e)
//  {
//  Button 
btnProductSelect1 = (Button)sender;
//  HandleRowSelectedEvent( 
btnProductSelect1.Tag.ToString());
//  
//  };

tblEvents.AddView(item);
}


  

}

}
catch (Exception ex)
{

ErrorHandling.ErrorEntry(ex.Message, "Home.cs-LoadEvent");
}

i am trying to bind a tablelayout with row template.after adding couple of
row to the table.outstanding GREFs out is keep on increasing .

can any please guide me to solve this problem. 

check below stack 

at Android.Runtime.JNIEnv.NewGlobalRef (intptr) [0x0] in
/Users/builder/data/lanes/monodroid-lion-bs1/03814ac5/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:378
  at Java.Lang.Object.RegisterInstance
(Android.Runtime.IJavaObject,intptr,Android.Runtime.JniHandleOwnership)
[0x00041] in
/Users/builder/data/lanes/monodroid-lion-bs1/03814ac5/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:139
  at Java.Lang.Object.SetHandle (intptr,Android.Runtime.JniHandleOwnership)
[0x0] in
/Users/builder/data/lanes/monodroid-lion-bs1/03814ac5/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:123
  at Java.Lang.Object..ctor (intptr,Android.Runtime.JniHandleOwnership)
[0x00023] in
/Users/builder/data/lanes/monodroid-lion-bs1/03814ac5/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:52
  at Android.Views.View..ctor (intptr,Android.Runtime.JniHandleOwnership)

  at Android.Widget.TextView..ctor
(intptr,Android.Runtime.JniHandleOwnership) 
  at (wrapper runtime-invoke)
.runtime_invoke_void__this___intptr_int
(object,intptr,intptr,intptr) 
  at System.Reflection.MonoCMethod.Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)

  at System.Reflection.MonoCMethod.Invoke
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)

  at System.Reflection.ConstructorInfo.Invoke (object[]) 
  at Java.Interop.TypeManager.CreateProxy
(System.Type,intptr,Android.Runtime.JniHandleOwnership) [0x00053] in
/User

Re: [mono-android] how to deploy mono for android app(.apk file) to android tablet

2013-04-19 Thread krish
k,nodoid ...i tried that i connect MTS MTAG7(Android ver 2.3) tablet to the
system and installed the drivers after i opened visual studio and run(F5) it
,it is not showing any device(tablet) it is just showing only emulator...can
u plz tell me the step by step process how to deploy ...plz its my need plz
reply asap...or is there any  necessity to build in release mode..if i did
it is not deploying it is giving error... how u installed ur apps into
nexus...m going to buy new SAMSUNG GALAXY Y DOUS LITE GT-S5302 OR SAMSUNG
GALAXY Y DUOS S6102...r they support to install my apps..both mobiles are
android version 2.3 ginger bread ...plz reply asap



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/how-to-deploy-mono-for-android-app-apk-file-to-android-tablet-tp5713167p5713187.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid