[Q] Learning in eclipse, a few questions.. - Android Q&A, Help & Troubleshooting

I've been searching to see if there is a way to use a clone of my phone as an android virtual device for eclipse, I've not found any answers..I'm beginning to think that it is not possible because I haven't found the "here's how to clone your phone as an AVD" thread anywhere..is this correct?
If that isn't possible, exactly how much if any modification can I make to the AVD to make it more like my phone (contacts, apps and settings etc), would I just find the AVD's files and replace them or are they packed in a zip/rar file or are they just resource files that are being called up that will change the behavior of every AVD that I create if I alter them?
Finally- what would you guys say the minimum system requirements for developing for ICS and compiling ROMs would be? Looking to get a new desktop, this 1.5ghz gateway notebook isn't going to cut it....
Thx!
(BTW..I've already started making apps..nothing useful but they worked, and I got them on my phone and functional...hopefully be able to contribute back to the community soon yay! )

Related

Is there software out there to...

...let you decompile and apk and edit the layout in the xmls, and then display the results in a device emulator without having to recompile and sign the apk and push it to your device? I have all the tools (SDK, Eclipse, apk manager, etc etc etc) but as I am new to Android tweaking I may be missing some simple knowledge that will save a lot of trial and error!
I am looking initially to edit the HtcQuickLaunchWidget.apk (the non-m10 version) and was wondering if there was a way of loading the apk or decompiled apk back into Eclipse or something similar to then be able to tweak the layout of the widget and view the result on the PC rather than spending hours of making single changes and pushing to my phone each time to see the result.
The answer might be a simple 'no other way' or as I say I might be missing something obvious and all I need to do is 'this, this and this'... Any advice would be greatly appreciated. And before you mock, remember we all have to start (or in my case start again) somewhere
Thanks.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Eclipse - Driving me mental, please help :(

Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?
Silver420 said:
Having a VERY weird problem with Eclipse and I cant work out for the life of me what is going on. Will be VERY appreciative if someone knows what the problem is here.
IF I create a new Android Project, it will save a folder with all the files to C:\users\silver\workspace
IF I create a android project from an existing source, the workspace folder does not contain the saved project folder.
Up until today there was no problem. Then for no reason as far as I can see, it went nuts on me.
Ive reinstalled and setup Eclipse. Ive even restored my PC to an earlier point to see if that would help.
If I cant work this out, its 2 weeks worth of work down the drain
Anyone got any ideas as to what the heck is going on?
Click to expand...
Click to collapse
Have you tried to import the specific project? I am sure the project which should be imported is an eclipse project. If yes you are able to IMPORT it instead of creating a new project from source. If not have you tried to cut the specific project from the workspace folder and then create a new project from existing source and choose the project esp. from your desktop and mark copy it to the workspace folder. (In some cases eclipse is not able to import/create a project if its in the workspace folder.)
If these things don't help. Update all the Android Specific Stuff. Update to newest ADT and SDK. And try it again.
If it won't work even after that i will need some more detailed information about your problem.
Good luck
Not sure why but it just went mental regarding anything I tried. Only way in the end was to copy and paste everything manually after creating the classes again
Back to square 1 at least well sort of...
I now have another problem lol.
I modified the SDK so I was able to use Internal API's, though I still have one error that I cant get rid off, which is...
"The import android.os.SystemProperties cannot be resolved"
Dont suppose you know how to modify the SDK to be able to use the whole source?
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Bumpety Bump

[Q] Need help with building CM

Hi all, I am trying to build android from source (Cyanogenmod) for my phone Sony Xpreia Pro (iyokan). I am following the instructions at wiki{DOT}cyanogenmod{DOT}org/w/Build_for_iyokan (I haven't posted a lot so I can't post URLs ). During my build I need to do one additional step. I need to pull the proprietary files from my device. This is where the problem comes in.
I found that there are 4 files which the extract-files.sh script cannot extract. This causes problem in the build process and the build process stops without completion. The files which the script cannot find are:
/system/bin/calibrator
/system/etc/firmware/wl1271-fw-multirole-roc.bin
/system/lib/libc2d2_z180.so
/system/lib/egl/libGLESv2S3D_adreno200.so
I found wl1271-fw-multirole-roc.bin at "/system/etc/firmware/ti-connectivity/" instead of "/system/etc/firmware/". Is it fine to modify the "proprietary-files.txt" to have this path instead of the "/system/etc/firmware/"? I am not sure if the functionality of both the files is same.
Also I found a file called "wlan_calibrator" instead of "calibrator" in the same location. I also found a file called libGLESv2_adreno200.so instead of libGLESv2S3D_adreno200.so
Would it be fine if I change the name in "proprietary-files.txt"? Again, I am not sure if the functionality of the other files is same. I couldn't find the file called "libc2d2_z180.so"
I really don't know what to do and would really appreciate if anyone could help me on what I should be doing.

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

[Q] Installing multiple devices at once

Hi, I have about 200 android tablets and I would like to know if there is any solution how to install them whit filled Google account, installed apps from GP, settings by some easy way rather than doing it with every single tablet...
Something like image file ofr Windows, or *.exe app (in self execution rar) which contains specific informations, ex. specific company ports etc.
Do you guys know about anything like that? It could be even bussines solution, paid, there is no problem with that, only I could not find anything
ยจ
Thank you very much!!!

Categories

Resources