Hello all
I'm new to the forums. And really dont know whether i'm posting in the correct section. So correct me if i'm mistaken.
I'm having an issue that i've failed to resolve. I'm trying to develop an alarm clock. But the R.Java file doenst update itslef. Only the drawables get added to it but everything else isn't updated eg the string resources.
I've tried making the project again and den copying all the files to it but that hasn't really worked several times now!
Please help me out of this
Regards
Master
bump bump
JDLMaster said:
Hello all
I'm new to the forums. And really dont know whether i'm posting in the correct section. So correct me if i'm mistaken.
I'm having an issue that i've failed to resolve. I'm trying to develop an alarm clock. But the R.Java file doenst update itslef. Only the drawables get added to it but everything else isn't updated eg the string resources.
I've tried making the project again and den copying all the files to it but that hasn't really worked several times now!
Please help me out of this
Regards
Master
Click to expand...
Click to collapse
what ide are you using to develop?
My guess is that you have errors in your project that are preventing it from building. Check the console
Search the forum for R.java. There is another thread (or more) about this.
It is a known issue/problem with Eclipse.
killersnowman said:
what ide are you using to develop?
Click to expand...
Click to collapse
Eclipse IDE
Related
Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
The .xml files need to be decompiled first. Otherwise, they are unreadable. The only way I know off is to decompile the entire apk file with apk manager or aapt.
Note that you have to recompile the apk (xml) before putting it back on your phone.
GL
Thank you makes sense.
B-dub25 said:
Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
Click to expand...
Click to collapse
Still working with this myself. You need to look on google code for smali/baksmaling, as this is what is used to compress/decompress the xml files.
Thank you systemadmin that's what I thought I had to do, decompile the. Xml file ,but just didn't now how thank you for your reply.
No worries. I have been working on trying to theme and what not myself, and it seems pretty complex at the beginning. Im trying to get some tips from like bignadad, acidbath, and some of the other big developers out here, but they are usually pretty busy and I haven't had much luck. If you start making some progress, send me a PM and share the love =)
Sent from my DROIDX using XDA App
Ok so I posted this in the Q&A a few days ago and haven't gotten a single response. Do here it is again
I am porting the native Play ps1 emulator to my LG esteem. They both share the same exact chipset so the esteem can run it. I currently have been working on a few things and found the file that calls on the ps certificate buried in all PlayStation certified devises. Now my problem is that I font own an xperia play so I font know where to put or get this certificate. Can any one direct me to or provide me with a current system image that is extractable so I can browse it on my Pc.
I will except any and all help that is relevant.
I have two esteems to test on.
Thank you
Maybe this will help.
DontExist said:
Ok so I posted this in the Q&A a few days ago and haven't gotten a single response. Do here it is again
I am porting the native Play ps1 emulator to my LG esteem. They both share the same exact chipset so the esteem can run it. I currently have been working on a few things and found the file that calls on the ps certificate buried in all PlayStation certified devises. Now my problem is that I font own an xperia play so I font know where to put or get this certificate. Can any one direct me to or provide me with a current system image that is extractable so I can browse it on my Pc.
I will except any and all help that is relevant.
I have two esteems to test on.
Thank you
Click to expand...
Click to collapse
what file are you talking? For now I have found that this files that are needed for the correct function of the PS Native Emulator, Xperia Play Optimized Games and the TouchPad:
System/app/PSpocket.apk or PlaystationPocket.apk
System/app/semcsuite.apk
System/etc/permissions/com.playstation.playstationcertified.xml
System/etc/permissions/com.sony.android.playstationcertified.xml
System/etc/permissions/com.sonyericsson.android.xperiaplaycertified.xml
System/framework/com.playstation.playstationcertified.jar
System/framework/playstationcertified.jar
System/framework/xperiaplaycertified.jar
System/usr/keylayout/keypad-game-zeus.kl
System/usr/keylayout/keypad-phone-zeus.kl
System/usr/keylayout/keypad-zeus.kl
Hope it Helps!
Damn good help you both have provided, I found and extracted the files and I have most of them.
These are the four files I have scoured the Web for and simply cannot find.
Com.Sony.Android.PlayStation Certified.xml
Com.Sony Ericsson.Android.Xperiaplay Certified.xml
PlayStationCertified.jar
XperiaplayCertified.jar
Could someone point me to them or email me?
DontExist said:
Damn good help you both have provided, I found and extracted the files and I have most of them.
These are the four files I have scoured the Web for and simply cannot find.
Com.Sony.Android.PlayStation Certified.xml
Com.Sony Ericsson.Android.Xperiaplay Certified.xml
PlayStationCertified.jar
XperiaplayCertified.jar
Could someone point me to them or email me?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1492139
Update on getting ps store and ps pocket apps to install! Now I am dealing with funky error code but hopefully that will be done tomorrow, mwaahahaha
razerblader said:
http://forum.xda-developers.com/showthread.php?t=1492139
Click to expand...
Click to collapse
sorry the link is bad and I can't post to the OP since I only have for posts up, haha.
But thanks for the help
DontExist said:
sorry the link is bad and I can't post to the OP since I only have for posts up, haha.
But thanks for the help
Click to expand...
Click to collapse
here you have all files I found till now:
http://www.mediafire.com/?e6kaeeakwccijq6
the usr folder may not interest you since your phone doesnt have the xperia play gamepad
Thanks that game me the last file I was missing.
Is there anyway I can get you to upload a copy of your build.prop?
I need to make a few edits to mine and I need an xperia play build.prop
To look at.
here ya go!
Thanks man, that was exactly what I needed! now I just have to figure out how to get semcsuite.apk to install and I think this thing will be about done.
DontExist said:
Thanks man, that was exactly what I needed! now I just have to figure out how to get semcsuite.apk to install and I think this thing will be about done.
Click to expand...
Click to collapse
if you find anything please report because that might help us to get the Suite to install on CM9
DontExist said:
Thanks man, that was exactly what I needed! now I just have to figure out how to get semcsuite.apk to install and I think this thing will be about done.
Click to expand...
Click to collapse
Good luck with this. R800 users on CM can't even get this installed.
I definitely will be telling everyone interested. by the way what is the semcsuite.apk for? Maybe if I know a little more about it I could figure out a little more.
ro.product-res-path-framework/semcgenericuxpRes.apk
Anybody know what that is? Man I hate being a noob.
Okay forget tho, I have been swapping files, adding permissions, replacing .jars, I have done about 15 backup and restored. I think I need some sleep. Does anyone know how to modify an apk? When I wake up IM going to extract the semcsuite apk and scoured it's programming for whatever only allows it to install on Sony devices, anyone done this already?
Good day developers, can you help me, Im using STOCK ROM DXMA1 (deodexed). I want to modify my "TouchWiz30Launcher.apk", instead of 4 icon Column dock, I want to make it 5. I follow this guide somehow, http://forum.xda-developers.com/showthread.php?t=1668984 but it didn't help me. It made my "touchwiz30Launcher.apk" 5 docks but when I put the other application(last time it was 4 and now it turns 5, 4+1=5) on DOCK, the application disappear. Then I tried following this guide again, http://forum.xda-developers.com/showthread.php?t=1500230 although it is for Galaxy Ace, I think it is similar somehow with SGY (note: I only did was, PART II number 1 and 2.)Then the problem in my first try modifying the TouchWiz30Launcher.apk is similar with the second one. Guys if you know, can you help me with this problem or guide me or if there are some similar questions/forum post like this that had been answered, kindly post it? Help me please.
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
deathnotice01 said:
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
Click to expand...
Click to collapse
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
3r41nl33n said:
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
Click to expand...
Click to collapse
grammar's good and understandable,
what happened when installing?
do you have a logcat?
maybe a cert mismatch
did it force close in anyway?
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
3r41nl33n said:
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
Click to expand...
Click to collapse
what the main problem did you facing and how do you solved it?? ??
assphere said:
what the main problem did you facing and how do you solved it?? ??
Click to expand...
Click to collapse
HIHIHI. I just modify Mr. zalzondabuzz 5 docks bottomfrom here, http://forum.xda-developers.com/showthread.php?t=1958201 . I just decompile his/her work and i transfer all the png's because, I dont want the actual TouchWiz30Launcher to be modified, it's just like I want to make it 5 docks. and thats it. xD
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:
Sorry rather a newbie learning android studio where I downloaded a project http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/ to get my hands dirty with coding a camera app to upload to a server. Can anybody get it to work after downloading it? Because somehow I couldn't get it to work after I tried compiling it, with a error for this statement in the MainActivity.java file.
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(getResources().getString(R.color.action_bar))));
I've tried changing the code statement to this but still not working either:
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(ContextCompat.getColor(this,R.color.action_bar))));
Someone please help! Thank in advance
imso said:
Sorry rather a newbie learning android studio where I downloaded a project http://www.androidhive.info/2014/12/android-uploading-camera-image-video-to-server-with-progress-bar/ to get my hands dirty with coding a camera app to upload to a server. Can anybody get it to work after downloading it? Because somehow I couldn't get it to work after I tried compiling it, with a error for this statement in the MainActivity.java file.
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(getResources().getString(R.color.action_bar))));
I've tried changing the code statement to this but still not working either:
Code:
getActionBar().setBackgroundDrawable(new ColorDrawable(Color.parseColor(ContextCompat.getColor(this,R.color.action_bar))));
Someone please help! Thank in advance
Click to expand...
Click to collapse
It would help if you specified what error are you getting