[android-developers] Re: android bluetooth

2010-12-24 Thread Per
As far as I can see, Android does not currently support playing sound (beeps or other) through a mono (SCO) BT headset. I believe that BT stereo (A2DP) headsets work, though. Have not tried. You might want to check this thread for more info: http://code.google.com/p/android/issues/detail?id=7906

[android-developers] Re: Camera preview not restarting after picture taken

2010-12-24 Thread Stephen Lebed
Hi Mark, I've looked at your code, thanks for the link. In my app I'm using the new addcallbackwithbuffer and setpreviewcallbackwithbuffer methods. I'm using them to capture preview frames and process them. I think there may be a bug because the camera take picture routine is stalling. I

[android-developers] Re: JNI CallVoidMethod can t call

2010-12-24 Thread TobyKaos
Then I manage to do what I want by using obj in CallVoidMethod. I am sure to tried it before but debug is hard with JNI. -- 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

[android-developers] Re: call c++ function with jni and android ndk

2010-12-24 Thread Nightwolf
Enclose contents of your cpp with following #ifdef __cplusplus extern C { #endif your cpp functions #ifdef __cplusplus } #endif On 22 дек, 14:30, TobyKaos aubrun.thib...@chaos-interactive.com wrote: Hello, I first run samples found in androind ndk and I create my own in C. I successfully

Re: [android-developers] How to go to Home screen..?

2010-12-24 Thread Abhilash baddam
Hi swaroop, Here what you mentioned the class HomeScreen which is user defined class. I asked about Mobile HomeScreen. On Fri, Dec 24, 2010 at 1:24 PM, swaroop chandak swaroop.andr...@gmail.comwrote: Simple dude.. just call intent for this homescreen class.. like..

Re: [android-developers] How to use ndk to compile t emplate classes?

2010-12-24 Thread 赵杨阳
You can try to implement in a .cpp file and when you need to use the class, #include xxx.cpp? 2010/12/24 袁堂夫 yuantangf...@gmail.com As you know that template classes are implemented in the .h header files, and the ndk is not build the .h files. When the ndk link the obj files, it will

Re: [android-developers] How to use ndk to compile t emplate classes?

2010-12-24 Thread 袁堂夫
搞错了,ndk可以自动编译.h里面的代码的 2010/12/24 赵杨阳 angelbear198...@gmail.com: You can try to implement in a .cpp file and when you need to use the class, #include xxx.cpp? 2010/12/24 袁堂夫 yuantangf...@gmail.com As you know that template classes are implemented in the .h header files, and the ndk is not

[android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Pent
Intent homeIntent = new Intent( Intent.ACTION_MAIN ); homeIntent.addCategory( Intent.CATEGORY_HOME ); Pent On Dec 24, 7:51 am, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi friends,                When the user clicks on a button, I want to navigate the screen into Home

[android-developers] The default camera error

2010-12-24 Thread kong
I run the camera app on simulator.But it crash ,after I instead code with setEGLConfigChooser(5, 6, 5, 0, 0, 0) for GLRootView.java. It can work. But when I switch from camera model to video recorder.It crashed. How to fix it? 12-24 16:25:41.580: ERROR/audio_input(34): unsupported parameter: x-

[android-developers] Re: How to redirect GPS nmea from /dev/ttymxc to somewhere

2010-12-24 Thread nelsonchung
Dear Anil, I follow your comment to implement HAL. AP - LocationManager can read Location information now. Very appreciate for you help. I have another problem. How can I let GpsStatus.Listener() and GpsStatus.NmeaListener() work fine? I think I must implement something in HAL too, but I

Re: [android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Abhilash baddam
Thanks Pent, It's working fine. Thanks a lot. On Fri, Dec 24, 2010 at 2:32 PM, Pent tas...@dinglisch.net wrote: Intent homeIntent = new Intent( Intent.ACTION_MAIN ); homeIntent.addCategory( Intent.CATEGORY_HOME ); Pent On Dec 24, 7:51 am, Abhilash baddam

[android-developers] zoomSupported = false for android camera zooming.

2010-12-24 Thread Atik
Hi!11 i have camera ,which i have opened well , but onzoomclicklistener its giving error that 12-24 15:00:29.511: ERROR/AndroidRuntime(12320): java.lang.IllegalArgumentException: invalid zoom value=1 i have printed in log about the zoom supoort and its printing the log 12-24

[android-developers] Re: Database Remote Access

2010-12-24 Thread Federico Paolinelli
On 23 Dic, 23:48, kennedyximenes kennedy.xime...@gmail.com wrote: Hi, I am developing an Android App and I need to connect to read and retrieve data from a remote database. On the one side I have a SQL Server Database and on the other side I have my Android application. I would like a

[android-developers] Re: GK:How to set the FOCUS to my activity or listview

2010-12-24 Thread Ganesh Kumar R.
Hi Kindly some one add-on some suggestion for my query. thanks. ganesh r. On Dec 24, 1:46 pm, Ganesh Kumar R. ganesh...@gmail.com wrote: Hi all., Am facing one problem on my application. After i selected the contact it will show contact details.There i need by default my listview

[android-developers] loading xml items to an array not working... what is wrong with my code?

2010-12-24 Thread Mystique
Hi, I have a xml file call groups.xml. I want to read the value name and store in array lv_arrr and load it into an adapter: lv1.setAdapter(new ArrayAdapterString(this, R.layout.group_list, R.id.grouplist, lv_arrr)); The program crash during runtime. What did I do wrong in the code can anyone

Re: [android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Abhilash baddam
Hi pent, I am getting problem while using that. My problem is suppose i have 3 activities in my application.. for example i am in second activity in that activity i have one button when the user clicks on that activity i used ur code what u have sent. then the user is going to home

[android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Pent
That's the normal behaviour when you press the home key. To change it, you need to look at the flags set in your manifest for your various activities: http://developer.android.com/guide/topics/manifest/activity-element.html And possibly the flags you set when you launch those activities:

[android-developers] Re: android bluetooth

2010-12-24 Thread Indicator Veritatis
You are welcome. Now as for your handset beep: there is no API in the android.bluetooth packet for generating the headset beep on a remote device. The best you can hope for is that the headset manufacturer publishes a protocol for setting this using the RFCOMM a.k.a. SPP link to the device. But I

Re: [android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Abhilash baddam
Any help On Fri, Dec 24, 2010 at 3:48 PM, Pent tas...@dinglisch.net wrote: That's the normal behaviour when you press the home key. To change it, you need to look at the flags set in your manifest for your various activities:

[android-developers] Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread giuseppe
I'have this code public class DatabaseHelper extends SQLiteOpenHelper { public static final String DATABASE_NAME = prova; protected Context context; public DatabaseHelper(Context context) { super(context, DATABASE_NAME, null, 1);

[android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Pent
Well this one seems promising: android:finishOnTaskLaunch Whether or not an existing instance of the activity should be shut down (finished) whenever the user again launches its task (chooses the task on the home screen) — true if it should be shut down, and false if not. The default value is

[android-developers] Re: loading xml items to an array not working... what is wrong with my code?

2010-12-24 Thread Mystique
I think it is something to do with this. --- if (strName.equals(group)) { String Name = groups.getAttributeValue(null, name); lv_arrr[eventType] = Name; --- When I check, Name did contain the correct value. I remember array starts with [0] so I create another counter call i with i++ to

[android-developers] Re: How to detect when bluetooth is turned on by user?

2010-12-24 Thread Indicator Veritatis
Please read http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html and notice that getDefaultAdapter() returns a real Adapter only if Bluetooth support exists. If Bluetooth support exists, but is turned off, then getState() returns STATE_OFF. At least that is the way it

[android-developers] Intent filter question

2010-12-24 Thread Tor
Hello, Is it possible to act on specific data in an intent? (Say, if a URL matches a regular expression.) I am able to trigger my application when someone clicks on a URL, but I don't want the app to be in the browseable list unless a URL matches a regular expression, say. Any pointers? Kind

Re: [android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Abhilash baddam
Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly On Fri, Dec 24, 2010 at 4:10 PM, Pent tas...@dinglisch.net wrote: Well this one seems promising: android:finishOnTaskLaunch Whether or not an

[android-developers] Outgoing call states

2010-12-24 Thread viktor
Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE, CALL_STATE_OFFHOOK? I have an app that calls the special service numbers, if one of them is busy or no answer is need to try another one. -- You received this message because you

[android-developers] Re: How to go to Home screen..?

2010-12-24 Thread Pent
Means I have to change in manifest file ? i have to add android:finishOnTaskLaunch=true in manifest file? if u dont mind can u explain me clearly Yes, under each activity that you want to behave like that. Pent -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Intent filter question

2010-12-24 Thread Pent
On Dec 24, 11:25 am, Tor tor.hough...@gmail.com wrote: Hello, Is it possible to act on specific data in an intent? (Say, if a URL matches a regular expression.) I am able to trigger my application when someone clicks on a URL, but I don't want the app to be in the browseable list unless a

[android-developers] Database storage filling and securing

2010-12-24 Thread Nikola
Hi, I have large amount of data that I should query and display to user. What are recommended strategies for: 1) filling database (I would like to do it outside phone and just provided it somehow) 2) secure database so it isn't readable unless you are using app Thanks. -- God is Real,

[android-developers] Re: Outgoing call states

2010-12-24 Thread Pent
Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE, CALL_STATE_OFFHOOK? There's RINGING too :-) Pent -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Outgoing call states

2010-12-24 Thread viktor
Yes :), but I wrote what I catch. On 24 Грд, 14:33, Pent tas...@dinglisch.net wrote: Hi, Is it any additional listeners to listen call state such as BUSY, NO_ANSWER, I just have only CALL_STATE_IDLE, CALL_STATE_OFFHOOK? There's RINGING too :-) Pent -- You received this message because

Re: [android-developers] Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread Agus
use transactions, it will be much faster On Fri, Dec 24, 2010 at 5:39 AM, giuseppe giuma...@gmail.com wrote: I'have this code public class DatabaseHelper extends SQLiteOpenHelper {        public static final String DATABASE_NAME = prova;        protected Context context;        public

[android-developers] Problem with password based encryption of image files

2010-12-24 Thread Matthew Fleming
Hi, I'm trying to encrypt image files on Android with password based encryption. To save the encrypted image I just do this: FileOutputStream fos = new FileOutputStream(thumbnailFile); CipherOutputStream cos = new CipherOutputStream(fos, encryptCipher); Bitmap thumbnail =

[android-developers] Re: c2DM error when third-party server sends data to push

2010-12-24 Thread Nagaraj Ramarao
Can someone knowledgable with C2DM help me resolve this issue please. Thanks Nagaraj On Thu, Dec 23, 2010 at 10:20 AM, nagaraj nraj.tes...@gmail.com wrote: I am trying to push data from my server hosting a webservice but I get the following error: htmlhead meta http-equiv=content-type

[android-developers] Re: Problem with password based encryption of image files

2010-12-24 Thread Matthew Fleming
Also -- if I use NullCipher as the encyption and decription ciphers for Cipher(Output|Input)Stream, it works. Here's a theory: since PBEWithMD5AndDES uses CBC mode with PKCS5Padding, it could be that Bitmap.compress is flushing its OutputStream where it should not -- which would be at any point

[android-developers] Re: Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread giuseppe
Thank You for the answer. I'm new in android so can you explain to me with an example and some code? Thanks On 24 Dic, 14:15, Agus agus.sant...@gmail.com wrote: use transactions, it will be much faster On Fri, Dec 24, 2010 at 5:39 AM, giuseppe giuma...@gmail.com wrote: I'have this

[android-developers] Fill-remainder layout?

2010-12-24 Thread John Lussmyer
I'm used to Java Swing layout managers (especially GridBagLayout), and I haven't been able to figure out to do something relatively simple with the Android layouts. I want to have a bar of controls at the top, and another bar of controls at the bottom. Then I want to have an area in the middle

[android-developers] Re: Fill-remainder layout?

2010-12-24 Thread Pent
layout_weight=1.0 will cause the view to fill any remaining space. If the view in the middle might be bigger than the available space it will push the bottom row off however. There's a solution for that. Pent -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread DanH
If you're doing this to load up the DB, it's simpler/faster to just include the pre-built DB in your app and then copy it to the right place once installed. (Be sure to name it .jpg or some such if larger than 1M to avoid the compression mess.) On Dec 24, 4:39 am, giuseppe giuma...@gmail.com

Re: [android-developers] Fill-remainder layout?

2010-12-24 Thread Kostya Vasilyev
Here is a couple ways: 1 - RelativeLayout: RelativeLayout fill_parent, fill_parent LinearLayout id=@+id/top_bar layout_height=wrap_content *layout_alignParentTop=true* ... / LinearLayout id=@+id/bottom_bar layout_height=wrap_content *

Re: [android-developers] Re: Fill-remainder layout?

2010-12-24 Thread Kostya Vasilyev
24.12.2010 19:49, Pent пишет: If the view in the middle might be bigger than the available space it will push the bottom row off however. There's a solution for that. This case can be correctly handled by using a RelativeLayout, as I just described in my other message. -- Kostya Vasilyev --

[android-developers] Re: Image doesn't appear from sqlite

2010-12-24 Thread DanH
What's varying? The data won't be read back into the same address, but into a new byte array, and [...@ is just a byte array at a certain address. Dump a few bytes of the arrays (eg, first and last 10) so you can compare their contents. On Dec 22, 4:46 pm, Amiral 4mi...@gmail.com wrote:

[android-developers] Re: Cannot define a float as a resource?

2010-12-24 Thread DanH
You could always use floatToIntBits/intBitsToFloat. But keep in mind that the resources are actually char data anyway, and you might as well just use parseFloat on a String (though then you have to catch NumberFormatException). On Dec 23, 1:33 am, Zsolt Vasvari zvasv...@gmail.com wrote: Thanks,

[android-developers] Re: Image does't appear from sqlite

2010-12-24 Thread DanH
The addresses vary because they're different objects. You need to dump some of the actual byte arrays to see if they're different. You could even write code to compare input and output. On Dec 21, 6:40 pm, Muhammad Amiral 4mi...@gmail.com wrote: Hi all. I would like to save an image from

[android-developers] Opera callbacks

2010-12-24 Thread Julius Spencer
Hi, I have an application that takes the user to a service provider's website to perform a login as part of an oauth process. Some users are having problems using Opera Mini. It seems like it can't handle the response call back scheme. Chrome works well so, I was wondering if it's possible to

[android-developers] Re: UnsupportedOperationException: glGenFramebuffersOES

2010-12-24 Thread pedr0
Ok, but I can actually use GL20, thanks a lot for your help. On 23 Dic, 10:49, Igor Korobka igok...@gmail.com wrote: I'm not an expert in area of OpenGL on Android, but GLES11Ext. glGenFramebuffersOES(1,viewFramebuffer); doesn't work on NexusOne either. But the same action with the

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

2010-12-24 Thread DanH
JSON is blazingly simple. You can write your own parser in a day using about 600 lines of code. (Another 300 lines of code and maybe 3 hours to write the encoder end.) It should be possible to examine the versions you're considering and see which appears to be more professionally written and

[android-developers] Re: How to analyze native stack trace when application crashes ?

2010-12-24 Thread pedr0
I don't know if exists tools for what are you talking about, but I meet these errors type when I use OpenGL,which is native (no Java) and I try to pass it an null pointer/object. Check there types of situation can be right for solve problems. I hope I helped you! pedr0 On 23 Dic, 11:37,

Re: [android-developers] Re: Image doesn't appear from sqlite

2010-12-24 Thread Kostya Vasilyev
+0.02 - this code: public void insertlistNews(String city,*byte[] newsImageUrl*, String publishDate, String expiredDate){ [snip] + VALUES (' + city + ',*' + imageUrl + '*,' + publishDate+ ',' + expiredDate');); appends a byte[] to a String. This is the same as appending

[android-developers] Re: Split screen om android

2010-12-24 Thread Bob Kerns
Indeed, this is not the group for info about how to do this. However, before you go, I'd like you to minimize the set of changes you're thinking about. This group is about programming using the SDK, so I think it's appropriate to discuss what we SDK users would like to see. (Up to a point,

[android-developers] Recycling MotionEvents

2010-12-24 Thread Paul
Hi there. Have a custom gesture class that detects 'buildup' gestures for a drawing program. In the class, I test the current MotionEvent and in ACTION_MOVE, set a private field mCurEvent to the current event, process it and then set a private mPrevEvent to the same event so that on the next

Re: [android-developers] Re: Fill-remainder layout?

2010-12-24 Thread John Lussmyer
Thanks, I did finally get it done with a relative layout. The only problem I ran into was making sure there were no forward references in the id's. (Which is why your example had the middle layout at the bottom.) I was just trying to modify my existing layout, and it had the middle in the

Re: [android-developers] Re: loading xml items to an array not working... what is wrong with my code?

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 4:44 AM, Mystique joven.ch...@gmail.com wrote: Somehow lv_arrr still contain null. Why is that so? I don't know, but you can figure this out quite easily by stepping through your debugger or printing out the value of Name and the corresponding group in each iteration to

Re: [android-developers] Re: Fill-remainder layout?

2010-12-24 Thread Kostya Vasilyev
24.12.2010 20:54, John Lussmyer пишет: The only problem I ran into was making sure there were no forward references in the id's. (Which is why your example had the middle layout at the bottom.) I was just trying to modify my existing layout, and it had the middle in the middle! :-) I had

[android-developers] Re: Using Ant script '.apk' file is not getting created

2010-12-24 Thread Bob Kerns
I don't see anywhere that you're invoking the resource compiler, or including its output in the compilation. That's what the compiler is complaining about -- the 'R' class is defined by the resource compiler, and needs to be compiled together with the rest of the application. Instead, you're

[android-developers] draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread John Lussmyer
I just tried to use the draw9patch program, invoked via draw9patch.bat. It fails with: C:\Projects\android-sdk-windows\toolscall java -Djava.ext.dirs=lib\ -jar lib\dr aw9patch.jar Exception in thread AWT-EventQueue-0 java.lang.NoClassDefFoundError: org/jdesk top/swingworker/SwingWorker at

Re: [android-developers] draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread Kostya Vasilyev
The missing jar is a component of the Google Web Toolkit: http://code.google.com/webtoolkit/download.html Download the GWT SDK, extract the .zip file, grab gwt-dev.jar, and drop into android-sdk-windows\tools\lib. This didn't use to be necessary and only broke with the latest SDK release,

[android-developers] Demo vs Paid and that 15 minutes of refund policy

2010-12-24 Thread dipu
Now that the market refund policy has changed to 15 minutes, it has become more important to have a demo version for every paid app. What are the best practices to maintain a demo version for a paid app, specially when the development is done in Eclipse. I know that using ant build file lot of

[android-developers] Getting an ImageViews size before it's displayed

2010-12-24 Thread John Lussmyer
I'm building some parts of my UI dynamically, and really need to know an ImageView's size before it's painted on screen. How can I do this? My code currently does this: ImageView iv = new ImageView(this.getApplicationContext()); iv.setImageResource(R.drawable.icon);

[android-developers] Re: Demo vs Paid and that 15 minutes of refund policy

2010-12-24 Thread jtoolsdev
I used the emulator, CamStudio and made a video demo of my products and created a channel on YouTube. That may work better than a demo version depending on what your product does. Now the only problem is after supplying the link to the video (which the Market has an entry for) is waiting for

Re: [android-developers] Beginner type question on scope

2010-12-24 Thread Frank Weiss
What error does the compiler give? The code you posted appears to be missing a ; between score++ and break -- 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] Re: Intent filter question

2010-12-24 Thread Tor
On Dec 24, 1:28 pm, Pent tas...@dinglisch.net wrote: Intent matching is described here: http://developer.android.com/reference/android/content/IntentFilter.html I think this one from my manifest only matches paths ending in .prf.xml.  intent-filter                                    

Re: [android-developers] XmlSerializer issue

2010-12-24 Thread Frank Weiss
Eclipse has a Java debugger. Have you used it? In my experience, breakpointing and stepping through code is the best way to find out why code isn't working the way you expect it to. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Beginner type question on scope

2010-12-24 Thread DanH
Yep, you don't understand scope very well. It's a concept common to most modern languages, and one you need to understand to make any progress. Question: Can onClick see the variable scope that's defined in onCreate? If not, where could you define scope so that it would be seen in both

Re: [android-developers] How to detect click on complex images/polygons

2010-12-24 Thread Frank Weiss
The first thing that comes to mind is java.awt.Polygon.contains(). I've used it, but obviously with AWT and also with polygon data from http://www.census.gov/geo/www/cob/ One approach then would be to find a similar Android polygon class that can be used to draw and hit test your map and a way to

Re: [android-developers] Suggestions on sharing code between standard Java Android

2010-12-24 Thread Frank Weiss
I don't have actual experience doing this in Android, but I can offer some suggestions from general experience with Java and software archtecture. How much can you exploit MVC? What part of the code is the View? How much of the code is the Model? If a large part of the code is the Model, that is

Re: [android-developers] Re: My App should get information of every Http Get.

2010-12-24 Thread Frank Weiss
It's not possible from the SDK. You'll need to root the phone or run it on a Wifi network with a packet sniffer or proxy. -- 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] Re: Suggestions on sharing code between standard Java Android

2010-12-24 Thread DanH
I'd create a common CVS project and check it out into two different environments. It does take a little discipline to prevent the two copies from diverging, but if you check in/out on a regular schedule it should work. On Dec 23, 12:56 pm, Eric e...@alum.mit.edu wrote: We have a large, complex,

[android-developers] Did sensor orientation change in SDK 2.3?

2010-12-24 Thread greg
The following test was with Nexus S lying flat on table with display up. When running the ApiDemos/Sensor application in SDK 2.2, the red and green lines (i.e., x-axis accelerometer and y-axis accelerometer, respectively) are at the 0 g axis and the blue line (i.e., z-axis accelerometer) is at

[android-developers] Re: Did sensor orientation change in SDK 2.3?

2010-12-24 Thread greg
I meant to write, in SDK 2.3, the blue line is at the +1 g axis. On Dec 24, 5:02 pm, greg sep...@eduneer.com wrote: The following test was with Nexus S lying flat on table with display up. When running the ApiDemos/Sensor application in SDK 2.2, the red and green lines (i.e., x-axis

[android-developers] Re: Getting an ImageViews size before it's displayed

2010-12-24 Thread John Lussmyer
Ok, found it. I can use iv.getDrawable().getIntrinsicWidth() and height. On Fri, Dec 24, 2010 at 11:55 AM, John Lussmyer johnlussm...@gmail.comwrote: I'm building some parts of my UI dynamically, and really need to know an ImageView's size before it's painted on screen. How can I do this?

[android-developers] repeating a set of animation sequentially

2010-12-24 Thread John Lussmyer
I have a set of 3 animations that I want to play sequentially, and have them repeat. I can put them in an AnimationSet, and use a startOffset to start them all in the correct order - BUT they then each start repeating by their duration setting - so they end up running simultaneously after the

[android-developers] Developers near Orlando?

2010-12-24 Thread BobG
I asked this a couple months ago but didn't get much response. Hope you don't mind my asking if any developers near Orlando might want to 'collaborate' (that means help me debug my apps!) on a few projects? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: TCP Socket and Client within the Emulator

2010-12-24 Thread MrUmunhum
I too would be interested in this. On Dec 23, 5:27 am, CodeJunkie techarchit...@gmail.com wrote: I am trying to create a TCP Socketserver in the emulator and also create a client that will connect to it within the emulator. Should this still need Forwarding rules to be set. Please advise. --

[android-developers] Getting a strange MessageQueue warning w/ DefaultHttpClient in AsyncTask

2010-12-24 Thread Bret Foreman
I'm doing a set of HTTP posts (using DefaultHttpClient), each in its own AsyncTask. Functionally, it works fine but I'm getting the warning below in the log. This warning appears for each instance of the AsyncTask. I'm guessing that the HTTP Client in posting a message (to itself?), then the task

[android-developers] Re: XmlSerializer issue

2010-12-24 Thread Bret Foreman
Call XmlSerializer.flush() -- 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...@googlegroups.com

Re: [android-developers] MMS messages

2010-12-24 Thread Yves Liu
Thanks Kapil, but it is only for the permission, and I don't know how to register my class to monitor the incoming MMS. On Wed, Dec 22, 2010 at 9:59 PM, Kapil Lokhande kpl.lokha...@gmail.comwrote: see this http://developer.android.com/reference/android/Manifest.permission.html#RECEIVE_MMS

[android-developers] Basic String Array question :(

2010-12-24 Thread Mystique
Sorry, if this is too basic and not entirely Android.. but android is part java too, so I don't have to hop forum. I believe someone else might encounter this too. I'm putting some statement in the Android basically reading an xml file and cast the value into an array to be use as listview but I

[android-developers] Re: draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread Zsolt Vasvari
You need this file: swingworker http://code.google.com/p/dividere/downloads/detail?name=swing-worker-1.1.jarcan=2q= On Dec 25, 2:44 am, John Lussmyer johnlussm...@gmail.com wrote: I just tried to use the draw9patch program, invoked via draw9patch.bat. It fails with:

Re: [android-developers] Developers near Orlando?

2010-12-24 Thread Carol Bolger
I live west of Orlando and would not mind helping out. Just email me when you work out the specifics. carol.bol...@gmail.com Carol On Fri, Dec 24, 2010 at 10:37 PM, BobG bobgard...@aol.com wrote: I asked this a couple months ago but didn't get much response. Hope you don't mind my asking if

[android-developers] Help with animation

2010-12-24 Thread Zsolt Vasvari
I have a LinearLayout with 2 vertical components: View1 View2 I would like to smoothly animate-in View1. I am using the following animation: scale android:fromXScale=1.0 android:toXScale=1.0 android:fromYScale=0.0 android:toYScale=1.0 android:pivotX=0 android:pivotY=0

[android-developers] My game, what do you think help me out

2010-12-24 Thread brian purgert
So, I would like you guys to try out my app I just updated it, its called doodle bike. I figured you could help me alot more then the average users could. So tell me what you think about the tilting the physics, bike speed, levels style,art and everything. -- You received this message because

[android-developers] Re: LocationManager.KEY_PROXIMITY_ENTERING

2010-12-24 Thread Hendrik Greving
Still having this problem. Does entering false/true work for anybody? I yes, with what radius put in for the proximity alert? - Original Message - From: Hendrik Greving To: Android Developers Sent: Thursday, December 23, 2010 10:57 AM Subject:

Re: [android-developers] Basic String Array question :(

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 8:12 PM, Mystique joven.ch...@gmail.com wrote: String[] lv_arr; for(int i=1; i11; i++){ lv_arr[i] = hello; } When I toast the value of lv_arr[i] it is null. If this is your actual code, you need to initialize the array. String[] lv_arr =

Re: [android-developers] Demo vs Paid and that 15 minutes of refund policy

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 1:41 PM, dipu contac...@gmail.com wrote: What are the best practices to maintain a demo version for a paid app, specially when the development is done in Eclipse. Look into Android Library Projects. Also, although the Google Groups search sucks, try searching the

[android-developers] Job Opportunity/ Freelance Android Developer

2010-12-24 Thread argon gold
Hi Guys, If you got two years experience on Android and have completed one or more UI design projects and interested for full time job or freelance project. Send me your CV at argongol...@gmail.com. Regards, argongold -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Help with animation

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 8:18 PM, Zsolt Vasvari zvasv...@gmail.com wrote: How do I make it so View2 slide down smoothly? Animate it as well, with a Translation animation, perhaps? - TreKing

[android-developers] Re: Basic String Array question :(

2010-12-24 Thread Mystique
Dear King, array indexing is zero-based, so you would start your loop from 0 and go to 9 (where i   10) Right sir, I'm aware it's for illustration and I forgot to change it. You've initialized an array to exactly three elements. Anything after that This part is essential, if I do not know how

[android-developers] Re: Help with animation

2010-12-24 Thread Zsolt Vasvari
Really? That's the only way? Not very object oriented ... I can have any number of views under View2, they would all need to be translated. Seems very heavy handed. On Dec 25, 11:16 am, TreKing treking...@gmail.com wrote: On Fri, Dec 24, 2010 at 8:18 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

Re: [android-developers] Re: Basic String Array question :(

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 9:32 PM, Mystique joven.ch...@gmail.com wrote: This part is essential, if I do not know how many element I have then I cannot declare it predefine but declare array without value to be filled later. Then don't use an array - try ArrayList.

[android-developers]

2010-12-24 Thread saurabh sinha
Hi there is bitter truth behind christmas which I felt personally when jesus was on earth nobody cared him even he was punished by some bad people on cross sign including some innocent people but while dying he said to everyone I am dying for all of you and today everyone missing him its just a

Re: [android-developers] Re: Help with animation

2010-12-24 Thread TreKing
On Fri, Dec 24, 2010 at 9:45 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Really? That's the only way? Not very object oriented ... No idea if it's the only or even best option, honestly. Haven't done any animations, but AFAIK they don't actually modify the views, just how they're rendered. So

[android-developers] Re: Help with animation

2010-12-24 Thread Doug
I think View1 is always going to have an intrinsic height of its measured height for the layout. That is to say, an animation isn't going to change a view's measured height over time, it will just change the way it appears on screen over the duration of the animation. The mere presence of View1

[android-developers] Re: draw9patch fails because find_java fails because it can't find SwingWorker

2010-12-24 Thread Doug
Don't file a bug because there is already one open: http://code.google.com/p/android/issues/detail?id=12979 On Dec 24, 11:04 am, Kostya Vasilyev kmans...@gmail.com wrote: The missing jar is a component of the Google Web Toolkit: http://code.google.com/webtoolkit/download.html Download the

[android-developers] Re: Getting a strange MessageQueue warning w/ DefaultHttpClient in AsyncTask

2010-12-24 Thread Doug
I can't imagine that Apache HttpClient would be doing anything with Android handlers unless Google modified it to do so, unless maybe you are using AndroidHttpClient. Are you perhaps making any AsyncTask method calls inside some kind of asynchronous callback from HttpClient? Care to share any

[android-developers] Re: repeating a set of animation sequentially

2010-12-24 Thread Doug
On Dec 24, 2:33 pm, John Lussmyer johnlussm...@gmail.com wrote: Is there any way to create a list of animations that when they repeat - it repeats the list, not each individual animation? Use OnAnimationEnd to fire up the animation set again? Doug -- You received this message because you are

[android-developers] Re: Basic String Array question :(

2010-12-24 Thread Mystique
Tried ArrayList and it works! On Dec 25, 11:45 am, TreKing treking...@gmail.com wrote: On Fri, Dec 24, 2010 at 9:32 PM, Mystique joven.ch...@gmail.com wrote: This part is essential, if I do not know how many element I have then I cannot declare it predefine but declare array without value to

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

2010-12-24 Thread Jake Basile
The JSON library built into Android (org.json) should be more than efficient for your needs on a mobile device. If there are inefficiencies in it, they almost certainly won't be large enough to cause a visible slowdown in your app unless you are transmitting a drastic amount of information over

[android-developers] Re: Fill-remainder layout?

2010-12-24 Thread Doug
I really think what you're trying to do is most easily expressed as a LinearLayout (itself using width and height to fill parent) using the layout_weight property to make the middle view grab any extra space. If found that it's easy to go overboard with a verbose RelativeLayout when all that's

[android-developers] Re: Basic String Array question :(

2010-12-24 Thread DanH
Yeah, if you don't know the size in advance use ArrayList or Vector. On Dec 24, 9:32 pm, Mystique joven.ch...@gmail.com wrote: Dear King, array indexing is zero-based, so you would start your loop from 0 and go to 9 (where i   10) Right sir, I'm aware it's for illustration and I forgot to

  1   2   >