smali syntax highlighting for notepad++thanks to Jho for pointing out how to get code folding to work. i updated the syntax file and made a few other tweaks. the link and picture have been updated and here are the instructions for installing (tested with v5.9.6.1):
View -> User-Defined Dialogue...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click Import
Select smali_npp.xml
no picture here, use imagination
There will be a message box that says "Import successful."
Any new files you open should have syntax highlighting.
several people have asked for smali highlighting for notepad++. thanks to furrelkt for having already sent me an example. here's what i've come up with: https://sites.google.com/site/lohanplus/files/smali_npp.xml
for dark backgrounds, try this: https://sites.google.com/site/lohanplus/files/smali_npp_darkbg.xml
there are many limitations for notepad++'s user defined language. i could not get many tokens to highlight correctly, or as well as ultraedit or the highlighter used on this blog. perhaps a full lexer plugin could handle it. if you write one or make improvements to this xml, let me know.
iif i help u plz hit thanks button
Thanks for this, tested in lastest version of Notepad++ (6.6.3) and working!
In this version to import go to "language>define your language>import"
Thank you very much! ^^
Thank you! Tested on v7.5 working
Related
Hi,
i have a Samsung Galaxy S and i want to modify/create an own pull down menu widget like this one (highlighted in red):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have searched around, but i can't find any point to make them...
Did anyone have an idea?
Which apk does provide this type of addon?
I'm gonna guess settings.apk...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
In the Galaxy ROMs it's in twframework-res.apk
It's in the framework.
I am going to be working on something similar except for the Inc/Evo. I'm going to try and port over the MIUI notifcation menu because it is built in. Good luck on your try
i've found the right file in the twframework-res.apk and its known status_bar_expanded.xml...
inside of this file is declared the quickpanel-container with the containing buttons.
But, the Problem is, how can i make an own override into the quickpanel?
I've deodexed and decompiled the twframework.apk and after that the following classes.dex too, but it's unreadable... there are to many machine-instructions inside and make it useless.
I have put this files is in the attachment...
(the *.ddx files are readable with any editor)
Do have anyone an idea to implement an own quickpanel-container?
Get rid of the annoying Operator/Time/Date on your lockscreen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First of all download the M10 Editor from here:
M10 Editor
thanks to Diamondback and Flemmard
And 7-Zip from here:
7-Zip
Then open the app and point the 7-zip as showed
Push load file and search for the extracted Idlescreen_Base.apk open it!
Then goto tab "m10 files" select as stated in the picture the blue accented line. Don't forget the checkbox Decode Images and press Decompile/Show.
So now goto the line as in the picture and select that. You can see on the rightpane the line as pointed change the number from "1" to "0" and your done!
Repeat that for the following Operator/Time/AMPM/Date
When your finished you go to the Start tab on the top left. Press on save and voila if you get the following screen the second below click close don't do anything with that!
When your looking for your file it can be found in C:\Users\username\AppData\Roaming\M10Editor\Idlescreen_Base
If you appreciate it click Thanks!!!!!!
Lockring edit coming soon.
Apkm (Apkmanager)
As a lot of features in AndroidSuite2012 were not used by the actual user I decided to release a single tool dedicated for decompiling apk's.
It has the same simple to use GUI as AndroidSuite but with less confusing buttons and a much lighter package.
The check box options are not yet implemented this is a alpha I was working on and decided to pull it from my dropbox and release.
Enjoy! Download below
PS Apktool might need replacing. Tomorrow I will update with the same method for decompiling used in AS2012.
apkm (ApkManager)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
Tutorial
Visit slethen.net for more information on this tool and other things I've done
Hi I installed your great tool but I get this message
Error: Unable to access jarfile G:\ANDROID
What should I do to get away
Taxi341 said:
Hi I installed your great tool but I get this message
Error: Unable to access jarfile G:\ANDROID
What should I do to get away
Click to expand...
Click to collapse
This is normally caused if theres a space in the name of the folder. Make sure its not in a folder with a space in the name. Although I've never seen it say \ANDROID. Could you screen shot the program? And remember you need jre installed
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As many of you would have already known, Google released a new IDE for Android App development named as Android Studio based on IntelliJ IDEA. But many have been experiencing some problems while trying to use the Parse Push Notification library. So, here a guide for you. This is how i did it. and it works.
Download the Parse SDK .
Extract it someplace (eg. H:/Downloads/Parse/ )
Open Android Studio and Open your project
Goto File > Project Structure
Select Libraries from the Left Pane
Press the Plus Button and select Java from the dropdown
Navigate to Parse-1.2.5.jar file that you had downloaded and extracted and select it.
Add it to your project
Press OK
Thats it. Now it Should work properly
Now... You got the library working ... If you want to know more about How to Actually use this library to easily add push notifications to your app, Check out this wonderful guide by XDA Senior Member MaartenXDA
Reserved for updates
Sorry... Reserved for updates
Hello ,Guys,I‘ll teaching you how to edit this things
Multiple clicks on the about phone Android version out of the interface
Let's take a look at the original version
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok,Then,first Step,get your Resources ready
we need framework-res.apk,framework.jar
and a Computer with Apktool,Compression Software
let's change the image first
Open framework-res.apk using compression software
Open the folder res / drawable-nodpi, find platlogo.png
Then use your png image to replace it
Ok,The second step,Edit text in the image
Open framework.jar using compression software
Extract classes.dex
And then decompile it use Apktool
Open the folder to find classes\com\android\internal\app\PlatLogoActivity.smali
open it with Notepad2 or Notepad++
Search text in the image,Then change it
Note: The text is not too long
Then compiled using compression software to replace back
Well,Done,The modified two files changing for the better good authority, replace the framework, restart the phone:laugh:
This is my modified good results