During Reversed Engineering of htc android application

I am trying to decode htc's messaging app's apk file using dex2jar and apk-tools . I reversed more than 30 apps perfectly without any trouble ! but I can't do same thing with htc's app ! can any one help me to get out of this problem? Problem 1 (While dex2jar decoding) : Note : I also used dex2jar Mms.apk but d2j-dex2jar Mms.apk is more desirable. Problem 2 (While Getting

htc android应用程序的反向工程期间

我正在尝试使用dex2jar和apk-tools解码htc的消息应用程序的apk文件。 我完全颠倒了30多个应用程序,没有任何问题! 但我不能用htc的应用程序做同样的事情! 任何人都可以帮助我解决这个问题吗? 问题1(dex2jar解码时): 注意:我也使用了dex2jar Mms.apk,但是d2j-dex2jar Mms.apk更为理想。 问题2(获取资源appk-tool时): 我知道我需要添加com.htc.resource.apk框架,但不知道该怎么做! 您正试图解包一个系统

Android Apk decompilation seems to easy

I was just messing around. I downloaded the dex2jar http://code.google.com/p/dex2jar/ and the Java Decompiler JD-GUI http://java.decompiler.free.fr/?q=jdgui I got my own apk file (signed, sealed and on Google Play), used dex2jar to make it into a jar repository. command line (Windows users use .bat, everyone else .sh): d2j-dex2jar.bat -f MyAwesomeApp.apk I dragged and dropped the output in

Android的Apk反编译似乎很容易

我只是在乱搞。 我下载了dex2jar http://code.google.com/p/dex2jar/和Java Decompiler JD-GUI http://java.decompiler.free.fr/?q=jdgui 我有我自己的 apk文件(签名,密封,并在谷歌播放),使用dex2jar使其成为一个jar库。 命令行(Windows用户使用.bat,其他人.sh): d2j-dex2jar.bat -f MyAwesomeApp.apk 我将输出拖放到JD-GUI中,并且所有类文件,原始代码都重新出现。 我被吓了一跳。 我的java / Android代码暴

Is it really impossible to protect Android apps from reverse engineering?

As we know, Android apps are written in Java. In Java, no matter what you do, it is impossible to protect compiled code from decompilation or reverse-engineering, as the Stack Overflow question How to lock compiled Java classes to prevent decompilation? suggests. How would one go about protecting an app that contains algorithmic trade secrets from reverse-engineering? By "how" I m

保护Android应用程序免受逆向工程真的不可能?

我们知道,Android应用程序是用Java编写的。 在Java中,无论你做什么,都不可能保护已编译的代码免受反编译或逆向工程的影响,因为堆栈溢出问题如何锁定已编译的Java类以防止反编译? 提示。 如何保护包含算法商业秘密的应用程序免受逆向工程? “如何”不仅指软件技术,还指其他创造性方法。 对我来说,第一站是使用ProGuard优化和混淆代码,ProGuard可以使用针对Android的Dalvik VM(通过Dex)的字节代码。 这是一个非

Application not Installed' Error on Android 2.3.4

I have a program working in the Android Emulator. Every now and again I have been creating a .apk and exporting it to my SonyEricsson Xperia active to test. I have face the error Applicton not install. I have tried rebooting the phone & removing the existing .apk, does not fix fault <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/re

应用程序未安装“错误在Android 2.3.4上

我有一个在Android模拟器中工作的程序。 现在,我一直在创建一个.apk并将其导出到我的SonyEricsson Xperia活动文件中进行测试。 我遇到了Applicton没有安装的错误。 我试过重新启动手机并删除了现有的.apk,但没有解决问题 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.note" android:versionCode="1" android:versionN

Getting location android?

I want to receive location updates every second for a small period of time, so I wrote this code: public void registerListener() { if (ActivityCompat.checkSelfPermission(c, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(c, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTE

获取位置android?

我想每隔一段时间都会收到位置更新,所以我编写了这段代码: public void registerListener() { if (ActivityCompat.checkSelfPermission(c, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(c, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) { } else {

Android – Am I Doing this Right?

I am building an android app that requires a layout to be added programmatically. This is the line that seems to be giving me a hard time: RelativeLayout.LayoutParams rightScreenParams = new RelativeLayout.LayoutParams( (int) (screenWidth * 0.25), (int) (screenHeight * 0.94)); The variables screenWidth and screenHeight are the width and height of the screen in pixels. The layout i

Android - 我是否正确地做?

我正在构建一个需要以编程方式添加布局的Android应用程序。 这是似乎给我一个很难的线: RelativeLayout.LayoutParams rightScreenParams = new RelativeLayout.LayoutParams( (int) (screenWidth * 0.25), (int) (screenHeight * 0.94)); 变量screenWidth和screenHeight是屏幕的宽度和高度(以像素为单位)。 布局应该是父布局宽度的25%,高度的94%。 当我将这些参数添加到布局然后添加布局时,它将占用整个

How to get Latitude and Longitude in android?

How to get the current Latitude and Longitude in android2.3.3? I try to Follow this but I can't run programs. My code LatView = (TextView)findViewById(R.id.LatText); LngView = (TextView)findViewById(R.id.LngText); LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);

如何在android中获取纬度和经度?

如何在android2.3.3中获取当前的经纬度? 我尝试遵循这个,但我不能运行程序。 我的代码 LatView = (TextView)findViewById(R.id.LatText); LngView = (TextView)findViewById(R.id.LngText); LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); double longitude = location.getLongit

How to install Google Play Services on 6.0 Genymotion device?

This question already has an answer here: How to install Google Play Services in a Genymotion VM (with no drag and drop support)? 12 answers Ivan, I found the solution here and followed the steps from the user @sinistance and it worked for me using the Nexus 5X Preview API 23. To simplify this is the answer: what image did you use? i'm using the preview nexus 5x image. here is the

如何在6.0 Genymotion设备上安装Google Play服务?

这个问题在这里已经有了答案: 如何在Genymotion VM中安装Google Play服务(不支持拖放)? 12个答案 Ivan,我在这里找到了解决方案,并遵循了用户@sinistance的步骤,并使用Nexus 5X预览API 23为我工作。 为了简化这个答案: 你使用了什么图像? 我正在使用预览nexus 5x图像。 这里是步骤: 闪烁Genymotion-ARM-Translation_v1.1.zip,然后重新启动。 flash gapps-L-4-21-15.zip。 登录到您的谷歌帐户。 fla

Eclipse: Set maximum line length for auto formatting?

I am working with Java. If I hit Ctrl+Shift+F in Eclipse Helios, it will auto format my code. At a certain point, it wraps lines. I would like to increase the maximum line length. How can I do this? In preferences Java -> Code Style -> Formatter , edit the profile. Under the Line Wrapping tab is the primary option for line width (Maximum line width:). In the Comments tab you have a

Eclipse:设置自动格式化的最大行长度?

我正在使用Java。 如果我在Eclipse Helios中按Ctrl + Shift + F,它会自动格式化我的代码。 在某个点上,它包裹着线条。 我想增加最大线路长度。 我怎样才能做到这一点? 在首选项Java - >代码样式 - >格式化程序中 ,编辑配置文件。 在“ 换行”选项卡下,是线宽(最大线宽:)的主要选项。 在评论选项卡中,您有一个单独的选项最大线宽评论:,这也将需要更改以影响评论包装。 如果您使用[Built-in]之一,您将需

What can be the reasons that Spring STS hangs?

Sometimes on the start STS hangs. Does it possible found the reason? May be exists log or possible start in debug mode? Also how I can distinguish between hangs completely and working very slowly? Thanks. PS How to fix ? That is usually for the same resons descibed here tricks-to-speed-up-eclipse. Garbage collection or validation. If you have enough RAM I would suggest that you set -Xm

Spring STS挂起的原因是什么?

有时在开始STS挂起。 有没有可能找到原因? 可能是存在日志或可能启动调试模式? 我怎样才能区分完全挂起和非常缓慢地工作? 谢谢。 PS如何解决? 这通常是与这里描述的相同的技巧来加速日食。 垃圾收集或验证。 如果你有足够的RAM,我建议你设置-Xmx768m或更高(在eclipse.ini中)。 在Windows-> Preferences-> Validation下,可以关闭很多东西。 有一个日志文件,我认为它在使用的工作区中的.metadata /