I've upgraded to android sdk tools 12. As a release note google says:
The AVD manager and emulator can now use system images compiled for
ARM v7 and x86 CPUs.
Has anyone tried to run a x86 image? If so, can you provide some
instructions on how I can do it? Are there any 3.0+ images?
--
You
Hi,
I have written an aidl file in the path android/framwork/base/core/
java/com/, which has a import statement - import org.json.JSONObject.
But the build is failing with an error - 'couldn't find import for
class org.json.JSONObject'.
According to my study I found that for import statements in
Hi there,
Thanks for downloading the EDK, we hope you will find it useful. In
our 2011 Android products the deep integration of Timescape was
changed so that it is a standalone app, and in the same time we
decided to specialise Timescape a little bit more also. Therefore, the
email extensions
Hi,
I am glad you liked the article, Andreas has done a really great job.
I will forward your thoughts into the customer service organisation.
Thanks for letting us know.
Kind regards
/Johan
On Jul 6, 8:37 pm, Martin Sall maris.seiman...@gmail.com wrote:
Really nice article. It is great to
Bbbrrr, looks scary. I've been working extensively with GPS signal and
have been sending GPS coordinates to the emulator. The target AVDs I
created are version 2.1 (updated) and 2.2 and I've never faced any
issue. Some coordinates I worked with are:
geo fix 5.4780 51.4480
geo fix 9.9975 48.3945
The following, both in XML and code, work like a charm for me. Should
work for you also :-)
ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=wrap_content
LinearLayout
Hi,
There is other options as well -
You could use both of google native web based.
Other map provider libraries/api eg:
http://www.openstreetmap.org/
http://resources.arcgis.com/content/arcgis-android/api
plus the online offering from microsoft, ovi
If you follow the tutorial it should work like a charm. Probably the
paths you give in your commands are not correct. Have a closer look.
Try using absolute paths, instead of relative paths in your commands.
--
Ali Chousein
Geo-Filtered Assistant
Michael Roland mi.roland at gmail.com writes:
Hello Micheal,
I am trying to read data from a NfcB card but I get NoClassDefFound exception if
I try to get an object of NfcB using:
NfcB myTag = NfcB.get(t)
Can you please tell me how can read data from this type of card?
Also, is there any way to
On Jul 6, 5:36 pm, David Olsson zooklu...@gmail.com wrote:
Clean, refresh more times and test by creating a new copy of the
workspace. I have run into this problem several times, TheKing's
solution works most of the time but the latest time this happened to
me I had to create a new project
Do you need to display the webpage? Or you are just interested in the value
if the hidden input? How is the other value supposed to be sent back to the
server, is it via javascript, is it a html form or something else?
2011/7/6 sabanim rickd...@gmail.com
OK so it does not need to be webview but
But It doesn't display the screen that I display in the loop. I don't think
it had executed the loop part.
Mark
2011/7/6 saurabh chatterjee chattsaur...@gmail.com
may be your code is getting entangled in an infinite loop. have you
tried using break ?
On Jul 6, 4:51 pm, mark2011
Hi all!
I use the Google API in my app and I have a question about the logo on
the map. I don't modify it when I display the map, but If I display
the route between two points, I paint two buttons onto the map. One of
this buttons is drawn over the logo (left corner on the bottom of the
screen)
Based on what you've explained so far, I think you are running your loop
on the main (UI) thread, and are thus blocking it from doing anything
else, which includes updating the UI.
Have you read this:
http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html#Threads
This is probably an issue with the phone. I have the same model phone and
it's never worked for me either, on 2.0, 2.2 or 2.3.3.
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of Guye
Sent: Wednesday, July 06, 2011 2:44
On Tue, Jul 5, 2011 at 9:06 PM, Bruno Vinicius
bruno.vinicius...@gmail.com wrote:
Hi,
I've been using annotations on a Android project for a parsing XML
data into a VO object, and I came to notice that retrieving Annotation
info from a class or field is very slow. On a 1k iterations loop it
hi all ,
i want to know how to get my mobile servie provider using android
code ?
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 unsubscribe from
@ Kostya
I don't think it's that. It worked with that title after we published
it and up to this week.
Manuel
On Jul 7, 12:26 am, Kostya Vasilyev kmans...@gmail.com wrote:
I don't see it from my devices either.
Might this be caused by the single quote or the vertical bar in the name?
--
Hi,
I am trying to work with Accelerometer Sensor. So i tried this
example:
http://blog.androgames.net/85/android-accelerometer-tutorial/
It work perfectly.
But when i change AccelerometerManager activity to a service, it
doesn't work and i got an error.
//this is the activity that i want
Well could you post the error?
Also did you change the activity declaration in your manifest to declare a
service?
The class you posted is also extending activity, not service.
On Thu, Jul 7, 2011 at 2:35 PM, souissi haythem haythe...@gmail.com wrote:
Hi,
I am trying to work with
Take a look at
http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName()
On Thu, Jul 7, 2011 at 2:16 PM, Ahmed Shoeib
ahmedelsayed.sho...@gmail.comwrote:
hi all ,
i want to know how to get my mobile servie provider using android
code ?
And what is the error?
2011/7/7 souissi haythem haythe...@gmail.com
Hi,
I am trying to work with Accelerometer Sensor. So i tried this
example:
http://blog.androgames.net/85/android-accelerometer-tutorial/
It work perfectly.
But when i change AccelerometerManager activity to a service,
thanks for reply
i tested this code
TelephonyManager telephonyManager =((TelephonyManager)
context.getSystemService(Context.TELEPHONY_SERVICE));
String operatorName =
telephonyManager.getNetworkOperatorName();
Log.e(service provider , operatorName);
and the output in simulator
Yes that is correct. The emulator has no actual network and uses Android as
its carrier name.
On Thu, Jul 7, 2011 at 3:23 PM, Ahmed Shoeib
ahmedelsayed.sho...@gmail.comwrote:
thanks for reply
i tested this code
TelephonyManager telephonyManager =((TelephonyManager)
Hi
all is there any way we can our own voice for the button click . I want some
.mp3 file to be played when a button is clicked . Can anyone please help me
do it ?
--
ThanksRegards
Kaushik Pendurthi
http://kaushikpendurthi.blogspot.com/
--
You received this message because you are
This is a fine question to ask your attorney.
On Thu, Jul 7, 2011 at 4:18 AM, Fina Perez fina.pere...@gmail.com wrote:
Hi all!
I use the Google API in my app and I have a question about the logo on
the map. I don't modify it when I display the map, but If I display
the route between two
Visit http://source.android.com for assistance in building your custom
firmware. This list is for Android SDK development.
On Thu, Jul 7, 2011 at 2:41 AM, rashmi rashmi@gmail.com wrote:
Hi,
I have written an aidl file in the path android/framwork/base/core/
java/com/, which has a import
You are not informed of when the user force-stops your application.
And you have no way to remove app widgets from the home screen.
On Tue, Jul 5, 2011 at 1:38 PM, Marcos Fábio mfpere...@gmail.com wrote:
Hi All,
I'm trying to close (remove from home) my AppWidget when the user goes
to
Just in case, I moved the buttons to the top of the screen, so the
logo is always visible. But, yes...I guess the one with the best
answer is a lawyer
On Jul 7, 12:16 pm, Mark Murphy mmur...@commonsware.com wrote:
This is a fine question to ask your attorney.
On Thu, Jul 7, 2011 at 4:18
Hello All,
Am in the middle of implementing one application which includes dictionary
feature(English).
Can anyone help me in finding a dictionary database for my application?
Thanks in Advance
Aditya.
--
You received this message because you are subscribed to the Google
Groups Android
Thnx, that was helpfull, I managed to do it. :)
On Jul 5, 7:25 pm, TreKing treking...@gmail.com wrote:
On Tue, Jul 5, 2011 at 8:51 AM, MG matic.goropev...@gmail.com wrote:
I want this TextView to have semi-transparent background and rounded edges.
How would I accomplish this?
Hi!
I have a problem. I am developing an app where I get some message
(html text) and display it in TextView. Comunication is based on JADE
and JADE-Android, but problem is not here. I can send and recieve
messages OK.
I need my TextView to disapear after some time (let say 10s) if there
is no new
Hi,
Just want to know that how to record incoming and outgoing calls on
wide varity of devices?
I am using the mediarecorder and with this i am able to record
incoming and outgoing calls with sony xperia x10 mini.
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);
and same code
Use removeCallbacks() to get rid of your posted Runnable when it is no
longer valid, and schedule a fresh one.
On Thu, Jul 7, 2011 at 7:37 AM, MG matic.goropev...@gmail.com wrote:
Hi!
I have a problem. I am developing an app where I get some message
(html text) and display it in TextView.
Hi all
I wrote an app that gets and displays your location on a map. I am using the
Google Maps service to render the map. The app has been live for less than
two hours and I have received 33 crash reports (using ACRA).
I have been able to recreate the problem. The app works fine if the GPS is
add the launcher intent filter in your activity which receive broadcast
notifications...
--
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
Adapter always accept a String array or a List not just String . So your
String items=--- must be like
String[] items={ m_addItemText.getText().toString()};
Enjoy and never forget to say '*Jai Hind*'.
--
You received this message because you are subscribed to the Google
Groups Android
My activity has android:windowSoftInputMode=adjustResize and, in
2.1, the softKeyboard will resize the layout accordingly. In 3.1,
however, I have not been able to get the same behavior: the soft
keyboard will push EditText views, but not Button views.
Same behavior on both the 10 inch Galaxy
How are you getting that Location that is null?
On Thu, Jul 7, 2011 at 8:18 AM, Raghav Sood raghavs...@gmail.com wrote:
Hi all
I wrote an app that gets and displays your location on a map. I am using the
Google Maps service to render the map. The app has been live for less than
two hours and
HI
just do following:
Create an ArrayList say list
when Add button is click
call list.add(editext content);
and then create An ArrayAdapter with items taken from list
then call spinner.setAdapter...
For Clear
call list.clear();
and then create An ArrayAdapter with items taken from list
then call
On Thu, Jul 7, 2011 at 8:32 AM, Bogdan Muresan hy.yours...@gmail.comwrote:
I've upgraded to android sdk tools 12. As a release note google says:
The AVD manager and emulator can now use system images compiled for
ARM v7 and x86 CPUs.
Has anyone tried to run a x86 image? If so, can you
http://www.google.com/support/androidmarket/developer/bin/static.py?page=known_issues.cs
See Can't Find App (and Applications Missing From Android Market -
though not exactly your use case). These reeks of another Android Market
Screw Up™
Exactly my point. When the GPS is on it returns null for the location, but
if the GPS is off then the cell phone tower location works fine. Is there
any way that I can set my app to triangulate using only the cellphone
network?
Thanks
On Thu, Jul 7, 2011 at 5:58 PM, Mark Murphy
On Thu, Jul 7, 2011 at 5:06 AM, kaushik p kaushiks...@gmail.com wrote:
I want some .mp3 file to be played when a button is clicked . Can anyone
please help me do it ?
What have you tried so far?
On Thu, Jul 7, 2011 at 5:46 AM, Aditya dabhaga...@gmail.com wrote:
Can anyone help me in finding a dictionary database for my application?
What help do you want, besides the obvious of searching the internets, which
you can obviously do for yourself?
In brief, Mark wanted to see the code of the null Location acquisition using
GPS.
2011/7/7 Raghav Sood raghavs...@gmail.com
Exactly my point. When the GPS is on it returns null for the location, but
if the GPS is off then the cell phone tower location works fine. Is there
any way that I can
On Thu, Jul 7, 2011 at 7:18 AM, Raghav Sood raghavs...@gmail.com wrote:
Does anyone know what could be causing this and how to fix it?
Are you waiting for the GPS to actually report that it found a valid
location ... ?
@TreKing
Thank you for the reply. Interesting read, but doesn't apply in my
case.
In the meantime also sent an email to Android market support, maybe
they have a explanation.
Manuel
On Jul 7, 2:45 pm, TreKing treking...@gmail.com wrote:
Hi every one,
im developing one program for android gridview and displaying
images from getting images in sdcard and displayed. when i click one
image need to add one images in that gridview child. its working
fine.. bit my problem is when im scrolling down the un selected images
was
Hi folks,
why there is no a way to poll or peek the message from the event queue?
I want it to implement the break for the routine running on the UI thread.
private void longRoutine() {
while (flag){
if (queue.peekMessage() != null) {
return;
}
whatever the code
Solved.
Created new Runnable with t.setVisibility(4). Then as suggested, added
removeCallbacks() and it works perfectly.
Thank you!
M
On Jul 7, 1:55 pm, Mark Murphy mmur...@commonsware.com wrote:
Use removeCallbacks() to get rid of your posted Runnable when it is no
longer valid, and schedule
On Thu, Jul 7, 2011 at 9:11 AM, andrei-dmitriev
andrei-dmitr...@yandex.ru wrote:
why there is no a way to poll or peek the message from the event queue?
I want it to implement the break for the routine running on the UI thread.
private void longRoutine() {
while (flag){
if
On Thu, Jul 7, 2011 at 9:16 AM, MG matic.goropev...@gmail.com wrote:
Solved.
Created new Runnable with t.setVisibility(4). Then as suggested, added
removeCallbacks() and it works perfectly.
It would be even better if you called setVisibility(View.INVISIBLE),
rather than hard-coding in some
On Thu, Jul 7, 2011 at 9:28 AM, Raghav Sood raghavs...@gmail.com wrote:
I have a app that triangulates the users location and displays it on a map
without using the GPS. As long as the GPS is off the app does its job
perfectly. The moment someone turns the GPS on the app force closes and
gives
On Thu, Jul 7, 2011 at 8:28 AM, Raghav Sood raghavs...@gmail.com wrote:
I would like this group's help on the fact as to why the app force closes
when the GPS is turned on and how do I fix it. The app does not use the GPS
at all.
Are you sure about that? When GPS is on, what does
I am aware of the last know location returning null. As for my code using
GPS, the book that I learnt geo services said that this shouldn't happen.
Seems they were wrong.
Coming back to the point. Is there any way to make sure that the app does
not use GPS? That is even if GPS is on the app only
@TreKing: getBestProvider(); returns GPS but as my app is perfectly
functional without the GPS I would like to use the cell network even when
GPS is available. Is there any way to do so?
Thanks
On Thu, Jul 7, 2011 at 7:13 PM, Raghav Sood raghavs...@gmail.com wrote:
I am aware of the last know
On Thu, Jul 7, 2011 at 9:43 AM, Raghav Sood raghavs...@gmail.com wrote:
Coming back to the point. Is there any way to make sure that the app does
not use GPS? That is even if GPS is on the app only uses the cell network?
The whole point of my app was to provide the location without the GPS
On Thu, Jul 7, 2011 at 8:47 AM, Mark Murphy mmur...@commonsware.com wrote:
Don't use Criteria. Use LocationManager.NETWORK_PROVIDER.
To add to this, this is because by using Criteria and, more importantly,
specifying ACCURACY_FINE and POWER_HIGH, you are pretty much saying gimme
GPS if
I'm just wondering if anyone else is seeing this
There's still something strange going on in the Market, and it is a bit
too much a a coincidence to believe.
For the last several days, EVERY time my total installs goes up by some
number (regardless of what that number is), active installs
Thanks Fred, very well said
Rgds,
-Saurabh
..pain is temporary.quitting lasts forever..
On Wed, Jul 6, 2011 at 8:59 PM, Fred Niggle fred.nig...@googlemail.comwrote:
Hello.
Try to drop the windows mindset when coding for android, in Linux
there is no such thing as a dll (as for as I
Thanks Mark, TreKing and Filip. The problems gone away and will not be
coming back. LocationManager.NETWORK_PROVIDER works like a charm.
Thanks
On Thu, Jul 7, 2011 at 7:32 PM, TreKing treking...@gmail.com wrote:
On Thu, Jul 7, 2011 at 8:47 AM, Mark Murphy mmur...@commonsware.comwrote:
Don't
Hi
Is there a way/any android api which can give us the system configuration(hw
configuration -memory, cpu config, speed, processor version and other
accelerator information) or do we have to log cat the /proc/meminfo and
/proc/cpuinfo into the file in c fucntion and dump the file to the android
Hello,
I am trying to share a message with Facebook to be posted on my
facebook wall. I am using the following code, but it gets stuck off
at
http://m.facebook.com/sharer.php?u=
Code:
private void openFaceBook(){
Intent facebookIntent = new Intent(Intent.ACTION_SEND);
Hi,
In a project that i'm working, in some point of development
i found this Exception in DexFile.class, before the application
running my Laucher Activity...
I go to Google and search some
articleshttp://stackoverflow.com/questions/4502445/dexfile-class-error-in-eclipsethat
help search
the
Can't say much without seeing the code of your StartActivity.
Do you link to a library (JAR)? Maybe this JAR refers to the
ProtectionDomain class of another java-implementation that's not quite
compatible with the Android SDK's one.
--
You received this message because you are subscribed to
Question is: Are you ready to spend time and money battling over %6 of US
sales? I don't expect that you live in Texas.
And Apple hasn't really stepped in more than Google has, don't be fooled by
that letter.
BTW: Google has the same license Apple has. They both acquired the license
from
Question is: Are you ready to spend time and money battling over %6 of US
sales?
Is this what Lodsys is asking for?
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I'm curious too, where are you getting the 6% figure?
BTW: We have no way of knowing that Google has the same license Apple has.
All we know is that Google and Apple each obtained *a* license from
Intellectual Ventures. It may be a reasonable assumption that the licenses
have similar terms,
Strange... now works :)
I tried delete my emulator images once (yesterday), to verify if
was problem in Debugger machine but not worked...
I tried again (deleted ALL Emulators images) and create
one new, and now my Launcher Activity works how expected...
(The DexFile Exception ocurred only when
I read yesterday it wasn't 6%, its 0.575% which, principle aside, is a
paltry amount. Here's one reference:
http://9to5mac.com/2011/05/16/lodsys-were-not-patent-trolls-heres-why-were-entitled-to-royalties-over-in-app-purchasing/
- I think there's more info at Groklaw about exactly what
in any case, this is my on Create, when my code crash...
/* (non-Javadoc)
* @see android.app.Activity#onCreate(android.os.Bundle)
*/
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
Hi,
On stackoverflow I found a question about creating a rounded corner graphic.
http://stackoverflow.com/questions/1683185/android-listview-with-rounded-corners
The solution was to create a shape drawable via xml file.
My question: Why he/she recommends a shape drawable xml file and not a
I read yesterday it wasn't 6%, its 0.575%
From what I understand from that link, that's what they are CURRENTLY
receiving from Apple, not what they want from us as developers.
Does anyone who received THE LETTER have any detail as to what Lodsys is
demanding?
-John Coryat
--
You received
On Thu, Jul 7, 2011 at 11:58 AM, Ralph Bergmann ra...@dasralph.de wrote:
My question: Why he/she recommends a shape drawable xml file and not a
png file (9-patch)? Why is a shape drawable better?
A ShapeDrawable is neither better nor worse than a nine-patch PNG, any
more than a hammer is better
your application is still likely crash if you leave it
by pressing Home, change the phone's language in Settings, and return
to
the app (via launcher icon or recent app list)...
YEAH !
it is still crashing but i don't know exactly when :-(
but ot works fine by pressing HOME, or returning to the
Hi
I have connected usb to serial dongle to pandaboard.
I wrote an application which open ttyUSB0 port and print the information to
the screen,
after a while it stop receiving data, in order to solve the problem i have
to reopen the port,
i used usbmon tool and saw that after a while it stop
I have used TeeCharts for Windows for a number of years. I'm porting
some of my applications to Android so I am evaluating TeeCharts for
Android. I'm hoping it will make porting a bit easier.
http://www.steema.com/entry/63/h4/TeeChart_Java_for_Android_now_available
Marty
On Jul 7, 8:20 am,
The longRoutine is the drawing procedure which may take up to several
seconds.
Yep, I tried to relay that onto another thread and draw into the
SurfaceView but the problem I've faced is that
the original view(s) are still repainted with onDraw() thus the content
(the background thread is
You can use a Canvas to draw an image into a Bitmap on a background
thread. Then when that's finished, draw the Bitmap into the View (in
onDraw) on the main thread.
I'd be worried about a drawing function that takes several seconds to
run. We like to keep drawing well under 16ms in order to
If I get that letter, I'll reply to them to kindly...
I did that exactly once in my life and it took two years and a lot of pain
and suffering (and legal bills) to get passed that one outburst. I was young
and foolish at the time.
Just remember, never respond to any legal letter with
Visit http://source.android.com and click on the Community tab to find
a suitable group for your question.
On Thu, Jul 7, 2011 at 12:35 PM, dani maoz maoz.d...@gmail.com wrote:
Hi
I have connected usb to serial dongle to pandaboard.
I wrote an application which open ttyUSB0 port and print the
String epdata=sdfsad;
Object epArry= (Object) epdata;
facing issues plz help me
--
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
I am using the recommended method to check orientation when using
frames in 3.0 or higher:
if(((ViewByRoom.controls CAN_DISPLAY_QUEUE) == CAN_DISPLAY_QUEUE)
getActivity()
.findViewById(R.id.queueframe)==null) {
but sometimes I get a nullpointer exception on the line with
We received the letter today.
Can you detail what Lodsys is demanding of you?
-John Coryat
--
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
So, I have to find somebody to find a nice, legal way to say 'suck my
balls, your patent doesn't apply to my app?' Ok.
Sorry, but I'm not going to let these suit retards try to get any
money from me.
Then again, I live in a shitty apartment and the most expensive thing
I own is my do, I ride my
Hi all,
In my app I have to compare getLatitude() and getLongitude() with null in an
if statement to check, well, if they are null.
My statement looks like this:
if (location.getLatitude() != null || location.getLongitude() != null)
location is a Location variable. I am getting an error
Is it possible that the exception is actually caused by the
getActivity(), even though the LogCat is pointing to the .findViewByID
line?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Thu, Jul 7, 2011 at 12:13 PM, naveen kumar
kumarnaveen.si...@gmail.comwrote:
String epdata=sdfsad;
Object epArry= (Object) epdata;
This is a basic Java questions and has nothing to do with Android
development.
On Thu, Jul 7, 2011 at 12:22 PM, Raghav Sood raghavs...@gmail.com wrote:
I am getting an error that I can not compare these values as they are
Doubles in nature and null is not valid here with ||. How can I compare
these?
As the error indicates, they are not object that are comparable to
I am trying to guard against them being null. I am getting error reports
from users via ACRA that these are returning null sometimes. Hence the
safeguard.
On Thu, Jul 7, 2011 at 11:05 PM, TreKing treking...@gmail.com wrote:
On Thu, Jul 7, 2011 at 12:22 PM, Raghav Sood raghavs...@gmail.com
On Thu, Jul 7, 2011 at 12:38 PM, Raghav Sood raghavs...@gmail.com wrote:
I am trying to guard against them being null.
I am getting error reports from users via ACRA that these are returning null
sometimes.
That's not possible. Double-check your logs and what variable they point to.
The
TreKing I had this in a previous thread to but that problem was fixed. This
is another one causing the same error/
java.lang.NullPointerException
at com.raghavsood.findme.MyPositionOverlay.draw(MyPositionOverlay.java:37)
at com.google.android.maps.Overlay.draw(Overlay.java:179)
at
Your location variable is null.
On Thu, Jul 7, 2011 at 1:45 PM, Raghav Sood raghavs...@gmail.com wrote:
Double latitude = location.getLatitude()*1E6;
It is a NullPointerException so I suppose it is returning null.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Hello Developers,
In an application that I am developing, I am using the AudioRecord
class to detect sounds from the microphone.
The minimum Buffer Size that I am allowed to use is 4096.
So, I get the values from the microphone buffer and put them in a
short[] array that has the same size as the
On Thu, Jul 7, 2011 at 12:45 PM, Raghav Sood raghavs...@gmail.com wrote:
Double latitude = location.getLatitude()*1E6;
It is a NullPointerException so I suppose it is returning null.
NullPointerExceptions are cause by *objects* that are set to null. The only
*object* in that statement is
But the thing is location can't be null. If it was the app wouldn't have
reached here. I check for location being null in my main activity:
if (location != null) {
// Update my location marker
positionOverlay.setLocation(location);
Only the does MyPositionOverlay receive
A complex expression like this can cause a bit of confusion with line
numbers.
You can watch it in the debugger, while single-stepping, the current
line can jump down and up. I suppose it's the same with getting the
stack trace.
To pinpoint what's going on, rewrite this section of code to
On Thu, Jul 7, 2011 at 2:00 PM, Raghav Sood raghavs...@gmail.com wrote:
But the thing is location can't be null. If it was the app wouldn't have
reached here. I check for location being null in my main activity:
if (location != null) {
// Update my location marker
Hector,
What I was hinting at (sorry if I was being too oblique) is that:
1 - There is a bug in your code when the activity gets recreated for
configuration changes;
2 - The most frequent case of a configuration change is the screen
orientation change;
3 - There are other cases configuration
1 - 100 of 161 matches
Mail list logo