I just got a new Toshiba Thrive 32gb via Woot. I installed the Toshiba USB
Driver, every time I try to deploy
I always get errors (with or without Fast Deployment)
The error occurs during installation of Mono Runtime
http://pastebin.com/v81F83iU
01-23 19:40:13.410 D/AndroidRuntime( 776):
0
Figured it out, no SD card, had to change to "Prefer Internal"
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Unable-to-deploy-to-Toshiba-Thrive-Tablet-Honeycomb-3-1-tp5207586p5209864.html
Sent from the Mon
This works for me; (one for Gallery one for Camera)
private void pickFromGallery()
{
Intent i = new Intent(Intent.ActionGetContent);
i.SetType("image/*");
_activity.StartActivityForResult(i, PICK_FROM_FILE);
}
private void pickFromCamera()
{
void cropPicture(Intent data)
{
Intent intent = new Intent("com.android.camera.action.CROP");
intent.SetType("image/*");
List list =
PackageManager.QueryIntentActivities(intent, 0).ToList();
List cropOptions = new List();
if (list.Count == 0)
{
Toa
Can someone tell me where I can find this class in MFA ?
http://developer.android.com/reference/android/media/audiofx/Visualizer.html
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/where-is-android-media
Even more confusion, this seems to indicate that it is there,
http://docs.go-mono.com/?link=T%3aAndroid.Media.Audiofx.Visualizer
but there is no symbol entry in the Object Browser.
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-andr
I'm a registered MonoTouch owner, I want to port my app to Android, I tried
the Eval for MonoDroid.
It's totally unusable, even on my new i7 with 8 gigs of ram, the emulator is
abysmal.
So, my question is, if you use a *Real* device, what's the time like for a
code change, deploy execute and hi
I bought an LG Thrive GoPhone ($150 on Amazon) for doing my development, it
works great,
performance is acceptable.
BTW: Pretty cheap and you don't need to buy a GoPhone card or anything
additional, I just
enabled the USB Debugging and was up and running.
--
View this message in context:
http://
This thing rocks, can we use it with Mono for Android?
http://androiddevnotes.com/2011/03/08/129952152.html
How do you get Visual Studio to see it as a device?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Can-we-use-Android-x86-emulator-tp4778369p4778369.ht
Well, that's too bad, that thing boots instantaneously compared to the
painful emulator, I do have a real
device, but I like to work remotely and the Emulator allows for that, except
the real one is unusable, compared to the iPhone simulator.
--
View this message in context:
http://mono-for-andro
I'm also getting this error about the jarsigner:
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.235]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 9/13/2011 1:55:51 PM.
Project "C:\Users\eric\Downloads\splash\SplashApp.c
4:14 you need to remove all these things from the csproj:
14:14 ..\debug.keystore
14:14
..\debug.keystore
14:14
android
14:14
androiddebugkey
14:14 android
14:15 That was it! Thanks.
14:16 np
Thanks to jpobst that fixed the problem.
--
View this message in context:
ht
Wow! I ran into this myself not 20 minutes ago, to make it work, you have to
do this, I had left off
the SingleTop and the OnActivityResult was being called immediately.
// I found this fix from:
http://lblasa.wordpress.com/2011/06/16/android-onactivityresult-after-startactivityforresult-getting-c
Also, I used this version:
i.SetClass(this, typeof(Activity2));
This passes the parent of the Activity in, which you aren't doing, which is
probably why it
isnt working for you.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/OnActivityResult-not-being-called-tp4
I just copied and pasted your code, and it works for me, OnActivityResult is
being called for
for Activity 40.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/OnActivityResult-not-being-called-tp4802915p4803160.html
Sent from the Mono for Android mailing list archi
The Real question is, how do you get the "picked" ringtone inside
OnActivityResult
I tried
string extra =
data.GetStringExtra(Android.Media.RingtoneManager.ExtraRingtonePickedUri);
where data is the Intent passed into OnActivityResult, I get back null?
How do you retrieve the selected t
// Interesting, this works:
Android.Net.Uri uri =
(Android.Net.Uri)data.Extras.Get(Android.Media.RingtoneManager.ExtraRingtonePickedUri);
// This returns null
string uriString =
data.Extras.GetString(Android.Media.RingtoneManager.ExtraRingtonePickedUri);
--
View this message in context:
ht
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.
This technique illustrates just how bad the Android API is.
Why the hell can't you new up your own Intent, why do they have to do it for
you?
Otherwise, you'd pass your own data into the Constructor and you wouldn't
need some stupid
key-value pair hack to pass data back and forth.
This API surel
Correction: Meant to say Activity not Intent
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/How-to-send-a-custom-Data-Class-to-next-Activity-tp4805844p4810639.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
I'm trying to build up some TableRows programmatically and I want it to be
like this XML:
Note I want to set the above two attributes? How do you create the
IAttributeSet?
// What am I missing?
TableRow row = new TableRow(this, p);
--
View this message in context:
http://mono-for-androi
Feel like an idiot: (answered my own question)
row.SetBackgroundResource(Resource.Drawable.shape);
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/How-to-programmatically-set-TableRow-background-tp4811634p4811680.html
Sent from the Mono for Android mailing
Can someone help generate the ListView layout like this (from the Contacts)
Specifically, I'm looking how to do the grid lines?
http://mono-for-android.1047100.n5.nabble.com/file/n4811992/device-2011-09-16-164918.png
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.c
This is roughly the layout, but I don't know how to do the grid lines?
http://schemas.android.com/apk/res/android";
android:id="@+id/widget28"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
https://github.com/JohnACarruthers/zxing.MonoDroid
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-Android-tp4840736p4845023.html
Sent from the Mono for Android mailing list archive at Nabble.com.
__
I think you want:
mWindowManager = context.GetSystemService(Context.WindowService) as
IWindowManager;
if (mWindowManager != null)
do something...
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/IWindowManager-tp4845524p4845585.html
Sent from the Mono for Andro
If you do use this, watch out with large megapixel cameras, you'll want to
use this, otherwise
it could take minutes to decode the bitmap.
I fixed it by doing the following:
private byte[] convertArray(int[] array)
{
byte[] newarray = new byte[array.Length * 3];
for (int i = 0; i < array.Lengt
Well, first you use the camera intent:
Intent intent = new
Intent(Android.Provider.MediaStore.ActionImageCapture);
string xp =
System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name,
"Android/data/*com.yourdoman.her*e/file/capturedBadge.jpg");
Java.IO.File xfile
Is there anything wrong is just doing it this way?
int color = System.Drawing.ColorTranslator.FromHtml("#afe0f4").ToArgb();
seems sorta Hackish to do the JNI thing?
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Missing-Static-Methods-tp4817432p4854447.html
Sen
You'll need the USB drivers for Mac
http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-
Drivers
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/getting-my-mac-going-tp4868613p4868637.html
Sent from the Mono for Android
Sorry I assumed it showed me windows only links because I came in from a
Windows box using IE.
I sorta assumed it would have shown mac links.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/getting-my-mac-going-tp4868613p4868868.html
Sent from the Mono for Android m
You spelled it wrong, first of all, it's an override,
protected override void OnActivityResult(int requestCode, Android.App.Result
resultCode, Intent data)
Is the signature, yours is just a method, that nobody knows how to call.
If you use visual studio it's easy.
--
View this message in c
The Case is wrong, it's
*On*ActivityResult not *on*ActivityResult
Your not overriding the method.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Activity-Result-tp4877124p4877350.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
This code works for me, and OnActivityResult is called:
void useCamera()
{
Intent intent = new
Intent(Android.Provider.MediaStore.ActionImageCapture);
string xp =
System.IO.Path.Combine(Android.OS.Environment.ExternalStorageDirectory.Name,
"Android/data/com.myprereg.leads/file/ca
protected override void OnActivityResult(int requestCode,
Android.App.Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);
}
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Using-the-device-camera-and-getting-a-resu
Also, this helped me before:
Wow! I ran into this myself not 20 minutes ago, to make it work, you have to
do this, I had left off
the SingleTop and the OnActivityResult was being called immediately.
// I found this fix from:
http://lblasa.wordpress.com/2011/06/16/android-onactivityresult-after-
You can get the code from here:
https://github.com/JohnACarruthers/zxing.MonoDroid
I've been using it for awhile now.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Something-Positive-to-Report-Barcode-Scan-tp4919739p4921261.html
Sent from the Mono for Android
Look here:
https://github.com/conceptdev/Monospace11/blob/master/Android/Activities/BaseActivity.cs
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/physical-menu-button-tp4922127p4922259.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_
Why not use NewtonSoft JSON library?
https://github.com/martinbowling/Newtonsoft.Json
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Json-Deserialization-fails-tp4924572p4924650.html
Sent from the Mono for
I just built a 4.0 Honeycomb emulator and tried to start my app which works
fine with the 2.1 emulator
and now I get this: (The splash screen shows, then dies)
1-01 18:41:05.912 W/NetworkManagementSocketTagger( 76):
setKernelCountSet(10004, 0) failed with errno -2
11-01 18:41:08.903 I/MonoDroi
My splash screen follows the technique from here:
http://docs.xamarin.com/android/tutorials/Creating_a_Splash_Screen
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Problem-with-app-on-HoneyComb-Emulator-Cras
Oops, I knew it was 4.0 but didn't make the transition to the Ice Cream.
Thanks.
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Problem-with-app-on-HoneyComb-Emulator-Crash-Splashscreen-tp4955993p4956004.h
I've been using UrbanAirship for my iPhone development with MonoTouch, I'd
like to use it with
my Android app now. Question is, is there some magic way to import the .jar
file and use it from c#?
http://urbanairship.com/docs/android-client-push.html
Any pointers?
Thanks.
-
iPhone and Andro
I saw that, my problem is I don't know how to access the class(es) inside?
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/UrbanAirship-bindings-tp5103064p5103308.html
Sent from the Mono for Android mailing l
I swore that when I previously edited .axml files within VS2010 i was getting
the
intellisense completion when editing tags like etc. does this
work for other folks?
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabb
The odd thing was is simply started working again, after a long delay. very
strange.
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/VS2010-editing-axml-files-tp5103576p5105251.html
Sent from the Mono for And
I tried to build the API demo, getting these errors:
-- Build started: Project: ApiDemo, Configuration: Debug Any CPU --
C:\Users\eric\Downloads\mono-monodroid-samples-2b756b6\ApiDemo\Graphics\Compass.cs(51,20):
error CS0117: 'Android.Hardware.SensorManager' does not contain a definition
f
I'm fully up-to-date on all software.
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105397.html
Sent from the Mono for Android mailing list archive at Nab
That was it! I guess I picked the wrong link!
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Unable-to-build-Mono-for-Android-Samples-tp5105395p5105414.html
Sent from the Mono for Android mailing list archiv
Anyone converted and used this:
http://developer.android.com/guide/topics/search/search-dialog.html
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/An-examples-using-the-SearchDialog-tp5105626p5105626.ht
Any chance you can zip up the project and post it?
-
iPhone and Android Developer
www.ericfontana.com
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/An-examples-using-the-SearchDialog-tp5105626p5105768.html
Sent from the Mono for Android mailing list archive
51 matches
Mail list logo