I am assuming that you have written the OnItemLongClickListener to determine the selected item. To delete the selected item you can call remove method on the ArrayAdaptor if you are using an array or a java.util.List as data source. The remove method takes an argument which is nothing but the item to be removed. After this you will have to call notifyDataSetChanged method of the adapter to reflect the change.
A very decent tutorial on this can be foound here[^].
Prasad P. Khandekar
Knowledge exists, man only discovers it.
Hi all, I am creating a android client which is capable to send an image of the current activity from android client to server.I want to send the image continuously from my app and I also want to send the data when I will navigate from one activity to another.Please help with some example code.
When i wanna to open layout (Main.axml) in disigner in VS2010 for android I get this error : Xamarin.AndroidDesigner.DesignerException
But it works correctly in XML Design.
I wanna to have design !
Hey I wanted to find out if it is necessary to use renderscript for image processing apps on android. I'am coding an android panoramic view creator for creating 360 degree high quality panoramas but I had written the initial code in C++, but for android I have to use java and I have read about android phones not being so powerful because of their use of the virtual machine. So I was thinking of using renderscript for the android apps, is it necessary or just normal java code can do for such a task as panorama creation?
“Everything is simple when you take your time to analyze it.”
i am using this code to get info from my sql server 2008. this is working well in "Debug" mode but cannot run app in mobile(only release work for mobile) SO when i wanna to (Release mode) release it (.apk) and send to my samsung android mobile ,and when i run the app and click on button i get error :
The entry goes into the .csproj, not AndroidManifest.xml.
This can also be set in the IDE.
Click Project > Project Name Options.
In the left-hand tree, select Build > Mono for Android Build.
In the right-hand pane, select the Advanced tab.
In the Internationalization section, click the checkbox next to west.
Note: Make sure you're changing options for your Release build, not the Debug build.
Within Visual Studio:
Click Project > Project Name Properties.
In the Application tab, look in the Application properties > Additional supported encodings section (it's on the right).
Click the checkbox next to West.
I don't think you will be able to use MessageBox on Mono Android. MessageBox class is part of System.Windows.Forms package and is not available on Mono for Android. Instead please have a look at AlertDialog Sample[^].
Prasad P. Khandekar
Knowledge exists, man only discovers it.
I want to send code to the mobile label printer via mobile application. I have to do this with TCP connection. While tcp connection and printing is OK with the windows desktop application, It just does nothing with the mobile application. Once I click the connect button it connects to the printer and sends the text without problem but the printer does not respond!
Appreciate any suggestion
Here is the code
privatestatic NetworkStream stream;
privatestatic TcpClient client;
if (client == null)
client = new TcpClient();
int port = int.Parse(strPort);
stream = client.GetStream();
StreamWriter writer = new StreamWriter(stream, Encoding.GetEncoding("Windows-1251"));
writer.AutoFlush = false;
I'm venturing in to mobile development, finally, and am targeting Android first as I have a Galaxy S3. I've started with Eclipse but it is a bit clunky and am more comfortable with VS. My question is; since I want to eventually port my app to iOS, is the Xamarin suite of apps worth the cost in the end? I'm using the Mono for Android trial at the moment and a personal license costs $399. A bit steep but it is easier to develop in C# with the (hopefully) easier migration to iOS in the future. I'm using the VS 2012 templates that are installed when I installed the development kit. The documentation is a bit lacking but there are many samples and the community seems well established. So bottom line is would you recommend Java and the Eclipse route or C# with Mono?
If you're starting a new app... go with Java/Eclipse... You don't know whether Mono will keep getting supported in that platform (since it's not exactly a "native" language) so you might as well start out with what most of the other apps are already written in, Java.
Cross platform support for mobile is a pain any way to cut it, probably because most phone manufacturers have the luxury of picking both hardware and software and have no real incentive to support other people's software.
This beta version has expired. Please upgrade to a newer beta to help us test the latest code!
i go this error and i cant run monodroid appi on visual studio 2010
i have last version i download is from this link
i have version mono-android-9794.msi
i try many other oldder version but still i cant run it can some one help
Hey,guys,I make a useful app to debug webpage on iOS.It's free,always be free!And no ADs!But I don't know how to make people who works on mobile web app to know about it.In order to make it better I need to know what they want. Here is the app.
MIHTool helps Front-End Engineers to debug and optimizing their webpages on iPad and iPhone.
1.With HTML editor:view webpage source code with syntax highlighting and formatting;editing source code or creare a new webpage and preview the result.
2.Show WebKit Debug Borders(Compositing Render Layers).
3.Show Webkit Repaint Counter(Paint Rects).
4.More development tools(Firebug,YSlow,JS Console,WhatFont,PageSpeed,GTmetrix,W3C Markup Validation Service…).
5.User agent switcher.
7.Full screen mode(Shake Device To Toggle Full Screen Mode).
9.Clear History,clear cache,clear cookies, clear localstorage.
1.Show WebKit Debug Borders(Compositing Render Layers).
2.Show Webkit Repaint Counter(Paint Rects).
3.Full screen mode(Shake Device To Toggle Full Screen Mode).
Almeda Locksmith is one of the most dependable name inside the sector anytime you need installation, repairing and upkeep for your security devices. . The services we supply are of optimum quality and gives higher security towards the clients. Alameda Locksmith Allen Locksmith
I am calling a web service from android using ksoap2. However I am having a problem in sending complex type parameters. I have a wsdl which has a method "invokeservice" :
pls go through the following link for detailed description.
I want to get insight about HTML5 mobile Apps development. Unfortunately i am an typical layman in Web Technologies. So please let me know any good Link/URL/information form where i can get the beginner material. I know there are a lot of if you Google HTML5 but I want some expert advise before starting. I am sure you guys can provide me something forma where i can learn from Scratch.
I need to encode the sending messages/data(not MD5)and then they will be decoded on the other side. Codes have to be in android libraries not in java. Is there any code or information that may help me around internet? Thx all for your help.
Last Visit: 31-Dec-99 19:00 Last Update: 25-Nov-14 21:50