This might help you
http://stackoverflow.com/questions/7516018/android-localserversocket
-Mika
On Jun 7, 4:45 am, galapogos gois...@gmail.com wrote:
Thanks. Seems like 127.0.0.1 works. I also tried 0.0.0.0 and that worked
too.
I would also like to use unix domain sockets, since I really
Hi all,
In my app the process number 1 generates around 1KB of data every
couple of seconds and passes this to process number 2. To my
understanding there are three ways to pass data between processes:
publishing IPC interface using Binder, using Messeger or using
Broadcasts. I would like to get
/
-Mika
--
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
For more options
Check this answers from this stackoverflow question. It might give you
some insights
http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android
-Mika
On May 3, 9:20 am, milady nmor...@hotmail.com wrote:
quisiera saber como funciona la administracion de
Hi all,
In my app the process number 1 generates around 1KB of data every
couple of seconds and passes this to process number 2. To my
understanding there are three ways to pass data between processes:
publishing IPC interface using Binder, using Messeger or using
Broadcasts. I would like to get
utilizamos dp e sp. varia de acordo com o componente
On 13 dez, 07:27, Ali Chousein ali.chous...@gmail.com wrote:
Maybe my question sounds very basic and simple, but did you define the
size of your components in dip?
-
Ali Chousein
use sd and sp. varies according to the component
On 13 dez, 07:27, Ali Chousein ali.chous...@gmail.com wrote:
Maybe my question sounds very basic and simple, but did you define the
size of your components in dip?
-
Ali Chousein
folks, I and my team are developing an application and we are finding
the following problem:
during testing the application on the smartphone, the visual
components such as buttons, text boxes, dialog boxes, are rising to a
higher resolution than the one defined for it, making it impossible to
this line System.setProperty(http.keepAlive, false); to
your code. Maybe it'll help.
-Mika
On May 11, 3:36 am, John Gaby jg...@gabysoft.com wrote:
I am trying to use HttpsURLConnection to connect to a secure site, and
it is failing and getResponseCode() is returning -1. The following is
the code
Maybe the other application just puts the microphone on again?
-Mika
On May 11, 10:47 am, Ian Kao@TW ian@gmail.com wrote:
Now I am trying to build a apk which can control the device's
hardware.
When I try to mute microphone with the AudioManager.muteMicrophone
Process process = Runtime.getRuntime().exec(logcat);
InputStream is = process.getInputStream();
On May 6, 8:50 am, manoj manojkumar.m...@gmail.com wrote:
Hi All,
can we write an android application which runs adb commands like adb
logcat? I mean, in an activity,
I want to execute the adb
Hi everyone,
I am examining In-App and the contents server.
I want to know payment information on In-App from the contents
server.
How should I do?
I think whether something can be done by using the order number.
Thanks for reading and your possible help,
Mika
--
You received this message
Hi everyone,
I am examining In-App and the contents server.
I want to know payment information on In-App from the contents
server.
How should I do?
I think whether something can be done by using the order number.
Thanks for reading and your possible help,
Mika
--
You received this message
. But if GiffGaffAPN can do it, maybe there's
some hack that I'm not aware of. :)
-Mika
--
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
doesn't have to
switch between activities?? Or any other ideas how the user could
modify the secure settings easily?
-Mika
--
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
. that they should input.
So what I would like to do is to have one view open where the user can
see the new values and in the same window have also the system
settings activity where the user should input the values.
-Mika
On Mar 2, 1:53 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:
switch between
Ok so I managed to get it to install.
What does CPU_ABI define when compiling the android source? Well I
suppose the correct question is, what kind of implications does it
have when the CPU_ABI used to say:
CPU_ABI := armeabi
and I changed it to:
CPU_ABI := armv7-a
And it started working
Hello everyone,
I'm currently trying to specifically target ARMv7 custom hardware and
I'm facing issues when trying to install the APK. When I try doing
adb install app.apk Logcat informs me that :
W/PackageManager( 1062): Native ABI mismatch from package file
And does not install the APK.
getSharedPreferences is defined in Context. Service is a Context also.
On Jul 9, 9:08 am, Jeruliu jeru@gmail.com wrote:
Dear all,
I need to access the shared preference in a background service instead
of activity on phone boot up.
But getSharedPreferences function is define in the
Second one might be a bit more involved, but hopefully there is an
easy fix. I have my projects into a subversion repository, but the app
project builder (Android pre-compiler) seems to copy all the source
from the library project, including the .svn folders, to the app/bin
project. As a
();
}
catch (IOException e) {
Log.e(AppService, Exception appending to log file,
e);
}
}
}
-Mika
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
Simple question, what is the fastest way to iterate through
collections on Android? I generally use collection.iterator(); and the
iterator.next() to iterate through the whole collection. Is it any
faster to drop that and iterate with old (and I use the term old
loosely...) :
for( int i=0;
Thanks for the answers. I'll have to give those two a try. :)
--
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
Like the topic of the thread says. In my game I would like to turn all
the calculations into FP format. I can eliminate pretty much
everything else but I still need to do the the following calculation
in long format.
Code:
long t = this.lastUpdateTime - System.currentTimeMillis();
The value I
OH sorry guys, my bad, I wasn't specific enough.
I'm TRYING To shift myself into fixed point(FP) world and trying to
get rid of the long calculations :) So.. does the topic make more
sense now? Sorry for being such a numnum and not realising that FP =
fixed point AND floating point. D'oh.
But
(View.VISIBLE);
view.invalidate();
}
That's the basic idea. You might have to force the layout before
drawing or set some limits to the view width and height, because
getWidth() and getHeight() return 0 before the first layout. But I
think you should get the basic idea how to do this...
-Mika
On Nov 16
wondering if
your problem is there? Consider trying GLSurfaceView and let me know
the results. Otherwise, you may want to debug your init to make sure
that it's correctly initializing a GL context and surface on the
device.
On Nov 9, 6:35 am, Mika mts...@googlemail.com wrote:
Hi Robert
, 1:27 pm, Mika mts...@googlemail.com wrote:
With the GLSurfaceView, where am I supposed to implement
onTouchListener?
In myOpenGLapp, I use an onTouchEvent listener on the containing
activity instead. Works for me.
String
--
You received this message because you are subscribed
vs on the emulator at one point
as well. Could you post more of your GL initialization code? My
problem was something dumb like I was calling orthox using actual
screen dimensions when I needed to either use fixed point there or use
orthof.
On Nov 8, 3:34 pm, Mika mts...@googlemail.com wrote
Hello everyone. Running into REALLY interesting problems with OpenGL
ES. Basically when I start my program in 1.5 or 1.6 emulator, it works
just fine but on HTC Hero 1.5 it does not. The problem is that the
vertices are not being rendered but the gl.glClear() command is
working just fine. I
I had a similar problem and it was just because the default
progressbar had changed in Donut and it was all white. So I had a
white progressbar in a white background. Not sure if that's your
problem though.
-Mika
On Nov 4, 5:02 pm, dadical keyes...@gmail.com wrote:
Anyone have a clue? I'm
to be killed.
Okey, this I didn't know. I though that when the OS decides to kill
processes in order to reclaim memory it does it so that the larger
processes are killed first. My mistake, should read the docs more
carefully.
(4) My meminfo results were slightly different than what Mika
reported
wrong.
-Mika
On Oct 21, 1:10 am, Dianne Hackborn hack...@android.com wrote:
I am pretty sure the standard music app doesn't leak, so I wonder if you are
somehow measuring things incorrectly.
On Fri, Oct 16, 2009 at 2:11 AM, Mika mika.ristim...@tkk.fi wrote:
Hi Dianne,
This is what I
So has anybody been able to test the sample app and found the leak. To
me this seems a quite serious bug or I might have misunderstood some
fundamental Android concept. But I doubt that it is desired behavior
to leave Activities (or at least not its views) in memory when they
are not used.
-Mika
Hello people.
I've gone through several Android examples, tutorials and generally
just played around with the system. Now I'm in a need of help
concerning a making of a game for Android, more specifically
structuring the design. I'm going to use OpenGL to render everything.
Generally when I have
processes are GCed from DDMS. I also tested with 1.1
SDK and Emulator and there everything works as presumed and no
activities stay in memory after they are closed.
-Mika
On Oct 15, 7:56 pm, Dianne Hackborn hack...@android.com wrote:
If you press back and let the system finish the activity, all
numPagers:0 inactivePageKB:0
activePageKB:0
And I remembered to force the garbage collector to system_process and
to the app process. Any ideas what is happening here??
-Mika
--~--~-~--~~~---~--~~
You received this message because
the SystemClock-class, SystemClock.uptimeMillis() in
particular.
--
Mika
--~--~-~--~~~---~--~~
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
Yeah sure.. but I understood that the question was about notifications
when the sms is not sent form within your own app. For example when
the user uses the default messaging app to send an sms.
-Mika
On Oct 1, 9:13 am, kapnk...@gmail.com wrote:
private void
sendSMS(Stringhttp
What you could try is to use just one instance of your Overlay
subclass that includes all the 60 icons that you want to show on the
map.
-Mika
On Oct 1, 4:08 pm, Ne0 liamjamesalf...@googlemail.com wrote:
Not had any response, but my solution is to add a bit of intelligence
to my activity
From the stack trace it seems that your trying to allocate 160 MB of
memory. And for one app the max heap size in Android is 16 Mb (if i
remember correctly). That's why the outofmemoryerror. Don't know why
are you allocating that much memory though??
-Mika
On Oct 1, 3:43 pm, Stefan ebay-dah
Could you be a bit more specific?? I know you can register a broadcast
receiver for incoming sms messages but to my knowledge there isn't a
broadcast for outgoing sms messages.
-Mika
On Sep 30, 8:33 am, kapnk...@gmail.com wrote:
yes you can add brodcast receiver to listen n show sms sent
Hi Dianne, thanks for the answer. Although the problem happens several
times a day, I haven't still been able to find the reason for it nor
the code to reproduce it. I'll file a bug report if I do find a way to
constantly reproduce the bug.
-Mika
On Aug 26, 7:53 pm, Dianne Hackborn hack
be the reason for
the
crash??
-Mika
--~--~-~--~~~---~--~~
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
be the reason for the
crash??
-Mika
--~--~-~--~~~---~--~~
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
Hi,
I'm having the same problem. Did you find any solutions??
-Mika
On Jun 24, 7:39 pm, jabu jabu.j...@gmail.com wrote:
Hi Everyone,
I am implementing my ownadapterthat inherits from BaseAdapter (this
is something very classic).
Then when I start the activity that owns the listView binded
By browsing this mailing list and android source code. You can also
use PackageManager to get the available content providers. If there's
some other ways I'd like to know also.
-Mika
On Jun 10, 7:31 pm, Monkiki monk...@gmail.com wrote:
Great, I will try it. Where can I find more info about
and idle.
-Mika
On Jun 10, 1:42 pm, Monkiki monk...@gmail.com wrote:
I've been searching the application permissions and I see no way to
make an app to enable getting notified when the user send an SMS or
make a phone call. How can I accomplish this task?
Thanks in advance
in the BroadcastReceiver is never called.
Gmail.java can be found e.g. here
http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/provider/Gmail.javaq=gmail.java
I searched the mailing list and found several similar questions but no
answers. So any other ideas??
-Mika
Hi all,
I was wondering is there any way of knowing when the zoom animation in
map view has ended?? After each zoom I need to calculate how far my
overlays are from each other, but I haven't figured out yet how to
know when the map has been zoomed. Is there any way to do that??
-Mika
that implements the onClickListener interface. But I
have no idea why it is working now correctly.
-Mika
On Apr 23, 9:39 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
I had a similar issue and i gave up.
Instead i used the DefaultHttpClient class together with HttpPut/
HttpGet/HttpResponse
/bc5454ffc71f77dc/837c09f4f1f750b2?lnk=gstq=getResponseCode#837c09f4f1f750b2
but no solution were found.
-Mika
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
52 matches
Mail list logo