Creating interface between a java class & a complete built project [closed] - blackberry

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have a requirement where, I need to give the user only one editable java class where he can make changes in the program such as changing username, changing phone number. The moment he saves the data, the built program should be able to reproduce the changes.
I am doing this project for BlackBerry.
I want to know, is there any way in which I can link a class with external project? I am developing the project using Eclipse. I don't know how the user will make changes and save. I know it's a little weird but generally speaking, I want to link two different applications using some middle interface. Any help is greatly appreciated

I believe this is a simple case of "You think you know what you want but you really don't" :)
Please explain what it is you want to achieve between your two apps and how they interact and we will provide you with a much better solution than asking a user to modify java files.
UPDATE AFTER OP COMMENT :
You need to look at XML or JSON. These are ways to format data so that it is easy to write/produce/transfert/parse.
Parsing XML on Blackberry
Parse XML file on BlackBerry

When you build a java project you get a jar file. If you include that jar file into the classpath, all of its contents will be available to your code (with necessary import statements).

Related

How do include a .c file to my ios app? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have file.c file that I want to add to my ios app. I renamed it to file.m, rename the main() to main2() and included it in my project in xCode. It compiles fine but how do I run main2()?
Could someone please explain this in detail? Thanks.
More likely than not, the main of the original C program is going to try and set up a processing loop or otherwise wait for some kind of input and then try to process it.
You aren't going to be able to simply embed one entire program in another and expect it to work unmodified. You'll need to understand how the second program works and then integrate that functionality into the first. Without seeing the implementation of your second main, it is impossible to say more.
You have to call main2() somewhere in your main source file. main() is the entry point for C programs, so if you rename main() to something else, you will have to call it manually.

facebook link recognizer for rails? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am developing an app that allows users to post to walls/groups very much like facebook or a classic forum. I really like the way you can post a link on facebook and the link will be recognized as a video, pic, or other media and will automatically display. Its a great feature b/c it keeps users on facebook instead of leaving the site. On that note, I was looking to implement something similar for my the app I am developing. Are there any rails plugins/gems that do this kind of thing?
Yes, I know how to google and have done so. I realize that I could write regular expressions to scan the link and then take an according action. However, I am looking for an existing implementation to save a boat load of time.
Any and all input would be appreciated.
Existing implementations would probably be employing some form of regular expression, although another approach is using custom "Markdown" syntax or BB code to make the regular expression easier.

Hack Firefox to use custom URLs? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am using an extension that depends on the page. I would like to use the extension for each board which means I need a board unique url. It currently looks like this
http://phpbb-site.com/forum/viewforum.php?f=BOARDNUMBER
I'd like to trick Firefox into having BOARDNUMBER in the location part of the url.
Then the extension will work and I won't have to tweak it. The problem is that I can't think of any way I can have Firefox use nice urls. I only need it to work on my computer. I don't own the site. What can I do? Can I use a proxy program? I was thinking maybe I could write a quick asp.net program which essentially does a GET request on the site and replaces all links to include the boardnumber and ignores that part of the url when making the request. It's probably a bad idea because I am sure lots can go wrong
Any ideas?
You should be able to do this using a simple script in Fiddler.

Best practices asp.net mvc: working with images [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
what are the best practices to process images in enterptices web applications.
I mean
storing
assign with entity
fast loading/caching
delayed / ajax loading
suitable format (png, jpeg)
on fly editing (resizing, compress)
free libs/helpers
image watermarking/copyrighting on fly
Especially, appreciated already production approaches!
As always, every project has their own requirements, restrictions and resources (The 3Rs). There is no 'super pattern' or 'one size fits all' method.
We cannot tell you how to implement you project as every project is different. It's up to you to use your skills/knowledge and experience to make informed decisions on implementation.
The 'best practice' is to individually research and learn each of the technologies/methods you have listed and gain the knowledge to know when to use them based on your projects requirements, restrictions and resources.
I use ImageMagickObject in my mvc projects. It can:
suitable format (png, jpeg)
on flyediting (resizing, compress)
freelibs/helpers image
watermarking/copyrighting on fly
fast loading/caching: may be memcached?
delayed / ajax loading: jquery is a good solution
assign with entity: Entity Framework can work with almost all databases
storing: hard question. all depend to the functionality

JAX-WS with JAXB tutorial [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I'm getting started in developing web services using JAX-WS. I'm trying to implement classes I can send between my service and client using JAXB, but having trouble getting it to work.
I've tried following the example at this site but cannot seem to get it to work. After following the instructions, the test page that's displayed doesn't have any way of defining the Die objects as is suggested by the article.
All of this is very new to me, so I'm really not sure where to go. I've checked the WSDL file linked from the test page, and my best guess is that the JAXB is not working properly as I don't see the Die class or its properties mentioned anywhere.
A good, fully worked example would be very beneficial. Does anyone know where one can be found? If it's any help, I'm working in Netbeans.
Thanks!
Here is a step by step how to for jax-ws.
http://netbeans.org/kb/docs/websvc/jax-ws.html
If you google netbeans web services you will find many examples.
Here is an excellent JAX-WS tutorial for beginners. http://java.globinch.com/enterprise-java/web-services/jax-ws/java-jax-ws-tutorial-develop-web-services-clients-consumers/
The tutorial explains how to develop web service and consumer without using a Java EE container.

Resources