I have a ListView that is populated using an XML file. However, I want each item, when clicked, to start a new Activity related to that item.
I understand how to use OnItemClick to start a Toast that shows the selected item's text. However, since the ListView is populated from an XML there is not a specific Id for each item in the list.
So, how would I associate an Activity with each item in the ListView when the items do not have Ids?
Hey Everyone,
I was wondering, are there any basic speech recognition tools out there? I just want something that can distinguish the difference between "yes" and "no" and is reasonably simple to implement. Most of the stuff out there seems to make you start from scratch, and I'm looking for something more high level.
Thanks!
where to add the new GUI xml pages in android project, say I have a welcome screen in reslayoutmain.xml layout and when user clicks "next" button, it has to load up a new page with username and password GUI. any help will be appreciated
Hello,
I was wondering if anyone could give me an example or point me to some example code of how to use an NSTableView. I know how to use it in core data but I would like to do this just using plain cocoa code. All I need is a simple add and remove button. Also is it possible to have cocoa write the data to a text file or plist?
Thanks for any help
Hi
I am writing a GWT app running on App Engine, which needs to modify a XML File serverside. As far as I know there is no way to modify a XML file in the WAR directory or any subdirectories. What other possibilities do I have to store that data? Can I use the Data Store somehow or should I look for storage space somewhere else and access it there (if so any recommendations?)?
Any help is appreciated!
Hey guys, was wondering how do i use the NSXML parser.
so lets say given i have a simplexml file with elements like
1/1/1000
14:15:16
How could i use the NSXMLParser to parse the XML File(Its on locally btw, desktop), check through each element and store each of them in an array either to be displayed/used later?
I was looking through some documentation about it and i absolutely have no idea on how to use the parser
i know that there are 3 methods(or more ,please correct me if im wrong) that can be overridden
-..etc didStartElement
-..etc didEndElement
-..etc foundCharacters
I want to build a bot that asks someone a few simple questions and branches based on the answer. I realize parsing meaning from the human responses will be challenging, but how do you setup the program to deal with the "state" of the conversation?
EDIT: It will be a one-to-one conversation between a human and the bot.
I was trying to get fresh copy of my project from github using tortoise svn client. But I am getting following exception.
The PROPFIND request returned invalid XML in the response: XML parse
error at line 1: no element found
(Checkout from https://github.com/anoopchaurasia/JavaScript-File-Manager.git)
When I tried to checkout using subeclipse on Eclipse, it saying "Folder does not exist.".
I am able to checkout same repository on my other system.
Hi,
I'm using Hibernate with Xml mappings. I have an entity that has two fields creationDate and updateDate of type timestamp, that have to be filled with the current UTC time when the entity is persisted and updated.
I know about the existence of the @PrePersist and @PreUpdate annotations, but i don't know how to use their equivalent in my Xml mappings.
Again, i was wondering if Hibernate somehow supports natively the update and creation time set.
Thanks
Hello All,
For testing purpose, I need to break this captcha:
http://wapforum.us/web/img.php
As you can see, this is a very simple captcha with only 4 digits of numbers. Any sample code will be highly appreciated.
Thanks and Regards,
Masnun
I'm sure this is a very simple question, but embarrassed to say I can't get my head around it:
I have a list of values in Scala.
I would like to use use actors to make some (external) calls with each value, in parallel.
I would like to wait until all values have been processed, and then proceed.
There's no shared values being modified.
Could anyone advise?
Thanks
Hi
Got an excel spread sheet where I specify mapping to an XML file.
I'd like to open the spread sheet from C# and force refresh the cells mappped to the XML file.
- How can I do that ? Any dll I need to reference ?
Thanks
Olivier
I'm looking for an ORM (Object-Relational Mapper) for PHP. I want something simple that I can get started with quickly. I'm used to ActiveRecord in Rails, but I don't need a full framework. My partner knows PHP, but is not really a programmer, and learning a framework would take more time than the project.
Thanks,
Craig
I need to parse potentially large XML files, of which the schema is already provided to me in several XSD files, so XML binding is highly favored. I'd like to know if I can use JAXB to parse the file in chunks and if so, how.
Hi,
I would like to write a simple GUI application using C++ and wxWidgets. I'm wondering if there are any open source GUI applications using C++ and wxWidgets and tutorials for reference.
Thanks,
Hi,
in words, can someone post directions towards finding the 'maximal' independent set in a simple graph?
I read up something from ETH site which said one can find such in O(n) by simply picking a random vertex v and than scanning the rest and attempting to find if there's an edge from v to the rest.
Thanks
Hey,
I need to implement a ruby on rails project using XML-RPC. I have no idea where to get started but I've used ruby on rails before (just never with XML-RPC). Can someone help me out on get started with this?
Hi,
I am working on an iphone application in which I am consuming a webservice.
So i am parsing the XML file data. any idea about how to parse self closing tag
like: State/ and how to read data of self tag like: Contact Email="[email protected]" Name="PhD" Phone="123-521-3388" Source="location"/
I am parsing xml file using NSXMLPARSER class methods and library
Thanks,
Hi,
I have a SQL table with some normal fields and one xml-type field.
I need help with formatting the xml-type field. I want to display the the information in a gridview in asp.net but i want to apply formatting to it.
Does anyone know how I need to do?
Thanks.
PS. If it's to any help, I use a linqdatasource as source to my gridview.
Hello,
I want to make a very simple event bus which will allow any client to subscribe to a particular type of event and when any publisher pushes an event on the bus using EventBus.PushEvent() method only the clients that subscribed to that particular event type will get the event.
I am using c#.net 2.0
Any help/pointer would be greatly appreciated.
Thanks
Pradeep
hello to every one,
i am new one to this site and this is my first query...
i need simple Sliding window algorithm implementation in c++ or matlab
please help me in this regard
thanks
Hello, this is quite a simple question hopefully.
Our client currently has a Flash banner ad on their site which they can change the text size, colour, position etc. by editing an XML file. They want to scrap flash and use JavaScript and jQuery. Now, as long as the XML file is at a readable URL I should be able make an AJAX request for the file and use it. Is that correct?
Many thanks
I'd like to prove that a GUID is not unique in a simple test program.
I expected this to run for hours but it's not working. How can I make it work?
BigInteger begin = new BigInteger((long)0);
BigInteger end = new BigInteger("340282366920938463463374607431768211456",10); //2^128
for(begin; begin<end; begin++)
Console.WriteLine(System.Guid.NewGuid().ToString());
I'm using C#