[Q] Anyone thought of making a smali plugin for intellij idea or eclipse? - Android Q&A, Help & Troubleshooting

Title says most of it, but has anyone considered making a plugin for either IDE to make it easier to work with smali (tracing through methods so you can ctrl+click on them to find where they area located, intellisense, syntax highlighting, dependency checking, etc?

I don't have any experience building FOR IDEs, but that's certainly something I'd be willing to test. It could probably be another command line tool, but it has to start somewhere; I run apktool in VMware Xubuntu and my IDEs in Windows (or OSX)...

android-studio
Now that android-studio, which is IntelliJ IDEA with android plug-ins, becomes Google's new standard IDE, the idea gets more interesting again. I just started exploring the Xposed framework, and a plug-in for android-studio offering even code completion to Xposed helpers and functions based on smali code would be awesome and something I'd be willing to help developing
For pure reverse-engineering I know that many like Virtuous Ten Studio. But I see the future in App modding using the Xposed framework. Just much more transparent and portable! As an example, I use Whatsapp+ - but I only get updates when the Whatsapp+ dev has time to decompile an upstream Whatsapp update, applies his mods again, compiles it, and releases it. Now if he rewrote Whatsapp+ as a Xposed mod that would mod the original Whatsapp app, that would be different, as the mod would probably immediately work for an update, too.
Oh and also, Virtuous Ten Studio is Windows software. I am a pure Linux user, and IntelliJ works on all major platforms, so this is another advantage

stammler said:
But I see the future in App modding using the Xposed framework. Just much more transparent and portable!
Click to expand...
Click to collapse
There is another runtime modification framework called cydia substrate by Jay Freeman aka Saurik. Before anyone cries foul and claims all that Jay did was copy Xposed please have a read of Jay Freeman's well written description of cydia substrate.
Since I cannot post links because of some anti-spam policy, please find the link by searching for 'cydia substrate vs xposed' in google. One of the first hits you will find is on the cydiasubstrate domain.
I agree with you; runtime modification is definitely where the future is for modifications.

infamousity said:
There is another runtime modification framework called cydia substrate by Jay Freeman aka Saurik. Before anyone cries foul and claims all that Jay did was copy Xposed please have a read of Jay Freeman's well written description of cydia substrate.
Since I cannot post links because of some anti-spam policy, please find the link by searching for 'cydia substrate vs xposed' in google. One of the first hits you will find is on the cydiasubstrate domain.
I agree with you; runtime modification is definitely where the future is for modifications.
Click to expand...
Click to collapse
I know about substrate, just by accident happened to start coding with Xposed. But I actually don't care, may the better framework win So let me restate what I said, just like you said, to runtime modification is where the future for modding is heading

Related

Build own App

Hee,
I was wondering what is the best program or site to build your own android apps?
Jay448
google
you are long way from home, my friend. there is GOOGLE and your going to spend a day on reading its not like posting on this forum.
the web site "Stack Overflow" helps me a lot!
and if i had problem,i google it.
If you have to ask, app developing probably isn't for you...
The official Android Developer's Guide has a pretty good intro to Android app development. However, you need to know how to program in Java before you start with this guide.
If you know C++ you could make it without Java, since you can build apps using C++ if your target platform runs Android version 2.3 or higher. I would however recommend learning how to develop apps in Java first.
Sorry, I can't link to the developers guide because this is my second post in this forum and outside links are not allowed, but you could search for "android developer guide" on google and you should find it.
Happy deving, wish you best of luck
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
mobitourist said:
In my experiment, best way to learn new tech is try to make something with it rather than read document and tutorial.
There are many open source android on code.google.com, choose one of theme then try to custom it by adding feature, improve user experiment...
anddev and stackoverflow is good place to solver issue.
Click to expand...
Click to collapse
developer.android.com
I actually just started learning Java and it's quite difficult for a beginner to learn all this stuff in short amount of time. It will probably take years to fully understand this sort of stuff.
Sites to learn Android App Development from
Lars Vogel Android Tutorial
Official Android Developer Site
TheNewBoston Video Tutorial on YouTube
The best software to develop Android Apps would be
Eclipse - Juno - Either the Java or the JEE version (I personally use the Java x64 version)
Photoshop - for image editing
Illustrator - for SVG based image editing
There are instructions on the Android Dev Site on setting up Eclipse for App Dev
PS-im new so i cant post url's if u want the specific url's feel free to PM me

[Q] Wine-like iOS emulation?

Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
kupiakos42 said:
Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
Click to expand...
Click to collapse
Hey and welcome to the forum's I would like to know this as well but I do not know any project and any that gets started and gains popularity gets chased down by Apple's legal team quite quickly. I have my doubts that this could happen (I would be glad if someone could prove me wrong) because iOS and its apps work on 12 devices and Android has hundreds of devices, most with different hardware. Windows apps are built for variable hardware, likewise with Linux and now Mac OS X. Sorry but as much of a pessimist as I seem I do not think it's possible but I'd love to be proven wrong. (Can someone at least make a frigging Windows Mobile runtime)

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

[Q] As a complete noob to coding and Android development (could use some advice)

Hey folks!
Yes, this is my first post, and yes, it may be in the wrong section. If so, I would kindly ask some moderator to move it to the correct section.
Anyway, let me just get right to it:
I have NO coding experience whatsoever! I have never coded anything but a bit in html when I was 16 or something. I have a good understanding
of Android from a user-end perspective, and same goes for computers and website management - I've just never coded anything.
Now, I would really love to learn how to code applications for Android, as I feel like it would be a great challenge to take upon myself + I have a lot of ideas for apps, which I believe will be fun.
Now, I know that Android runs on Java, so I suppose I should start learning the basics of Java before moving into learning Android development, right?
In my search for great free / somewhat cheap online resources, I've found that "thenewboston .org" has a Java and an Android development section with video guides. I believe I should start with the Java section and then move on to the Android one.
Would you recommend using that site, or should I start somewhere else?
And also, is it correct for me to start diving straight into Java, or is there something I should know beforehand?
Or should I learn any other coding languages?
Please take into consideration that I know no coding language as of right now.
All help is very much appreciated! :fingers-crossed:
Java is the best option to start with!
All native applications of the android OS are written mainly in Java, which makes it a good option to start with. Also, as you already know some HTML Coding, you might not find it problematic using "XML".
Head over to this link: http://forum.xda-developers.com/forumdisplay.php?f=2195
You might find it useful to begin with.
vineethraj49 said:
All native applications of the android OS are written mainly in Java, which makes it a good option to start with. Also, as you already know some HTML Coding, you might not find it problematic using "XML".
Head over to this link: http://forum.xda-developers.com/forumdisplay.php?f=2195
You might find it useful to begin with.
Click to expand...
Click to collapse
First of all, thanks a lot for your reply.
What I take from your answer is, that it would be just fine to start diving right into Java, and also take a look at XML whenever I have extra spare time. Is that correct?
And also, what part of an application is built on/in XML?
The layout mainly comprises of xml
ltsune said:
First of all, thanks a lot for your reply.
What I take from your answer is, that it would be just fine to start diving right into Java, and also take a look at XML whenever I have extra spare time. Is that correct?
And also, what part of an application is built on/in XML?
Click to expand...
Click to collapse
Check any android app's source code. The application's interface mainly is made using xml's.
Welcome to this world, you'll have fun here for sure
Anyway, to your questions:
Yep, you need basic Java knowledge. Any website will be great to get started (actually, if you have a doubt and can't find the solution there, simply use Google. There are so much developers out there, is difficult to find an unanswered doubt).
You can get started with Java directly, you don't need to learn any other programming language. Take in mind that only the syntax changes between languages, the logic behind the programs is identical.
Android apps use Java for its core, and XML for its GUI. Don't worry, Eclipse (and after, Android Studio as well) offers a visual environment to build your GUI, without touch XML directly (of course, you can edit the XML code if you wish, for example, to make a quick change).
Good luck, dude :highfive:
RoberGalarga said:
Welcome to this world, you'll have fun here for sure
Anyway, to your questions:
Yep, you need basic Java knowledge. Any website will be great to get started (actually, if you have a doubt and can't find the solution there, simply use Google. There are so much developers out there, is difficult to find an unanswered doubt).
You can get started with Java directly, you don't need to learn any other programming language. Take in mind that only the syntax changes between languages, the logic behind the programs is identical.
Android apps use Java for its core, and XML for its GUI. Don't worry, Eclipse (and after, Android Studio as well) offers a visual environment to build your GUI, without touch XML directly (of course, you can edit the XML code if you wish, for example, to make a quick change).
Good luck, dude :highfive:
Click to expand...
Click to collapse
This was a very helpful answer!
You basically answered all my questions, and a few more than I hadn't even written yet.
Thanks for letting me know about the option to edit the GUI directly from Eclipse, which is currently what I use to learn Java.
I've found a lot of great resources here at xda-developers as well, so I'm really looking forward to dive into this now!
Already learned the very basics of creating user inputs etc. (yes, that is a noob talking - I know), and I am thrilled to learn even more

[Q] [Discussion] If Android was Written in C# Over Java

If Android was Written in C# Over Java
what was the benefits would it much faster ? could it have taken over iOS
would love to see you guys debate
xZain69 said:
If Android was Written in C# Over Java
what was the benefits would it much faster ? could it have taken over iOS
would love to see you guys debate
Click to expand...
Click to collapse
Afaik you need a .NET environment to run C#. I'm not a Linux expert, so maybe my statement isn't correct: I know that Linux's mono framework also supports C# code, bu tI can't say whethere there's such a framework for Android. Neither do I know whether such a framework wouldn't slow down everything just by itself.
It would be
As it turns out, the guys of Xamarin created an C# ported clone called "XobotOS".
I played a lot with the thought of compiling/patching it (it has been based on Android 2.3), but the definite downside would be, that no Apps whatsoever could be installed if not compiled.
As long as I do not have the time to investigate, whether it is possible to decompile apks and rearrange them with .NET IL code, this is no option for me.
Why would it be faster? Obviously the VM is a lot more mature than the Dalvik VM.
Google confirms that.
Greetings

Categories

Resources