So i have some problems, I'm developing a small app which u can see in my singature, in newer versions I added one more activity, that is actually page for FAQ, and code working as it should but AndroidManifest.xml gives me a problem...
I added a new activity to AndroidManifest.xml and added root permisions but when i save and export app, AndroidManifest.xml goes back to "stock" unchanged file and when i run my app and try to go to that new activity it gives me force close normally because there is no second activity in AndroidManifest.xml
so what to do? I'm shure there is someone who knows what is problem
btw im using Eclipse + Android SDK without any other stuffs
Post your manifest that you are trying to save and then the log cat when it errors out.
Do you modify the manifest of the right project?
If you do, try cleaning the project or deleting the project from the workspace and adding it again.
zalez said:
Post your manifest that you are trying to save and then the log cat when it errors out.
Click to expand...
Click to collapse
But there is no error, everything is normal
nikwen said:
Do you modify the manifest of the right project?
If you do, try cleaning the project or deleting the project from the workspace and adding it again.
Click to expand...
Click to collapse
Yes, I'm modifying manifest of right project, will try that
Sent from my GT-I9100 using xda premium
By any chance, are you uninstalling before adding the new APK via Eclipse? I ran into issues with some files if I didn't do an uninstall first...
@buildakicker, i don't understand you... did you meant am i uniinstalled app from my phone before testing it? if that is question then no, i didn't do that, and that is not problem...
Problem was in eclipse, i just did what @nikwen said and app working perfectly
I was speaking of uninstalling the app off the device and then re-installing it fresh... Glad you got it figured out!
Sejk97 said:
@buildakicker, i don't understand you... did you meant am i uniinstalled app from my phone before testing it? if that is question then no, i didn't do that, and that is not problem...
Problem vas in eclipse, i just did what @nikwen said and app working perfectly
Click to expand...
Click to collapse
Still don't understand you xD
Sorry but English is not my native language
Sent from my GT-I9100 using xda premium
Sejk97 said:
Problem vas in eclipse, i just did what @nikwen said and app working perfectly
Click to expand...
Click to collapse
Great. :good:
Related
after all my hard work and no one helpong me i have done the update.zip to enable java on any phone most likely tried it on my HTC Desire with RCMix HD Rom that doesnt have the JAVA app in it
u can download from the attachments...
Sure guys u need RoOt
NOTE: DO Nandroid & Flash on your own Risk... but most important its working please test
Thanks too TheGhost1233 giving me one hint
if u like this just give me stars thanks
tnx bro ... that's amazing
JAVA is important
5 stars ..
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
java is very important for me thanks bro....
coolexe said:
java is very important for me thanks bro....
Click to expand...
Click to collapse
you r welcome
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
AndroHero said:
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Click to expand...
Click to collapse
this app can let u use any file that has a .jar or .jad ending and it has lots of usefull apps that u can u
najar360 said:
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
i dont knw about that give it a try and tell me
overall this app is to make it easy to use java files so have fun and plz report if there is anything wrong i can do
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
omniwolf said:
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
Click to expand...
Click to collapse
:s that is something else this app is just to let JAVA files or apps work on the phone
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
I get an error for a missing file system/customize/MNS/52099.xml and then it says verification failed... anyone know how to fix this
ashkool said:
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
Click to expand...
Click to collapse
There is ... in sdext and then app_s
New update
K so i made this updated Java update that should work on everyone else's thats giving the error that it gave me so test it out and always do nandroid backups!!
how exactly do i use that once flashed? i have a .jad file but it wont work...the only way i've got it work is with foundation profile midp installed, and that is very ugly. not even sure about security since i want to use it for m-banking?
works on CM RC2 ?
Sorry , Mistakenly Posted.
Can someone Deodex the firmware, i've tried but I failed miserably
These are the ones i couldnt deodex
/system/framework/
android.policy
ext
framework
services
/system/app/
email
fts
gallery 3d
imeitracker
kieswifi
mediaprovider
mms
mobileprint
motionsettings
mtpapplication
packageinstaller
phone
samsungwidget_weatherclock
secdownloadprovider
settings
socialhub
stk
tasks
tasksprovider
touchwiz30launcher
touchwizcalendar
trimapp
I don't have the device yet but I actually managed to deodex kdd as a whole. the only exceptions were Email and MobilePrint. I just ignored these errors but yea, I have these two folders sitting on my desktop waiting for my phone to arrive
Sent from my GT-I9000 using XDA App
madmack said:
I don't have the device yet but I actually managed to deodex kdd as a whole. the only exceptions were Email and MobilePrint. I just ignored these errors but yea, I have these two folders sitting on my desktop waiting for my phone to arrive
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Could you upload the files please
Sent from my GT-I9100 using XDA App
soyef said:
Could you upload the files please
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Yes please upload!
Plz help a poor WinMo-refugee waiting for his first droid-device:
WTF is deodexing ?
troed said:
Plz help a poor WinMo-refugee waiting for his first droid-device:
WTF is deodexing ?
Click to expand...
Click to collapse
Apk files have respective odexes that devs use to supposedly save space.
Deodexing means you convert it back to a .dex file and put it back inside the apk.
This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
I'll upload what I have after elclassico
Sent from my GT-I9000 using XDA App
and here it is:
http://www.multiupload.com/MW71E1DAHV
you might want to delete Email.apk and MobilePrint.apk first because these two were the ones that I deodexed ignoring the errors. (lotsa errors with Email.apk. be wary of that one )
most of the errors in these two files were related to some awt libraries that are missing. I think (or hope) that they used these libraries only for debugging, so it shouldn't crash theoretically.
lemme know if it works guys ! can't wait for my phone to arrive
madmack said:
and here it is:
http://www.multiupload.com/MW71E1DAHV
you might want to delete Email.apk and MobilePrint.apk first because these two were the ones that I deodexed ignoring the errors. (lotsa errors with Email.apk. be wary of that one )
most of the errors in these two files were related to some awt libraries that are missing. I think (or hope) that they used these libraries only for debugging, so it shouldn't crash theoretically.
lemme know if it works guys ! can't wait for my phone to arrive
Click to expand...
Click to collapse
seems to be working fine, even the email.apk works fine!
thanks for the deodexing!!
soyef said:
seems to be working fine, even the email.apk works fine!
thanks for the deodexing!!
Click to expand...
Click to collapse
awesome !! I know what I'm gonna do when I receive this phone
thanks for letting me know
madmack said:
awesome !! I know what I'm gonna do when I receive this phone
thanks for letting me know
Click to expand...
Click to collapse
Oh and btw I also tried your Arabic patch and it worked fine too, just waiting for the libwebcore now
Thanks!!
Sent from my GT-I9100 using XDA App
soyef said:
Oh and btw I also tried your Arabic patch and it worked fine too, just waiting for the libwebcore now
Thanks!!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
oh, "so" from the comments
I've replied to your comment with a libwebcore to test. let me know if it works.
madmack said:
oh, "so" from the comments
I've replied to your comment with a libwebcore to test. let me know if it works.
Click to expand...
Click to collapse
This is what I got from the logcat, and by the way I'm willing to test more if you need me to
soyef said:
This is what I got from the logcat, and by the way I'm willing to test more if you need me to
Click to expand...
Click to collapse
oops. thanks for testing
the logcat doesn't look good at all. I think I'll wait until samsung releases the proper sources for our phone before I make another attempt. This was all built with the korean sources and the error it throws now doesn't help much.
thanks again
ok, I'm a little restless and tenacious... i was able through some hoops and jumps to get a libwebcore with samsung's korean sources that matches the size of the one in your phone exactly (basically the build config of crespo.. should match the sII's except for the target_board_platform). I've not applied any arabic patches to it yet. just please try it and see if it at least runs ? (if it does, we have a winner !! )
http://www.multiupload.com/GK89VBFET9
GlossGhost said:
Apk files have respective odexes that devs use to supposedly save space.
Deodexing means you convert it back to a .dex file and put it back inside the apk.
This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
Click to expand...
Click to collapse
Tx a LOT ! Now I got it ..........
madmack said:
ok, I'm a little restless and tenacious... i was able through some hoops and jumps to get a libwebcore with samsung's korean sources that matches the size of the one in your phone exactly (basically the build config of crespo.. should match the sII's except for the target_board_platform). I've not applied any arabic patches to it yet. just please try it and see if it at least runs ? (if it does, we have a winner !! )
http://www.multiupload.com/GK89VBFET9
Click to expand...
Click to collapse
I think you have a winner then!
it seems to be running fine
i'm not sure, but I think that the camera isn't working
soyef said:
I think you have a winner then!
it seems to be running fine
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1063205
by the way, camera.apk from the deodexed files gives force close
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Hello guys
I was thinking to create a simple build.prop editor. someone can help me where should I start. it's a simple project so I want to work myself to get some experience in android app development. As I know I have to provide root permission in android manifest. Xml but how the activity can read build.prop file
Thank you
Sent from my GT-I9100 using Tapatalk 2
Deleted
Root commands need to be executed the command line way.
You can get the content of a file using
Code:
cat <filepath>
For executing these commands I recommend using the RootTools library.
First of all get basic Linux command line knowledge.
nikwen said:
Root commands need to be executed the command line way.
You can get the content of a file using
Code:
cat <filepath>
For executing these commands I recommend using the RootTools library.
First of all get basic Linux command line knowledge.
Click to expand...
Click to collapse
So it means I should use Ubuntu
Sent from my GT-I9100 using Tapatalk 2
saif kazi said:
So it means I should use Ubuntu
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
No, it does not mean that.
If you want to do anything which needs SU permission, you need to do it without the Android API. You run a command on the built-in command line on your phone from your app. Now in Java you are able to read the output of the command and parse it to get the required information.
There is no other way of doing it because Android was not designed to be rooted.
saif kazi said:
Hello guys
I was thinking to create a simple build.prop editor. someone can help me where should I start. it's a simple project so I want to work myself to get some experience in android app development. As I know I have to provide root permission in android manifest. Xml but how the activity can read build.prop file
Thank you
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Nx Biotic said:
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Click to expand...
Click to collapse
Looks like he has already forked it.
https://github.com/saifkazi/Build.prop-Editor
If you want to release your version, have a look at the original license: https://github.com/nathanpc/Build.prop-Editor/blob/master/LICENSE
Nx Biotic said:
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Click to expand...
Click to collapse
Haha, I was about to suggest my project when I saw the Google Alerts email, but looks like you already did.
Thanks very much!
nathanpc said:
Haha, I was about to suggest my project when I saw the Google Alerts email, but looks like you already did.
Thanks very much!
Click to expand...
Click to collapse
No problem man!
Hi I have 2 android projects in eclipse a subnet calculator and a data tester The problem is that they are in two different projects! I want to add the data tester one into the subnet calculator! The question is how do I do this?
I have tried almost everything I can think of!!
Please help!!
Thanks in advance!!
Rapsong11
That can be done only manually afaik. From where you want to move from one project to another you'll have manually create intents of fragment calls or whatever is needed. Copy-paste the needed classes to newly created packages etc, update your manifest, copy-paste layoutfiles etc etc. I know, quite some work but there is no automated process for this.
Zatta said:
That can be done only manually afaik. From where you want to move from one project to another you'll have manually create intents of fragment calls or whatever is needed. Copy-paste the needed classes to newly created packages etc, update your manifest, copy-paste layoutfiles etc etc. I know, quite some work but there is no automated process for this.
Click to expand...
Click to collapse
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
rapsong11 said:
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
Click to expand...
Click to collapse
He means copy the src of project1 to src of project2
res/ of project1 to res of project2
Donot overwrite
For files with same name copy the contents manually
Sent from my GT-S5302 using Tapatalk 2
rapsong11 said:
Thanks for the reply!! would you mind showing me how to do this? via team viewer?
please let me know
Rapsong11
Click to expand...
Click to collapse
I'm not in the situation I can do it. But also I don't want to do it and you shouldn't want to do that either.
I got everything over no errors and when you are at the main menu I have two buttons one that says subnet calculator and one that says network tester when you click the network tester button it works when you click the subnet calculator button the app crashes what am I doing wrong please let me know
Sent from my Nexus 4 using xda app-developers app
Nevermind I figured it out
Sent from my Nexus 4 using xda app-developers app
The best way to do this is to use maven projects instead standard android projects. Both projects can be children projects of superpom (maven parent project). Search for maven-android-plugins for more details.
Cheers
Sent from my SK17i using xda app-developers app