Would like to build some stuff on top of StackMob, but couldnt find info. about is there any support to do full text search, search by text and order by distance and etc,.
We don't currently support full text search, but we're considering it internally. We don't currently have a definitive answer if/when we'll have it, but if we do implement it, we'll provide good documentation on how to use it, as always.
All of our features are accessible through an OAuth 1/2 secured REST API, which is documented here: https://developer.stackmob.com/sdks/rest/api.
We also have documentation on our officially supported SDKs (Javascript, IOS, and Android).
I hope that answers your question.
Related
I'm building a site that will let users take practice tests and I was wondering... Is there some schema to define the question and answers that will make it easier for search engines to understand my content.
I'm trying to do everything possible to make the site rank well with search engines and I've been told schema's are a great way to do that.
I looked at the ones on schema.org but I can't find anything similar. Is there any other resource I could use?
I think the closest types would be Question and Answer. While they are probably primarily intended for Q&A sites (like Stack Overflow) or FAQs, their description doesn’t seem to exclude quizzes.
You could use the suggestedAnswer property to link from the Question to each possible Answer.
My first impression from peeking into the source for Question2Answer is that it seems to be built to co-exist nicely with other OS applications. For example, one can plug in their own code for user database management or for localization - for example if one wanted to use gettext instead of PHP arrays for multilingual messages (even though it's just code filling in, not some OO pattern based style - but that's a different matter all together).
However, there does not seem to be a pre design to allow plugging in search functionality. My question is: if anyone has integrated the sphinx search engine into Question2Answer, then what is the best technique or tips to achieve that.
I checked the docs on creating plugins here: http://www.question2answer.org/plugins.php, and the plugins system seems to accommodate certain types of functionality such as event handlers or content widgets - but not generic functionality or a search module specifically.
Version 1.5 of Question2Answer will support search modules in plugins which allow you to implement a custom indexer and search engine.
I am new to Blackberry app development. I need to call REST webservice from blackberry application using JDE 4.7. I searched but not got any solution. Anyone help pls?
sri
You have to make an HttpConnection request and read the data as an InputStream... have a look at this tutorial Calling REST based web services
I appreciate this an old post - but it has been updated so someone is looking at it, so I thought it appropriate to contribute.
I am sorry, but I can not recommend the code supplied the link from another answer called "Calling REST based web services".
I have made a comment explaining this on the site, along the following lines:
"In my opinion this code is flawed because it does not consider the different connection methods, nor does it consider different encodings. More over it does not consider the Event Thread or provide reasonable error checking and logging. I appreciate that this is just a sample, but I think the author has a responsibility to make people who might use this code aware of how it should be used properly. And this code will cause more problems that it solves. Refer to the supported BlackBerry documentation and web sites for better samples."
Sorry, I am not as familiar as I should be of the questions asked on stackoverflow, but questions like this come up regularly on the BBRY forum here:
http://supportforums.blackberry.com/t5/Java-Development/bd-p/java_dev
I recommend that you go on that forum and type network in the Search box on that site and you be presented with a range of tutorials and KB articles that discuss all aspects of networking. In this particular case I would recommend this:
http://supportforums.blackberry.com/t5/Java-Development/What-Is-Network-API-alternative-for-legacy-OS/ta-p/614822
Networking is not trivial on the BlackBerry, do not expect a cut and paste of the code supplied to work for you. Specifically you should be aware of:
a) The various connection methods, the costs associated with each and the impact that using each might have (e.g. transcoders or caching)
b) The Event Thread, how to get off it and back on when processing a response
c) Logging and reporting so that you can investigate problems when they occur (and they will).
Personally, given that all OS 4.7 devices can be upgraded to OS 5.0 and should be, since OS 5.0 is better, I would forget supporting OS 4.7. Instead look at OS 5.0 and above support and use ConnectionFactory.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
Google maps API is great for developing location based services for mobile phones. But for some reason, the use of it is restricted for me in a special project.
E.g. if your project is in conflict with the general terms and conditions of google it is not recommended to use google maps API.
In my app, both Android and iOS, I want to display a location on a map by retrieving GPS information. Overall the API should offer a similar scope of operation like google maps API.
Which alternatives do you know? Maybe there are open source API's? Any other suggestions?
To get the best possible answer to this question I combine all given answers.
Alternatives to google maps api:
MapTiler Cloud:
https://cloud.maptiler.com/
Microsoft Maps API:
http://www.microsoft.com/maps/developers/web.aspx
Yahoo Maps API (discontinued as of Sept 13,2011 in favor of Nokia Maps):
http://developer.yahoo.com/maps/
(provided by Vic)
TomTom Map Toolkit API which includes SDKs for Android, iOS and JavaScript http://developer.tomtom.com/
(provided by SoWeLie)
CloudMade:
http://developers.cloudmade.com/projects
(provided by Adolfo)
MapQuest:
http://developer.mapquest.com/
(provided by TuxGeek)
OpenStreetMap API:
http://wiki.openstreetmap.org/wiki/API_v0.6
Here.com Maps (Formerly Nokia Maps / Ovi Maps):
http://developer.here.com/
Osmdroid:
http://wiki.openstreetmap.org/wiki/Osmdroid
OpenStreetMap Android
http://wiki.openstreetmap.org/wiki/Android
(provided by AGrunewald)
Route-Me:
https://github.com/route-me/route-me
(provided by kiteloop)
OpenLayers:
http://openlayers.org/
(provided by Arman)
Trimaps:
http://trimaps.com/en/
MapBox http://mapbox.com/
(provided by Stot)
Nutiteq http://www.nutiteq.com/
(provided by Martijn M)
GraphHopper Directions and Matrix API https://graphhopper.com/#directions-api
(provided by karussell)
2 more suggestions:
OpenStreetMap API: http://wiki.openstreetmap.org/wiki/API_v0.6
Mobile Maps: https://labs.ericsson.com/apis/mobile-maps/
(powered by Idevio with map data provided by OpenStreetMap)
Microsoft Maps API: http://www.microsoft.com/maps/developers/web.aspx
Yahoo Maps API: http://developer.yahoo.com/maps/
To name a few, unless I totally misunderstood your question.
I would have a look at the Openstreetmap stuff http://wiki.openstreetmap.org/wiki/Android especially this http://wiki.openstreetmap.org/wiki/Osmdroid a replacement for Androids Map View
For your iOS project you could use Route-Me (link). This is an open source framework that pretty much provides the same functionality as MapKit, but allows to integrate different map sources (e.g. Open Street Map, Cloudmade etc.). As far as I know, this is the only alternative you have on iOS.
For Android, there are various alternatives that allow you to use alternate map sources. See this link for a good list of options.
If you are looking for just Geocoding and reverse geocoding you could check out tinygeocoder. I haven't used it myself, but it could be an option to review.
Great list of alternatives to Google Maps being generated here. Good question. Not sure about your appliation - but one more from Nokia - Ovi Maps http://api.maps.ovi.com/ . They have some excellent data (they own Navtech) and incredible 3D visualization.
What about SimpleGeo?
https://simplegeo.com/developers/
Seems quite promising. It's form the same people that have done:
http://polymaps.org/
I realized that it was only available for javascript sorry. But I found this one instead:
http://code.google.com/p/mapsforge/
TomTom has just released it's Map Toolkit API which includes SDKs for Android, iOS and JavaScript. See http://developer.tomtom.com/.
DISCLAIMER: I work for TomTom and I created the JavaScript SDK.
Another one is MapBox
http://mapbox.com/
In their video there was foursquare shown as a user.
Another nice one http://www.skyhookwireless.com/localfaves/
There's Sasha Maps, which I happened to write :-)
http://www.maryanovsky.com/sasha/maps/
Written in GWT, supports all desktop browsers, iOS and Android. You will need to provide your own tiles (or find someone who will let you use theirs).
Some location-based APIs (not map tiles) - don't know if it would be useful for your project - travel time calculations, public transit data and walkability (Walk Score) for maps.
http://www.walkscore.com/professional/walk-score-apis.php
(Disclaimer: I didn't write them, but I work there as front end dev - so let me know if any documentation is unclear! :D)
Does anyone have experience with Google Closure Editor/WYSIWYG? I'm thinking of moving from CKEDITOR to Google Closure Editor/WYSIWYG. Ideally I'd love to use the etherpad editor but it doesn't appear that anyone has separated the editor from all the app.
Anyhow, for Google Closure Editor/WYSIWYG, does anyone know, does it support the real-time collaborative aspects seen in Google Docs?
The Google Closure editor is a wrapper around the built-in browser editing capabilities. It is thus similar to other rich text editors like TinyMCE, CKEditor, etc. It is less feature-rich than either of those, but it's smaller and faster. The base editor is used by Gmail (most notably) and various other Google properties.
There is nothing within the public Google Closure editor to enable Google Docs style real-time collaboration. With that said, it has a plugin model which enables you to add new functionality. I would not recommend taking something like this on without a solid understanding of working with Google Closure.
Until recently, the editor was also used by Google Docs. However, the limitations of core browser editing technology became a barrier to innovation, so they built their own editing surface[1,2] (codenamed Kix). This editing surface is not included in Closure Library.
https://drive.googleblog.com/2010/04/a-rebuilt-more-real-time-google.html
https://drive.googleblog.com/2010/05/whats-different-about-new-google-docs.html
It might not last, but there is a standalone version of kix up on github:
https://github.com/benjamn/kix-standalone
EtherPad Lite is the most viable option I've seen so far:
https://github.com/ether/etherpad-lite
Personally I favor this one, because:
It's open source
You can host your own
Has few server-side dependencies (Node.js)
It has an API, so you can build your app in any language
Attempting to steal Google's work is probably not a good long-term plan. (I'm also not convinced that having the client-side libraries actually helps you, in terms of the real-time collaboration feature, which depends heavily on the server-side.)