android

what is the review procedure for Android Market?

Can someone give info on the review procedure followed by Google to publish an App in Android Market. ...

bundle.putBoolean() bug?

I am putting together a bundle for an activity and sometimes my boolean isLiveis null. When I do the following. Bundle b = new Bundle(); b.putBoolean("isLive", isLive); The docs for the SDK clearly say both arguments are allowed to be null, however if isLive is null I get a NullPointerException have I found a bug in the SDK? ...

ContactManager Sample Code displays odd account

I created a project from the ContactManager sample code and installed it on my DX. When I click the account spinner, in addition to the 2 accounts I have on the device, it displays 33 seemingly random characters followed by "@random.svcmot.com". Does anyone know what this account is? ...

Other development platforms for iPhone

What do you guys think about other iPhone development platforms like appmobi, Rhomobile, Titanium, PhoneGap and others. I already have objective c/ iphone experience & some experience on Android. How will these platforms effect my performance in long run if I start using one of them. How customizable are they..? And which one of them d...

Android 2.2 (Froyo) SQLite missing some IN clause functionality?

Recently I updated my Nexus One to Froyo (2.2) and I've noticed some significantly different behavior with SQLite. For example, I had been using a subquery (returning string data) as part of an IN clause, and the subquery portion no longer appears to function correctly. I've attached an example SQL query working with the contacts databa...

My TextView is not appearing right aligned

I want priceText to be right aligned. It is appearing left aligned. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/stocks_gradient"> <TextView andr...

load an xml into the Class View

hi, I am new in android I have created 2 classes.first extends activity and 2nd extends View. I want to add buttons,image Views etc. into the second class....... how can I do this.....please help........... ...

Adding a new Button in android keyboard

I have used soft keyboard code in my application I want to add a new Button in Softkeyboard and call the new activity on it in which user can change the keyboard layout dynamically, I f u have some idea,then pls give me some guidance,Thanx in advance. ...

how to set position of icon in the alert dialog

How to set position of icon in the alert dialog? below is the code I am using... AlertDialog.Builder builder = new AlertDialog.Builder(context); builder.setIcon(int id); ...

How to make my layout able to scroll down?

I can not scroll down the screen to view the data in the Replyby section. How can I make my layout scrollable? ...

Getting Error "Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY"

I'm getting an error when trying to use an external jar file to access Forward facing camera in Android. But when we try to load, i get error ""Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY" on my console window of myeclipse. " when i saw a log file, the error was "unavailable shared library com.sprint.hardware.twinCamDevice...

Json Parsing in Android Application

Hi Team, After completing the XML SAX Parsing now I am working on JSON Parsing in my application. Here I am providing you the Json Response : {"menu": { "id": "file", "value": "File", "popup": { "menuitem": [ {"value": "New", "onclick": "CreateNewDoc()"}, ...

lock and unlock settings like wifi,vibration,etc.. after clicking on button.

how can we lock the current state of settings like wifi,gps,bluetooth,vibration,etc...after clicking on button1.and it should be unlock when button2 is pressed. ...

How to draw a View on a canvas by giving the x , y postion?

Hi All, How can i draw a view on a canvas by giving the x,y position in the canvas. For example, I have custom view myView, which was created by inflating one of my layout.xml file. Now i want to draw this myView on the canvas at position (x, y). How can i do that? Please help with your ideas. Thanks, Sen Updated: To be...

Want to know database behavior when Maximum cache size is exceeded.

After extensive use of Email database (there were more than 1000 mails), Email app crashed. If i come back to app again all mails started deleting automatically. The error logs obtained are as below. E/AndroidRuntime( 417): java.lang.OutOfMemoryError E/AndroidRuntime( 417): at java.lang.String.(String.java:468) E/AndroidRuntime( ...

Out of memory error when using Google Maps API

Hello, I have an application here that has a feature of showing a POI on the map. It's only one POI and it is only drawn when it's actually within the visible screen area. It works perfectly for a while but if I play around zooming in and out and dragging, it will eventually crash. According to Logcat, the reason is always an OutOfMemor...

Android Alarm Reminder

Hi, i have an app which is loading upcoming dates (like Birthdays) from an sqlight_db an showing it on an listview. That works fine. What I now want is to inform the user regular by an Alarm or Toast or something without starting the application.The User has the only option when to inform: on the same day or 1 day before and the time! H...

Why is Android Browser denying me permission to callback from OAuth?

I am trying to get OAuth working for a service provider website. Everything goes well with the authentication until the callback. It's actually calling back with the proper URL (the one I specified both on the provider's registration site as well as the call to provider.retrieveRequestToken() I am doing this: provider.retrieveRequestTo...

problem in getting gps coordinates in android 2.1(Found Answer)

I am having a problem in getting GPS coordinates in 2.1. The code i am using right now is working well in 1.6 but when i test this same apk in 1.6 device is showing null values plz help me to find a way to work with 2.1 devices also Here is my code... public class GpsLocator { private static String PROVIDER="gps"; private Loca...

how to create a new line in the same text view?

i think you may get the idea of wat i'm trying to do if you look at the code: here the complication is that i cannot create another textview for another line.... s8="hello"; t12=(TextView) findViewById(R.id.solid); t12.setText("check"+"/n"+s8); ...