[android-developers] writing file

2010-05-08 Thread pramod.deore
Hello I am reading one image and convert that image to Base64 format and write that to one txt file. But my code is not working properly. I had not get correct output .(txt file is not correctly written), Actually size of txt file has to be around 155kb but my txt file size is about 266kb. here

[android-developers] Re: AudioRecord Problem, please help!

2010-05-08 Thread ani
It is crashing in your NDK library. So you need to put logs in your NDK and check for any problems there. If it is crashing in Android Framework then people can help you in this forum. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Data readable by two apps

2010-05-08 Thread Viktor Linder
Hi! Is it possible to share files between two apps? My scenario is this: I want to create a free/demo version of my game and a complete version. The player should be able to play the free version, then upgrade to the complete and continue where the free version ended - ie. the complete version

[android-developers] External Fonts Make Low Memory Error

2010-05-08 Thread Sasikumar.S
Hi, - when i try to use external fonts in my app. Its crashing my app without any information. - In log cat it showed as *Low Memory . No More Background Process*. - I'm using 6 external fonts. Each exernal fonts containing more than 350KB. what's the problem with this? Any

[android-developers] Re: Intents problem

2010-05-08 Thread blew
You may want to update your intent with the latest app state just before the user leaves your application. That way your onResume will work with the most up-to-date intent: Either the one from updated by your widget or the one updated by your app itself. On May 8, 12:25 am, Esdras Beleza

[android-developers] Re: Some connectivity questions

2010-05-08 Thread Poqit
Yes, its a pain, isn't it. Go here, and 'star' it to move the feature request up the pile: http://code.google.com/p/android/issues/detail?id=6518can=1q=3G%20mobile%20Wi-Fi%20type%3DEnhancementcolspec=ID%20Type%20Status%20Owner%20Summary%20Stars There may be other similar enhancement requests. If

[android-developers] How to build default applications as a seperate

2010-05-08 Thread Karteek N
Hi , I download the android source code. From that i want to run phone application as seperate application. I coped the phone application from packages/apps/ folder and placed in my workspace. If i am trying to import it shows the following error *Android requires .class compatibility set to 5.0.

Re: [android-developers] Data readable by two apps

2010-05-08 Thread Mark Murphy
Viktor Linder wrote: Is it possible to share files between two apps? Yes, if they are signed by the same signing key and use the same user ID -- see the android:sharedUserId attribute of the manifest element: http://developer.android.com/guide/topics/manifest/manifest-element.html -- Mark

[android-developers] emulator: ERROR: unknown virtual device name: myavd

2010-05-08 Thread saikiran n
Hi, I installed android plugin and sdk for eclipse in my system which is having ubuntu. I created an evd name as myavd as target 1.6. It is successfully created.But when i want to launch it the following error it is displaying emulator: ERROR: unknown virtual device name: myavd Any help please

[android-developers] Custom Listview Background Focus State not working

2010-05-08 Thread Sasikumar.S
Hi, In my program i'm using custom listview. Each view contains a linearlayout. I set linear layout background using selector (using custom xml file) its working fine for default background state and selected state. But its now working for focus state. Any Suggestion ? -- Thanks Regards

[android-developers] AddProximityAlert Disappears Although Expiration -1

2010-05-08 Thread Prasanna Perera
Hello, I want my app to have a proximityAlert until the user removes it. I use expiration -1 to create this proximityAlert. The proximityAlert works. But I find on my Droid phone, after adding a proximityAlert and leaving the phone over night for charging, the proximityAlert does not work the

[android-developers] Re: aSmack library errors

2010-05-08 Thread rtreffer
Hi, On May 2, 12:44 am, Alex Hall mehg...@gmail.com wrote: Hi all, I am relatively new to android. As a project for the programming class I am in, we have to make an app in android, and, since I am blind, I am working on a simple messaging program which will work with speech and the vibrator

[android-developers] SQLite concurrent access best practices

2010-05-08 Thread Thierry Legras
Hi, I have an application with several tables, each being updated by AsyncTask fired by different Activities and used by UI with SimpleCursorAdapter. Though i am not developping a game, I would like to avoid to interrupt the user as mush as possible. Has SQLite is not multiaccess proof, what is

[android-developers] Graphic Designer looking for some android fun

2010-05-08 Thread rcdeck
Hello everyone, Just curious if there is anyone out there looking for a basic graphic designer. Not looking to do animations or anything, more along the lines of UI work, icons, etc... Please let me know if you are interested! Thanks -- You received this message because you are subscribed to

[android-developers] no such table: SFAndroid_PacoteVisita

2010-05-08 Thread Ray da Costa
Friends help one, someone knows why this error occurs, I am trying to save data in sqlite and is giving this error 05-08 00:28:22.265: ERROR/Database(1341): android.database.sqlite.SQLiteException: no such table: SFAndroid_PacoteVisita: , while compiling: INSERT INTO I'm trying to insert a list

Re: [android-developers] Re: Intents problem

2010-05-08 Thread Esdras Beleza
On 8 May 2010 05:39, blew pascal.jac...@gmail.com wrote: You may want to update your intent with the latest app state just before the user leaves your application. That way your onResume will work with the most up-to-date intent: Either the one from updated by your widget or the one updated

Re: [android-developers] no such table: SFAndroid_PacoteVisita

2010-05-08 Thread Mark Murphy
Ray da Costa wrote: Friends help one, someone knows why this error occurs, I am trying to save data in sqlite and is giving this error 05-08 00:28:22.265: ERROR/Database(1341): android.database.sqlite.SQLiteException: no such table: SFAndroid_PacoteVisita: , while compiling: INSERT INTO

Re: [android-developers] Re: Intents problem

2010-05-08 Thread Mark Murphy
Esdras Beleza wrote: I don't know if I understood your advice, but I tried some things like that. I tried to put new data into the intent (like a used flag) and updating the intent with setIntent(updatedIntent). I also tried to create an useless new intent and replace the application

[android-developers] incoming or outgoing call event

2010-05-08 Thread Nandan .
Hii friends i m trying to write a code when any one call me on my android phone after disconnecting call i want to send call information on any Sever. There is any callback function in android to handle that type of situation. yaa how can achive this in android. i can access call log but i want

Re: [android-developers] incoming or outgoing call event

2010-05-08 Thread Mark Murphy
Nandan . wrote: Hii friends i m trying to write a code when any one call me on my android phone after disconnecting call i want to send call information on any Sever. There is any callback function in android to handle that type of situation. yaa how can achive this in android. i can

[android-developers] On using themes?!

2010-05-08 Thread Mariano Kamp
Hi, I have trouble (examplehttp://groups.google.com/group/android-developers/browse_thread/thread/5b4ce3e49a1b63d2/) wrapping my head around styles/themes. Can somebody help me or point me to actual documentation? Let's say I have a drawable that I want to use as the background of a layout:

[android-developers] Best practice for sharing a SQLiteCursor from one Activity to another?

2010-05-08 Thread westmeadboy
In one activity I build a cursor which is used to populate a ListView. I want a secondary activity to be able to step through the cursor entries. What's the best way to do this (bearing in mind cursor lifecycle). I don't care if the the system kills and restarts the secondary activity since in

[android-developers] WYSIWYG Tool for Android

2010-05-08 Thread flumby
Is there any iPhone's Interface Builder style tool for WYSIWYG for Android? -- 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

[android-developers] Re: Android GPS app stopped unexpectedly

2010-05-08 Thread redders
Not sure if you've fixed this by now, but you need to declare that you're using the google maps library, or it doesn't like you. Put this in your application tag uses-library android:name=com.google.android.maps / On Apr 10, 10:13 am, bob crcowboy...@gmail.com wrote: This is my manifest file:

[android-developers] Re: WYSIWYG Tool for Android

2010-05-08 Thread polyclefsoftware
There's this: http://www.droiddraw.org/ On May 8, 11:15 am, flumby jay.mojni...@gmail.com wrote: Is there any iPhone's Interface Builder style tool for WYSIWYG for Android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Stopping other Activity from my Service..

2010-05-08 Thread Paul Turchenko
They restart the package On May 6, 4:16 pm, Carlos Silva r3...@r3pek.org wrote: 2010/5/6 Kostya Vasilyev kmans...@gmail.com If that were possible, it'd be a massive security hole. How does taskkillers (don't) work  then? -- You received this message because you are subscribed to the

[android-developers] Very weird problem !!

2010-05-08 Thread pawan nimje
Hi all, i have a listview [custom (2 textview and 1 image) ] and i have a filter(featues 1) for it i.e when i type a in a textview (other than the above 2 mentioned) the list contains only those name starting with a . and i also have ascending / descending (features 2) button which when

[android-developers] Re: Which device is best for testing development?

2010-05-08 Thread theSmith
The emulator is absolutely not good enough lol. Even with a high end computer it is still slower than an actual device (because its doing hardware emulation). If you want some serious performance out of your game then get a Nexus One, Droid or Incredible. Otherwise feel free to pick up whatever.

[android-developers] Re: Which device is best for testing development?

2010-05-08 Thread Maps.Huge.Info (Maps API Guru)
Right now, the Droid is probably the least expensive development phone you can get. There are hundreds available on e-Bay for around $250-300. One of the most popular devices out there now for Android is the Droid, so if you're going to develop for the masses, then the Droid (or the Milestone as a

[android-developers] ViewFlipper bug in APILevels7

2010-05-08 Thread szabolcs
Symptom: the ViewFlipper starts flipping views in an irregular pattern, much faster than the flipinterval set. Cause: calling stopFlipping() / startFlipping() successively in intervals less than the flipInterval results in the FLIP_MSG message being submitted in the ViewFlipper's handler

Re: [android-developers] Getting checked items from a listview of checkboxes

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 10:53 AM, Jaime joyx...@gmail.com wrote: getCheckedItemPositions() will get the positions but I can't figure out how to iterate over the listview to get the names. Your list view will be backed by some adapter, containing the information you're displaying (including the

Re: [android-developers] Need guidance for my first Android application

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 10:19 AM, jul juj...@gmail.com wrote: Hi, Hi I'm starting Android doing an application for searching restaurants, and some guidance would be welcome! OK! -Can I do everything in one single activity or should I do an activity for the search, one for the result

Re: [android-developers] Re: Starting a Mapactivity from a normal activity

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 9:24 AM, Josh joshd...@gmail.com wrote: I am having the same issue and the same amount of joy. Since you're having the same issue, I will give you the same response the OP got: What error do you get. Check the logcat for hints on what might be wrong. If you want a

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 2:28 AM, Lorents iva...@gmail.com wrote: @TreKing - Wow, this thread is really bugging you... Ha! The thread itself is not the problem - it's the flood of me too comments that were artificially inflating my RSS feed. I just can't help commenting on the absurdity of it

Re: [android-developers] Button click event not working 2.1

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 4:10 AM, MB eters...@gmail.com wrote: . Any help would be appreciated. You already asked this question and I responded. There's no need to double post. http://groups.google.com/group/android-beginners/browse_thread/thread/f7a8b928a399759e/11d0823d47815e5b

Re: [android-developers] Button in ListView Event

2010-05-08 Thread TreKing
On Wed, May 5, 2010 at 11:50 PM, Siow yys...@gmail.com wrote: below is my code, but have error, any one can help one it?? You want to tell us what the error is, or should we guess? - TreKing -

Re: [android-developers] mapview on the top part of the screen ?

2010-05-08 Thread TreKing
On Thu, May 6, 2010 at 7:14 PM, jgan jim@gmail.com wrote: Does anyone know how to put mapview on the top part of the screen? The map always occupies the whole screen and squeezes out the views below. Try setting the height to 0 and weight to 1. Then it should occupy all the space

Re: [android-developers] Which device is best for testing development?

2010-05-08 Thread TreKing
On Fri, May 7, 2010 at 1:14 AM, kevin0228ca kevin022...@gmail.com wrote: which phone is good for testing? or is emulator good enough? For development, the emulator should be good enough to make an app, though you'll definitely want to test it on devices. It's great to have a Droid or other

[android-developers] Java thread vs. native thread

2010-05-08 Thread ls02
Does anyone know how Java thread relates to Android native thread? Does it map one to one? -- 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

[android-developers] Re: Very weird problem !!

2010-05-08 Thread pawan nimje
Hi all, i have a listview [custom (2 textview and 1 image) ] and i have a filter(featues 1) for it i.e when i type a in a textview (other than the above 2 mentioned) the list contains only those name starting with a . and i also have ascending / descending (features 2) button which

[android-developers] Re: Best practice for sharing a SQLiteCursor from one Activity to another?

2010-05-08 Thread Senthil ACS
I remember there is an interface named CrossProcessCursor that implements Cursor. Specify this interface in your aidl interface method. On May 8, 7:21 pm, westmeadboy westmead...@yahoo.co.uk wrote: In one activity I build a cursor which is used to populate a ListView. I want a secondary

[android-developers] Re: SQLite concurrent access best practices

2010-05-08 Thread Senthil ACS
For insert() and update(), have it under synchronized blocks. On May 8, 5:40 pm, Thierry Legras tleg...@gmail.com wrote: Hi, I have an application with several tables, each being updated by AsyncTask fired by different Activities and used by UI with SimpleCursorAdapter. Though i am not

[android-developers] Re: Button in ListView Event

2010-05-08 Thread Senthil ACS
Dude.. In intent.setClass(), pass the first parameter as the activity context that, in this case, can be obtained by declaring a final variable outside the onClick() method so that it can be accessed inside. Second paramter must be the target classname dot class. (TargetClass.class) Modifying

[android-developers] Re: mapview on the top part of the screen ?

2010-05-08 Thread Senthil ACS
503 by 480 is huge. Try setting width as fill_parent and height as say 100dip. On May 7, 5:14 am, jgan jim@gmail.com wrote: Hi Does anyone know how to put mapview on the top part of the screen? The map always occupies the whole screen and squeezes out the views below. The explicitly