combining two apk's - Android Q&A, Help & Troubleshooting

Hi All,
iam trying to combine two apk's in one... can anyone suggest a simple approach to this.
My use case is
i write scripts using python for android.
i can package those scripts in apk. however apk if installed on a phone which doesn't have python interpreter ask's user's to download interpretor.
what i want is one monolithic apk which contains python interpretor plus my script.
Note : looked through SL4A forum completely and was not able to find any satisfactory answer.

so is this possible or not?

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A

This blog post seems to detail the process of packaging a python script along with the interpreter: http://jokar-johnk.blogspot.co.uk/2011/02/how-to-make-android-app-with-sl4a.html
EDIT: At least, I think it does. I haven't fully read it, more skimmed it.

Related

[Q] How to start cook /modify ROM

I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
+1
its because we have touchwiz.
if we had stock android, it would be much easier developing
Well I have an evo and I too am looking for a tutorial to cook roms. I have no developing experience and just want to learn.
count me in too! I already have ubuntu just need some direction to get started on the vibrant.
Here it is a video guide for Samsung GalaxyS (i9000)...thank you Nokia7Vista!
Edit: nevermind, thought I was in a different section
Sent from my HTC Glacier using XDA App
Read read and read.
Go through the entire Android section of the Chef Central (The section you posted this in).
Check all the threads taht look promising and talk about tutorials or info or what not... Just sift through the data here and they'll have tons of links, threads, tutorials for you that you can read and learn how to do everything at...
zat81 said:
I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
Click to expand...
Click to collapse
You can modify:
framework-res.apk
All the apps, you can unpack the .apk's, located in /system/app/ and replace the icons, or even the whole app.
You can add/remove/replace .apk's, located in /system/app
services.jar
Much, much more.
If you're on Linux, you can unpack the .apk's out of the box. Otherwise, install 7zip.
Once you're done modifying them.

[INFO] Common issues and solutions

hello all,
After being in XDA and learning some new things i decided to put more like an overview of common problems and the link to solutions posted here in XDA.
Hope this would hlep noobs like me in order to avoid posting same questions over and over & not using search
Anyway if you want me to add more links to this, do post here and I will add and update
Hope this helps everyone
Thanks to other members who has been providing wonderful support
Note: This is only a collection of links and I am not the author of those threads.
Also the links are in the 7zip file. I don't know how to put this as inline post to this. So bear with me
Mods: Possible to sticky this?
Cheers
How do you open the 7-zip file? You forgot to write a guide on that as well.
MwahHaHA!
i dont think that needs any description

Open and customize CyanogenMod application on Eclipse

Hi,
I followed all the instructions on cyanogenmod wiki for compiling and opening the entire source tree in eclipse.
Cyanogen Open in Eclipse
Although this worked, I still don't see how I can open a specific package project and mod it because it does not compile. I have to edit everything in notepad and compile it in a linux box.
I wanted to take out a specific folder like packages/apps/Phone and built it as seperate project using the whole Cyanogen built as dependency but I don't know how to do this.
Is there anyone who knows how I can find the dependencies of a cyanogen app and manage to built a seperate project only with one app?
Thank you
+1
+1
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Thanks ✟
Moving to Q&A

[Rom Format] Devs please read

Below is a format that is a guideline to be used as an example of how a rom thread should look. It doesn't have to be exact. I suggest that you stay creative and use all the features in the advanced panel when creating a thread.
Name of rom, team, etc
Introduction
Changelog in code or list tags
What's included in the rom in the (apps, tweaks, scripts, addons, mods) in code or list tags
What works/what doesn't work in code or php tags
Credits (Users name-with link to (profile/github/or thread u got tweak from embedded), and what they did to help you)
Screenshots (2-10 different screenshots of different aspects of rom)
Kernel with either link to thread you got it from or github (if stock sense or cm please state that and that is enough)
Instructions on how to install the rom (also if special instruction for a2sd or beats audio...etc)
Do's and Don'ts of the rom
Questions & Answers section (I find this helpful to write out asked questions with solutions at the bottom of the op. I find that it cuts down on the question being asked a million times)
Finally the dl link
Additional add-ons (this can go into first post or reserved posts after)
I find the embedded link looks and feels better throughout the op if possible.
All sections should have a header with enlarged text and spaced out so people can read it easily.
I am hoping that this helps to make this section a little cleaner and easier. enjoy
The way I look at this is that it takes you weeks/days/hours to make these roms....we can take the time out to make sure that the op looks professional and clean
Not to toot my own horn but here is a link to one of my own rom threads as an example. Link
Also Make sure the op is fully ready before posting. I know we all get excited to release a rom but stating that half the stuff will be updated as time permits just shows that you are lazy and in a hurry which doesn't look good cause if thats the case then how does your rom run....
No posting a a rom thread without a DL link either. If posted then the thread will be removed
This has been created to let those who do not know what is allowed in development.
Things you CAN create a new thread for in Development
1. Roms (You created it or Ported it with permission)
2. Kernels (You compiled it and is GPL compliant)
3. System Dumps (Only one thread per new system dump) (First one wins the rest will be deleted)
4. S-Off Tool Kits (You created it)
5. Scripts (You created it)
6. If YOU created it you may post it
CREDITS
Credits must be given in your threads for whatever help you have received when creating something. If you port something then give credits and links to the where you ported it from. This goes for mods that you port as well. Permission must be given if you port a rom from another section. This is to prevent the originator from getting upset and there being a flame war between developers. We are all here for fun and as a hobby so lets all be friendly and do the right thing.
Things you may NOT create a new thread in Development for
1. Questions
2. Question
3. Roms YOU DID NOT create or port
4. Kernel YOU DID NOT create
5. S-Off Tool Kit YOU DID NOT create
6. Scripts YOU DID NOT create
7. Themes
8. Apps
9. IF YOU DID NOT CREATE IT OR PORT IT THEN DO NOT MAKE A THREAD FOR IT
Threads that are created that fall into the DO NOT CREATE list will be either deleted or moved. If you continually create new threads in the Development section that fall into the DO NOT CREATE you will start receiving Infractions or a Ban
[SIZE="5"[COLOR="Blue"]]PLEASE BE RESPECTFUL[/COLOR][/SIZE] and know where the sections are.
GENERAL - is for general chat about your note II
QUESTION & ANSWERS - This is for getting Questions and Answers
DEVELOPMENT - For something you CREATED
THEMES & APPS - For themes and apps that you have created, found or ported

permission request

Hello xdadeveloper commutity people.
I ant to create geniune thread on https://forum.xda-developers.com/coding/web-apps it's policy is to have many posts to qualify to create a new thread in that URL. I don't have any other questions to raise my rank.
I have questions and doubts in cordova platform can anyone help me elevate my permission to post a new thread or can anyone else create the thread for me? I'll type the content/Question or doubt and the helper can create the thread.
introuble361 said:
Hello xdadeveloper commutity people.
I ant to create geniune thread on........
Click to expand...
Click to collapse
Your best bet is to start with taking a look at the following thread. It has allot of helpful information and tools for those who are new to the forum.
https://forum.xda-developers.com/showthread.php?t=961655
If you have any questions regarding your shaking the Noob status on the forum, the following thread is another helpful one to take a look at and post your question or concerns specific to what you're looking for as well.
https://forum.xda-developers.com/showthread.php?t=2120832
Welcome to the Forum!
Sent from my SM-G900V using The ClaRetoX Forum App
introuble361 said:
Hello xdadeveloper commutity people.
I ant to create geniune thread on https://forum.xda-developers.com/coding/web-apps it's policy is to have many posts to qualify to create a new thread in that URL. I don't have any other questions to raise my rank.
I have questions and doubts in cordova platform can anyone help me elevate my permission to post a new thread or can anyone else create the thread for me? I'll type the content/Question or doubt and the helper can create the thread.
Click to expand...
Click to collapse
You can create the thread in this forum and PM me once you have. If it is worthy of going in that forum I will move it and edit in any links you may need.
mark manning said:
You can create the thread in this forum and PM me once you have. If it is worthy of going in that forum I will move it and edit in any links you may need.
Click to expand...
Click to collapse
Hello Beautiful community of xdavelopers!
I am just getting started with cordova/phonegap
I was so curious how can I connect to mysql in cordova and display its contents in app. So I came across this website that shows how to achieve the same "https://codesundar.com/phonegap-php-mysql-example/ ". I am basically trying to make android app using my web skills so I came across this ADF 'Cordova'.
I am just in alot of doubts but first one is security. When I write a code in php to connect and fetch data from mysql to display database or use mysql for user login credentials verification and build it into .apk anyone can reverse that and decompile the .apk to fetch the php code and the credentials used to access the database right?
What is the secure way around this?
As I know php is a server side scripting language so .php files are not accessible from browser so that makes it a bit secure but in case of cordova the php files will be compiled in the .apk with cordova build command
Please clear my doubt

Categories

Resources