Re: [android-developers] BlueTooth Serial Communication

2011-02-22 Thread Sunil Lakhiyani
Go for android programming pro book or search online. Its a good start for this topic. On Feb 22, 2011 10:44 PM, "Anil Sasidharan" wrote: Hi, Look at RFCOMM sockets and BluetoothAdapter and related classes in Android. Warm Regards, Anil On Wed, Feb 23, 2011 at 5:52 AM, Alex M wrote: > > Hi

Re: [android-developers] Re: Which JSON Parser is better

2011-02-22 Thread Sunil Lakhiyani
Gson is batter than other one. For date : in gson convert it into miliseconds and than parse it. Store ms in long datatype On Feb 22, 2011 10:38 PM, "Manish Garg" wrote: I used gson and it was working fine but in some cases i got deserialization error or wrong format in case of stroing dates in

[android-developers] Re: Android Developers Group in Los Angeles/Ventura Area

2011-02-22 Thread Stephen Lebed
I'm in the Los Angeles area and willing to meet if anyone wants to form a group. Stephen Lebed Developer On Feb 19, 12:22 pm, Jay wrote: > Does anybody have any information on android developers group > (something similar to Java Users Group - for developers)  in Los > Angeles or Ventura area?

[android-developers] Re: Which JSON Parser is better

2011-02-22 Thread Manish Garg
I used gson and it was working fine but in some cases i got deserialization error or wrong format in case of stroing dates in long and then parsing them. Jackson doesn't give this error and solving my problem. Now I am bit confused which one i should used because size of jackson is more than gson a

Re: [android-developers] Re: How can i control room lights with my android phone :)

2011-02-22 Thread Robin Talwar
Thanks man I appreciate it On Mon, Feb 21, 2011 at 11:44 PM, Raivis wrote: > I suggest You to start almost from scratch, buy an arduino, build your > own circuit. Connect it to computer, then connect your android app > with computer which will control your lights. > Then you can make something

Re: [android-developers] BlueTooth Serial Communication

2011-02-22 Thread Anil Sasidharan
Hi, Look at RFCOMM sockets and BluetoothAdapter and related classes in Android. Warm Regards, Anil On Wed, Feb 23, 2011 at 5:52 AM, Alex M wrote: > Hi! I’m new to android J for forgive me dumb question > > Is there a tutorial on how I can establish serial communication w/ device > over Bluetoo

[android-developers] re: uploading files to web server working on .net using c#

2011-02-22 Thread vivin joy
Hi guys, i have an android app, which produces a XML string. i need to upload it to web server working on .net using C#. i tried sending it as a string but i got the error as SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server did not recogn

Re: [android-developers] memory limit of the clipboard in Honeycomb

2011-02-22 Thread Dianne Hackborn
The maximum IPC is 1MB, in practice you'll need to keep it below 500KB or so. On Tue, Feb 22, 2011 at 10:14 PM, Zhihong GUO wrote: > Hi All, > > what is the upper-limit of the memory of an object in clipboard, for > example, image. > > thanks a lot! > > James > > -- > You received this message b

[android-developers] Re: Beta Tester Infrastructure Project

2011-02-22 Thread metal mikey
It would be super handy, but before I enter anything into that form I'd like to be provided the option of 'not paying' and 'paying less than $1'. You should add an option to the 'Would you pay' input for '$0' and change (fix) the option for '> $1' to '< $1' On Feb 23, 10:02 am, Open wrote: > Over

[android-developers] Re: ndk-gdb on cygwin/windowsXP won't load symbol tables.

2011-02-22 Thread Dewr
Today, I deleted this line, but ndk-gdb still does the jobs well. > LOCAL_CFLAGS := -g #debug > On Wed, Feb 9, 2011 at 12:00 PM, Dewr wrote: > at before, I have put codes above of 'include $(CLEAR_VARS)' stupidly. > > > On Wed, Feb 9, 2011 at 11:15 AM, Dewr wrote: > >> I has done this job by e

[android-developers] memory limit of the clipboard in Honeycomb

2011-02-22 Thread Zhihong GUO
Hi All, what is the upper-limit of the memory of an object in clipboard, for example, image. thanks a lot! James -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] TextView adjusts, ImageView stays static when keyboard pops up - How To?

2011-02-22 Thread Matt M
Hello, I have a TextView on top of an ImageView. When the keyboard pops up I want the TextView to shrink and adjust to the keyboard popping up (like normal) but I want the ImageView to stay static, thus I do not want the image to shrink. I tried using android:windowSoftInputMode="statePan" manife

[android-developers] Re: Custom List layout with checkbox selection problem

2011-02-22 Thread cool.manish
Even if i maintain it by myself, i have to do same also in the list, for display purpose. There should be some other way. I have seen one property choice mode. I tried to set multiple choice in it. but it didn't work for me. On Feb 22, 8:36 pm, TreKing wrote: > On Tue, Feb 22, 2011 at 2:14 AM, co

[android-developers] App crashing with the exception View not attached to Window manager

2011-02-22 Thread Manish Garg
Hi, In my application, I am running custom progress bar at the time of data fetching(data is getting fetched using async task and progress bar is also getting started in the onpreExecute function of the asyncTask which is getting dismissed by onPostExecute) . If user change the orientation at the

Re: [android-developers] Question about intent filters for NFC tags (tech)

2011-02-22 Thread Nick Pelly
On Tue, Feb 22, 2011 at 6:50 PM, davemac wrote: > I'm reading the documentation on NFC tags and intent filters to match > on. For an action of ACTION_TECH_DISCOVERED, the intent filter must > list the technologies to match on, using a filter file. What I wanted > clarification on is whether or no

[android-developers] Re: animate part of the app widget

2011-02-22 Thread metal mikey
Refer to my posts on the following thread: http://groups.google.com/group/android-developers/browse_frm/thread/ef1eb3ddfd40153a/f0c68dee4e18d9c0 On Feb 22, 9:06 pm, Zhihong GUO wrote: > Hi all, > is it possible to animate part of an app widget? for example, there is a > text string, an image, an

[android-developers] How to force the data connection into DATA_ACTIVITY_DORMANT mode?

2011-02-22 Thread Shuo
Hi All, The TelephonyManager.getDataActivity() method can return a value "DATA_ACTIVITY_DORMANT" if "Data connection is active, but physical link is down". Is there a way to force the phone to go into this DATA_ACTIVITY_DORMANT mode? Thanks! -- You received this message because you are subscr

Re: [android-developers] NullPointerException when add resource file (styles.xml)

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 2:45 PM, morrizon wrote: > The error log: That does not appear to be the full log and, more importantly, shows nothing about a null pointer exception. - TreKing

Re: [android-developers] Question about "seasonal" apps

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 3:26 PM, Chris Stewart wrote: > My initial thought was that I'd need to create a new app in the Market each > season in order to charge for it again. Is that still the case or has that > changed since the fall? > You could use in-app billing to charge for the new content

Re: [android-developers] Rotate MyLocationOverlay by Compass (like in the new Google Maps)

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 3:40 AM, veit karl wrote: > is it possible to enable the map rotation like it is done in the new google > maps? > Possible? Yes. Possible *with the current Google Map API*? No. --

[android-developers] Re: Problem while creating a custom UI

2011-02-22 Thread Bilthon
If what you want is inflate a view from XML, you should try something like: public class BoardActivity extends Activity{ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState) Board boardVi

[android-developers] HTTPS response code returns -1

2011-02-22 Thread Jitesh dedhiya
Hi, I have two https requests which gets fired one after the other. whenever my first https request is fired it returns me th 200 response code. But as soon as second request is fired it returns me -1 response code within a fraction of milliseconds. Android version- 2.2 any idea guys..? --Jit

[android-developers] What are these interfaces?

2011-02-22 Thread Bilthon
Hi there, I've got a Samsung i7500 which I upgraded to the GAOSP-2-PUBLIC-BETA-3 custom rom. I've been trying some things out with the ifconfig and iwconfig that comes compiled with this great ROM and had s

[android-developers] Re: Getting video buffer from a video file

2011-02-22 Thread Stene
hi sogan, Thanks for your reply. Ok, Can you tell me how to extract video frames from video which is playing though mediaplayer. Thanks in advance. Stene On Feb 18, 12:51 pm, sogan xie wrote: > Hi Stene, > I don't know your question absolutely. But as i know, the framework doesn't > have any fun

[android-developers] Re: How can i control room lights with my android phone :)

2011-02-22 Thread metal mikey
On Feb 22, 12:26 am, Kostya Vasilyev wrote: > Yet another possibility is to use the phone to push the light switch. > > Works best with devices covered with soft plastic (won't slip). > > For increased distance, one could tie the phone to a broom with a shoe lace. > > ;-) > > -- Kostya Are you Ma

[android-developers] No space for this sql statement.

2011-02-22 Thread Nathan
I'm seeing this Reached MAX size for compiled-sql statement cache for database ""; i.e., NO space for this sql statement in cache: Please change your sql statements to use '?' for bindargs, instead of using actual values I would follow that advice, except for one simple fact, which I noted a yea

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread DanH
Hmmpff!! I made three attempts to post the "right" answer, but Google dumped them on the floor. If you want to know how to do it, contact me offline. On Feb 22, 8:06 pm, Damien Cooke wrote: > What I did was I created a patch file of sorts. I created a xml file that > had sql statements embedded

[android-developers] Question about intent filters for NFC tags (tech)

2011-02-22 Thread davemac
I'm reading the documentation on NFC tags and intent filters to match on. For an action of ACTION_TECH_DISCOVERED, the intent filter must list the technologies to match on, using a filter file. What I wanted clarification on is whether or not I need to also specify for example NfcA when I'm looking

[android-developers] Re: Android app download stats not updating

2011-02-22 Thread Peter Webb
The download stats are updated on average about once every 38 hours. They may be updated once or twice per Neptunian day, but definitely not per Earth day. On Feb 23, 10:05 am, Justin Anderson wrote: > The stats page only updates once or twice a day... > > On Sun, Feb 20, 2011 at 4:53 PM, patric

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread nation-x
JSON works good too. I have apps with 40,000+ items and I am n0ot caching them... I do realtime queries of the database on the server and return the results in a json file... it's not that slow especially if you are using threads and incrementally paging the results. It takes no time to pull enough

[android-developers] Re: Running multiple emulator instances on a single machine

2011-02-22 Thread davemac
See if you can spring for some more RAM. That will help a lot. Then make sure you kill anything you absolutely don't need running on the box at the same time. For example, you don't need Eclipse to start your emulator instances. You can simply run the "android" program from under the tools director

[android-developers] Re: WebView and Linear Layout

2011-02-22 Thread Craigbtx
This works for me at its simplest. http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> On Feb 19, 12:07 pm, Gareth wrote: > Hi all > > I am developing a web app for a table

Re: [android-developers] Why can't my app be searched in Android Market?

2011-02-22 Thread San Zhang
Hi sogan xie, The app uploaded successfully. I can search it in Chinese and download successfully. I am in China. And the app is multi-language with default language English. Also, I can seach it on google.com with same key words and get results from many sites, such as androidzoom, androidlib...,

[android-developers] Re: Incorrect RowId with SQLite using FTS3 on Android 2.2

2011-02-22 Thread Bret Foreman
According to my reading of the SQLite docs, the rowid is guaranteed to be monotonically increasing but NOT sequential. And I would be suspicious that your "export" is renumbering the rowids as part of the export process. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] App capable of uninstalling itself

2011-02-22 Thread TreKing
On Sun, Feb 20, 2011 at 11:26 AM, valton vanginault < vanginault.val...@gmail.com> wrote: > I'm just wondering is it even possible to create an app that > will automatically uninstall itself after a set period of time. > You can request it be uninstalled, but the user has to confirm. ---

Re: [android-developers] AlertDialog.Builder question

2011-02-22 Thread TreKing
On Tue, Feb 22, 2011 at 4:58 PM, dashman wrote: > i would like it displayed like a Table of content. > > Text left-justified and the page right-justified. > > any way to do that. > Not with the built in setItems function. You would have to add your own ListView with your layout and own adapter t

Re: [android-developers] Looking for help with something

2011-02-22 Thread TreKing
On Sat, Feb 19, 2011 at 6:10 PM, Mr. Wizard wrote: > Please email me p...@parad1se.net > > I need help compiling the sdk and using it to write my applications. > Are you serious? - TreKing

Re: [android-developers] ListView click events

2011-02-22 Thread Justin Anderson
Hi Nguyen, Just wanted to point out that the problem was not mine. I was answering the question of the original poster in a very broad, high-level sense. It wasn't a question... ;-) On Feb 22, 2011 4:11 PM, "Justin Anderson" wrote: > This is a side-effect of view recycling... You have to creat

Re: [android-developers] WebView and Linear Layout

2011-02-22 Thread TreKing
On Sat, Feb 19, 2011 at 12:07 PM, Gareth wrote: > If I then put the WebView in a Linear Layout on its own - the > application crashes on start up saying it was forced to close! > Debug your application and figure out why it's crashing. Then make it not do that! -

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread metal mikey
Pretty sure I tried the setInt(whatevz,"setAlpha",etc... technique when adding optional transparent backgrounds to one of my AppWidgets - didn't work. So I had to opt for making a copy of my base Layout for each background version. Pretty nasty stuff as I've now got 4 versions of base Layout to amm

Re: [android-developers] Updating SQLite from a webserver

2011-02-22 Thread Damien Cooke
What I did was I created a patch file of sorts. I created a xml file that had sql statements embedded. The file was versioned. This way I kept the on phone processing to a minimum. Damien. sent from my HTC Desire On 23/02/2011 9:42 AM, "feeder1803" wrote: Hi! I am starting to work with Android

[android-developers] Extended MapView

2011-02-22 Thread Sunil Lakhiyani
Hi All, I am creating custom Map view. But I am getting android.view.Inflateexception : Binary XML file line #10 at line #10 i put my custom mapview. Can any one help me? thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread DanH
Looks like my first two posts fell through the cracks. Create a journal of changes on the server. Each journal entry should essentially be the SQL needed to apply the associate insert/update/ delete. Timestamp each journal entry. When a phone syncs, have it pass the timestamp from it's previous

Re: [android-developers] out of memory error in android

2011-02-22 Thread TreKing
On Sat, Feb 19, 2011 at 3:12 AM, vijay kumar wrote: > mywebservice value is very long . > i am using dom parser for parsing the value while replacing the value I am > getting out of memory error > Don't use DOM for very large data. Try a pull parser.

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread DanH
Testing, 1, 2, 3 ... Is this mike working? On Feb 22, 9:47 am, feeder1803 wrote: > Hi! I am starting to work with Android and SQLite and I have some > doubts regarding the database update. I have a SQLite database in my > application with a supermarket catalog. As the catalog doesn't change > a l

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread DanH
(Actually, what I would be tempted to do is to essentially journal each update done to the master DB on the server. Ie, for each insert, update, or delete of the master copy I'd essentially capture the associated SQL query (though perhaps in some compressed form). Timestamp each such captured quer

Re: [android-developers] Connect WEB SQL SERVER 2005 Using WEB SERVICE

2011-02-22 Thread TreKing
On Sat, Feb 19, 2011 at 11:30 AM, Ankit Kasliwal < kasliwalankit2...@gmail.com> wrote: > Please help me in connecting web SQL server database using web service. > This has nothing to do with Android specifically. > if any one have a sample code please send me > No. > or guide me how i check

[android-developers] Auto complete Text View Doesn't Show Complete Text

2011-02-22 Thread ellison ye
Hi guys: How can I to deal with the problem auto complete text view doesn't show complete text ? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubsc

[android-developers] Re: Updating SQLite from a webserver

2011-02-22 Thread DanH
Well, you can download the whole database, or you can download just a "delta" and apply the changes. What was your question? On Feb 22, 9:47 am, feeder1803 wrote: > Hi! I am starting to work with Android and SQLite and I have some > doubts regarding the database update. I have a SQLite database

[android-developers] Re: Sqlite 3.7

2011-02-22 Thread DanH
Have you tried opening the DB with the sqlite3 command, either on the simulator/phone, or on a PC? >From code, have you tried listing out the tables in the DB? On Feb 19, 12:37 pm, Dan Smith wrote: > I am having a problem opening some sqlite DBs that were created > probably from HTC desire with

Re: [android-developers] Magazine publication

2011-02-22 Thread TreKing
On Fri, Feb 18, 2011 at 12:19 PM, xus wrote: > Do I have to pay a comission to google for this? http://developer.android.com/guide/market/billing/index.html - TreKing

[android-developers] BlueTooth Serial Communication

2011-02-22 Thread Alex M
Hi! I'm new to android J for forgive me dumb question Is there a tutorial on how I can establish serial communication w/ device over Bluetooth? TNX! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Korean Keyboard IME

2011-02-22 Thread Rick
Looking for a possible work around to the Korean Keyboard bug - or perhaps I'm not understanding the flow properly. A normal, English QWERTY keyboard will use the commitText(Char Seq...) method to handle keypressed events. It would seem the Korean keyboard provided by Google likes to send first a

Re: [android-developers] deploy upgrades for business applications

2011-02-22 Thread Marcin Orlowski
On 22 February 2011 10:36, simplyTom wrote: > 3. Is it possible to install the APK-File manually(see number 1) and > replacing parts of the installation with an own auto-updater-app? > I already implemented similar things for Windows Mobile and Symbian. > But on this platforms it is possible to

[android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread Jeffrey
That totally works! Thank you, you are a life saver. On Feb 22, 5:24 pm, YuviDroid wrote: > Since Android 2.2 the method setAlpha() of ImageViews has become > @RemoteViewable (or something like that, I don't remember that annotation). > So you can simply call RemoteViews.setInt (viewId, "setAlpha

Re: [android-developers] Re: Setting Alpha for an imageView in a homescreen widget

2011-02-22 Thread YuviDroid
Since Android 2.2 the method setAlpha() of ImageViews has become @RemoteViewable (or something like that, I don't remember that annotation). So you can simply call RemoteViews.setInt (viewId, "setAlpha", value). I haven't tried it myself, but I believe it should work.. On Tue, Feb 22, 2011 at 11:

Re: [android-developers] ListView click events

2011-02-22 Thread Justin Anderson
This is a side-effect of view recycling... You have to create some sort of caching mechanism. When your adapter's getVIew() method you then consult the cache and set the checkbox state accordingly. It is a bit of a pain, but as you said in your post... if you don't use view recycling then the per

Re: [android-developers] animate part of the app widget

2011-02-22 Thread Mark Murphy
On Tue, Feb 22, 2011 at 6:57 AM, Nguyen Dat wrote: > It is possible to animate part of an appWidget > Do you ever see HTC Widget Clock ? The HTC Sense clock is not an app widget. It is a feature of the home screen. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/common

Re: [android-developers] Regarding Home Screen

2011-02-22 Thread Justin Anderson
What? On Tue, Feb 22, 2011 at 6:42 AM, yogendra G wrote: > Hi, > > I Have and app created so i want how to arrange icons in home screen plz > let me kw wit bit of coding... > > Regrad, > Yogendra G > > -- > You received this message because you are subscribed to the Google > Groups "Android Deve

Re: [android-developers] Android app download stats not updating

2011-02-22 Thread Justin Anderson
The stats page only updates once or twice a day... On Sun, Feb 20, 2011 at 4:53 PM, patrickq wrote: > I just published a brand new app yesterday at midnight (Saturday, Feb > 19) - com.scanbizcards - and within an hour of submitting the app it > showed 20 downloads - and since then simply stopped

[android-developers] Adobe Air for Andoid App - Trouble Bringing App to Foreground (actionscript 3)

2011-02-22 Thread RJM
Hi All, I'm in the process of creating an Adobe Air for Android app and am having trouble bringing the app to the foreground in the Android system. Part of the functionality of the app is to set alarms, when an alarm sounds I want to wake the phone and bring the app to the foreground. I have tri

[android-developers] Question about "seasonal" apps

2011-02-22 Thread Chris Stewart
My main app is related to fantasy sports and so my plan has been to have the 1.x series of releases be for the 2010 season and have the 2.x releases for the 2011 season. I do intend to charge for the app for each season of use. My initial thought was that I'd need to create a new app in the Marke

Re: [android-developers] What name would get more attention

2011-02-22 Thread Harsh J
Hello, On Tue, Feb 22, 2011 at 7:52 AM, brian purgert wrote: > So basically my question is should i name my bike game;space bike which it > is currently or physics bike, or something else, i want people to see the > name and try is out of course > I suppose 'G-Bike' could be catchy enough. Name

[android-developers] Regarding Home Screen

2011-02-22 Thread yogendra G
Hi, I Have and app created so i want how to arrange icons in home screen plz let me kw wit bit of coding... Regrad, Yogendra G -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googleg

[android-developers] Network stack of android mobile phones

2011-02-22 Thread naresh maharaja
As you all know android is on linux based kernal 2.6,so can anybody know android network stack of android with reference to OSI layer? .where i can get detail abut this thing?. Regards, Naresh Kumar -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Low-latency audio- buffer callback

2011-02-22 Thread twiggle
Is there any support currently or forthcoming to provide an audio buffer callback for filling the audio buffers directly (with the ability to set buffer size to 1024 or 2048 bytes)? If support is not yet there any idea when it should be expected? I've followed this thread: http://code.google.co

Re: [android-developers] Camera takePicture: onPictureTaken() never called?

2011-02-22 Thread Ankit Kasliwal
Use this code private void takePicture() { mCamera.takePicture(null, null, photoCallback); } SurfaceHolder.Callback surfaceCallback=new SurfaceHolder.Callback() { public void surfaceCreated(SurfaceHolder holder) { mCamera=Camera.open(); try

Re: [android-developers] List View with multiple columns

2011-02-22 Thread Ankit Kasliwal
Using Compound view. for showing multiple column in listview On Wed, Feb 23, 2011 at 12:29 AM, TreKing wrote: > On Thu, Feb 17, 2011 at 1:47 PM, Ganesh VK wrote: > >> i am trying to add multiple columns ... will please help me out >> for the code.. > > > http://developer.android.com

[android-developers] Updating SQLite from a webserver

2011-02-22 Thread feeder1803
Hi! I am starting to work with Android and SQLite and I have some doubts regarding the database update. I have a SQLite database in my application with a supermarket catalog. As the catalog doesn't change a lot, I would like to update it from a webserver that I own. The problem is that I am not rea

[android-developers] Incorrect RowId with SQLite using FTS3 on Android 2.2

2011-02-22 Thread Joe
I am experiencing an incorrect rowid value with sqlite and fts3. Basically, the first two rows are inserted and the rowId is 1 and 2 respectively. The third insert however returns 4 instead of 3. I dropped the following log message in my contentprovider when inserting a row: SQLiteDatabase d

[android-developers] Active Activity after AsyncTask

2011-02-22 Thread Marta Rodriguez
Hi all, I have an Android application with 3 tabs. Eash tab have more than one view/Activity. Each Activity retrieves the data from Internet, so I do it in an AsyncTask. So, when the user selects a tab the data loads in the AsyncTask and it is displayed in a Listview. This works perfect. The prob

[android-developers] NullPointerException when add resource file (styles.xml)

2011-02-22 Thread morrizon
I have a dumb app with ArrayAdapter. All is ok but when I try add styles the app fail in onCreate with NullPointerException. The file added is: #008 The error log: ... E/AndroidRuntime( 741):at com.faiters.myapp.Home.onCreate(Ho

[android-developers] deploy upgrades for business applications

2011-02-22 Thread simplyTom
One of my clients want me to program an android app which is for internal use. But it should be possible to rollout updates as easy as possible and it should be as save as possible. 1. There is one obvious way: Setting the "allow manual installation of apk-file"-checkbox. But setting this checkbox

[android-developers] Re: Weird problems with soft keyboard for filtering list view

2011-02-22 Thread twofingers
Hello, I have exactly the same issue. Did anyone find a solution? Thanks in advance! Rafael On 3 Feb., 12:55, kordzik wrote: > Hi all, > > In my application I want to display a list of stuff and provide the > user with the ability to filter the list by using the soft keyboard. > To that end I

[android-developers] Problems with Calendar Provider queries

2011-02-22 Thread KT
Hi, I got problems dealing with Calendar Provider. If I try to i.e. get number of events at given day, the value I receive is incorrect. I do that this way: Calendar car = Calendar.getInstance(); Uri.Builder builder = Uri.parse("content://" + getCalendarAuthority() + "/instances/when/").buildUpon

[android-developers] nine patch image clipped along the borders

2011-02-22 Thread rahul titare
Hello, I have a nine patch image. Everything works fine i.e. draw9patch,selector etc But when actually seeing in device, the border of the background looks clipped from borders. And this behaviour is random i.e. sometimes left border goes off, sometime right,top etc I tried reducing transparent ar

[android-developers] android graphs

2011-02-22 Thread pravin
hi plz help to rendering the graphs. tanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr..

Re: [android-developers] animate part of the app widget

2011-02-22 Thread Nguyen Dat
Hi Zhihong It is possible to animate part of an appWidget Do you ever see HTC Widget Clock ? Due limited of RemoteViews provider by widget so limited about Animation on Widget Can your share your solution to solver this problem ? Regards, DatNQ On Tue, Feb 22, 2011 at 5:06 PM, Zhihong GUO wro

[android-developers] problem android and eclipse

2011-02-22 Thread salma dammak
I installed eclipse 3.6 (helios) and jdk 1.6.24 I installed ADT plugin in eclipse and I have configured up here is good, but when you start eclipse an error message appears: "failed to initialize Monitor thread: unable to ESTABLISH loopback connection" I searched the net too much, I could not get o

[android-developers] Graphical corruption upon setting Live wallpaper

2011-02-22 Thread Amit
Hello, If I set 'Live wallpaper' in background on LG P500 and launch my application after that pressing 'home icon' anywhere in application and again come back showing major graphical corruption at that point. This doesn't happen with 'Normal wallpaper'! Also, I cross checked with Samsung gt i

[android-developers] About Rendering

2011-02-22 Thread pravin mohol
How to do rendering in android. i mean i create one bar graph in android and i want user can see the graph by Zomming. plz replay. thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

Re: [android-developers] SQLite db shared between activities

2011-02-22 Thread Apoorva Moghey
I agree with Kostya. I used singleton pattern in my application. Initialize instance of db class in subclass of Application.Now i can use same object through out application. On Tue, Feb 22, 2011 at 4:16 PM, Kostya Vasilyev wrote: > 22.02.2011 13:32, ydm пишет: > > I'm curious why the SQLite db

[android-developers] Create a bitmap from a decoded pixel array

2011-02-22 Thread STN
Hi Folks, I am trying to figure out how to create a Bitmap from a pixel array of bytes representing pixel value. == Bitmap myBitmap = BitmapFactory.decodeByteArray (compressedByteArray, offset, compressedByteArray.length); Bitmap mBmap = Bi

[android-developers] error when Get Android Source Code

2011-02-22 Thread Nemo Chen
Hi i'm trying to get android source code using git & repo. After running repo sync for a long time it give me an error message: $repo sync Fetching projects: 100% (153/153), done. Syncing work tree: 55% (85/153) error: Untracked working tree file 'Android.mk' would be overwritten by merge. Synci

[android-developers] Create a bitmap from a decoded pixel array

2011-02-22 Thread STN
Hi Folks, I am trying to figure out how to create a Bitmap from a pixel array of bytes representing pixel value. == Bitmap myBitmap = BitmapFactory.decodeByteArray (pixelByteArray, offset, pixelByteArray.length); ==> return null

Re: [android-developers] Why can't my app be searched in Android Market?

2011-02-22 Thread sogan xie
Hi San, Did you upload your app to Android Market successfully? Or you can check your upload link. On Tue, Feb 22, 2011 at 4:33 PM, San Zhang wrote: > Hi all, > > My app can't be searched in English name recently. I have tried to search > it by both app name and key words but no result. It had c

[android-developers] Rotate MyLocationOverlay by Compass (like in the new Google Maps)

2011-02-22 Thread veit karl
hi there, is it possible to enable the map rotation like it is done in the new google maps? i looked everywhere but didn´t find anything :( thx veit -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Custom ListAdaptor Issues

2011-02-22 Thread Shane O'Reilly
Hey everyone, I'm a little stuck right now. i'm getting some funky errors when I try run my project. Basically what it's doing is pulling a number of entries from a DB and displaying them in a custom ListAdaptor. I'm getting "ArrayAdapter requires the resource ID to be a TextView" as a error Her

Re: [android-developers] [Widget][RemoteViews]How to implement Animation of Widget

2011-02-22 Thread Mark Murphy
App widgets are not designed to be animated, at least through Android 2.3 (I haven't gotten to the bottom of all the changes for Android 3.0). On Mon, Feb 21, 2011 at 7:56 AM, Nguyen Dat wrote: > Dear all > > I have issue with how to display animation on widget: My screen look like > that > > ★Ex

Re: [android-developers] recovery-package generator script

2011-02-22 Thread Mark Murphy
This has nothing to do with this list. Please visit http://source.android.com. On Mon, Feb 21, 2011 at 10:56 PM, seshagiri wrote: > Hi All, >   I have came across recovery module in android tree bootable/ > recovery. > > It seems that it is using a update.zip file which is available in the > sdca

Re: [android-developers] DownloadManager lack of functionality. Bug or intentional limitation?

2011-02-22 Thread Mark Murphy
On Mon, Feb 21, 2011 at 8:04 AM, Johan Alva wrote: > In gingerbread the public download api doesn't take care of duplicate > filenames and also no download directory is automatically created. Are > these behaviours intentional or just bugs? Most likely neither. Engineering time is finite and ther

Re: [android-developers] Change android status bar height

2011-02-22 Thread Mark Murphy
You cannot do this from the Android SDK. If you are referring to modifying the firmware, this is not the proper list -- visit http://source.android.com. On Sun, Feb 20, 2011 at 8:12 PM, Au Ian wrote: > Dear All, > Can any one tell me how to change the android status bar height as I > change my de

[android-developers] New added raw contacts are not shown

2011-02-22 Thread nick4cpp
The documentations states that when a new raw contact is added that is not automatically linked with an existed one, a new aggregate contact is created to put the new raw contact in. I started with the Sample Sync Adapter code and I developed an application that adds/updates raw contacts. The prob

[android-developers] recovery-package generator script

2011-02-22 Thread seshagiri
Hi All, I have came across recovery module in android tree bootable/ recovery. It seems that it is using a update.zip file which is available in the sdcard and update software of the phone. I have seen that almost all phones which are released in market are supporting this concept. My questio

[android-developers] Problems with Calendar Provider queries

2011-02-22 Thread KT
Hi, I got problems dealing with Calendar Provider. If I try to i.e. get number of events at given day, the value I receive is incorrect. I do that this way: Calendar car = Calendar.getInstance(); Uri.Builder builder = Uri.parse("content://" + getCalendarAuthority() + "/instances/when/").buildUpon

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread Nirav Parmar
Hi you can go to AVD manager --then edit AVD In skin there are many options in Built-in combobox.i prefer WVGA800.choose according to your need Nirav Parmar On Tue, Feb 22, 2011 at 12:59 PM, Sivaprakash < sivaprakashshanmu...@gmail.com> wrote: > Hi > > I have created an AVD emulator but I want to

Re: [android-developers] Re: Google Map Error

2011-02-22 Thread pravin mohol
change your workspace or change your plug-in..you will solve it. On Tue, Feb 22, 2011 at 1:35 PM, Nesim TUNÇ wrote: > I tried changed to Google Inc.:Google APIs:7 as my target platform in > default.properties file. Same error and plus layot files cannot show the > graphical ui, "Missing theme" e

Re: [android-developers] How to change the Width and Height of the AVD

2011-02-22 Thread pravin mohol
when you create new AVD you need to select size in drop down menu. On Tue, Feb 22, 2011 at 12:59 PM, Sivaprakash < sivaprakashshanmu...@gmail.com> wrote: > Hi > > I have created an AVD emulator but I want to change the Width and Height > because it is going to out my Laptop screen size. Any thoug

[android-developers] bluetooth / serial device

2011-02-22 Thread Richard
Hi, sorry if this has been asked already, I've tried searching, but didn't find an answer. I've not got an Andriod device yet, but I've tried developing a simple application which just shows Bluetooth devices, the emulator I'm using (within Eclipse) crashes any time I try to do anything with bluet

[android-developers] Memory usage between 2.2 and 2.3

2011-02-22 Thread haplo13
Hello, I am developing an app that contains many images. I have noticed that the memory usage of my app is quite a bit higher in Android 2.3 than in Android 2.2 - ultimately resulting in OutOfMemory errors while loading bitmaps. In researching this, I logged the result of Debug.getNativeHeapAlloc

  1   2   3   4   5   >