PHP script to app - Android Studio

Hello,
Can someone help me with building an app for a PHP software to a website ? I guess using WebView helps. What about files required and their hierarchy ? Is there any open source platform which I can use as base to build apps ?
PS : I use Android Studio

You can use REST
When we're working with an App that needs to comunicate with an external software, i always think on use REST. You can see this stack: stackoverflow.com /questions/8267928/android-rest-client-sample for some information.
Another thing... What do you mean with "What about files required and their hierarchy" ? Are you saying about PHP files require ?

Related

[DEV] Set up CM in Eclipse

Can someone please explain how to set up CM on my PC so that I can run in an emulator and do some dev? Preferrably using Eclipse IDE.
Thanks!
Nexus One
CM 5.0.5.3
Yeah great post! I'm also looking forward to start dev'ing.
Did you already set up the Android SDK?
Yup. Android SDK is set up.
I just read [source.android.com/download] that you can't compile the Android source on Windows. That basically kills it for me at this time until I get my hands on a non-Windows machine.
Basically, I want to make changes to webkit for adding Arabic support. Can this be done without the above requirement?
daiski said:
Yup. Android SDK is set up.
I just read [source.android.com/download] that you can't compile the Android source on Windows. That basically kills it for me at this time until I get my hands on a non-Windows machine.
Basically, I want to make changes to webkit for adding Arabic support. Can this be done without the above requirement?
Click to expand...
Click to collapse
I'd grab a VMware image for e.g. Ubuntu Server 9.10 (http://www.thoughtpolice.co.uk/vmware/) and use some of the free VMware versions (e.g. Player). Then follow the instructions on Cyanogenmod Wiki to get the source code and build your own system image. There should be plenty of information about how to build it, and support on IRC or the forums. Once you're past that, you can start tinkering with the Webkit code. Webkit is part of the framework (I believe), and probably has a lot of dependencies on it, so you probably cannot build it without the rest.
Maybe you want this thread to be moved to the Development forum.
Thanks for the tips robert I'll get right on that!
This thread was in the Development forum and was moved here by a moderator.
Ah btw, I thought about VMWare Player again. I don't think you can add another disk there, or at least, it's complicated (http://communities.vmware.com/thread/158454). So you might want to use VMWare Server, which is free, too. You will need a couple of gigabytes for the source code, intermediate build files, etc.
robert-qfh said:
Ah btw, I thought about VMWare Player again. I don't think you can add another disk there, or at least, it's complicated (http://communities.vmware.com/thread/158454). So you might want to use VMWare Server, which is free, too. You will need a couple of gigabytes for the source code, intermediate build files, etc.
Click to expand...
Click to collapse
Can you explain why I'd need to add another disk?
Depends on how they set up the disk when they created the image. If they made it large enough, you don't need another disk.

Screen Casting/ScreenSharing updated [6/28]

I have released a screen casting application in the Android Market using SL4A.
It allows the user to mirror their screen on their laptop or desktop over wifi.
I have attached the apk and the python script needed to run the application.
This is an open source project hosted on google code. Feedback and help improving the performance/additional features is WELCOME!!!!
Support for the X10, Atrix, and NexusS is ready out of the box because those are phones I was able to test it with.
The Linux desktop script needs to be downloaded from the project website on google code.
Link to project
http://code.google.com/p/groundwork/
Link to the market apk
https://market.android.com/details?id=com.ground.work&feature=search_result
Ver5 is now out with the ability to stream files, only avi and mp3 appear to work for now
Very goood idea, any chance of a Windows version or is it already compatible
--XDA-App--4--Nexus-S-
Unfortunately I work on a linux Desktop. Since Windows also has ffmpeg it is already compatible all that is needed is to change the linux script GroundWork.py into a batch file.
I am hoping for help or contributors on that end. After I implement all the features I have in my head I will port it to Mac and then Windows.(Unless someone beats me to it )
I may attempt to do that, If i have your permission
--XDA-App--4--Nexus-S-
go ahead. If you can post your changes here I can add it to the project code. and give you credit.Just put your name etc in the code.
any intrest
bump. I need feedback

[Q] Kernel & Android (GT-7310)

Hi, sorry to post of question here, but it seems it is the only place where it is possible to talk about development for the GT-73xx.
I would like to do some work on the kernel, I am looking at this : [not allowed to post a link to motley-git]
But is there a guide on how to compile this GT-7310 kernel, and how to safely flash it to the tablet ? Does Samsung publish the source code of the bootloader ?
My goal is to develop a simple graphical user interface for a particular application using OpenGL but still be able to access the hardware features like WIFI, Audio, USB and multi-touch. So the tablet would only run my application.
I do not really need to run the Android OS (especially any java components), but if there are some kind of hardware android APIs I can still use from my C/C++ app, that would be great.
any help will be much appreciated

[APP] NexusLight - Change ROM for you

Hello,
Here is developed a small software who work on Windows called NexusLight, which allows you to create a ROM for your needs from the flash.
He was appointed NexusLight because I have only tested on the Nexus, but it should work with all phones / roms if the signature verification is disabled in the recovery.
This is actually an adaptation of the software GaospLight (frandroid forum) I had created for the Galaxy's first name.
It allows you to remove applications from the ROM but also to add.
The software interface is in French but in English except for description of the applications (in fact it is the language depending on the language of the OS)
Moreover a video presentation is often better than a thousand words I have made a video where you see the software in operation:
http://www.youtube.com/embed/eNXXEGTUnQA
Download Link
The program will automatically update itself if a higher version available.
Warning: Some antivirus software can detect as malware.
But it is totally wrong is due to the UPX compression when compiling software.
GalaxyUser
NB: I can't post un dev' forum because i'm a new member
Isn't it easier to use 7-zip or WinRAR to open the zip and add/remove any apks you want?
Does Zipping Unizpping Works ? Never tried it to asking ?
So...wow...
Umm?
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.
wpxbox said:
Does Zipping Unizpping Works ? Never tried it to asking ?
Click to expand...
Click to collapse
You don't have to actually unzip the package. Just open it and add/remove apks from there. Though I think unzipping and re-zipping should work too
I agree this app is sort of silly since you can easily do the same thing with winrar/7zip. It might be useful if more features were added to it (e.g. change the kernel, change the boot animation, etc), until then...
7zip.
One zip to rule them all.
Sent from my SGH-T959 using xda premium

How can I (re)make an old obsolete app to work on the latest Android version?

Greetings to all. I am new to this forum and I have a question for you experts.
There is a very old and abandoned app that I used to like a lot. It is very simple (the size was just 99KB). It is simply creating a floating icon above other apps that initiates screenshots.
When I tried to install and use it on my OnePlus 5, I got the message that this application needs to be updated.
The thing is that there is no update available for this app because the developer for his own reasons abandoned the project.
Could this be because of the modified Android version my device is running? Or is it because the app is no longer compatible for the latest Android versions in general? (My old device was under 4.4 KitKat)
Is there a way to resolve this manually perhaps by decompiling , editing and recompiling the apk?
Is there a way to recreate the same apk to be compatible with the latest bunch of Android versions?
Is there perhaps a way to avoid all the hassle and "trick" the app thinking that everything is O.K.?
Since I am a complete and utter n00b, please explain to me.
I wish to thank you all in advance for your time and effort to answer to me.
The apps' source code needs to be updated.
Do you have a link to the apps' source code?
Would also help to know what app you're talking about.
GameTheory. said:
The apps' source code needs to be updated.
Do you have a link to the apps' source code?
Would also help to know what app you're talking about.
Click to expand...
Click to collapse
I have the apk file if that helps. I tried to private message you but I was not able.
How can I provide the source to you?
The link to the actual apk file is here: https://drive.google.com/open?id=1zImcIf1lret_9XsCRawrj4FLPtbMGe7j
The app is creating a floating button/icon that allows to take screenshots of a specific (designated by the app and fixed) area of your screen. You can take multiple screenshots and evry single screenshot appears in tiny thumbnails on your screen, each one next to the other. All screenshots are getting erased automatically after a few seconds (don't recall how many, maybe 30 secs).
Yeah I have private messaging disabled. I prefer to do any communication on the forums.
As I mentioned, the source code needs to be updated. So if you post the source code I'd be willing to take a look.
No guarantees of course. Lots has changed in android over time. A lot of code has been deprecated. Don't know if it can be updated or if it's just better to start from scratch.
GameTheory. said:
As I mentioned, the source code needs to be updated. So if you post the source code I'd be willing to take a look.
Click to expand...
Click to collapse
I really appreciate your willingness to assist.
As I mentioned I am not very android developing savvy, I have the classes-dex2jar.jar.src.zip here: ------------
Is this what you are looking for???
Let me know if I am mistaken.
I have also extracted all the contents of the apk using apk studio. Let me know if you need anything else.
D4MN4T10N said:
I really appreciate your willingness to assist.
As I mentioned I am not very android developing savvy, I have the classes-dex2jar.jar.src.zip here: https://drive.google.com/open?id=1wYB9STPq70LTc04YL1Yvpf2dY7-T1bZ2
Is this what you are looking for???
Let me know if I am mistaken.
I have also extracted all the contents of the apk using apk studio. Let me know if you need anything else.
Click to expand...
Click to collapse
I did a little digging by decompiling the app so that I can look at the strings.xml to get the official app name. With the app name I did some research and concluded that the developer did not make it open source. This means its original java code is not public and therefore the app cannot be updated.
You'll have to find another app in the play store similar to this one for your use.
GameTheory. said:
I did a little digging by decompiling the app so that I can look at the strings.xml to get the official app name. With the app name I did some research and concluded that the developer did not make it open source. This means its original java code is not public and therefore the app cannot be updated.
You'll have to find another app in the play store similar to this one for your use.
Click to expand...
Click to collapse
OK thank you for your time.

Categories

Resources