[Rom-Dev] Using ADT Layout Editor with Android platform source - Motorola Milestone Android Development

Hi,
I've managed to get Eclipse up and running to work with the CyanogenMod 7 source.I want to make some changes in layout of system apps such as dialer app , mms app.
One last point I'm stuck on is using Eclipse to edit Android layout resource XMLs. Building the entire platform only to check if a widget is in the right place is a great drain of time, and it sounds reasonable that ADT's layout editor should work.But , the android layout editor doesn't show the layout.
It's worth mentioning that the project I'm editing is a Java project and not an Android project (well, it's the Android sources itself so does not make sense for Eclipse to treat it like an Android app).
Has anyone succeeded in getting the layout editor up and running in the platform environment?

Related

[ROM][DEV] Kiosk mode Rom based on AOSP

Hi i'm developing a little project and I need to limit the user access to only one app. I based my project on the Nexus 7 but I rather use a cheap chinese tablet to lower the overall cost.
This is a list of the requirements of the kiosk mode:
- Only my app can be accessed by the user
- An administrator can go to app settings/system settings
- Remove the status bar completely
- Hide navigation bar on my app but show it on settings
- Custom update backend since play store update will be disabled
- Hide system notifications
- Anything needed to keep the end user inside my app....
I choosed to develop a custom rom based on AOSP. I know there are other possible solutions but I choosed this so i can release the code at some point. I think this rom could be usefull for some projects.
At this point I downloaded this brach "android-4.4.4_r1" and I made my app the default launcher for the system. I tested the rom image on the AVD emulator and it worked.
Any advice, help, guidelines, tips would be appreciated. Thanks!!
PD: I think I'll name this project AKOSP (Android Kiosk Open Source Project)
PD2: Sorry for my english skills
Hey
I'm very interested by this project. Do you have any link? Did you release the code? Can I help?
Thanks

[APP][For XDA devs][Sample Wallpaper chooser for rom devs]

HI ... !
I was looking for this stuff since ever and didn't find anything like it so I decided to share it here (sharing is caring ) because I know how painful it is to make apps from ground up and many rom devs have experience with smali but not with java and fear dealing with eclipse and android-studio
*NOTE : THIS PROJECT IS PROVIDED AS IS NO lICENSES AND IS OPEN SOURCE AND THERE ISNT ANYTHING PREVENTING YOU FROM USING THIS APP JUST MENTION ME WITH A SMALL SUPPORT BANNER WITH A REFERENCE TO THIS THREAD*
What is this project ?
This is a wallpaper chooser/picker in a gridview + nav drawer + material style so it looks damn cool in a red scheme .
Libraries used :
v7 appcompact --> material stuff
v4 support library --> grid elements etc ...
ikimuhendis:ldrawer by ikimuhendis ---> for nav drawer arrow
Source :
https://github.com/hashem78/APP_SAMPLEWALLPAPERCHOOSER
How to build :
You need a gradle based compile ide to build the app
IDE of choice -> android studio (intellij)
to build using android studio (assuming you have the source downloaded)--> 1. make sure you have android studio downloaded and setup properly having google support libraries downloaded and linked to your ide
2. File --> import --> choose the path of the app
3. Make your changes if you want (skip if not needed)
4. Build ---> make project
5. make a signutare and set your out location
done
Project structure :
build.gradle --> it has the local packages name of the app and libraries included also controls build tools version and sdk version and other things
app/src/main --> res folder (where the styles , strings , values and images are stored)
AndroidManifest.xml (class and activity definitions plus controling app wide theme)
app/src/main/java/mythi/samplewallpaperchooser/widget --> CustomDrawerLayout (the name tells it)
app/src/main/java/mythi/samplewallpaperchooser/ --> FullScreenImageActivity (activity class to display from resolution image when user clicks from grid view)
MainActivity --> (name tells it)
Sample --> (example class where you inflate the main activity view from)
SampleImageAdater --> (example class where you call your image resources)
so assuming you want to modify the app you have to
1. got to res/values/strings.xml change app_name refernce to what ever you want
2. add image resources to res/drawable-nodpi
3. change SampleImageAdapter definitions according to your needs
voila !
Credits :
Dave from stackoverflow
ikimuhendis for sliding drawer arrow
Google for support libraries
Xda
MerkMod team
todo :
design this thread
nothing ? anything ?
Sample app download . can be smalied and backsmalied
Bump ?
Good lookin sharing this brother

Android GUI with animations

Hi Xda community!
I am developing Android game and I need Android GUI with basic Android apps (Messages, Contacts, Notes etc.) for it.
So I am looking for Android GUI with animations - best would be with each frame of the animaton on single separated frame (mainly due to possibility to edit those frames in Photoshop afterwards).
I only found Android GUI with static pictures but it seems that I cannot find anything with animations.
Do you know about anything like that? It could be even iOS or even some fake community made OS for phone.
Many thanks for every reply!

[APP LAUNCHER][4.2+]DecentHome (Open Source)

Hi all,
I spent some time to develop an application launcher based on Trebuchet 13 with a custom application drawer which users can create folders and change application icons placement.
You can check this video to see what it looks like and how it acts Youtube - DecentHome Preview
It is a little bit 2015, and it's not that customization friendly, but I tried to make it simple and mainly focused on the application drawer's capabilities.
In order to achieve that I may had to rewrite Application Drawer from scratch and heavily reconstruct existing database and its services.
You can download the source code from GitHub - DecentHome
Also, you can download a standalone version of Trebuchet 13 which you can directly download, import and compile on Android Studio from GitHub - Trebuchet13Standalone
You can install it with attached apk.
Feel free to ask questions an comment.
Please let me know about any errors.
Thank you.

How can I decomp an APK & show a preview of it on Android Studio to make an overlay?

How can I decomp an APK & show a preview of it on Android Studio to make an overlay?
I want to make a substratum overlay of the Pocket app to tweak the layout. I'll admit I don't know much since I'm pretty new to this.
I extracted an APK for the Pocket app using adb pull, and decompiled it with apktool. I then tried importing it onto Android Studio (on Windows) and selected to import with Android Gradle instead of just Gradle (since the later doesn't work for me). I did some looking up online and it seems that apktool isn't perfect for decompiling apps, and I might be doing something wrong with showing the preview, what I tried is opening up XML files in the layout folder and the preview would not load (after looking stuff up online, apparently somewhere on the bottom of Android Studio, I have to select text instead of design but I don't see it anywhere). Are there ways to decompile the APKs like for the pocket app better, as well actually be able to preview XML files?
I attached the pocket APK in case that's helpful.
View attachment pocket.apk
You cannot preview unless you have source. Theming is a ton of trial and error so you'll have to find the resources and add them to an overlay to change the look..
Join the theme devs collective for substratum for faster help. We have links to tools and process but searching the forums on "how to theme" should be your first stop, as we only show you how to use substratum to theme not how to theme. Finding the resources and knowing what to change is on you. Moving those resources to substratum we can teach.
Hope that helps!
@themingHelp use in telegram to join.
DJ
Sent from my SM-G965U using Tapatalk

Categories

Resources