Is it possible to use Android Things on a tablet?
My project needs Android Things, but I can't use Raspberry for it, because it will be expensive.
If not, what do I do to a "normal" Android (Android for tablets/phones) to have only my application, don't have notification bar and don't close my app with the life cycle? (like on Android Things)
It's possible to use Android things on a tablet?
No. Here is the list of supported platforms.
If not, what do I do to the "normal Android".
Develop a kiosk mode app or, if it's not enough for you, customize Android source code.
Related
Preface:
I'm working with small company that make its own devices with custom flavored Android OS (eBooks and one model of smartphone). I have the experience of browser, API and mobile apps (iOS | Android) automation.
Problem:
But today i've heard the idea from my manager. He offered me to find tool or just a way to automate Android OS testing, not just the apps. He said that if i will find a way to do that, i will save pretty much of time for company.
Of course i have a lack of knowlege about custom Android OS architecture (my job was only to make automation), but right now i'm stuck with the answer. The only tools that possibly could be used with more than just 1 app is Appium.
Please tell me if this even possible thing to automate testing of your own Android OS version?
Thanks in advance.
UPDATE:
So how i see it:
We are on the main screen of our smartphone OS.
There is a clock widget on the main screen.
Without physical contact and human involved, the system makes imitation of "long touch" on the clock widget
Small menu with a list of options appears.
So, after more research and comment of CommonsWare (thank you!) i have found the answer.
What i needed is testing system apps and cross app testing. Android Support Library have a tool for that - it's called UIAutomator. This one feels absolutely nice while being on home screen and around - clicking elements, finding them and simulating hardware buttons.
If you face this problem once upon a time - just use this thing.
I'm planning to create myself a proof of concept Android Wear application, but I'm not planning to buy myself an Android smartwatch yet. I will buy it if I get positive reactions from my target audience once I show some of them the proof of concept app from my personal smartphone (Android Kitkat).
is it possible to run/debug an Android Wear application on my smartphone? Suggestions for third party software is welcome as well.
For a demo/proof of concept I'd say yes it's possible, in certain conditions/restrictions:
It should be a standalone/fullscreen app (it will be hard to emulate the notifications/cards behaviour)
Define a 320x320px layout for your content (or 280x280, and eventually add a round mask it you need a round watch)
Code like it's Android!
Note that behind the scene communication between the phone and the app will be different when you do it on a real Wear, but for a demo your audience will not see the difference.
You can check this app in which I use a similar layout for the watch, the handheld app and the widgets.
Hi everyone am new to android and developed projects on c, dot net frameworks and python. I have to develop application for android and iPhone tablets. Currently I have to write application for android and have two options.
1) Use java and android sdk
2) Use Phonegap
I would love to use Phone-gap because it's seems pretty much easy as I am familiar with HTML, CSS and JavaScript. But that's not my limitation as I have used jav with E-clips earlier. much better hint is single app for android and Iphone.
My question is if phone-gap will work for me. what I need to start my app on start-up without showing desktop and always on top. and read screen on/off actions. I have crafted kiosk and installed 10.1" android 4.1 tablet. I have to develop app to give it a POS look. My app should start as early as my device boot and always remain on TOP unless explicitly closed.
Any suggestion will be helpful for me as I am new and have only created hello world app on both.
I want to Ask One Question that is More Important For Android & IOS.
We see in IOS You Can Run IOS App (Created By IOS Phone only) that app Run in Tablet
Device & work As Iphone As shown in Image.
Is there Any Way to Run Android App (Created By Android Phone only) that app Run in Tablet Device & work As Android Phone As shown in image.
is this Possible in Android!
Any help?.
Android actually handles this better than iOS, it scales the app up. Any app on the Play store which isn't being filtered will work on any Android device.
In iOS you have different views for your iPad/iPhone on Android you use Fragments to acheive the same result see Designing for Handset and Tablet.
Personally its better on Android as you can reuse componentized UI.
IF you really want to make it look like a phone app, you can use scaled mode, (if you target your app against gingerbread targetSdk="10") then Honeycomb+ will present the users with scaled mode similar to the iOS thing. I by no means recommend this! It is the worst UX you can give your users!
Please don't tell me what a bad idea this is. I am not using it as an Android tablet. It is the interface for a propitiatory medical system my company is designing. It's only function ever will be to control the system we are building.
That being said, how can I remove everything from the tablet and only run my app until the tablet dies or the standard firmware is reinstalled?
The tablet is being used exclusively as an interface control panel and CPU to my program which controls the medical equipment externally. I don't want anything else on the tablet. I don't want the users to do anything other than run my program on my equipment.
How can I lock the users into only using my program for the life of the tablet?
(I am building a system that happens to use an Android tablet to control it. Basically, I thought it would be easier to use a tablet, rather than design from scratch a system based on one or more microprocessors and which uses a custom designed and built color interface panel. If the doctors want to use an Android tablet for their offices, they are welcome to buy one.)
Thank you in advance.
Thank you all for your advice.
You will have to build your own version of Android if you wish to do this. For several reasons it is not possible to make an application that will do what you want and have it work on consumer devices.
Exactly how you need to go about customizing the OS build is going to depend on your exact hardware. But the simplest modifications will be removing the unneeded apk files from system/app/ and data/app/
AOSP and XDA-Developers are two great resources for learning the ins and outs of building a custom ROM.
If the device has reasonable power to it, you shouldn't need to worry about background processes.
If this is a consumer product, then it probably has the Google Apps suite and other related items, in which case rooting it and not installing those would be the best route. AOSP only runs processes that it needs to run Android out of the box.
Edit: You might just write the apps a Launcher and not allow opening other apps as the best route to accomplishing your goals.
You might need a custom ROM. It really depends on what version of Android your device supports. Check out the last in the list below.
http://www.redmondpie.com/best-most-popular-custom-roms-for-android-and-why-you-should-try-them-out/
I'm facing similar obstacles utilizing my business tablets. I want to restrict all the pre-loaded applications & only allow the tablet to be utilized for certain applications. White listed websites & such. I wonder if a 3rd party service such as ZENPRISE might offer a mobile management system that would take care of this for me?
zenprise