Ryu,
Sorry, forgot to address your iptables question.
I am not using iptables on either my emulator or Droid. My firewall
only needs the one SSH port open in order to connect, and then with
the port forwarding through SSH additional firewall ports are
uneccessary. I am not running a firewall/pa
Hi! I´m just trying to have both vertical and horizontal scrollviews
but the vertical one disappears just 1 second after the app launch and
I cant scroll down on my results.
Here are the codes:
XML:
http://schemas.android.com/apk/res/android";
android:layout_width="wrap_content"
android:layout
Note that I made a blog entry to explain how I made a crash reporter
using email on my blog, there :
http://androidblogger.blogspot.com/2009/12/how-to-improve-your-application-crash.html
It's a very effective way to catch the bugs, and to find how they
happen.
The fact that it is send by mail ( s
I had the same problem i used wake lock but still i think before i
acquire wakelock wifi goes in sleep mode .
On Feb 2, 11:45 am, nikhil wrote:
> It seems there is a conflict between call forwarding and wakelock...
>
> Can someone test this out please? If you have a service which
> implements a w
Ok, solved y just have to use final on the tablelayout statement. If
someone wants the code ill post it.
Thanks for your reply Beth.
On 2 feb, 18:13, Beth wrote:
> David,
> The output shows you have a null pointer at line 93 of your activity.
> Look there for a solution.
> Also, I noticed you hav
The TCP port is entered correctly as 2121 when I connect to FTP, the
FTP cpntrol session is started properly according to the server logs.
I am not using SFTP since I have disabled the sub-system on my SSH
server.
I am trying to use SSH TCP forwarding alone to establish and maintain
the ftp sessi
This is not necessary, to catch every line of code.
Register an uncaught-exception-handler
(Thread.setDefaultUncaughtExceptionHandler). Before you set it, get
the current one. You may need to call it from your own uncaught-
exception-handler.
In this handler, print out the stack-trace (and some o
"Found attribute : Albanië instead of Albanié"
This suggests you are displaying UTF-8 text (which is was logcat does) as
Latin-1. To wit: ë = 0xC3 0xAB which are UTF-8 for Latin1 0xEB. However, é
is 0xEB, not 0xAB, so there's something else afoot.
Also note that when you see the rectangle with
I've never had an issue with AlertDialogs in the emulator under any version.
Post the code you're using, you're probably just doing something wrong.
-
TreKing - Chicago transit tracking app for Android-
You probably are not basically able to change it to your own server.
Chances are you can connect to your internal WiFi network
and get the automatic DNS settings from dhcpd or whatever.
I can dynamically connect through my own rooter (Linux) and pass
that beyond to the internet by IP masquerading.
> Thank you Mark for your reply.
>
> Reg: Do not hardcode /sdcard. Use Environment.
>>
>> getExternalStoragePath() to get
>> the path to the SD card.
>>
>>
> 1. When I use the above method, I end up with the problem of device not
> mounted, how can I overcome this on an Emulator.
That method work
Add a boolean variable that is set on segfirstroute startElement and cleared
on segfirstroute endElement. Us it to ignore the date element.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-develop
Thank you Mark for your reply.
Reg: Do not hardcode /sdcard. Use Environment.
>
> getExternalStoragePath() to get
> the path to the SD card.
>
>
1. When I use the above method, I end up with the problem of device not
mounted, how can I overcome this on an Emulator.
2. On the actual device, how can
> After hardcoding the path as per the code below (pointed by Mahendra) I'm
> able to write the file onto the SD Card and see the same in DDMS
> /sdcard/somefilename
Do not hardcode /sdcard. Use Environment.getExternalStoragePath() to get
the path to the SD card.
> 2. Would the path name like /sd
Hi,
I saw several people reporting an issue with Spinner.setSelection that does
not seem to work as expected on the second call: the item selection is
correctly updated in the list subframe, but not in the text displayed when
the spinner is closed
Anbody knows a workarround?
Thierry.
On 4 jui
To help you, you need to post the log (form LogCat) showing the stack-
trace of the VerifyError.
As an example, VerifyErrors can occur when you load a class compiled
in Android 1.6 and using/calling 1.6 specific fields/methods and then
the class is run in a Android 1.5 environment.
I had one such
Hello,
I have an app which performs some online functions to a web server
farm we operate using URLConnection. I'm finding that the client IP
address of the phone seems to change after a fairly brief period of
inactivity.
For example, please see these timestamps and the corresponding client
IP a
On Feb 2, 10:49 pm, Anthoni wrote:
> Hello,
>
> Just to add, it would be useful if there was a listing somewhere that
> showed all the different AVD settings for each phone supported by
> Android.
Agreed - that would be useful.
Nathan
--
You received this message because you are subscribed t
Mahendra/String,
Thank You for your reply on this. The problem was with the following code as
pointed correctly by you folks
String state = Environment.getExternalStorageState();
if(state != Environment.MEDIA_MOUNTED) {
Log.d("DEBUG", "The Card is Not Mounted " + state +"--");
What if the application requires to send a query to a DNS server installed
at a particular IP address.
how do i configure my DNS server in *hosts/**resolv**.**conf from the
application ?*
***
*
On Wed, Feb 3, 2010 at 8:40 PM, Lewske Wada wrote:
> Hi Radhika,
>
> radhika wrote:
> > Hi All,
> >
>
How about using the WIFI MAC address in cases where the ANDROID_ID is
null? I believe it should be unique for each device:
WifiManager manager = (WifiManager) getSystemService
(Context.WIFI_SERVICE);
WifiInfo wifiInfo = manager.getConnectionInfo();
String MACAddress = wifi
Hi,
i am trying to load an html file which refers an image stored in the
sdcard. Actualy the html is provided by a local servlet. in the html,
i have this line "".
When i used that, i had this error : " Not allowed to load local
resource: file://".
I find out that android does not allow this kind
Hi Radhika,
radhika wrote:
> Hi All,
>
> Am a beginner in this area. I am trying to find out how a DNS query
> is sent from the android device.
>
> Am unable to locate the code.
>
> Can someone help me by showing me the code where a DNS query is sent.
>
> For example, may be from some application
There used to be an old old bug where shared preferences would
sporadically just disappear. Your post inspired me to do some research
and find out if that ever got fixed... En route I found this for you:
http://groups.google.com/group/android-developers/browse_thread/thread/246aae66e0caf302/908be55
well to begin with : thx for the expalanation :D
I was wondering about your statement :
"Try logging to a file. Or better yet, create test cases, and verify
the correct operation of your code via test suite, rather than via log
statements. "
I already tried in a test case, which was to write the in
Has anyone notice that Android 2.1 (or may be even earlier) has
additional Network Type? Namely:
ConnectivityManager.MOBILE_MMS 2
ConnectivityManager.MOBILE_SUPL 3
ConnectivityManager.MOBILE_DUN 4
ConnectivityManager.MOBILE_HIPRI 5
In addition to the original types in the document.
MOBILE 0
WIFI
Hi Pankaj!
Have you checked if your xml file is well-formed?
On 2 feb, 09:57, Pankaj Deshpande wrote:
> Hi all,
> I am developing an application which uses KSOAP2 with Android 2.0. But I am
> getting error
> "org.xmlpull.v1.XmlPullParserException: expected: START_TAG"
>
> can anyone tell me why
Looking at Google Experience devices; they are activates with the
users Google Account.
Using AccountManager and associated classes (starting 2.0), you can
pull this activation "user name" and other attributes.
On Feb 3, 4:03 am, "Mark Murphy" wrote:
> > Is there a concept of "user name" in And
I want to include virtual keyboard in my layout file.I am using foll.
code.
Is there anything I am missing ?
Is there anyone who know about it ?
Thanks in advance,
Swapnil
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to t
It is being called... between 5-10 times a second. I just set up a
routine to check. And I'm most definitely not calling invalidate() on
these occasions.
On Feb 3, 2:04 pm, schwiz wrote:
> your draw routine should only be called if you call invalidate on your
> view or its parent view.
>
> On Feb
Hi,
What kind of connections can we open on Android? Which of the
following is possible?
- USB
- Serial port
- Infrared
I know that Bluetooth is possible, but are the other ones too?
And if yes, which classes i have to use?
thanks for the feedback
guich
--
You received this message beca
Isn't there anyone out there who can tell me not to pursue this with a
good reason? I am spending too much of my time figuring this out and
if there is some knowledgeable person out there who can give me a
straight answer, I would really appreciate it.
Thanks,
Abhi
On Feb 1, 9:12 am, Abhi wrote
your draw routine should only be called if you call invalidate on your
view or its parent view.
On Feb 3, 7:46 am, Neilz wrote:
> Hi all.
>
> When overiding onDraw() in my View, is it possible to say "Don't draw
> anything new, just keep what was there the last time"?
>
> In my app, I only want t
Hi all.
When overiding onDraw() in my View, is it possible to say "Don't draw
anything new, just keep what was there the last time"?
In my app, I only want to draw when I get a sensor change. These
changes come intermittently. However the draw() routine is being
called continuously, many times pe
well to begin with : thx for the expalanation :D
I was wondering about your statement :
"Try logging to a file. Or better yet, create test cases, and verify
the correct operation of your code via test suite, rather than via log
statements. "
I already tried in a test case, which was to write the in
I know VBO's and DrawTex extensions are not a requirement for all
devices to have, but does anyone have a list of what devices don't
actually support them? I haven't actually come across any yet...
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Dev
well to begin with : thx for the expalanation :D
I was wondering about your statement :
"Try logging to a file. Or better yet, create test cases, and verify
the correct operation of your code via test suite, rather than via log
statements. "
I already tried in a test case, which was to write the in
Hi
We are using TextView's Ellipsize function to scrolling text in it and
there many other controls in our window.
We noticed CPU would go up to 50% if text started scrolling. After
digging deeper, we found all controls in our layout kept drawing when
texts scrolling. We wonder why? And how to avoi
i didnt do it yet.
but you can get a sample from here, i am folowing this book
http://apress.com/book/downloadfile/4433
there is a zip file, extract it and navigate to FancyLists\RateList\. there
you have a full and working example.
please send the question to the list wo everyone can get the answ
Neil,
Thanks for the catch on the SSID. Actually, I find that I can only connect
when I do not specify the SSID. Documentation on wifi management is a little
hard to come by. I am learning the wifi packages and device/driver
functionality through trial and error, logging, and network monito
I believe it's a Samsung Galaxy problem, as it works on both G1 and
Hero. I'm setting PictureSize, but the change doesn't seem to be
registered by the device.
Creating a Bitmap from the full-size image unfortunately throws an
OutOfMemoryException, and I'm unfortunately unable to guarantee enough
f
On Feb 1, 11:13 pm, fadden wrote:
> Are you looking for:
> http://developer.android.com/guide/developing/tools/avd.html
> ?
Thanks for the sarcasm. No, the docs don't say how to do this.
On Feb 2, 7:48 am, String wrote:
> Click on Window | Android SDK and AVD Manager, click New. Select a
> Tar
If you like a file manager-type GUI with console based CUI terminal,
Runftp is what you want to have.
You can type and test any basic FTP commands in the terminal, and
viewing
through the files and directories in a two-pane tree-style graphical
navigation
at the same time.
--
You received this m
Well, you found one way to get the encoding in there. A few more:
InputSource.setEncoding("iso-8859-1")
new InputStreamReader(stream, "iso-8859-1");
I'd argue that it should have gotten it from the ? -- I'm a bit surprised it didn't. But it's
something I'd never rely on if I know the encoding.
A
hi lance,
please can u suggest me some good links or books regarding drawing cylinder
& some polygons.
thanks,
satish
On Wed, Feb 3, 2010 at 3:13 PM, Lance Nanek wrote:
> The buffer needs to be direct so that it isn't moved around in memory.
> You can do this by creating it using ByteBuffer.al
Hi All,
Can anyone give an idea how to identify the views part of the
active screen[i.e current running activity on the phone].
E.g after launching uiEditContactActivity,how can I identify the views
[ several fields, buttons etc]
part of that screen.
I am trying to modify monkey, such that for c
> Is there a concept of "user name" in Android? Windows Mobile lets you
> enter a description of the owner of the phone; Palm OS has the concept
> of user name. But i couldn't find anything about this in Android.
The device itself does not really track this anywhere.
--
Mark Murphy (a Commons Gu
Hi all,
In the below XML, I'm getting NullPointerException. What is the reason
behind that?
I also want scroll bars in th same XML. How to do that?
<
TabHost xmlns:android=*"http://schemas.android.com/apk/res/android"*
android:id
=*"@+id/my_tabhost"*
android:layout_width
=*"fill_paren
Well, you' have to modify your routing tables. I see there's /system/
bin/route, and it worked to add a default gateway, running as root.
You WILL have to be root; if you haven't rooted your phone, you will
need to.
/system/bin/route seems to lack many of the normal features -- the
BusyBox one see
Hi,
I have to display 10 images and related Text i want to display
into and all 10 image should be in scrollable format
as ListView.
My Question is
How we can Display all the image in ListView
format.is there any way to put listView into absolute View. I m
Hi,
I have to display 10 images(which will be taken form url) and
related Text Both imageUrl and text will come from XML parsing.
My Question is how we can display image into
scrollable format
--
You received this message because you are subscribed to the Google
Groups "Andr
Btw I also have tried this instead :
try {
URL url = new URL("http://www.myserver.com/xmlstream";);
URLConnection conn = url.openConnection();
InputStream is = conn.getInputStream();
Xml.parse(is, Xml.Encoding.ISO_8859_1, new ExampleHandler
While I am at it: How can I enforce equal width on table columns?
Is there a way to do in in layout/*.xml or do I have to render the
content
of my table programatically (getting screen dimensions, and creating
the content of the table calls with computed width)
Regards,
Holger
--
You received
On my mobile, I do NOT have the VerifyError! This is strange. I just
get the Error-Messages from Flurry-Analytics from people, who
downloaded my game in the market, so I think that these error-messages
come from a specific Android OS?
What does it mean that some part of a class failed verification
Oh thanks ..
got it
On Wed, Feb 3, 2010 at 3:13 PM, Lance Nanek wrote:
> The buffer needs to be direct so that it isn't moved around in memory.
> You can do this by creating it using ByteBuffer.allocateDirect. You
> can see examples in demos:
>
> http://developer.android.com/intl/de/resources/sa
Hi,
Is there a concept of "user name" in Android? Windows Mobile lets you
enter a description of the owner of the phone; Palm OS has the concept
of user name. But i couldn't find anything about this in Android.
best,
guich
--
You received this message because you are subscribed to the Goog
Hey i got a function acceptCall() by which android receive call. the
path is android.internal.telephony.Phone.java.
Now you gays please tell me can i use it answer a call
programmetically. Please you got any idea about it then share with
me .
or if you have any other idea about answering auto ca
Or is there another possibility to debug my game, while it is in the
market?
How can I intercept all the errors in my code to find out how I can
solve them?
If nobody has an answer to this, I have to put a
try {
...
} catch (Exception e) { /* send this exception and line number over
internet to me
Hey, thanks
Worked fine on G2. This is the code i used:
#include "sys/system_properties.h"
char buf[32];
buf[0] = 0;
__system_property_get("ro.serialno",buf);
Interestingly enough, i also tried this:
char buf[2048];
if ((in = open("/proc/cpuinfo", O_RDONLY)) < 0)
Hi,
Have you used partial wake lock? I got the similar problem in my
app. I fixed it by using wake lock. Following is my code snippet. May
be this will help you.
PowerManager.WakeLock wl;
try {
PowerManager pm = (PowerManager) context
Hi
We can change language options manually,But
How to change the language settings on android phone through application
Can u give me sample code
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d
No, I even don't know how to use sharedUserId's.
Here is my Manifest:
http://schemas.android.com/apk/res/android";
package="digle.de.LeonardFrog"
android:versionCode="4"
android:versionName="1.3 (beta)">
I can't help with your protocol question, but the reason why
specifying the SSID isn't working is because it needs to be a quoted
value, e.g.
wifiConfig.SSID = "\"test\"";
Neil
On Feb 2, 8:30 pm, Daniel Rolph wrote:
> After digging around a little, I was able to put together the code to
> pro
Figured out there is an internal implementation of XmlResourceParser.
It works for compiled resources only.
Are there any plans in the roadmap of coming up with an AttributeSet
implementation for non-compiled files as well ?
On Feb 2, 7:02 pm, priyanka <2priya...@gmail.com> wrote:
> Hello,
>
> I'
It seems that adding a 1 pixel (1px) view stops this happening.
On Feb 2, 11:55 pm, Romain Guy wrote:
> Note that the bug is not due to an overlap of theinvalidateregion,
> it looks like the entire parent redraws in certain conditions.
>
>
>
> On Tue, Feb 2, 2010 at 3:45 PM, Romain Guy wrote:
>
Actually this is the code for the second approach :
/* Create a URL we want to load some xml-data from. */
URL url = new URL("http://www.myserver.com/xmlstream";);
/* Get a SAXParser from the SAXPArserFactory. */
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXPars
The buffer needs to be direct so that it isn't moved around in memory.
You can do this by creating it using ByteBuffer.allocateDirect. You
can see examples in demos:
http://developer.android.com/intl/de/resources/samples/ApiDemos/src/com/example/android/apis/graphics/TriangleRenderer.html
On Feb 3
Did you change/add a sharedUserId in your manifest?
On Feb 3, 3:40 am, Martin wrote:
> Hi!
>
> Why are my SharedPreferences suddenly deleted, after I updated my game
> in the Market?
>
> Here is the logcat:
>
> W/ApplicationContext( 1465): Attempt to read preferences file /data/
> data/digle.de.L
Hi!
I have a game in the market and with flurry analytics, I receive all
my errors. Here are some of them:
01/31/10 01:47:39 PM PST0 class
java.lang.IllegalArgumentException parameter must be a descendant of
this view
02/02/10 12:40:41 PM PST0 class
java.lang.I
Hi,
Is this possible in Android?
Can anyone help me? I need it.
Thanks & Regards,
Raghavendra K.
On Feb 2, 2:53 pm, Dilip Dilip wrote:
> Hi All,
> Is there any TV out feature in Android. Is anyone working on it ?
>
> Thanks and Regards,
> Dileep
--
You received this message
Hi all,
I have a code for GLSurfaceView which runs fine with sdk 1.5. I am trying to
use it in the sdk 2.0 I am getting following error - >
"*Application called a GL11 Pointer method with an Indirect Buffer*"
This is the line at which the error is coming,
*gl.glVertexPointer(3, GL10.GL_FLOAT, 0,
Hi!
Why are my SharedPreferences suddenly deleted, after I updated my game
in the Market?
Here is the logcat:
W/ApplicationContext( 1465): Attempt to read preferences file /data/
data/digle.de.LeonardFrog/shared_prefs/Highscore.xml without
permission
E/ApplicationContext( 1465): Couldn't rename
--
MMS cannot be sent over wi-fi.Carriers network is mandatory to send/recv.
The MMSC need to identify from/to the message coming going and it wont be
possible while using wi-fi.
So its required to switch to 3g or CDMA even if wi-fi is available.
2010/2/3 Dongjoon Lee
Well, I don't grok NAT enough to conclude that it's wrong. But I don't
see why they'd do it -- unless they're trying to minimize traffic.
Seems kinda trivial -- and likely more than offset by the later
attempted transmit.
I'm not sure what problem you're trying to solve. It can certainly
happen th
I do not like android instrumentation framework, and switched
to mocking everything android. JMockIt seems to be a right tool
( jmock has problems with finals and concrete classes)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Robert Green has mentioned VBOs being fast for his uses a couple times
on this list, I think. Might be worth searching those posts out.
Not actual usage, but I saw them mentioned in some docs recently. It's
for a newer version of OpenGL ES, but this ImgTec document recommends
VBOs, for example:
ht
Thanks very much for your ideas folks.
Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it
will be very useful for a requirement of always fitting in within the
screen. Unfortunately, my requirement is such that I do not want to
reduce the width of each tab as the number of tabs
Thanks very much for your ideas folks.
Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it
will be very useful for a requirement of always fitting in within the
screen. Unfortunately, my requirement is such that I do not want to
reduce the width of each tab as the number of tabs
I didn't see a redirect bug -- but gmail failed to include the final
')' in the link, so the anchor survived, but failed.
So what is it with these redirects, anyway? It's always sending me to
some random locale -- fr one day, de today. Fortunately -- they're all
in English.
I'm using Chrome, on W
201 - 279 of 279 matches
Mail list logo