Sorry I'm new to Android handsets. When you do a startActivity(intent) does it involve hitting Googles cloud services at all to resolve the [handler] or is this purely a local call?
Hi everybody,
My question is quite straightforward. I have a table, with, lets say x rows, with each an id, but i don't know how many rows i have. Now i want to delete the last row of my table for some reason... Is there an easy way to do that in android? I have been trying to use the last_insert_rowid in my where clause...but no luck so far...
any idea?
thx for help
Hi, I am new to android, I have learned how to display drawable pic in gallery,
and display a url pic use ImageView. Now I dont know how to display online pictures in gallery. Should I use listview or not? In addtion, I want to know how to get pictures urls from flickrs with given userid
I've seen plenty of info about how to stream video from the server to an android device, but not much about the other way, ala Qik. Could someone point me in the right direction here, or give me some advice on how to approach this?
im developing a game in android, and i've been thinking about subdividing many of the elements of the game (e.g. game objects) into separate classes and sub-classes. but i know that method calls to these objects will cause some overhead. would it be better to improve performance or to improve extensibility?
I have an Android activity with an ImageButton. I would like to execute some logic when the button is clicked and show a different image for the pressed state, but also receive the touch event on the activity.
By default only the button receives the touch event. If I set the clickable attribute of the button to false then only the activity receives the touch event.
What's the best way to receive the touch event in both the activity and the button?
In Android documentation concerning code signing we can read: "By signing multiple applications with the same certificate and using signature-based permissions checks, your applications can share code and data in a secure manner."
How exactly such code sharing can be done? Is it possible to release main application and multiple exchangeable plugins then discover them at runtime? What does source code looks like and what are advantages over "standard" intents calls from/to different APK packages?
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.
Coming from J2ME programming are there any similarities that would make it easy to adapt to Android API. Or is Andorid API completely different from the J2ME way of programming mobile apps.
Hi all,
I want to go to a web page on the click of a button in my android app. So say, I have a button called "Google", when the user clicks on that button I want google.com to open up on the screen. How is this achieved?
Also, is there a way I can gain control back to my app once the user is finished with google?
Thanks
George
I have just started learning to write apps for android using Eclipse. Where can I find free source code that I can use during my learning experience? Thanks.
I need to post some text to a remote server over HTTP, this server in turn puts these comment on a Wordpress page. I am still waiting for interface details.
Is it possible to post comments directly on a Wordpress page from an Android or Java application?
Links to relevant documentation, tutorials etc. is appreciated.
Thanks.
HI all,
I'm just getting started with developing for Android. I'm looking to port one of my iPhone applications, but I'm kind of at a loss for how to draw a view at runtime (a view not declared in the XML). Basically, I want to draw a simple rectangle, but then be able to manipulate its frame after being drawn.
Sorry if this is a really, really simple question, but I can't seem to find some equivalent to the iPhone SDK here.
Thanks in advance!
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?
Does anyone know any guide to test android application on different hardware emulators and also step by step process to publish the application once it is developed and tested on a local emulator?
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?
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'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.
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?
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)
I'm trying to write a program that needs smooth orientation sensor samples as the phone is rotated all around. Every time the orientation of the phone is changed, it interrupts the data and freezes the program while the layout changes. How can I lock it in one orientation (landscape or portrait, it doesn't matter)?
I assume it has something to do with android:layout in the xml file, but I can't find anything online.
Hi
I am trying to create Yahoo messenger client in Android, and i got Openymsg api to implement that.This is small snippet of my code
Session session=new Session();
session.login("Email Id", "password");
But this code is throwing UnknownHost Exception in "scs.msg.yahoo.com".I dont know how to fix this.If any body knows it please help me.
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.