Does anyone know if Google provides an API to configure the AON on the S8 and similar devices?
On the Display documentation I didn't find anything.
I was wondering if someone had experience creating app that make changes like, adding text, positioning image adding an app icon etc (I know the stock features do provide some of these features but I wanted to know if it was possible to do this by creating a third party app)
Thanks
After doing some research I came across a guy who has been doing some development on the Always On Display. On XDA forum he has an app that does exactly what I am looking for and he has been kind enough to provide some further info.
It's an overlay targeting the AOD, you can build overlays either by
manually adding code with Apkeditor (app) or build an overlay with
Android Studio, my mods are built with Android Studio.
There's a substratum template that should help you themeing apps.
(With overlays) https://github.com/substratum/template
Related
Prerequisites: Got a working app from a friend who needs some changes made. They were outsourcing and now want to internally manage it.
I come from a web and game dev background, so Android/IOS development is new to me, but a lot of the principles seem to be the same.
I got the project onto my device, installed all of the dependencies, and fixed all of the file paths.
The app successfully builds, and I have my virtual Android device running it great!
However, my buddy wants some really simple layout changes, and for the life of me, I can't find where to just edit the home screen layout. I was trying to solve my issue from a web dev approach, by grepping where the logo screen is used in the app, but those files seem to just load a white "background" layer, and not the entire composed page?
I'm missing something really silly here, and I just want to ask a real person on here, instead of digging through documentation and trying to word a condensed question in a Google search.
Here are my condensed questions: How can I just edit the home screen of my app in Android Studio? Where can I find the full home page file to view the entire layout, and not just a fragment?
Edit: The app also utilizes the Flutter SDK, which may explain why I have been having trouble with layout edits. I'm going to look at it again after work today, and hopefully answer my own question. I appreciate the help so far!
Edit 2: After going back to the app with a different approach, I found out my project had defaulted to the "android" sub folder of my master, and wasn't showing any of the Flutter .dart documents. After going up one folder directory, I was finally able to access that Main.Dart file with the display information.
I was able to mount it for inspection, but its saying my emulated device isn't supported. I need to look at it when I have time tonight, and may need to ask a separate question for it. I have my project sdk set to Android 33, and my virtual device is set to Android version 33. I searched around Stack, with a few people with reporting similar issues. I tried following their solutions, but it didn't seem to work.
I'd like to make Android Go instead of using AOSP.
But have no information except this site (https://www.android.com/versions/go-edition/)
Please let me know any hint or contact points if any.
Can I compile Android Go from my AOSP code?
Do I need to contact google person to get some right to handle Android GO source code?
Thanks
As long as I know Android Go Edition is a Trimmed down lighten version of AOSP to run on Low-end chips with more optimization in code than AOSP which are tends to run on High-end SoC's but that is done all on Manufacturers side Google don't provide this.
But you can contact Google to know more about it and If you are planning to Launch a device.
I am a android beginner. I am going through the book listed in the title. I haven't even made it past the first chapter without running into problems. I have installed the latest version of Eclipse. However, the examples shown in the book are not much like my version. For instance, this main.xml file that's supposed to be in the layout folder is not there. The "New Android Project" dialog box is arranged very differently and the package explorer is called project explorer. Is there a way to get this kind of eclipse in the book? Or do I just have to interpret it best I can? Any help would be much appreciated! This question has been down voted and closed by another user. Could someone please tell me why? I am just trying to get some help.
As different Android APIs(ICS, JB, etc.) are released, they sometimes change the ADT (Android Development Tools) for Eclipse. The ADT is plugin for Eclipse. This plugin is what gives you all those neat buttons in the toolbar and the XML layout interaction.
The book you are reading was designed for Android 4.0(Ice Cream Sandwhich). As of right now, Google has released up to Android 4.2.2(JB 4.2). There has been some significant changes to the ADT going from ICS to JB, but in my opinion, they are for the good. Lots of really neat and new features. Here is a Google resource explaining the different API releases for Android: http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels
I would say continue reading the book as it will teachs you the basics of Android, but when you want to do some in depth coding, that book isn't going to be very useful and you may have to do a little research online. Reason is, Google releases at least two new versions of Android every year. Every version changes, and adds new features. In other words, the book you are reading is already out of date. Android OS development moves way to fast for authors to keep updating their books.
To answer your question, your probably going to have to interpret it the best you can since, most likely, by June/July, Key Lime Pie is going to out, and the ADT your using NOW will be outdated. You should really learn the fundamentals of Android OS and how it works in the background and how processes things. After that, everything else should be easier to learn.
An alternative to the book you are reading is this: http://developer.android.com/training/basics/firstapp/index.html. This is straight from Google and is constantly updated and tweeked. This will be the most updated and useful information on how to write Android apps.
Hope that helps!
Okay here's the deal:
I want to download the full source of the MMS/SMS application that ships with Android phones. I want to be able to modify it, and add a little custom functionality to it.
I am developing using Eclipse, and I'm on Windows 7. I have noticed that there is now a Git for Windows, but I am pretty lost in it and not sure how to integrate everything with Eclipse.
Basically, I want to just get it to the point where I have all the source code visible in Eclipse and be able to see the app run JUST like the built-in texting/MMS app that is already on my phone. Then I'll know that I can modify it and proceed.
Any ideas?
Thanks!
There's a mirror of the SMS/MMS app on GitHub here. Just import that to Eclipse and customise away.
Unless you want to customize and use it only on your own phone (without publishing), this is not a good idea. This is because it uses classes that are hidden from the sdk. By default you won't even be able to build the apk via eclipse, but there is a way. The reason why this is a bad idea is that the hidden apis are not guaranteed to remain the same through different api-levels and your app can stop working with the next android update, and might also not work on previous api-levels. In-fact your app might not even work on selected phones running the same api-level.
I was wondering if it was possible to recreate the android 4.0 lockscreen within an application. I want to use it as the way to navigate through my app. Is it possible to pull the source of the lockscreen from a ROM and then modify it to fit? Does anyone know how it would be recreated? It doesn't seem like anyone's tried this before according to google or the similar questions on the side, any input is much appreciated!
As stated in this answer, the source code for the Android lock screen can be found in the platform/frameworks/policies/base Git repository, in the phone/com/android/internal/policy/impl/LockScreen.java file. You can read the instructions on how to download the Android source code here, or you can read the source file online here.
EDIT: I am sorry, I probably posted the source code for an older version of the lock screen than the one you were looking for (from sometime around 2010, I believe). Nevertheless, the Android lock screen from Ice Cream Sandwhich should probably be in the Android source code somewhere, so you should be able to just search a bit and hopefully find it.