how can i write code for store image in sdcard ?
Hi Friends, I want to store image in sdcard using android coding,Anybody know the code for image store in sdcard using Android coding.. Thanks All ...
Hi Friends, I want to store image in sdcard using android coding,Anybody know the code for image store in sdcard using Android coding.. Thanks All ...
Hi Friends, I want to add scroll bar in gridview,How can i add scroll bar in grid view? ...
I have a a list view that shows: tag : 10 tagb : 20 When I click on an item, I get an Alert asking to change a value (EditText) I set the value and click ok How can I refresh the listview to show the change How can I manually change the row and put the new value there eg tagb : 122? BTW, The list of itemsand value comes from a resu...
I developing a system that consist of 2 units; 1 Android tablet and 1 iPhone. My users will have to identify themselfs to the Android tablet (this should be done as user-friendly as possible with as few steps as possible and in a secure manner, meaning it should not rely on gps that is not exact). I have looked at various techniques, but...
I dont have a real Android device so I'm using emulators for all my development for now, are mailto: web links really unsupported on Android devices 2.1 and below? 2.2 works, but every time I click a mailto: link on 1.6 or 2.1 even, I get an [unsupported action] dialog. Anybody with a real device want to test this out? ...
Hi, I am new to android kernel and Mobile Operating Systems and I have a few questions regarding android kernel. 1) Does Android OS has Kernel Mode and a User mode like Normal desktop OSs ? Also does it support things like Virtual Memory ? Also I heard about Dalvik VMM. Is a copy of dalvik VMM created for each and every process ? 2) A...
I'm trying to restore the background Color of a View. I have several selectable Views. When the user clicks one of those Views, the following code is executed and the View becomes Yellow: View newSelection, previousSelection; ... if(previousSelection != null) { previousSelection.setBackgroundColor(Color.BLACK); // problem here } ...
I have a ListView which uses cursor adapter to show the records from database. When a new records is inserted in database ,it works great and shows that entry on top of ListView on requery. Now I am facing problem when User scroll down the List, background thread call web service and brings old data. In this case when it does requery, ...
I have an application that receives information from a database, and is used to visualize 2D bitmaps onto a GLSurfaceView. The information received will determine the x-position of the bitmap, and which bitmap image to use (there are 4 different bitmaps in my res folder to choose from). Below are the three classes that are being used. ...
Say, I'm having a ContentProvider (which in fact do not performs database call) and I want to pass some additional data (for example, call statistics) with the cursor to the caller: public class SomeProvider extends ContentProvider { . . . public Cursor query(....) { // I can not set extras for cursor here ...
I am only a beginner to Android, but I have noticed a number of things that seem a little strange in the third notepad tutorial: The tutorial explicitly states that you need to call saveState from BOTH onSaveInstanceState and onPause. Is this really necessary? It seems to me from reading the process life-cycle documentation that onPaus...
This was working fine when I first started the project. I am referring to editing/adding to the strings.xml file. It used to display a design and XML tab that allowed me to update it. now its just showing up as a table. Any ideas? I don't understand how I could have messed this up. I did check in another project of mine and I am ge...
Hi, I'm relatively new to writing android apps and cant seem to get Linkify working with my EditText View. I have a very simple application I'm using to try out some features, auto linking text. It's a single Activity with a single multiline EditText View. I have enabled Linkify in the main.xml (android:autoLink="all") so that any web, ...
Hi, I am porting a VC++ application to android, and part of it requires using datatypes GUID. What would be a compatible type for Android NDK. I know Android provides support for UUID in Java framework, but I am interested in C/C++. Thanks! ...
Hello, I'm trying to create a date range to cover a full month, i.e. [startDate; endDate] As such, I have a reference date and try to create a new date from it. I'm having problem with the "endDate" because I want it to be near the end of the day (i.e. 23:59:59). The code I'm using is the following: public static Date previousMonth...
package com.example.helloandroid; import java.util.ArrayList; import java.util.Arrays; import android.app.TabActivity; import android.os.Bundle; import android.view.Window; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TabHost; public class HelloAndroid extends TabActivity { /** Called when ...
I populate ListView with data from a Sqlite database using custom CursorAdapter. When user moves away from my activity and comes back later I loose the position in my cursor and the ListView is positioned to the first item again. When skipping startManagingCursor() it works as expected. How do I work around this? Here is a code snippe...
First, I should mention that I am a beginner at Android development. I just bought a Samsung Vibrant and I'm trying to connect to it with adb. When I connect the phone and do a "adb devices" it didn't display anything. So, I checked device Manager and the phone was listed under disk drives. I tried downloading the adb driver for the ...
Im doing some research to build an iOS and Android app using titanium appcelerator. The only requirement I have not being able to confirm is the possibility to upload a photo directly to Amazon S3 in a way that is compatible with iOS and Android devices. ...
Hi, i am currently developing an app with the Andoid Maps SDK. Now i would like to get a notice if the user scrolls the map to load additional markers from a server based on the new map center. I already searched for a function to register a listener but i didn´t find anything. Is there any way to get informed about map center change...