[Q] android development read file from usb flash disk eclipse - General Questions and Answers

Hello, I need to read file to my android app from each USB flash disk to set configuration of app. Now I have only eclipse without the device and I need to test it. I want to use android.hardware.usb, is it right way and is it possible?

Related

sync application - please help!

o2 flame can detect hard disks or flash drives using usb otg cable.
in file explorer a folder named "hard disk 1" will appear when a flash drive is detected and another folder named "hard disk 2" will appear when another flash drive is detected an so on.
my questions are:
is it possible to make an application that will sync the files stored on one flash drive to another?
is there an existing application that has similar functions? where can i get it?
thanks for reading. hope you can help me. i really need one right now. it's for school.
I'm not completely sure about this, but i think microsoft came out with MobileGroove Beta not long ago.. maybe you can find it.
hey thanks for the reply
but i can't seem to find any info about mobilegroove on the net
I don't know in Windows. In Linux you could use Unison (it's a frontend for rsync).
Works great for me.

Android SDK can't detect my N1 (on an iMac)

So myself, the mega noob of rooting, I've decided to root for the first time and (eventually) flash CM6, however I've run into a road block. I have to this point 1) downloaded and saved to the appropriate locations all required .zip and .img files, 2) downloaded the SDK for Mac, 3) enabled USB debugging...but for whatever reason my Mac is unable to recognize the device when running the './fastboot devices' command, and the SDK does not show my device in AVD Manager ("No AVD available"). Does anybody have any idea what might be going on??? I've been specifically following the directions listed on this page, mainly because it is the only Mac-specific instruction I've found: How to hack your Nexus One to run Cyanogen for a good performance boost (and some serious geek cred)
Somebody, please help!!!

[Q] ANDROID USB Master driver

Is it possible to develop a simple ANDROID USB master driver able to manage an external USB device sending simple data to a running ANDROID APP?
Yes it is possible, but not easy.
It would have to be developed for each phone.
I know they are working on one for the i9000 and i think there is an experimental version out for the nexus? or desire?.

Can I running programs as root ?

Hi, I wanted to ask if running Android on board development SBC (Single-Board Computer) I can run programs (processes) as a superuser? I need to know, because I want to write a driver to manipulate and communicate with the usb connected external device, a non-root users can not open or save the data to the stream represented by the associated file from the USB port in / dev. Thank you in advance for your reply.

[PC] Booting Android on your x86(32 bit) PC

Ok ,once you have decided to install Android operating system(AOS) on your pc u'll need to..... oh wait! u must be wondering why did i create this thread since an android emulator already exists. This is why
1) This is not an emulator but a full fledged OS that can be installed along windows/linux
2) it's optimized for x86(32 bit Intel and AMD) processors so is a lot less laggy than the emu
3) it supports wifi, camera and u can install apps which you can't do on the emulator
Caution-
This build is primarily for laptops/netbooks and may not fully work on your desktop( there's no harm in trying though)
Depending on your version and Hardware, not everything may work properly
I'm not responsible for anything you do! (though i seriously doubt that it can do any harm but always exercise caution)
Once you are satisfied, lets begin
Requirements-
A USB pendrive with at least 256 mb free scpace
Internet connection
Common Sense
Downloading the tools-
1)First go to this site- http://www.android-x86.org/download and download the required image(choose which version and the model of ur laptop)
2) Visit this link - http://unetbootin.sourceforge.net/ and download Unetbootin for your OS(the one you are currently running)
Setting up the bootable image
1) Plug in your pendrive and run Unetbootin.
2) Select the "diskimage" radio button and load the ISO file
3) Set type to "USB Drive" and select ur pendrive from the drop down menu
4) Click OK and your pendrive is ready to be booted from
Booting up AOS
1) turn off your computer and plug in your pendrive
2) you need to change the boot sequence in the PC's BIOS. to do this keep pressing 'Delete" button or F12(depending on your motherboard, generally a line of text indicates the button to be pressed) on the boot/Splash screen and select external/usb as your first boot device
3) Once done, the AOS installation menu should come up, select the first option to try it without installing anything to your Hard disk.
4)If you want to install it to your Hard disk you might havta repartition ur HD to avoid windows being overwritten(i recommend not doing so but if you want to proceed, use the free software EASUS Partition Manager)
5) Bingo!! You should be running AOS on your PC now
Thank You
Thanks for starting this wonderful thread. I installed android on my netbook beside windows xp and it works great. it lets me choose which operating system i want to work with. i downloaded android-x86-4.2-20130228.iso from that website cuz i didn't know to use which one. i also created an ntfs partition for installing android. it perefectly recognizes my wireless and camera now. nothing is better than this. i'm happy with my netbook now.
thanks man....its working and its awesome!!!
Sent from my Xperia E dual using XDA Premium 4 mobile app
Sd Card Dual boot?
As you can see, Im new here... Does this require a partition to install, or can you boot straight form usb? My other question is can you do this the same from an sd card? Thanks in advance... Sorry if its a dumb question.
Jellypig1278 said:
As you can see, Im new here... Does this require a partition to install, or can you boot straight form usb? My other question is can you do this the same from an sd card? Thanks in advance... Sorry if its a dumb question.
Click to expand...
Click to collapse
Mmmmm.... i'm going to try it now. i have created extra partition using MiniTool Partition Wizard Pro Edition 7.5.0.1 and know i"m going to use sd card in card reader to create bootable pendrive.
wait......................................................
Ramesh006 said:
Mmmmm.... i'm going to try it now. i have created extra partition using MiniTool Partition Wizard Pro Edition 7.5.0.1 and know i"m going to use sd card in card reader to create bootable pendrive.
wait......................................................
Click to expand...
Click to collapse
i have created partition using MiniTool Partition Wizard Pro Edition but after that my pc was lost boot. it set the c drive inactive. i used windows cd to start again. unetbootin-windows-608 didn't work for me. i used Win32DiskImager-0.9.5 which has option to choose operating system android. after that it worked but i have got one more problem. i have installed the android into newly created partition and installation was completed successfully but again i lost boot. again i used windows cd to solve boot issue to make c drive active. after that i have directly run the android without installing. it worked and run very smoothly but it was not showing my hard disk even giving root access to file manager. so finally i have decided to go virtual box. now downloading virtual box but i want to boot android from menu because i have windows,linux in boot menu now i want android also.
FYI i was using desktop and i have photon plus wireless modem. which is detecting on ppp widget but not connecting because of operating system. it was android 4.4.2 cynogenmod(rooted) and cynogenmod wont detect the internal sd and ppp widget can establish a connection without having it files in internal storage. so my advice is choose your android carefully and you can even establish internet connection from your mobile using ppp widget. there is an way to make your internal sd get detected by using terminal emulator.
my pc details 1.6ghz amd processor,1gb ram having windows xp and puppy linux
virutual box didn't helped me. it was showing error. again i tried to boot android x86 using Universal-USB-Installer-1.9.5.5 and format the partition into fat 32 and installed grub for windows. this time worked booted into android
to install whatsapp use older version of whatsapp open it and it will ask u for downloading new version then download new version replace the app and your whatsapp will work. we chat and line are not working.
for games search for games for android x86
angry birds star wars,stella are working. ppsspp gold emulator is working. mx player and vlc are not working

Categories

Resources