Hi I am new android. I need to know how to install it in windows xp and which one is the best IDE and what are the requirements are needed. And I need to know how to develop an application in that platform.
I have a layout xml file named my_layout.xml, in which the root view's layout_width and layout_height has been specified as 200px.
<com.jlee.demo.MyLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="200px"
android:layout_height="200px">
If I used this xml to be included in another xml, and specify the layout_width and layout_height as 100px.
<include layout="@layout/my_layout"
android:layout_width="100px"
android:layout_height="100px"/>
What would be the real width/height of my_layout?
I am experiencing a strange phenomenon with Blogger GData API 2.0 on Android. I am using
the BloggerService to retrieve blogs. First time it works fine.
However EVERY SECOND TRY I get a NullPointerException:
Caused by: java.lang.NullPointerException
at com.google.gdata.wireformats.AltRegistry.lookupType(AltRegistry.java:190)
at com.google.gdata.client.Service.parseResponseData(Service.java:1860)
at com.google.gdata.client.Service.getFeed(Service.java:1054)
at com.google.gdata.client.Service.getFeed(Service.java:916)
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
at com.google.gdata.client.Service.getFeed(Service.java:935)
dear friends,
while showing progress bar i want to disable touch screen to restrict other functionalities in android phone.
can any one guide me how to achieve this?
any help would be appricated.
Hi,
I;ve been trying to create a custom button in android using this tutorial - http://www.gersic.com/blog.php?id=56
It works well but it doesn't say how to change the font size or weighting. Any ideas?
There was another question on here and the only answer was to use html styling but you can't change a font size in html without using css (or the deprecated font tag). There must be a better way of setting the pixel size of the font used on buttons?
Hi,
I am planning on converting some longitude and latitude values to XML and then sending the file to a web server to display on a Google Map Interface.
Is it possible to send an XML file to a web server through my own application in Android?
Thanks
I would like to build and android project from command line on Linux. In the root directory of the project there are the following files and directories:
AndroidManifest.xml build.xml default.properties res/ src/
Can you provide a sample Makefile how to build this project?
I'm developing chess game for Android (androidchess.appspot.com). If I want to add animations, should I use custom View extending Canvas (I do this now), or custom View extending SurfaceView?
I have two android projects, ProjA requires ProjB (in Eclipse Properties Java Build Path Projects Add ProjB). Every thing compiles ok in Eclipse, but when I run ProjA I get an error:
Could not find method XXX, referenced
from method YYY.
Where XXX - is the method from ProjB.
How can I fix the settings?
I am wondering what my options are for using GData and specifically the analytics api on android to build a small widget. After searching around for a while I couldnt come up with any libraries with decent examples.
Are there any dedicated libraries with some decent examples / doco to do this sort of thing? I would like to target 1.6 but if the are 2.0 only I guess that is fine too.
Lets say I have an Android app that uses Google Maps and GPS.Uses custom views and timers.
How much time will it require to develop it for Blackberry?
What changes will be required? Can the UI be reused?
I am totally new to Blackberry, though I know Java.
Please help me estimate the time.
I'm trying to set the background of a webview to a drawable image resource in Android.
From the sdk it seems something like this would work but it doesn't.
WebView web = (WebView) findViewById(R.id.webView);
web.setBackgroundResource(R.drawable.backgroundmain);
web.loadData(profile, "text/html", "UTF-8");
Any idea's?
I'm trying to get a completely custom Dialog or PopupWindow, without any of the default Android UI controls (title, background, buttons, whatever).
Is this possible at all? I've spent hours searching for this, but no luck... It seems like this should be easily possible, but I can't find it.
Preferably this would be by inflating a View from XML, but at this point anything that would just work would be nice.
Thanks.
What would be the best way to access the USB as a serial port on a android device (HTC Magic) ?
I am thinking about a OBD-II interface, can I do this on a startdard phone or more likely I'll need a modified firmware ?
I've used this official tutorial to setup my machine so it could detect my Android devices. But from some reason ADB doesn't detects any of my devices properly(Hero and Magic), ie it doesn't show device's IMEI or Firmware version but a bunch of question marks:
?????????????
I've tried googling for a solution but I've found nothing.
I just read a pretty interesting article on how android (and i assume other OSs) work when low on memory. How is this done theoretically? Is it similar to Java's object serialization?
I have a use-case for a vertical 1x4 home screen widget on android. The supported size is 4x1 ie horizontal. Does anyone know if the vertical version can be implemented?
I realize changing screen orientation would scrunch the widget together, which I'm fine with. Even better would be if there was an equivalent to "overflow hidden" in css.
Has anyone come across a way to do this?
Does the calendar application in android maintains a cache of its database??
Whenever i edit and mark some events via tha calendar app it is stored in the database but if i edit the calendar.db from some outside source the changes made are not reflected in the calendar app. so my question is does the calendar app maintains a cache or some other form of database?? if yes then where and how??
What i'm trying to do is, set the wallpaper using an image URI (no cropping)
I'm a noob at dev on Android and dev in general.
The internet has failed me... on providing code to set the wallpaper.
yes the dev resource site says
public void setStream (InputStream data)
but i don't understand it, some sample code would greatly help me.
Hello,
Is it possible to start the application on the Android phone (starting with Froyo), when there is an incoming voice call? In other words, the incoming voice call should trigger the application startup.
In such a case the application should not be full-screen, but should cover only part of the screen to not hide the native controls for accepting or rejecting the call.
If it is not supported now - is anybody aware about some plans to support such a feature in future releases?
Thanks a lot
Kind Regards,
STeN
I have the following TextView defined:
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/txtCredits"
android:autoLink="web" android:id="@+id/infoTxtCredits"
android:layout_centerInParent="true"
android:linksClickable="true"></TextView>
where @string/txtCredits is a string resource that contains Link text.
Android is highlighting the links in the TextView, but they do not respond to clicks. Can someone tell me what I'm doing wrong? Do I have to set an onClickListener for the TextView in my activity for something as simple as this?
Hi at all,
i have downloaded Eclipse Galileo and install Android SDK for the first time.
I have try to create an simple Userinterface, but i have see that i can't move
the "object" directly from the stage. But i need to edit the Code or open the Property panel
in order to change the position of an Element on the Stage.
Isn't Eclipse WYSIWYG?
D.
How to send a command to the terminal through android app and get the output back? For example, sending "ls /" and getting the output to print it in the GUI?