android gui question - Android Studio

In the activity_main.xml how do i use the i take i can code or i can use the Gui?how do i use the gui?

Related

Java SE support in browser

Hi all,
As the android OS is built up on Java I assumed I could use java websites -- i no know this is not true as google have there own version.
I currently have root access on my standard rom .. is there a way I can add Java support to my nexus one 2.2.1?

[Q] Whay editor is default in SGT root

Using terminal and the su
I want to edit a file in text mode, Tried nano, edit and no go, is there a built in text editor command to use on files in terminal mode.?
Install better terminal emulator or build a kernel with nano support.
Development? Really?
Why is it so hard to post in correct forums?
I mean why is it so hard to understand that this forum is for posting dev projects only. General discussion or questions goes in the Q&A/general forums!
Am I missing something?

[Q] Kernel & Android (GT-7310)

Hi, sorry to post of question here, but it seems it is the only place where it is possible to talk about development for the GT-73xx.
I would like to do some work on the kernel, I am looking at this : [not allowed to post a link to motley-git]
But is there a guide on how to compile this GT-7310 kernel, and how to safely flash it to the tablet ? Does Samsung publish the source code of the bootloader ?
My goal is to develop a simple graphical user interface for a particular application using OpenGL but still be able to access the hardware features like WIFI, Audio, USB and multi-touch. So the tablet would only run my application.
I do not really need to run the Android OS (especially any java components), but if there are some kind of hardware android APIs I can still use from my C/C++ app, that would be great.
any help will be much appreciated

[Q] (Q) Which kitchen should I use for rom development?

Which kitchen would ya'll recommend for developing my own rom?
fourthhorseman said:
Which kitchen would ya'll recommend for developing my own rom?
Click to expand...
Click to collapse
kind of a subjective question but I'll do my best to break it down for you,
if you are familiar (and comfortable) with Linux OS then I would recommend Archi Kitchen it runs on Linux no windows support, it requires a little more attention and a little more patience however, it provides a lot of niceties like the ability to remove knox, bloatware and those options are configurable. it's command line based and is your typical shell scripting so if your brave you can eventually rewrite it to your own needs.
If your not into using linux then the only other real choice is dsixda kitchen but it is no longer in development and will need tweaking and adjusting to build roms for any of the newer devices. its windows or linux compatible if your using windows youll need to set up a cygwin linux emulator environment the instructions are included in the XDA thread for the kitchen and if you follow them verbatim you wont have any issues.
I use both environments it all depends on what im doing and where im at in the build process. once i am done with all the mods and hacking and coding and have everything back together ill use archi to generate a updater-script (it is compatible with selinux set_metadata vs set_perm commands) but basically beyond that i use my own personal version of dsixda which i have highly customized for my specific needs.
Thank you for the advice. I will be going with arcikitchen as I am fairly comfortable with linux.

[Q] Xposed use classes obfuscated with proguard

Hi,
I just started using Xposed Framework and I think it is really cool tool! For now I am just trying to learn the API and how to do the things. I am trying to change some values returned by functions by an app, but the decompiled code is obfuscated and all class names and methods are with one or two letters. For example :
Code:
if(!p.a().h() && ae1.c() > 500F){
com.bones.modes.cn.a(com.bones.modes.cl.a(b)).b().a("New message");
}
So what I need is a way to change return value of
Code:
p.a().h()
and
Code:
ae1.c()
which are located in different package than
Code:
com.bones.modes
.
Any idea how to achieve this?
Why decompile when you can compile from source or directly edit source
check repositories under this user : https://github.com/rovo89
if you find your changes could benifit others submit a change request.
anantshri said:
Why decompile when you can compile from source or directly edit source
check repositories under this user : rovo89
if you find your changes could benifit others submit a change request.
Click to expand...
Click to collapse
I decompiled application just to find class names and methods so I can inject code and make some changes, but don't know how to deal with obfuscated code and Xposed. I've tried to hook method found using dex2jar, but it's throwing an exception
Code:
NoSuchMethodError
.
hardartcore said:
Hi,
I just started using Xposed Framework and I think it is really cool tool! For now I am just trying to learn the API and how to do the things. I am trying to change some values returned by functions by an app, but the decompiled code is obfuscated and all class names and methods are with one or two letters. For example :
Code:
if(!p.a().h() && ae1.c() > 500F){
com.bones.modes.cn.a(com.bones.modes.cl.a(b)).b().a("New message");
}
So what I need is a way to change return value of
Code:
p.a().h()
and
Code:
ae1.c()
which are located in different package than
Code:
com.bones.modes
.
Any idea how to achieve this?
Click to expand...
Click to collapse
Hook the application's package (application package != Java package), then hook the class name you want using its full name (e.g. com.bones.modes.ClassName, or com.otherpackage.something.ClassName).
If that doesn't help, post the code you're trying with (and more information about the "different package").
anantshri said:
Why decompile when you can compile from source or directly edit source
check repositories under this user : https://github.com/rovo89
if you find your changes could benifit others submit a change request.
Click to expand...
Click to collapse
He's talking about something entirely different.
GermainZ said:
Hook the application's package (application package != Java package), then hook the class name you want using its full name (e.g. com.bones.modes.ClassName, or com.otherpackage.something.ClassName).
If that doesn't help, post the code you're trying with (and more information about the "different package").
He's talking about something entirely different.
Click to expand...
Click to collapse
I've already fixed it. I realise that the method which I was trying to override takes params and I wasn't pointing them in declaration of hook method.

Categories

Resources