Creating custom image of Android Things including my custom apps - android-things

I am planning to use Raspberry PI for Android Things project, I am able to flash default image (androidthings_rpi3_devpreview_4_1.zip), over it. I have installed my apps. Now is there a way to create a custom image with my apps included so that it can be shared with a customer?

You can do this with Android Things Console according Official Documentation or tutorial in this blog. Also take a look at this question of ViliusK and answer of david couet.

Related

How can I create hybrid apps on IOS?

I see on Android that apps exist to create android apps. I understand nothing like this exists on IOS because of apple's terms. On IOS however, some apps, pythonista for example, allow the user to create scripts that run similar to apps. Is this functionality currently available for hybrid frameworks, IE phonegap/cordova, react native, etc? Barring this, is there some method whereby I can code and test such apps on my iPhone/iPad?
Bottom line, I want to code apps while commuting, etc, on IOS. I understand I need a computer to compile the final product, that's ok, it's just the coding/testing process I want to do on IOS.
I am up for any hack you can think of to make this work, so long as it is accessible with VoiceOver, apple's screen reader, as I cannot see at all. One example of something I thought of that won't work is using remote desktop software, there is no such software that is accessible as it uses an image of the remote screen, I have no access to this.
I am looking forward to your creativity, so far this has me stumped.
Thanks in advance.
Similar to the playgrounds answer, but if you wanted to use Xamarin you could use Continuous .NET. It’s a C# IDE for iOS. You could then use Working Copy to to keep the version on your computer in line.
The other option is to VNC into your computer at home, but if you’re on the train that might not be a great option.
It's not a solution for your problem, but if you have an iPad, you can write parts of apps in Swift Playgrounds. There you have access to all the UIKit stuff. Unfortunately some of the frameworks you can use in iOS are missing.

What would be the best way to create a firefox plugin for taking desktop screenshots?

I need to create a firefox plugin that allows a user to take screenshots of any part of their desktop and have them uploaded to a server. There seems to be lots of plugins for screen capturing a webpage, but nothing for capturing anything outside of firefox. So after a little research I have not found much information on how this might be possible. I don't want to resort to a using a java applet but I will if that is my only option.
Does anyone have advice on how I might create such a feature?
Thanks
I don't think a Firefox addon is the most appropriate approach here. Maybe split the task into a Firefox addon to offer the "upload to a server" component and a native app to do the desktop screenshot (or just integrate with existing screenshot tools).
If you're worried about complicating the installation process for end users, you could look into bundling the addon component and native app into a single installer (e.g. MSI on Windows, RPM on Linux, etc.). You'll have to come up with different apps for each platform you want to support (and maybe even each version - e.g. Windows XP vs Windows 10).
Whatever you decide, you'll probably need to create a more specific question to get further help here (there's no simple Firefox.Addons.API.TakeScreenShot() answer I'm afraid).
Also make sure you're using the right terminology - a plugin is the deprecated NPAPI approach whereas addons are still supported.
I'm actually working on taking native desktop screenshots just in the last coupel of days. I'm using js-ctypes. My work goal is the same exact thing to, upload to server. If you would like to collaborate I am very open to it! We can chat about it on #jsctypes irc channel :) irc://moznet/jsctypes (Mibbit IRC WebApp) If you don't know js-ctypes thats ok i can handle that while you can handle uploading techniques, and an editor on canvas :) The editor is a huge part of it, you can see my ideas/plans here: https://github.com/Noitidart/NativeShot/wiki/NativeShot
I'm really really interested in a collab on this!
I'm still working on windows right now, the color is messed up: https://github.com/Noitidart/NativeShot/tree/digitanks-method
I was just about to start OSX work following this example here: https://developer.apple.com/library/mac/samplecode/SonOfGrab/Introduction/Intro.html and here: Take ScreenShot without Window
You can install the addon from that branch and click the icon that gets added to the toolbar, it will take a screenshot with 3sec delay and then append it to the body of the selected tab. (Windows only right now)
Doneskis baby check it out: https://addons.mozilla.org/en-US/firefox/addon/nativeshot/
Got some quirks. Released it as v1.0 though. I'm working on Android support, pretty close. I need to flesh out the editor tools. Please let me know if you're willing to collaborate.

Running R within an iOS application

I'm trying to figure out if this is doable
I know there's a way to run Python or Lua scripts within iOS. Also, I know there are already projects that make this easy to do with libraries and bridging components.
The question is - has this also been done for the R language? I've been looking around online but have only seen posts by people that have done this on a jailbroken environment. Also according to my understanding this does not go against the iOS developer license agreement as section 3.3.2 has been altered to allow running any code that's bundled along with the application binary.
Any suggestions? Directions to try?
https://itunes.apple.com/us/app/r-programming-language/id540809637?mt=8
Also you can run windows applications on iOS:
http://www.technobuffalo.com/2013/10/17/microsoft-app-turns-your-ios-device-into-a-windows-8-1-device/
http://www.net-security.org/secworld.php?id=12872
However, I have not tried these personally.

BB10 - Cascades Application - Console/Terminal Application

I am attempting to create a simple terminal application that runs on a BB10 device/simulator. I have gone through all of the available demo/example applications:
http://developer.blackberry.com/native/
I can't seem to find a way to have an application run as a console/terminal/tty-interface on the BB10 device I'm developing for. I was hoping to port some simple console games (ie: maybe a simple thing like "Hunt the Wumpus", http://en.wikipedia.org/wiki/Hunt_the_Wumpus), and then maybe take a crack at a Rogue or Nethack port as well (hopefully without having to depend on the ncurses library (http://en.wikipedia.org/wiki/Ncurses), but it's OK if I have to rely on ncurses. It just saves me from having to write additional interfacing code).
Can someone please provide a short, simple example of what I would need to write in a basic BB10 application that opens a black-and-white terminal with color support? It can be short, and just something I have to paste into an empty project.
Thank you in advance!
Here you go:
https://github.com/blackberry/NDK-Samples/tree/master/HelloWorldDisplay
It's listed near the bottom.

How to create an update on iOS

Hi i'm trying to create and distribute an update/patch for my app on app store.
Does anyone know how to made it in the best way?
Thanks
Apple does not have an interface for hot-patching production native apps, if it's a hybrid app many of the JavaScript platforms allow to upload new JS, so some functionality might be fixed / replaced / etc.
I have also seen more hardcore solutions like this one a Lua script that you can load and patch your app remotely (might be in Apple's gray lines)
We # Rollout.io created an SDK that allows you to remotely hot-patch native production applications, you can read more on how here.
Disclaimer: I'm a Rollout.io co-founder.
There's no such thing as a patch or pure update - you release a full version of the app with the changes you require.

Resources