Android : Documentation Errors In Developing On A Device
May 26, 2010
On the documentation page "Developing on a Device" http://developer.android.com/guide/developing/device.html there may be two errors in the section "Setting up a Device for Development."
First: To run (not debug) an app on a device, you do not need to set the "debuggable" attribute in the manifest. The documentation implies this is a requirement. It may be a good idea, but, when stepping an absolute beginner through the process of running their first app, this is an unnecessary detour.
Second: The instructions for turning on USB debugging don't mention the Settings activity: "On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging."
The first error is more of a quibble, but the second seems to be actual misinformation that may puzzle a beginner, wondering why there isn't an "Applications" item on the Home app menu. In most cases this should go "Settings > Applications > Development > USB Debugging," and the menu key is not involved.
View 3 Replies
Jul 25, 2010
Is there any sample code or documentation on writing a driver for a USB device connected to the phone? Any suggestions would be greatly appreciated. Regards Dave
View 2 Replies
View Related
Jul 13, 2010
Can anyone tell me how to setup vold.conf for USB. I can't find any documentation on it. I want vold to mount a hotplugged USB storage device and broadcast notifications (intents) when it is plugged and unplugged.
View 2 Replies
View Related
Feb 22, 2010
I am developing using Eclipse and MyTouch phone, while i can run the application fine on the
device, i can't seem to set break points for debugging. is there some settings/tools i am missing?
View 4 Replies
View Related
Aug 14, 2010
I am a newcomer to android development. I created a image puzzle app named "Sexy Image Puzzle" It is a simple jigsaw puzzle. As I have just started developing for android, I didn't buy the dev phone yet. I tested the application in Emulator. I was planning to create similar puzzles for Cars too. But the app has too less downloads so far. Could anyone use this app and let me know, what is going wrong? It is a free application, so there is no payment involved. I just want to know some feedbacks, what is going wrong. This is a small help, I need from you guys, till the time I buy my dev phone (probably starting september)
View 11 Replies
View Related
May 5, 2010
I am looking generally in to Android development.
I keep seeing information on root however I am unclear how this relates to general android app development.
I understand that there is an emulator however when I get to actually test the software on a phone does that phone have to be a rooted device or is this only required if you wish to edit the core features of the os?
Finally are there are any development disadvantages to rooting the device such as that is no longer behaves like other android phones I may deploy too?
View 2 Replies
View Related
Feb 27, 2013
I port cm10 to msm8x25 devices
If i start mm-qcamera-daemon on init.rc , then camera cant connect.
logcat
Code:
E/mm-camera( 115): kernel returned 23060073FF-SAM-S
E/mm-camera( 115): kernel returned s5k5ca
E/mm-libcamera2( 135): mm_camera_open: ctrl_fd = 26
E/mm-libcamera2( 135): Errno:22
[Code] ....
I use camera.msm7627a from official system.
View 2 Replies
View Related
Apr 17, 2010
First of all, I just want to say I am a software developer, but I am not an Android developer. However I usually walk around and think on stuff. AndI've been recently thinking all the news concerning how fragmented Android is getting, with different Android versions and tweaks by different phone manufacturers, and then for developers you have different size formats. An example would be that HTC Tattoo might not be able to run everything that another phone might run, due to different screen formats, etc. And now the Android tablets are coming with different Android versions and different screen sizes, all from 5" to 11". Will this make developing Android applications harder? Apple has it safe here since they manufacturer all devices that run the iPhone OS: the pods, phones and now the pad so they can easily control and make sure not to loose any customers by introducing a new device. When Apple introduced iPad they had to make sure that all the old iPhone applications would work on the iPad. They solved that neatly by saying that iPhone applications will simply be stretched out to the double size and it would fit on the iPad. Unfortunately Android does not have the same luxury to do this. As I said, I am not an Android developer. Just a curious software developer For you guys who work actively in the Android community, does Google have a solution for this? Will you be able to run phone applications on the tablets? Is there a bridge between the devices? Are there any standardizations or will Android development become even more fragmented? you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel
View 2 Replies
View Related
Jun 14, 2010
I've only had my EVO for 4 days now but I can't open any videos sent to me via messaging. My husband has an Instict and sent me a 20 second video of our daughter and when I tried to open it, I got a photo that said "Video too large to view on this device". The video is not that large so I'm not sure what's up.Is there anyone else that is having this problem? Does anyone know how to fix it? We send videos of our kids all the time and I hate to think that I can't do that with a "state of the art" phone.
View 12 Replies
View Related
Nov 9, 2009
Is there any documentation on the Dev Tools app that is incorporated into the AVDs?
View 4 Replies
View Related
May 1, 2009
I noticed WebView seemed to have some new methods I didn't remember from before. Unfortunately I can't tell exactly which ones are new, without actually trying them and waiting for the SDK to catch the mistake.Could the docs please state in which API release a method, class, interface, enum etc was added? This is pretty fundamental to know when trying to figure out how to implement something.
View 5 Replies
View Related
Jun 11, 2010
Where can i find the ddmlib javadoc or sources? I was browsing through the android git repository but was not able to find the corresponding project.
View 2 Replies
View Related
Apr 29, 2010
I'm using Eclipse with the Android SDK. I installed The SDK platform Android 1.6, API 4 using Android SDK and AVD manager, but I can't find the corresponding documentation in the list of the available packages (there's only the doc for the API 7). Where can I find it?
View 2 Replies
View Related
Oct 6, 2009
I have been using the Android documentation for a few days now, and it is quite good and easy to read. Apart from that I noticed that I missed something, and now I found out what it is: Examples and comments.
If you look at the PHP documentation (e.g. http://www.php.net/manual/en/function.substr.php for the PHP substr() function) you will see many syntax-highlighted examples and comments by users.
Of course there are examples in the Android documentation, especially in the Dev Guide category - they just are not at the right place if one searches the reference for a specific method or functionality. What do you think about this?
View 4 Replies
View Related
Mar 21, 2010
Does anyone know if there is documentation explaining the SMS content provider?
View 3 Replies
View Related
Jul 9, 2010
The documentation does not make the interation between onUpgrade() and onCreate() clear.
When implementing onCreate() should this create the database at version 1, assuming that onUpgrade will apply all of the patches to bring it up to version x (lets say version 5 for example)? Or should onCreate build the latest version of the database, and onUpgrade is only used to upgrade legacy clients.
I kind of prefer the first, because it effectively means that the same SQL is executed for everybody. Whereas the second options means that there is a potential for onCreate to build something slightly different to the succession of patches built by onUpgrade.
I can always make onCreate call into onUpgrade, however, this is the kind of implementation detail that should go into the javadocs...
View 3 Replies
View Related
Jul 20, 2009
A small notice here to say I found an error in the documentation, when building a radio button context menu in XML.
On this page, in the Menus section, under 'Elements and Attributes' for the <group> tag. http://developer.android.com/guide/topics/resources/available-resourc...
"checkableBehavior - Whether the items are checkable. Valid values: none, all (exclusive / radio buttons), single (non-exclusive / checkboxes)"
This should actually be the other way round: * all (non-exclusive / checkboxes) * single (exclusive / radio buttons)
View 2 Replies
View Related
May 12, 2010
I am Graduating in Computing Science, and my final project is a complete research in Android's Platform, with a development of an application. I would like to know how can I get the complete documentation, beacause my research is very thorough, and I relly on books and documentation. The current site I am reading about methods and activities, etc is the Dev Guide on developer.android.com. I don't know if is it complete there. But if you know, could you please show me the link, or tell me how to get it?
View 3 Replies
View Related
Jun 23, 2010
I'm trying to find some official android documentation that discusses sleep mode, with a focus on issues that might be of relevance to app developers. For example, things like:
1. What causes a device to enter / exit sleep mode?
2. How are running processes impacted when the device enters sleep mode? (I believe they continue to exist, but don't execute because cpu activity is suspended. When the device wakes up execution picks up where it left off?)
There is some good info in the API docs for PowerManager and WakeLock, but nothing there that explicitly states what I have assumed in point 2 above. Are the above issues (and any other relevant issues) documented anywhere?
View 3 Replies
View Related
Jul 24, 2009
Is there a poster showing all the class and methodes offered by the android SDK and their inter dependence?
View 2 Replies
View Related
Aug 26, 2009
I was thinking, wouldn't it be great if all the android reference documentation was in the pages section of this Google Group, i.e. stick everything in here:
http://developer.android.com/reference/packages.html
In here: [url]
View 8 Replies
View Related
Oct 6, 2009
Can someone point me where the documentation of window manager is present?
View 4 Replies
View Related
Apr 8, 2010
I've been looking around for this for a long time but can never seem to find it in the Android documentation. There's all sorts of advanced things I see, but I can never find any solid documentation - there's the shapes package, but it provides no insight on how to use them in xml. The best I can do so far is finding other people's examples.
Is there some magical documentation that exists for the XML shapes?
View 3 Replies
View Related
Feb 10, 2010
Does anyone know how to integrate with the new Gallery3D app (cooliris android gallery)? I want to launch that app so it shows the thumbnails for only a specific folder.
For example, say my app downloads images from my server and stores them in a folder on the sd-card (/sdcard/myapp/image-cache/someid/*). I'd like to be able to do something like the following:
CODE:...........................
View 3 Replies
View Related
Jul 29, 2010
Is there any documentation on the filesystem used for Android? I'm talking about an explanation of the contents of /dev or /etc, and not YAFFS or whatever.
View 2 Replies
View Related
May 24, 2010
However, the documentation doesn't explain any of the parameters. All of them are pretty obvious except for boolean filter. Does anyone know what it does?
View 3 Replies
View Related
Sep 30, 2010
I have found that there is a significant lack of documentation of WebView's ability to communicate with Java via WebView.addJavaScript() method. First, the debug document http://developer.android.com/guide/developing/debug-tasks.html#Debugg... appears to no longer work. Second, what object types should we expect when going to and from JavaScript. I have done some trial and error and it appears that complex types can cross the boundary, for example java.util.Vector. However when a Java method returns a byte array to JavaScript it has a type of undefined and I have been unable to coerce it to any other type. Finally, there is great potential with this interface and with some more attention we could go far.
View 2 Replies
View Related
Aug 5, 2010
I have just started working on the live wallpapers and have gone through some examples (Fountain). Examples are using rendered scripts which are placed in raw folder. I am new to the scripts and looking for a documentation which can help me to start understanding it. Can please someone let me know where to start from?
View 4 Replies
View Related
Jun 14, 2010
This is my first post ever -- I love the Android SDK (been at it for a week), but I did notice a small typo in the official documentation that needs correcting.
On this page within the example source code, the source says "CountdownTimer" on line 1 when it should say "CountDownTimer" (notice the capitalization of the letter "D"). An easy fix for one with programming experience, but the code as written will not compile, which could be confusing for someone using this code for the first time.
Is this where documentation bugs are submitted, and if not, where should I go to request the fix?
View 1 Replies
View Related
Dec 8, 2009
I am trying to use the MediaRecorder to record audio. I read the documentation at http://developer.android.com/reference/android/media/MediaRecorder.html on how to use the MediaRecorder and then tried the sample code given in the documentation for recording audio which is:
MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(PATH_NAME); recorder.prepare(); recorder.start(); // Recording is now started ... recorder.stop(); recorder.reset(); // You can reuse the object by going back to setAudioSource() step recorder.release(); // Now the object cannot be reused
However this code doesn't seem to work. The second line throws an exception when I execute the code. If I execute the following two lines of code:
MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
It throws a RuntimeException on the call to setAudioSource with the exception message "setAudioSource failed." I am running this on my T- Mobile HTC G1 Android device which is running Android v1.6
I have searched a number of forums for entries about "MediaRecorder" or "setAudioSource" and have found that a number of other people have also posted that they are having a similar problem. However no one has responded to any of the posts which I found regarding this issue.
I would appreciate some help if anyone knows why the MediaRecorder is not working as documented or can provide information on how to get past this exception.
View 3 Replies
View Related