[android-beginners] Intent between 2 APK (different projects)?

2009-09-23 Thread Oskar
Hello, I have two different android projects and would like to communicate a data stream between those. Is this possible with intents? I can only find example code to communicate within the same project. I would appreciate if someone know where to find some example code. Thanks! /Oskar

[android-beginners] Possible to send object via intent extras?

2009-09-23 Thread Oskar
Hi, Is it possible to send an object via intent extras? I would like to send a pipeoutputstream to another APK (project via extra). Can I save an object to a bundle somehow? Regards, Oskar --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Intent between 2 APK (different projects)?

2009-09-23 Thread Oskar
Solved! On Sep 23, 8:08 am, Oskar cov.johans...@gmail.com wrote: Hello, I have two different android projects and would like to communicate a data stream between those. Is this possible with intents? I can only find example code to communicate within the same project. I would appreciate

[android-beginners] Re: Possible to send object via intent extras?

2009-09-23 Thread Mark Murphy
Is it possible to send an object via intent extras? I would like to send a pipeoutputstream to another APK (project via extra). That is not possible. Can I save an object to a bundle somehow? Only if you can make it implement Parcelable or Serializable. If you need to expose some sort of

[android-beginners] A problem about application die unexpected.

2009-09-23 Thread whitech
I've met this problem serveral times. When my application is running, some times it die unexpected. The logcat print the message below: (the application name is remove) 09-23 16:00:42.407: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-23 16:00:42.407:

[android-beginners] Phone call, recording

2009-09-23 Thread kiro
Hi! Did i can using my application record phone talk? b.c. usually activity at phone calling will be stopped(or paused) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] Re: Phone call, recording

2009-09-23 Thread kiro
I think there is no good, and =\ And how about NDK? On Sep 23, 12:07 pm, Mark Murphy mmur...@commonsware.com wrote: Did Android SDK 1.6 provide api to work with call stream? (incomming/ outcomming) Not that I have seen. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App

[android-beginners] Re: Phone call, recording

2009-09-23 Thread Mark Murphy
And how about NDK? That would be a good question to ask on the [android-ndk] Google Group. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: Phone call, recording

2009-09-23 Thread kiro
Good idea, thanks ;) On Sep 23, 1:03 pm, Mark Murphy mmur...@commonsware.com wrote: And how about NDK? That would be a good question to ask on the [android-ndk] Google Group. -- Mark Murphy (a Commons Guy)http://commonsware.com Android App Developer

[android-beginners] Utility class for database query

2009-09-23 Thread Sudeep Jha
Hi all, Can anybody suggest what functionality to provide in a query utility class/classes? The idea is to provide a database utility package for android developers. I just wanna do it for android community and of course for my learning.:-) Warm Regards, Sudeep

[android-beginners] How can the permission exception happens?

2009-09-23 Thread zhy
Hello everyone I modified the Launcher and did add the permisson uses-permission android:name=android.permission.BIND_APPWIDGET /. But after make, when I start the emulator there will be an exception told me that Bind_appwidget permisson should add. Can anyone help me. Thanks This is my

[android-beginners] Re: A problem about application die unexpected.

2009-09-23 Thread Jeffrey Blattman
someone can correct me if i am wrong, but i believe this is normal and expected. android will stop your process when memory becomes low. to verify this, put some debugging in your onPause(), onStop(), onDestroy() methods. if those are being called, it the OS stopping your process. On 9/23/09

[android-beginners] Re: Utility class for database query

2009-09-23 Thread Jeffrey Blattman
have you seen android.database.*? what would you provide on top of that? On 9/23/09 4:34 AM, Sudeep Jha wrote: Hi all, Can anybody suggest what functionality to provide in a query utility class/classes? The idea is to provide a database utility package for android developers. I just

[android-beginners] Sprite Type Images Guy

2009-09-23 Thread Evan Ruff
Hey Guys, I was wondering if there was any sort of sprite support built into Android? Currently, I've got TONS of tiny icon-ish files (40x100, 90x90) and it's taking up a considerable amount of space. The first set is around 272KB total and the second is 432KB. When I sprite and optimize the

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-23 Thread Glen Kimsey
Thanks for the reply. I think your suggestion of going binary is one of the better ones I had considered. Especially because I can avoid the parseFloat() calls altogether using this method. As for the quaternion vs axis/angle, I had thought I HAD to translate them originally (I found out later

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-23 Thread Glen Kimsey
Fadden, Sorry, I missed your reply when I responded to Bart! I tried to find significant ways that I could avoid allocation, but the StringTokenizer is the main thing that I'm calling 'new' on and I didn't see any way to avoid doing that for every line. Your suggestion of using regexs for a

[android-beginners] Syntax error with function

2009-09-23 Thread Nitin67
Hello, I am working with the softkeyboard example in the SDK and I can't get past an error. I want to use 2 public functions in the KeyboardView class. It finds getKeyboard(), but invalidateAllKeys(). I created the code below to show the problem. I am using 1.6 SDK. Any suggestions

[android-beginners] Re: Gallery View performance

2009-09-23 Thread MagouyaWare
Anyone? On Sep 21, 1:12 pm, MagouyaWare magouyaw...@gmail.com wrote: I have an application on the market (AppSwipe!) that displays three Gallery views with icons of running apps, recent apps, and running processes. I have subclassed Gallery and modified the onFling method to add in the

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-23 Thread fadden
On Sep 23, 8:49 am, Glen Kimsey gkim...@gmail.com wrote: I tried to find significant ways that I could avoid allocation, but the StringTokenizer is the main thing that I'm calling 'new' on and I didn't see any way to avoid doing that for every line.  Your suggestion of using regexs for a

[android-beginners] Re: Syntax error with function

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
Then probably you are not using 1.6 SDK, because invalidateAllKeys() is a level 4 API. I suggest you check Eclipse-Preferences-Android- SDK Location. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the

[android-beginners] How to start an Android project in Eclipse?

2009-09-23 Thread Jaakko
I tried to install Android in Eclipse. I followed instructions from the sites http://www.howtoforge.com/installing-google-android-sdk1.0-on-ubuntu8.04-desktop and http://developer.android.com/guide/tutorials/hello-world.html . Now, as I start Eclipse and an Android project, it says that An SDK

[android-beginners] Re: How does one change androids default language

2009-09-23 Thread EL BAKKALI
hi, how to change android default language to arabic language ? plz help me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: Failed to start monitoring

2009-09-23 Thread Terje Hitsoey
I do not know your problem.Send a message to your programmer.Nice day. 2009/9/23 Pruthvi Raj pruthvi...@gmail.com Hi,If i plug in my device its showing as Failed to start monitoring HT851GZ44724. But it was working fine i minute before. Can you please tell me what might be the problem. --

[android-beginners] Re: Android 1.6 SDK is here!

2009-09-23 Thread jpntiger
Just downloaded the 1.6 and followed the instructions on http://source.android.com/download. ... external/webkit/WebCore/dom/Range.cpp: In member function 'bool WebCore::Range::intersectsNode(WebCore::Node*, WebCore::ExceptionCode)': external/webkit/WebCore/dom/Range.cpp:560: warning: suggest

[android-beginners] EditText

2009-09-23 Thread Sven Mutscher
Hello, I have a problem using EditText. What I do is creating an instance using new (no xml configuration) and then draw it to my Canvas. What I do not understand is that nothing happens when clicking into the text box. Normally the focus is on the text box, I get a cursor and the virtual

[android-beginners] Unit Testing

2009-09-23 Thread Pan-Wei
Hi, Is there any tutorial on the instrumentation test framework, videos and stuff for 1.6? It would be nice if the tutorials make use of the Android Eclipse plugin. Cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: HelloAndroid app crashing

2009-09-23 Thread hjnorris
Go to Help - Software Updates and update the Android DDMS. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Audio Stream Processing

2009-09-23 Thread heteroskedasicity
I've browsed the audio API in search of functions that would allow me to process the audio data stream (that which ultimately reaches the sound jack) for purposes of signal processing such as equalization. I have been unable to find anything that would allow that. Is that due to my inexperience

[android-beginners] onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Android_n00b
Hi, I am new to Android, and am writing an app which has 2 EditTexts (Let's call them A and B) and whenever I hit any key in A, it is automatically copied to B. For example, if I type HELLO in A, it will copy each letter into B. I managed to get this to work perfectly with the setOnKeyListener().

[android-beginners] How to call built-in camera application from my app??

2009-09-23 Thread wahib
Hi !! I am a newbie and thinking about doing barcode scanning thing a little different way. I have tested a code which decode a stored image in res folder using zxing library. I am thinking to first call built- in camera app from my app in start, once the image of barcode is taken and stored in

[android-beginners] Re: EditText

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
Can you post the code you used to programmatically create an EditText ? The following code snippet in an activity does what you want it to do. EditText e = new EditText(this); ViewGroup.LayoutParams vw = new ViewGroup.LayoutParams (ViewGroup.LayoutParams.FILL_PARENT,

[android-beginners] Re: Scroll image like a WebView

2009-09-23 Thread jsera
The image is being dynamically created by the app, and so doesn't exist on the web. I don't need network connectivity, or the ability to parse HTML, so a full WebView is overkill. I just figure that since WebView has the scrolling functionality I want, and that it seems like that method of

[android-beginners] Sense UI

2009-09-23 Thread jpntiger wave
I was able to download and build a 1.6 version of Android. But the UI seems to be same as 1.5.I heard about Sense UI. Where do i get that UI?? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Sense UI

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
You can check out differences from 1.6 and 1.5 http://developer.android.com/sdk/api_diff/4/changes.html The platform highlights are here: http://developer.android.com/sdk/android-1.6-highlights.html Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions

[android-beginners] Re: Battery Usage Indicator API - JDK 1.6

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
I assume you mean Android SDK 1.6, not JDK 1.6. Thanks for sharing the information and you can check out a presentation made at Google I/O this year on Battery Life http://code.google.com/events/io/sessions/CodingLifeBatteryLife.html Balwinder Kaur Open Source Development Center ·T· · ·Mobile·

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Android_n00b
Thanks for the reply. If I type HELLO and hit the back button, only O gets copied into box B. It's weird. Here is the relevant part of my code: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-beginners] Re: Xzing Barcodescanner without Intent

2009-09-23 Thread Joe
So well, yess, people preffer using intents because it is much easier! but the google barcodescanner must be installed, otherwise you have to handle the exeptions (when you start the intent put it into a try and if it does not work let a dialog pop up or so...) and yesss, something you should

[android-beginners] Re: How to call built-in camera application from my app??

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
There are a lot of good tutorials/examples on the web on using Intents. If you post your code using Intents, someone will help you get started. If you are using Android, you should be familiar with Intents. Thanks, Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The

[android-beginners] Re: Sense UI

2009-09-23 Thread jpntiger wave
Thanks! Sense UI is not part of 1.6. So the question now is 'Where do i get the sense UI theme? Is it opensourced? thanks On Wed, Sep 23, 2009 at 12:57 PM, Balwinder Kaur (T-Mobile USA) balwinder.k...@t-mobile.com wrote: You can check out differences from 1.6 and 1.5

[android-beginners]

2009-09-23 Thread saurabh sinha
can anyone help me what is pendingIntent and its purpose and how it differ from intent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-23 Thread a1
Hi, As for the quaternion vs axis/angle, I had thought I HAD to translate them originally (I found out later with more research that I just had to use the more complicated matrix math rather than simple glrotate and gltranslate calls if I didn't).  I don't suppose you could direct me to a

[android-beginners] pendingIntent vs. Intent for Saurabh Sinha

2009-09-23 Thread Julie
You been asking this for MONTHS! With MANY emails!!! And multiple people helped you and answered you already. If you STILL don't know or haven't figure it out yet, why don't you just GOOGLE IT? The examples, difference, manuals and docs are there. You're just not getting it! -

[android-beginners] coarse versus fine location provider

2009-09-23 Thread jotobjects
The MapView demo application sets the ACCESS_COARSE_LOCATION permission for wifi or cell location. Should a MapView activity also set the ACCESS_FINE_LOCATION permission to enable GPS location providers or is that permission also implied by setting ACCESS_COARSE_LOCATION? If both permissions

[android-beginners] Re: Scroll image like a WebView

2009-09-23 Thread jsera
Scaling will not work, and yes, I need to scroll in both directions. This is for an Android port of Nethack: http://www.nethack.org/ For reference, here's an image of the WinCE port:

[android-beginners] Re: Scroll image like a WebView

2009-09-23 Thread Mark Murphy
Scaling will not work, and yes, I need to scroll in both directions. This is for an Android port of Nethack: http://www.nethack.org/ For reference, here's an image of the WinCE port:

[android-beginners] Re: Utility class for database query

2009-09-23 Thread Sudeep
Thanks Jefferey. I don't want to extend the android.database.* package but I just want to simplify it. The idea is to build a utility package to help developers for easier,faster and robust programming. On Sep 23, 7:00 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: have you seen

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
hmm..I don't know what is going in your environment. For me (using SDK 1.5) Your code as is, works too. When I hit the back button on the emulator, the virtual keyboard exits, HELLO gets copied to the EditTextA. Balwinder Kaur ·T· · ·Mobile· stick together The views, opinions and statements

[android-beginners] Empty EditText Causing force closes

2009-09-23 Thread Jeffrey
I'm trying to make an error message pop up if the user leaves an entry field blank instead of a force close. Right now I've got this: if (NumCanShootValue == null) { String Failure = Please Fill In required Fields.;