I have a project that has all kinds of sensors collecting data and sending it to a raspberry pi which saves everything.
Now I want to make an interface to read that collected data in an easy and clear way. I was wondering if the iPhone is able to do this before getting too deep into building an app.
Could my iPhone app change the wifi network I'm connected to so that it could connect to the ad hoc network I have running from my pi? This way i can just hit a single button on my iPhone app (if I'm in range of the pi's network) and connect to that network, access the collected data and display it in a nice easy to ready way.
It'd be a great way to view my data, now I have to manually switch networks, type in IP addresses and it's a real pain. I'm hoping to build my app using ionic and angular. If anyone has any guidance I'm all ears!!
You want your application to perform a system-level change of network connection? I am not an Apple developer but as far as I know Apple leaves very little space for open developers to create these applications.
Following are a few threads where you can see how to detect the network changes, but how to apply these changes would be difficult.
Thanks for the reply, I was afraid of that.
It's a unique situation for sure, my Raspberry pi is in the shed and away from any Ethernet or wifi connections.
Hmm, I'll have to think which is more convenient manually switching wifi networks and use the network check you provided the link for or getting a wifi extender for the pi and connecting the pi to my router.
Just thought of this option too, what about just connecting to the Rasp Pi via Bluetooth. I believe I would just have to enable connectivity to the device before hand and then I could try to use that to move data back and forth. I haven't used it before but would be fun to try.
I wonder if there are any potential restrictions there.
No idea if that would work, I've briefly read about limitations with apple products connecting to Bluetooth devices, in your experience what is the safest / most reliable Bluetooth version to use. The Raspberry Pi I imagine is flexible, and it would be on me to program that end to serve the Bluetooth side properly.
But I'm new to all this so I'm very interested in hearing pros and cons to my idea.
I am in the process of building my first app and was thinking about sourcing code(template) for a mobile app from code canyon but I seem to be having an issue searching for a template that suites my concept.
I basically want to convert a physical book/encyclopedia/guideline of shipping instructions into a mobile application.
In the screenshot attached you will see the design concept. It seems like a very simple design. I only need a home page and a page that displays the results - all 3000+ of them
If there is such things as a template out there I can tweak and leverage to end up with my app? i tried looking on themeforest.net. perhaps I am not using the correct terminology when performing my searches.
Many thanks in advance
Home Screen for researching information
Title of Application
ID Shipping Description Class
Second Screen with output
Title of Application
ID Shipping Description Class
2000 Gas 2
Large boat Small boat only
Box Group Excepted Qty |Limited Qty Max Qty
Instructions |Net Instructions Net Instructions Max/Net |
10010 a 35ft |a 100ft a 2520050 b 55ft |b 200ft b 3030075 c 80ft |c 300ft c 40
If you want to create an ebook reader, there are already a lot of samples provided and available online. Start by searching on google for, "ebook reader ios sample". You will find a number of such online examples and samples.
But, if you want to create an application that lets users to save their own applications as soft copy, then you would need to create a sample Camera application that lets users to take pictures of pages and keeps the pages in an album (that makes a book). That album would mark a book, guide, or manual. Each album (book) would have a number of images (pages).
Your data table makes very less sense and it is really hard to tell whether you just want to read the text or what.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
I suppose this indeed would fall under an "ebook reader" type of app. I tried to upload a sample image and paste the concept of the layout but it wasn't rendered too well.
In essence, there would be a screen where the user would enter an ID# pertaining to an item, a shipping description or a class number.
After hitting "Ok" the results page would display the shipping instructions for the item entered in the first page, limitations(weight, quantity, dimensions), and a sample image.
I will start by looking into ebook reader templates that closely resemble what I need.
I like the idea of the camera application, but that is not what I need. Perhaps I can incorporate that in a different app.
With respect to "whether you just want to read the text or what", I simply want the app for the user to read.
It's basically a logistics regulations guideline book where instead of reading it, I need the users to enter one of 3 values(or all 3) in the main screen which brings up the results page/screen with dimensions, limitations, image of type of hazard. I thought for a moment a dictionary concept would be idea, but perhaps there is something that better suites me.
It turns out you can't open a file under the lock screen, this is a security feature.
However you can open it before that and keep the handle to the already opened stream, it works.
In my case, what I am really doing is using a permanently open single SQLite connection and it's all working now.
I also wrote a method AsyncAcquire() that makes sure only one method at a time is using the connection.
Here, at work, I am working on an app which (attempt to) track user location in the background.
(Using C# and Xamarin / MonoTouch)
I tried to enable background tracking with the 3 following steps: 1. I updated the info.plist to have: BackgroundMode-On (Location Update, Background Fetch) 2. in my AppDelegate, call UIApplication.SharedApplication.SetMinimumBackgroundFetchInterval(Interval.TotalSeconds); 3. Also register location change with location manager:
static CLLocationManager LocMgr = new CLLocationManager();
LocMgr.LocationsUpdated += LocationsUpdated;
However, despite all of that, in a whole night I only get 10 update (Interval is set to 1 minute!!!)
And I also went for a 10 minutes walk and I didn't get a single update!