General :: How To Build Free Android App
Aug 7, 2012How to build a free android app?

How to build a free android app?
New to smartphones. Example: Just bought Picsay Pro. I see the free version is still on the phone. Can I delete it, or does the Pro version utilize and build on the free one? Another example is Documents to Go. OK to delete free versions after upgrading to pay versions?
View 6 Replies View RelatedI have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...
cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.
Here are the Warnings I got when compiling
mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....
I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.
1. Why the error occured?
2. Changes which I did is correct or not?
I am writing an app and for one of the features I need the firmware build number.
I know I can get the firmware version(like 4.1.1) with android.os.build but I need the build number of a rom(like "Rom version 1.0") thats stored in build.prop. I know I can parse the whole build.prop file and extract the 1 string of information but is there another way to get is faster and that it doesnt require root to use?
Newest build to 4.2 keyboard thats an apk and not the zip.
View 9 Replies View RelatedI was wondering if it is possible to build/compile the Android OS against embedded glibc instead of bionic?
Has it been done?
What would some forseeable problems be, as in, would much Android code need to be modified to utilize glibc properly , and would existing proprietary firmware bug out if glibc was inplace instead of bionic?
I'm trying to setup my build enviroment. I have mint linux 14 64bit. when following the guide on [URL] ....., I seem to be getting errors. the lines it says to use in terminal are
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Here is the printout of result.
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential
> zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev
> libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386
> libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos
> python-markdown libxml2-utils xsltproc zlib1g-dev:i386
[Code] ...
Hav been surfing and trying possible rooting means for my clone iphone 4s with Android os but to no avail. tried d Goophone y5 rooting script but still not rooted.... any xda developer with a working rooting script for the phone.
View 9 Replies View RelatedHow to build latest linux kernel from off site for Android device (for example Nexus7)?
I have: AOSP source code
Android build for device (from aosp)
Downloaded kernel 3.8.4 from off site
The question is: How can I build latest kernel using all described stuff (aosp source, kernel config, latest kernel)?
I want to learn how to build a cwm bc i want to start a recovery for this phone bc nobody didnt start it yet the zte warp 4g lte for boostmobile.
View 1 Replies View RelatedI'm in the process of learning to build android from source. I've got my AOKP rom booting and am working on adding superuser to it, and am running into troubles. After much googling here is what I've done
Cloned Superuser source code
Code:
git clone git://github.com/ChainsDD/Superuser.git packages/apps/Superuser
Copied the su binary from my current rom (/system/xbin/su) to my device tree
Edited device.mk
Code:
# Build superuser
PRODUCT_PACKAGES :=
Superuser
# copy su binary
PRODUCT_COPY_FILES +=
device/lge/E973/su:system/xbin/su
Everything built fine and Superuser is in my app drawer when rom boots. If i try to open Superuser it force closes. Root checker shows that i am rooted, and typing 'su' in terminal emulator gets root access. Neither will give me a dialog asking to deny or grant.
If i install SuperSuperuser from the market, it will present all the normal dialogs and everything seems as it should.
Here is a logcat of the failed attempt to open superuser
Code:
D/dalvikvm( 2157): Late-enabling CheckJNI
I/ActivityManager( 530): Start proc com.noshufou.android.su for activity com.noshufou.android.su/.Su: pid=2157 uid=10040 gids={50040, 3003, 1015, 1028}
[Code] ......
I have a rooted Verizon S4 running 4.3, build number JSS15J.I545VRUEMK2. This is a phone provided to me by work, so I have no control over the billing/ tethering abilities..I have searched to no avail on how to create a hotspot with this 4.3 build.
View 2 Replies View RelatedMy company has recently received some new android hardware and has requested that I create a custom operating system for the device. The manufacturer has agreed to provide us with the existing android source, but I have a few questions to get started:
On the following link: [URL] .......
It states that I need to add lines similar to the below to my "51-android.rules" file:"
# adb protocol on maguro/toro (Galaxy Nexus)
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0600", OWNER="<username>"
How do I determine the correct information to use for this process? Should I collect this information with the device connected to a windows PC?
Once connected, I would like to scrap their existing operating system and begin from AOSP source, what information from their original source should I retain (Kernel, bootloader, etc), and what information would I be required to remove to bring in AOSP?
But most seem to be specifying nexus devices, or devices which already have a strong developer backing, neither of which apply to this hardware.
[URL]
What does "overlay" folder do in device/vendor/*DEVICE directory do? How do you make one? What needs to be in it? I am building for a CM7 port.
View 9 Replies View Related I am trying to build a fresh cm-10.2 rom for my Nexus S (crespo), but somehow, there is something missing:
Code:
denis@lucifer:~/Development/android/cm-10.2$ brunch crespo
including vendor/cm/vendorsetup.sh[code]....
I've set everything up and the build for "Maguro" runs without any problems, but with "Crespo", there is something missing...
I was looking through my system files with root explorer and I notice in the build.prop file, I had the information for the Xperia Arc instead of the Xperia Arc S. I changed some of the info to the Arc S, like LT18i instead of LT15i. But I'm not sure if I changed everything correctly and can upload the build.prop file for the Arc S.
View 3 Replies View RelatedI want to build a rom from source for my xperia s
I searched in the forum but i just saw how to compile the source for nexus...etc
I have a LG P350 which development has stopped but i want to keep it updated, i have my computer ready for building, also i have kernel sources, Cyanogenmod 11 and 10.1 sources too, (I don't know exactly if 10.1 sources could work) and i know that i need to apply patches to work on Armv6 but i don't know how to apply them to the source code, also i don't know if i would just need the pure source code to build or i need to do more modifications to it and finally, i don't know if the rom would work with 2.36 kernel which it's the most stable one for this device, i'm very new in this but i know that i can keep update my little phone,
View 3 Replies View RelatedI've just run trough all the setps to be able to build aosp on ubuntu. Currently I'm running a build, looks like it will take a while.
My goal is to build an aosp rom for the samsung galaxy chat, samsung provides downloads for 'platform' and kernel.
My question is, what should I do with the sources of the kernel and the platform, do I need to integrate them into the aosp source?
How does one build a rom with aosp on windows, is it possible to build on a virtual box or something like that?
View 2 Replies View RelatedI'm going to build a cm7.2 rom for my huawei c8860e.
From what i've read, i download the source code on my ubuntu 12.04. However, I have not find the cm7 code for my phone.
If i want to build cm rom what i should do next?
im having trouble merging these 2 build props im porting Xperia E to Xperia J?
View 1 Replies View RelatedI want my tablet to make a bunch of rom cyanogen rom. I wanna know where should I start and how should I start making a ROM. Is my tablet viewsonic viewpad 7
View 1 Replies View Relatedwhat is the most simple way to get the latest version of TextSecure installed on my Android Phone?
My solution was creating something using the sourcecode found here: [URL] But the question is, how can I get it working. I've tried multiple things, but it seems like it isn't as easy as I thought. Currently I am on Windows 8. My phone is an Xperia S without GAPPS flashed, so no Play Store. Only F-Droid with FOSS.
I'm trying to build CWM for the HP Slate 7 Plus, but both touch and non-touch builds coming from the CWM Builder and manually built builds give a black screen with a few white lines when booted into recovery. The stock recovery.img I provided to the builder is valid because people were able to reflash the same recovery.img via Flashify with no issues, which is the same method used to flash the defunct CWM. I don't have the Slate 7 Plus, so I can't test things myself
The best I can do right now is debloat, deodex, and pre-root ROMs, as well as install more system apps.
I want to build AOSP from sources. Specifically on the Nexus 10.
I downloaded the proprietary binaries from the Nexus Binary Download page. [URL] .....
I followed instructions how to set up the source code and build it but i am not too sure how to correctly extract the proprietary binaries. [URL] .....
I used the self-extracting shell scripts to extract the binaries in the root of the directory i executed "repo sync" in. (in my case: WORKING_DIRECTORY)
The binaries were put to "WORKING_DIRECTORY/vendor"
My question is whether i did it correctly and whether the binaries will be included in the build when i hit "make".
how to build a custom rom from Cyanogemod on my Windows 7 PC?
I tried custom rom Compiler but thats only for ubuntu. Dxidia's kitchen doesn't support X8 or W8.
I want to build some apps (like Camera, Gallery, etc.) from source code of CM. But I don't know how to do it. I have the source code synchronized with CM git.
View 1 Replies View RelatedI'm trying to build CM KitKat for the Optimus S/V (unsupported by CM). The build is crashing out trying to link libwebviewchromium.so.It gives dozens and dozens of errors like this: external/chromium_org/content/browser/android/browser_media_player_manager.cc:70: error: relocation overflow in R_ARM_THM_CALL
At the end it prints this:
collect2: error: ld returned 1 exit status
make: *** [/home/dbrown/cm11/out/target/product/thunderc/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
It may be a problem with insufficient memory on my build machine (Core 2 Duo laptop with 3 gb ram). For the time being, or in case that's not the problem I'm looking for a work-around. I looked in the Android.mk file for external/chromium_org and saw this:
# Don't include anything if the product is using a prebuilt webviewchromium.
ifneq ($(PRODUCT_PREBUILT_WEBVIEWCHROMIUM),yes)
how can I add a prebuilt webview library so I can get past this error? I just want to get something built for now so I can test it. This would be the first successful build for this device.