Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I am currently working on a project that involves the use of EEG signals on an android mobile phone.
I am deciding if I should make my own signal processing library for android or not because I can't seem to find any online.
Does anybody know of a library that I can use or would it be easier and faster to make my own?
Thanks
I'm working on a similar project. I am using the NeuroSky MindSet EEG headset and Processing IDE with the Ketai library. I could not get the NeuroSky Android API to work with either of my Android 2.3.4 or 4.0.1 phones. When digging into why it didn't work, I got lost in their API's library and decided it would probably just be easier to read the data myself. I modified the Ketai bluetooth program to read in the raw data, but did it in sort of a haphazard way (no checksum was performed). It's quite a rough hack, but I got the data to draw on the screen and have not worked on it for a couple of weeks. After I comment the code some more, I could put my code up on github - it'd be nice to get some collaboration.
By the way, if you did not intend for this to be for the Processing IDE of processing.org, you're quite lucky. As Arcymag pointed out, the keyword "processing" might trigger a response from people like myself who receive emails for processing.org. In any case, the Processing IDE has an Android mode that allows you to program Android under its IDE. If you want to develop your program in say, the Eclipse IDE, you can export your project and take all of the power of Processing with you as a library. After exporting, your code will be full Java. There are only some minor differences between Java "proper" and how Processing presents Java anyhow (some aesthetic changes). I prefer to work with the power of Processing because I am not actually a "proper" programmer, as my background is in physics, and Processing makes programming a joy. (There are several questions regarding the differences between Java proper and Processing on stackoverflow.)
This is my first post on stackoverflow. I have been looking for a way to give back since this site has saved me countless hours on this project alone. If you feel I deserve an upvote, you'd make one noob very happy. I can do things such as: post more than two hyperlinks and upvote answers.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
Question as an absolute beginner. I just completed the core java and started learning android. I have searched a lot for good courses of an android and I found one from google on Udacity. That is awesome. But the problem is that that course is from 2015. So, it is outdated now. They taught xml by code not by drag and drop of android. That's why some code is not working now!
I know these drag and drop features of android studio is to help us and save our time. But as a beginner if I don't know the proper use of xml, then how I will become a good android app dev?
As a beginner, we tend to worry too much about things and whether or not this or that will be good or not but I can assure you that in the end one way or the other you will eventually get a hang of it. From personal experience, working with both XML and the drag and drop has no issue whatsoever but its good to understand the XML part as you cant always rely on the drag and drop feature. The only catch is to get your hands dirty with creating projects and using the built in features of Android Studio such as code completion and as good starting place I'd recommend watching YouTube tutorials and following the likes of CodingInFlow who are great teachers in Android. Good Luck in Your Future Projects
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
FfhggtffgtfgtgftI want develop application that whenever it recognizes a keyword it does something. it needs to be in listening mode all the time, in backgeound too.
I was exposed to this and this. I treid run it but it is not work when I am speaking.
actually I read it still doesn't support my native language. is that the reason?
I want to know how it works? does it is doing speach to text and saved it in assets files? does it is run in background? does it is used AI models? how it behaves when two apps need mic resource in parallel? noises? does it is work with Neural Networks API? how can I start developing such a thing?
thanks!
It is great you tried Vosk offline speech recognition on Android, here are some answers to your questions:
actually I read it still doesn't support my native language.
If you are about Hebrew, we might support it in the future, and you can build it yourself.
is that the reason?
You didn't provide enough information to answer this, please explain a bit more what is "it is not work"
I want to know how it works?
Extensive documentation on speech recognition is available on lectures, courses and books. You can find some introduction here for example: https://www.youtube.com/watch?v=q67z7PTGRi8
does it is doing speech to text and saved it in assets files?
It does speech to text, but it doesn't save results into assets, it just displays them. You can not modify assets, they are static.
does it is run in background?
Yes
does it is used AI models?
Sure
how it behaves when two apps need mic resource in parallel?
In android it is not possible to record audio from two apps in parallel, second one will be blocked.
noises?
It is robust to noises.
does it is work with Neural Networks API?
No, it is portable
how can I start developing such a thing?
Get some basic understanding and start writing the code. If you have further questions you can ask them in the Telegram chat
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to write a web app from scratch with a date picker that allows user to select date and then queries the database according to thee input provided by the user and displays results. This will be deployed on the companies web servers(they have various apps on a server). However, i have no idea where to start as i have never written a web app before. Also i will need a local test and prod environment set up. Where should i start, what all needs to be included in my classpath. How do i install build tools and configure them?Eventually more people will work on enhancing the app but i first need to get it set up and deployed on prod. This will be written in java.
Cant comment due to low reputation, so i have to post my suggestion as an answer.
As JonK posted, this site is about specific code problems, but i'd suggest you looking into a few things, that might help you with your task.
Choosing from a various possibilities, is a tricky thing, and if i ware you, i would ask at your work with is more common there, so help with problems in development would be near ;)
Spring framework is quite popular and you will find plenty tutorials for it
JSF is a interesting one, and if you will choose this one, at SO, you can look into answers provided by user BalusC. As some one said to me, if Balus has written about something, then it is as he said ;)
Struts is not something that I've tied yet, but it is a choice.
And plenty more, most of them has been mentioned here
But as i said, ask at your work place, what they are using.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have a MATLAB code (including Simulink models) which I would like to make platform-independent, i.e., allowing them to run on web browsers and smartphone apps. Would coding it in Java be the best solution? And are there programs which can convert MATLAB code and Simulink models into another programming language easily so that I won't have to re-code everything out again? Thanks for your suggestions!
Short answer: You'll have to recode
Would coding it in Java be the best solution?
Probably not. I've found that java is hardly ever the best solution. It may be the easiest, but I doubt it's the best. But for web-browsers, AFAIK, you must render some part down to javascript (even if it's just a shim to fetch data running on a server), flash, silverlight*, or java*. For iphone, you need to do it in C, Objective-C, or C++. I think Android uses some kind of java-like/based language, but I don't know. I doubt Win Mobile 8 even has a JVM, but don't really know there.
* Few people like to leave these plugins open. Too easy to exploit and few sites use them.
And are there programs which can convert MATLAB code and Simulink models into another programming language easily so that I won't have to re-code everything out again?
Mathworks makes an m-code compiler, but you still need a lot of their libraries. It compiles for x86 under Windows and Linux. I think it supports a few other OS's, but all x86 unless they changed it around again. I guess you could try to get MCR working on a phone, but not in a web browser. Realtime Workshop renders simulink models to C, but not if they contain matlab function blocks (or some other blocks, I forget the full list). I hope you have a crap ton of cash, 'cause both those are expensive toolsets.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am about to start new Android app considering that Java development is not my strongest side I'd like some advice on where to start. The question is not that much about Android API it's more about the right tools and code organisation.
Should I use template app like Android Bootstrap and are there any other better than that.
How should I organize my code so it makes sense while the app grow.
Any other libraries that might help?
The app would be for downloading music and it'd be free one. There would be a server API that will deliver the content.
In my opinion you should start with a blank project and try to learn Java and understand how the classes in Android work. Using a template is not the best way to learn programming because you can easily get confused and not understand what the code does.
You implement the classic 3-Tier architecture with packages for the Domain, Repository, Controller and User Interface. This way you can stay organized and easily improve on your app.
Read Android forums, documentation and see what libraries do you need to use.
Firstly get stronger on Java development, go through the Java SE tutorial. Then you can take a look at the Android Development Getting Started page.
I'd also recommend you to invest on some good programming book