apk

Showing Splash screen in android apps

不打扰是莪最后的温柔 提交于 2020-01-17 05:51:12
问题 Have you ever seen the page in many apps that before launching the first activity appears and somehow it is like a waiting page ?! I am beginner to android and when I click on my apps , first a blank white page appears then after 3 seconds main activity comes out . but in many apps there is a kind of customised page before the first activity that is like a progress bar or sth . how can I customise that not so beautiful blank page before starting my app?! Thanx in advance . 回答1: Technically

Create a shortcut for APK in the Homescreen

ⅰ亾dé卋堺 提交于 2020-01-17 04:30:10
问题 I have a compiled APK and My workaround to make a shortcut at the home screen is : 1- Decode the apk with apktool.jar 2- Modify AndroidManifest (add the <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" /> ) 3- Recompile the apk and put it in the system.img 4- with yaffey tool i replaced the file and calculate the CRC. After flashing the smartphone the shortcut is not created on the Homescreen? is there any way to place the shortcut for preinstalled APK ?

React-Native 之 GD (二十一)APP 打包

我是研究僧i 提交于 2020-01-17 01:55:00
1.生成一个签名密钥: 在 /android/app 下运行 说明:keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 注:my-release-key是文件名,my-key-alias是别名。 例如: keytool -genkey -v -keystore GD.keystore -alias GD -keyalg RSA -keysize 2048 -validity 10000 最后会生成一个my-release-key.keystore的密钥库文件。 2.找到路径/android/app/src/main,并在该目录下新建assets文件夹(这个文件夹名字是固定的不能改) 3. 在工程目录下执行以下命令,目的是将 index.android.bundle下载并保存到assets资源文件夹中 第一个终端:执行 react-native start 第二个终端:执行 curl -k "http://localhost:8081/index.android.bundle" > android/app/src/main/assets/index.android.bundle 结果: 4

android:sharedUserId

独自空忆成欢 提交于 2020-01-16 20:28:09
1、前言 Android给每个APK进程分配一个单独的空间,manifest中的userid就是对应一个分配的Linux用户ID,并且为它创建一个沙箱,以防止影响其他应用程序(或者被其他应用程序影响)。 通常,不同的APK会具有不同的userId,因此运行时属于不同的进程中,而不同进程中的资源是不共享的(比如只能访问/data/data/自己包名下面的文件),保障了程序运行的稳定。然后在有些时候,我们自己开发了多个APK并且需要他们之间互相共享资源,那么就需要通过设置shareUserId来实现这一目的。 通过Shared User id,拥有同一个User id的多个APK可以配置成运行在同一个进程中,可以互相访问任意数据。也可以配置成运行成不同的进程, 同时可以访问其他APK的数据目录下的数据库和文件,就像访问本程序的数据一样(使用IPC机制,不同进程之间,比如AIDL)。 2、shareUserId的属性的最大作用是什么呢? 前面说了,Android中每个app都对应一个uid,每个uid都有自己的一个沙箱,这是基于安全考虑的,那么说到沙箱,我们会想到的是data/data/XXXX/目录下面的所有数据,因为我们知道这个目录下面的所有数据是一个应用私有的,一般情况下其他应用是没有权限访问的,当然root之后是另外情况,这里就不多说了。这里只看没有root的情况

Android: how to develop plugin like feed.nu in WordPress ?

风流意气都作罢 提交于 2020-01-16 18:40:08
问题 The feed.nu plugin generates APK(Android) file from our blog that we can use on android I am planning to write a wordpress plugin that converts our blog into an APK file that we can install in our Android device or emulator . I am completely new to Android , but I have done a wordpress plugin previously . This feed.nu is a plugin that works in the same way . I just learned how to run an APK file in an Android emulator . So, how can i write such a plugin ? Where should i start ? Do i need to

Buildozer Unsigned Release APK Saved in Windows Folder, Now Need to Zipalign and Sign It, Windows Environment

懵懂的女人 提交于 2020-01-16 14:07:52
问题 My progress thus far: Built an unsigned release APK with Kivy Buildozer VM, command: "buildozer android release". Moved that APK to a Dropbox folder. Installed Android Studio. Read several bits here, here and here, but could not get any of the commands to work from my Windows command prompt. And that's the whole of it. Several video and text tutorials later, and not one gave a clear-cut, step-by-step process of how to take an already built, unsigned APK and zipalign and sign it. Most assume

Buildozer Unsigned Release APK Saved in Windows Folder, Now Need to Zipalign and Sign It, Windows Environment

允我心安 提交于 2020-01-16 14:07:11
问题 My progress thus far: Built an unsigned release APK with Kivy Buildozer VM, command: "buildozer android release". Moved that APK to a Dropbox folder. Installed Android Studio. Read several bits here, here and here, but could not get any of the commands to work from my Windows command prompt. And that's the whole of it. Several video and text tutorials later, and not one gave a clear-cut, step-by-step process of how to take an already built, unsigned APK and zipalign and sign it. Most assume

Android Application Digital Signatures - Android 数字签名

泄露秘密 提交于 2020-01-16 07:08:41
Android 数字签名 同一个开发人员的多个程序尽可能使用同一个数字证书 ,这能够带来下面优点。 (1)有利于程序升级,当新版程序和旧版程序的数字证书同样时,Android系统才会觉得这两个程序是同一个程序的不同版本号。假设新版程序和旧版程序的数字证书不同样,则Android系统觉得他们是不同的程序,并产生冲突,会要求新程序更改包名。 (2)有利于程序的模块化设计和开发。Android系统同意拥有同一个数字签名的程序执行在一个进程中,Android程序会将他们视为同一个程序。所以开发人员能够将自己的程序分模块开发,而用户仅仅须要在须要的时候下载适当的模块。 (3)能够通过权限(permission)的方式在多个程序间共享数据和代码。Android提供了基于数字证书的权限赋予机制。应用程序能够和其它的程序共享概功能或者数据给那那些与自己拥有同样数字证书的程序。假设某个权限(permission)的protectionLevel是signature,则这个权限就仅仅能授予那些跟该权限所在的包拥有同一个数字证书的程序。 在签名时,须要考虑数字 证书的有效期 : (1)数字证书的有效期要包括程序的估计生命周期。一旦数字证书失效,持有改数字证书的程序将不能正常升级。 (2)假设多个程序使用同一个数字证书,则该数字证书的有效期要包括全部程序的估计生命周期。 (3)Android

Android APK的签名与重新签名

我的梦境 提交于 2020-01-16 07:08:11
原文地址: http://zhiwei.li/text/2010/12/android-apk%E7%9A%84%E7%AD%BE%E5%90%8D%E4%B8%8E%E9%87%8D%E6%96%B0%E7%AD%BE%E5%90%8D/ 今年年初的时候,介绍了 BlackBerry系统和签名 从BlackBerry应用程序中移除签名以及重新签名 使用BlackBerry代码签名工具 现在,我们介绍Android APK的签名与重签名的一些要点 APK实际上是一个ZIP压缩文件 解压缩后有个META-INF目录 META-INF目录下存放的是签名信息,用来保证apk包的完整性和系统的安全。 安装apk包时,应用管理器会按照同样的算法对包里的文件做校验,如果校验结果与META-INF下的内容不一致,系统就不会安装这个apk。 每一个Android应用程序必须要有数字签名才能安装. 有两种方法:一种是使用调试密钥(可以在模拟器或者设备上做调试时使用), 还有一种就是私钥(为应用程序发布用).当组建Adriod应用程序时组建工具会自动为应用程序提供签名, 但是如果想发布应用程序的时候,必须使用自己的私钥. 编译时使用Release模式 需要手工添加签名.只有有签名的应用程序才可以安装. 签名工具;来自开源软件 Keytool 创建一个密钥证书存储文件和一个私钥,用来为.apk文件签名

Android签名总结

こ雲淡風輕ζ 提交于 2020-01-16 07:07:58
Android APK的数字签名的作用和意义 http://blog.csdn.net/gaomatrix/article/details/6568191 http://jingyan.baidu.com/article/c45ad29cf8e66b051653e26b.html http://blog.sina.com.cn/s/blog_4a4f9fb50101db1f.html android-包签名 http://bbs.9ria.com/thread-221658-1-1.html [精]android程序自动化生成apk的过程 http://blog.sina.com.cn/s/blog_a46817ff0102uylb.html Android签名总结 http://www.cnblogs.com/wanqieddy/p/3556060.html 解决ICS40上设置APN无权限问题 http://blog.sina.com.cn/s/blog_5da93c8f0101cbp7.html apk 重签名 http://blog.csdn.net/mldxs/article/details/12906787 http://jingyan.baidu.com/article/bad08e1ee438e109c851213d.html jarsigner -verbose