Using VM in the cloud for building android custom ROM - android

Can you use Virtual Machine created in the cloud (AWS/GCP/Azure) to build and bake the Android custom ROM on my own terms (means if I have to make my own features possible)? Does it act like Ubuntu installed on a physical device?
If it is possible, how may I do it? What would it cost?

Hi #Sandeshpd you can create a virtual machines in any cloud service to build your custom ROM for android. This means you can create a ubuntu machine in GCP and use it like any normal ubuntu system. You can choose any available flavours of Linux or ubuntu and use them for your own requirements. Recommendation is Google cloud (GCP).
Coming to pricing of the setup is based on the resources which you are going to use like Storage, Memory, Processor etc., and the region where you want to create like US,ASIA,EUROPE etc.
This document will help to set up the environment and this pricing document and calculator will help to choose and calculate the pricing.

Related

Question About the utility of flutter config --no-enable-web --no-enable-macos-desktop --no-enable-windows-desktop --no-enable-linux-desktop

I'm a young flutter developer and I would like to understand, why we use this command
flutter config --no-enable-web --no-enable-macos-desktop --no-enable-windows-desktop --no-enable-linux-desktop
while we can create the binary file by writing the command :
"build platform-name"?
moreover, if flutter was designed for cross-platform applications starting from a single code, why do these engineers always allow us to use this command?
and from what I've read, the command can only be useful if, flutter doctor finds problems or missing components for a platform you don't want to develop for. but, I also say to myself, that I can use this command, in this following:
-- if I only want to develop an application for mobile (android and ios), then I don't need other platforms and vice versa so that it can lighten the files.
unless, when we decide to build according to any platform, the build system manages to recognize the if....conditions that we place at certain levels of the codes in order to specify the nature of the platform for insert, the design that suits it, and according to the user experience when we develop for all platforms. from the same project.
because me, I think that, if the developer, finished developing his project on a platform such as (android and ios) and later thinks of developing this same application for the other remaining platforms, he can create a project of the same name and given that his backend (if of course his project has any architecture) of his first project is cross-platform he can simply copy and paste this backend, then focus on developing the frontend side according to the platforms (Windows, Linux, macos and web) always according to the perspectives of his project.
Hence the weight of the files will be controlled, in order to make the build according to the fluid platform.
Basically that's what I think, so , tell me more about this command in order to use it better and to be able to manage my architectures according to the platforms. thank you

Is it possible to build Android Automotive apps using common UI layouts like those for mobile phones?

I'm talking about the usual ConstraintLayout or LinearLayout from Android development for mobile phones. Is it possible or allowed to create and install an app built like this on the Android Automotive OS (not Android Auto)?
If the answer is yes, do you have any documentation regarding this or project examples/samples?
Publishing the app on the Automotive Store is not important for me, Google wouldn't allow this anyway. I just want to be able to create a very custom app for me or a possible OEM.
I know there's an Android for Cars Library but it's not even working for AAOS at this moment, only for Android Auto.
Yes, you can create and install normal Android apps that use common layouts on the AAOS Emulator. You may not be able to upload these apps on the store but an OEM probably can install any apps it wants.
Check the 'A Better Routeplanner' app, it was uploaded by Polestar on the AAOS store and it probably uses the UI layouts you mentioned considering how custom and similar it is to the mobile version.
https://play.google.com/store/apps/details?id=com.polestar.abrp.production.android
It depends on the user specific case, i.e. Is it going to be using navigation or radio for example.

Developing cross platform app

I have developed a phonegap app (android) using Eclipse IDE. Is there any way by which I can use same HTML, CSS and Js to develop IOS app? I do not have a Mac system to do that. Do I need Mac System or can it be done on windows? Do I need to have developer account? Can It be done without having Developer account? How can I create .ipa file without using Mac system?
you can put your code on this it will generate IPA for you
https://build.phonegap.com/
Do I need Mac System or can it be done on windows?
Yes, you will need a Mac computer in order to compile it for iOS. You might want to use Xcode for the compilation purpose or test/deploy the application on device. You also need a Mac to configure certificates and provising profiles. Moreover, iOS Simulator does not run on Windows. Hence, Mac is a must one even if you develop app using web technologies.
Do I need to have developer account? Can It be done without having Developer account?
You won't need to have a developer account for writing applications for iOS. However, you will certainly need to have one when you want to test the app on your device. You will not be able to test your application on a device unless you have a developer account.
How can I create .ipa file without using Mac system?
Without a Mac system, this will not be possible. But, you might want to see more info on PhoneGap Build from this link.
I just find the following in which he can explain setting up building iOS apps without a Mac
1)http://community.phonegap.com/nitobi/topics/detailed_guide_for_setting_up_building_ios_apps_without_a_mac
2)http://www.iandevlin.com/blog/2012/11/phonegap/building-an-ios-signing-key-for-phonegap-in-windows

Flex Device Model and Make information

Is it possible to detect the device model and make information from a flex 4.5 sdk application, like Samsung Galaxy Tab 2.0 or Apple iPad 4 etc.,
Thanks
Fayaz
flash.system.Capabilities is the only way of obtaining certain info about your device Capabilities: i.e. os - Operating System. However, I don't think that it fits your requirements.
Another possibility is using ANEs. They allows you to extend your applications with native code (Android, iOS, Win, OSX, etc). You have to implement your solution in native code and package it as an ANE (or be lucky and search the web looking for already existing ANE that does what you want).
More info: http://www.adobe.com/devnet/air/native-extensions-for-air.html
You may try:
Android Native Device Info.
Android Native Device Info: Grab native device info like OS, Model,
Brand, SDK Version and CPU. These AS3 classes uses Adobe AIR for
Android to grab an Android system file named /system/build.prop, parse
it and store its values in an nice value object for you to use. This
parsed information is mainly used for analytics.

Can I use android for this? (app for corporative use)

(Sorry for my english)
I'm new using Android (in fact, I'm just testing android) and I have a lot of questions...
Well, let me explain you the situation. In this moment, in my job, I am writing my code with C# and run it on Windows Mobile 6, the apps are used to make sales, send bills, reserves, etc. The devices (iPAQ 216) are given to the salesmen, and they must use the apps and update them via internet.
Each salesman have a unique client list, unique data and (in some cases) an unique set of apps, which means that I need to prepare a different package for each salesman. Using a Microsoft tool (cabwiz) I can prepare automaticaly a different package for each one of the 150 salesmen. They download their specific package using a tool wirtten by me, and install it and everyone is very happy (maybe)...
Is that possible in Android? How? and if it is not possible, do you know an idea how to accomplish somewhat like that...?
It's not going to be as easy as cabwiz, I can tell you that. But it would be possible, theoretically, to write a script that modifies/generates the unique portions of the source and then compiles a new copy for each user.
If the only difference between the apps is the data on them, then there is no need to generate a different package for each user: have the app download the data from your server and save it after the app is installed. You could also make some modules (I can only guess what kind of functionality you're talking about with regards to different apps per user) only accessible to particular users.
Yes, it's possible however:
You may want to look into writing in java rather than C# as that's more officially supported on android
There are some limitations of the android APIs, in particular there are basic behaviors of the device that can't be altered - without rooting there's no equivalent to the "hook" functionality of windows.
Make sure you get devices with the menu option to enable installation of applications from 'unknown sources'; otherwise deployment will be a lot more difficult. At that moment, this amounts to avoiding AT&T, as their devices presently confine you to the android market or physical connection to a machine running the developer tools as distribution channels. (As a work around you can upload your apps to the market and not publish them, though that won't fully keep them private unless you also include something to require authorization when they run. You could also install the minimal set of dev tools on the salesmens' laptops)
You will probably want to learn about the command-line application build tools and scripting in order to generate a custom apk for each salesman. Once the devices are set to allow unknown sources, you should be able to email the salesman the apk (or a link to it) as an attachment. You should also be able to make the custom apk refuse to run except on a device matching some fingerprint data you've previously collected. While you can develop for android under windows, you may want to look into switching to linux in order to make some of this scripting a little more natively elegant.

Categories

Resources