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 6 years ago.
Improve this question
I am trying to make a BTLE App using UWP in JS. I cannot find any examples and I cannot understand the documentations. Can anyone help me out and point me in the right direction as to from where should I begin?
In using VS2015 Community Edition w/ Windows 10 SDK Build 14393. My phone is also 14393 so is my PC. I can compile the app but I don't know from where to begin.
EDIT:
The way the docs are, is quiet confusing. Like in this page this is an example.
var bluetoothLEDevice = device;
This does not state where this this device variable came from, it took me a while to file the link between this and the BluetoothDevice Class but still it was unclear on how I am supposed to use it. There are no code blocks to liked in the page. Microsoft maintains a GitHut hub account so it will be great for NEWBs like me to see a working example or related example for all the supported languages on GitHub (I know it's a lot, but Microsoft is a big cooperation so it is possible), linked on the Class pages.
Thank you for understanding what was I trying to say #Grace Feng - MSFT.
I cannot find any examples and I cannot understand the documentations.
If you're asking for one official UWP BLE sample which is wrote in JS, I'm afraid to tell you that there is no such one.
By not understanding the documentations, you mean you don't understand the code sample in those documents? We don't know that blocks you, next time when you ask a question, you'd better share us your code the point what exactly the problem is.
I can compile the app but I don't know from where to begin.
To get started, I think it's better to stick to the official document Bluetooth GATT and the official Bluetooth Low Energy client sample, you can try to adapter it to JS code, what you need is checking the js Apis which are used in those samples, for example GattCharacteristic class.
The official Bluetooth advertisement sample has a code sample in js version, it demonstrates use of the Bluetooth Advertisement Runtime API to send and receive Bluetooth Low Energy advertisements. Maybe you can also take a look to get started.
Related
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 1 year ago.
Improve this question
I'm new to mobile app development and we want to develop a mobile app using Django. I and a friend of mine thought of using Django at the backend, PostgresSQL as the database, and React native and vue js at the front-end.
What do you guys think about it? Any tips for extreme beginners?
Just tell me in any way you think we can do this or a source that can help us.
For more details about the mobile app:
Briefly, the app is a budget management system. It will be about creating a budget, its expenses, calculating the budget amount, and notifying the user when the deadline for the budget is closer.
I don't really think if you can actually directly way do that. Django is a server side web framework. But you can user some third party to make the mobile application. like one I personally know is Go Native.
You can create a website as usual and need to host that website and now you are hosting that website. Go to Go Native and it will ask for the URL of your website, some other things as well. Give URL and It will provide .apk(Mobile application).
You may find may many things to making website to apk this I gave is just an example. Or if you know Java then you can create on your own. Here's the helping link for you.
In order to provide accurate references or more details, a more in-depth description should be added as to what type of app you want to create, the objective, use case, demographic etc.
However, with such a broad question of "how to develop an app on django", heading over to google, youtube, and medium to start digging in will help you narrow down your concept. There's plenty of tutorials and examples available, and with more 'key words' such as "developing a social media app on django', search results will be improved.
Lastly, when that first research stage is complete, then it's easier to come back to stackoverflow with a more specific question, details about what you've already tried, and specific problems you need to solve.
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 4 years ago.
Improve this question
I'm currently studying about web development, I still don't know about jquery, but I've a little knowledge about javascript, html and css (basic).
I've been looking at some examples in github to improve my skills, and I've found this content;
https://github.com/stewilondanga/editables
I perfectly understand the theory, but I do not know how to put it into practice, I would like for any similar examples (simplified alternatives) and how to convert the exported code generated by javascript into a html5 table?
Any example would be appreciated! thanks for your attention!
First of all, jQuery does not generate code. It's a framework, you load it into a web page, and then you can use it from within Javascript code in that page.
I suggest you start by looking at the source of https://stewilondanga.github.io/editables/, if an editable tables is what you need. There are more general frameworks to do this, e.g. Aloha
To try it yourself, I'd suggest you bite the bullet equip yourself with some kind of web server, be it on a server somewhere, or on your local machine, so you can easily try out things like this, copy the sources, alter the code etc.., and quickly hit reload on your browser.
While it may seem easier to run a local server and point your browser at http://localhost/something, IMHO it also takes more tinkering to get browsers to embrace that fully. You don't need the extra grief while already learning all those new concepts. If you want to tackle this seriously, consider getting a hosting service or small VPS somewhere. If you don't know how to do that, get help for that first, but get it out of the way. It'll save you much grief.
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 4 years ago.
Improve this question
I'm very new to python and programming in general but have enrolled in a few courses to improve my knowledge. It seems it's quite important to have a 'goal' in mind when learning and one of mine is to successfully scrape and manipulate sports data.
I would like to scrape the results from https://www.britishhorseracing.com/racing/results/ but it looks like it's dynamically loading data via JS:
There looks to be a LOT of data here, results going back ~20 years plus multiple races for each racecourse on the day. From what I've read, selenium and beautifulsoup may offer some solutions here but before I start experimenting I wanted to check with you guys how realistic this goal is/ whether it's even achivable with how the website is structing the data and some pointers for how to get started?
Any help would be hugely appreciated.
Thanks
I'm not too familiar with Selenium or BeautifulSoup, but there are other JavaScript related web scrapers. Some I know are NightmareJS, PhantomJS, and ZombieJS (All horror related haha). NightmareJS runs off of and electron Chromium instance, PhantomJS is a javascript wrapper for selenium, and zombiejs is a raw node solution. I personally would recommend using NightmareJS.
However if you need to run NightmareJS on a server that is a whole different ball park. NightmareJS requires there to be graphics interface. There are modules that allow NightmareJS to be ran on a terminal instance however. If would would rather avoid that, then you should be fine installing PhantomJS on the server and use that.
With nightmare JS there is a scroll option that probably would trigger the rest of the data to load.
Here is an issue found of github. Some solutions are provided there.
If you would rather still use something like selenium or python, I'm pretty sure there ought to be some documentation describing how to scroll a page.
I was originally going to say you could use the API network call that BHA does by looking in the developer network tools, however looking at the API quick you need some authentication with the API.
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 5 years ago.
Improve this question
I have this web project I'm working on with a friend. However, there are problems when it comes to who should do what and when should it be done. We are using JavaScript, HTML, and CSS and we can't work on two separate computers, and ideas are always shared only when we are coding. Please help me on how or what we can use to share what to do in order to work on same project but be independent.
Using a project management tool such as https://basecamp.com/ can help you keep track of milestones and project deadlines. Its also a good way to stay in touch with your team. There are plenty of other messaging tools you can use to share ideas within a team such as https://slack.com/
When working in a team there is always the problem of stepping on eachothers toes. You might need to edit a particular file, but someone else is working on it, or has made changes to it since you last took a copy. How do you both keep up to date with the code the other has written? Well this is where you want VC (Version Control). There are a few big names out there such as SVN, but by far the most popular is a Git (hopefully you have already heard/used it).
Install git https://git-scm.com/ and you can commit your code. You can then push your code to an online repository such as GitHub https://github.com/. Using GitHub means that you can both push your code up and pull code down to ensure you both have the changes the other has commited.
You may also find a need to track bugs and features you need to implement, when they need to be done by and who will do it. You can use tools such a Jira https://www.atlassian.com/software/jira or Visual Studio Team services (Im sure theres free alternatives that are a bit more lightweight). In essence you log tasks that need to be done on a project such as fixing a bug. Then you assign it to a person and allocate it to a sprint (sprints are a period of time you are going to work before meeting with your team and reviewing priorities and work completed, typically a sprint is 1 or 2 weeks).
I hope this helps.
At the bare minimum I would suggest that you
Set up a project repository with a version control system (e.g. on GitHub)
Use a hypervisor like VirtualBox to set up independent virtual machines on the host machine. With this you can set up your own independent environments without affecting the other person's workflow.
Note: this assumes that only one person will be using the host machine at a time.
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 am new to javascript (although I've developed a small nodejs API server before, but it is nothing interactive, animating, or fancy at all)
I'd like to develop a static, single page website that works on modern browser and mobiles. The intended design looks a lot like
http://global.tommy.com/int/en/Collections/runway/spring-women
which is quite common with
Static Title Bar that follows wherever user scroll
< li > on the left acting like quick jump control + navigation/position indicator
carousel
I'm totally at blank on how to achieve such impressive look and feel and animation and responsiveness. So far, I tried out several libraries such as Twitter's BootStrap, Google's AngularJS, and AmberJS but none is as impressive as my intended outcome. The closest I get into is the sample from http://www.portalapp.com/ but that's my best trial.
Would any of you recommend any good resources (technology/libraries, or getting started guide and tutorial) to get off the ground fast?
Thank you very much!
EDIT:
Do anyone has open source projects or sample on GitHub that uses any javascript/css libraries to achieve cross device, responsive, single page web app?
Please provide the breakdown of the libraries used as well., since javascript libraries are numerous
EmberJS has a nice guide from the official website. Their API documentation is also helpful. Moreover, you can take a look at the source which is heavily documented.
If you need help, there are community forums.
If you are into screencasts, here is one free and one paid.
A word of caution using resources from Internet: EmberJS is in a "stabilizing" phase as they work towards version 1.0. So, if you read an old resource, it might not work using the current version of EmberJS.