android

Is there a built in mechanism for server push on Android?

Is there a built in mechanism for server push on Android? What I want to achieve is to start an application based on a server request (without involving SMS, only data connection). Is this possible without having a service always running? Thanks Flaviu ...

Android and Object Push Profile (Calling a specific App by specific MIME type)

Hello android professionals, I need your help for using Bluetooth in a special way: When my android mobile phone receives a file via bluetooth that matches a specific MIME-type (in my case GPX-files, an XML derivate) my phone shall open an defined App to handle the new file. It would be enough, when the app is only opened wenn the file...

Activity stack behaves incorrectly during the first run started from Eclipse or on OTA upgrade

There are known bugs - http://code.google.com/p/android/issues/detail?id=2373 and http://code.google.com/p/android/issues/detail?id=5277 that are exactly my case (tested both on 2.0.1 and 2.1). The heart of the problem is instead of keeping my current Activities stack the OS creates new Activities on top of my old Task. Need to note I ...

how can I copy files to the file system of android?

How can I copy files to the file system (place) in android? How can I access it? ...

Detect outgoing calls and problem with a real device

Hi, I have a strange problem. To detect outgoing calls I have registered a broadcast receiver for android.intent.action.PHONE_STATE. When the state becomes OFFHOOK, then a conversation is started. It seems working on emulator: the debugger in fact reaches some code while it doesn't work on real device (Acer Liquid). Is it possible? Wh...

Android: databinding when using a ArrayAdapter: possible?

I need some simple databinding for a Spinner. I want to display 2 items for each dropdownitem. So when the user clicks the spinner I get a list like: ------------------- Name 123456 ------------------- Name 123456 ------------------- I understand this can be done when using a Cursor, according to the databinding info on android dev. L...

android - is it possible to update the Android Dev Phone 2 sold by google to 2.1 OS ?

Hi If I have a Android Dev Phone 2 phone that comes with 1.6, can I upgrade it to Android 2.1 ? Thanks ...

Android 1.5 Multitouch

Hi All, Does anyone know if it's possible to use Multitouch on an Android 1.5 device? I have a HTC Hero, and it's still running 1.5 (HTC have been a little slow on getting the 2.1 ROM out). The Android MotionEvent documentation shows the constants (ACTION_POINTER_1_DOWN, ACTION_POINTER_1_UP.....etc...) I need to implement multitouch a...

An update question!

Hi, Here's the problem I'm facing: trying to do my own application update I download the update apk from a web server on the sd card and then I launch the Package Installer with the downloading path (while the old application is running). So far after the package installer starts and the user agrees to install the application I get the...

How to use RelativeLayout to make a custom component on Android

I'm trying to make a custom component based on buttons without having to deal with all the layout myself. The problem is that i can't find a way to make use of RelativeLayout to draw the thing. This is my latest attempt. A bitmap is returned by layoutManager.getDrawingCache(), but it does not show any buttons. canvas.drawColor(...) howev...

How to download eclair sources with repo

hi ive tried both of the following: repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.1 repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair Both give the same: Getting repo ... from git://android.git.kernel.org/tools/repo.git fatal: The remote end hung up unexpectedly Any ideas ...

how to get the vertices from an android.graphics.Path

Have a question about Android "android.graphics.Path", I know how to create a Path from a set vertex points as float[], but could not find anyway to get back the array from the Path object. Is it possible? Thanks in advance. ...

Cheatsheet for Android programming?

Is there any cheat sheet available for Android programming. Most commonly used classes with package description, just like a reference sheet would be nice. ...

Java - copy Jar Folder

Hey Java - Developers Actually I am confronted with a Problem. I've got a ".apk-File" in one Package of my Application. apk is a kind of a jar File (apk = Android Package). I now want to copy this jar-file out of my Programm onto any other Location at the PC. Normally I would do this by using: FileInputStream is = new FileInputStream...

JQTouch android webView configuration

I'm developing an application which is mainly a webview and will display a JQTouch UI. Two of the 3 views work just fine, however, I have a view which loads another page with a form which does not work at all. This view loads up just fine but when I click the link to go to the form the link just stays highlighted and nothing happens. ...

Android: Statically link against libstdc++

Hi, my program compiles nicely for Android, however when I try to copy it to the Android emulator, it gives the following error: knight666@Katja-Linux /media/Data/Shared/Galaxians $ acpy Galaxians.android Filename: 'Galaxians.android' 819 KB/s (420657 bytes in 0.501s) link_image[1638]: 825 could not load needed library 'libstdc++.so....

Application lifecycle and onCreate method in the the android sdk

I slapped together a simple test application that has a button, and makes a noise when the user clicks on it. Here are it's method: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button b = (Button)findViewById(R.id.easy); b.setOnClickListen...

(re)mounting the SD card on android emulator

On the emulator, I can unmount the SD card from the Settings. I can then mount it on my OS, then unmount it normally. I haven't been able to figure out how to re-mount it then on the emulator (without rebooting it). hints: the adb command remount is unrelated: it's about /system the emulator command is unrelated: it's only about sta...

Has anyone ever tried to use DialerFilter?

DialerFilter, located in Android.widget has almost zero documentation. Has anyone tried to use it / knows what it does? ...

Android - where's code for Genie widget?

I've been looking all over http://android.git.kernel.org for Genie Widget code but unfortunately there's no top level search and lot of GITs to go through. If someone can point me to the right location I would really appreciate it. The Genie Widget is also known as News & Weather P.S. According to good folks from Android Developer forum...