Thanks a lot kumar, I appreciate it!
On Jan 23, 11:11 pm, Kumar Bibek wrote:
> PackageInfo pInfo = null;
>
> try {
> pInfo = getPackageManager().getPackageInfo("com.beanie.test",
> PackageManager.GET_META_DATA);
>
> } catch (NameNotFoundException e) {
> e.printStac
Hello,
Problem Statement:
--
I wish to achieve the following:
1. Create a GPRS connection from my application and get the assigned IP
address.
2. Send and Receive data through this connection.
I can find whether GPRS is in use using TelephonyManager's getNetworkType
See http://code.google.com/p/i-jetty/
On Jan 24, 10:27 am, Jags wrote:
> ah, these are the apis for hitting a url and get some info and post
> data to from m android device, is not it ?
>
> I wanna a small http server running on my android device [may be as a
> service] and hosting small http pag
ah, these are the apis for hitting a url and get some info and post
data to from m android device, is not it ?
I wanna a small http server running on my android device [may be as a
service] and hosting small http pages browsable from my PC. for
example if my android device is connected to wifi and
ah, these are the apis for hitting a url and get some info and post
data to from m android device, is not it ?
I wanna a small http server running on my android device [may be as a
service] and hosting small http pages browsable from my PC. for
example if my android device is connected to wifi and
I've read many postings about problems getting the Android emulator
DNS to work properly in certain situations. I have a simple app that
makes an HTTP connection to a server on the Internet. If I use an IP
address using the latest version of the emulator it works fine. If I
use the domain name it
PackageInfo pInfo = null;
try {
pInfo = getPackageManager().getPackageInfo("com.beanie.test",
PackageManager.GET_META_DATA);
} catch (NameNotFoundException e) {
e.printStackTrace();
}
System.out.println(pInfo.versionCode);
Kumar Bibek
On Jan 24, 8:48 am, dapaintb
While populating the GridView, you can set an ID or a TAG to
individual images. I guess, that will help.
Kumar Bibel
On Jan 23, 10:03 pm, Aniruddh Bajirao wrote:
> I'm trying to have a gridView with images and on clicking each image, I want
> to be able to uniquely identify the image that was cl
How do you retrieve the current version code of an app's manifest?
I don't need to access another application, I'm talking about My app
accessing its own version code.
Thanks
-Brandon
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
public static List getAllHosts() throws IOException {
List hostAddresses = new ArrayList();
InetAddress localhost = InetAddress.getLocalHost();
String ipAddress = localhost.getHostAddress();
for (int lastOctet = 1; lastOctet
The bug reported below was fixed the day it was reported to us. I took
care of it personally. Android is unfortunately a *very* complex piece
of software (several millions of lines of code) and despite our
extensive testing and dogfooding, problems like this might occur in
new releases. We are very
FWIW,we (Android team) have been running 2.1 on our personal phones
for weeks/months and we use apps from Market, etc. It is very possible
that some apps are affected by changes in 2.1 but there can be two
reasons to this:
- the app was relying on a faulty behavior pre-2.1 and we fixed that behavio
What backward compatibility issue? Have you actually tried running on 2.1
in the emulator?
You are going to need to provide a -little- more information for anyone to
be able to help you.
On Sat, Jan 23, 2010 at 4:39 PM, Vassilios Kirellous wrote:
> Hi,
>
> I have an Android 1.6 App that works f
BTW: Same thing too with URLConnection...even when using new
connections each time (not reusing the old connection)
On Jan 23, 4:31 pm, Yuvi wrote:
> Hi!
>
> I'm developing my first android app, which needs to make some http and https
> requests.
> I'm using the apache HttpClient. So far everyth
My layout design is a TextView with long text and a ImageView to the
right of the TextView. I want to center the ImageView in its parent
vertically, so I used android:layout_centerVertical="true", but it
turned out that the ImageView was aligned to the bottom of its parent.
If I don't use layout_ce
Same thing here. The first request (for both POST and GET) takes up
to a couple seconds and then all requests afterwards take much shorter
(less than half a second!).
Any ideas?
On Jan 23, 4:31 pm, Yuvi wrote:
> Hi!
>
> I'm developing my first android app, which needs to make some http and http
Hi,
I have an Android 1.6 App that works fine on 1.6.
I'm sticking with release 1.6 as it seems to be the most common. However,
with the advent of Android 2.1, Im worried as apparently there are some bugs
in there that prevent apps like mine working on it.
I think it would be a great sign of mer
Is the KML you create compatible with DDMS Location Controls KML import?
I found that KML files created by "My Tracks" cannot be imported into DDMS.
They fail without an error message.
On Sat, Jan 23, 2010 at 12:30 AM, gjs wrote:
> Hi,
>
> It is pretty easy to write your own, I've done it for k
I'm trying to have a gridView with images and on clicking each image, I want
to be able to uniquely identify the image that was clicked.
Basically the images would be populated dynamically and on clicking each
image I want to associate a different behavior.
What is the best way to accomplish this?
Hi,
I wanted to use gcov on Android but I wasn't able to find any success
stories. so I decided to experiment a bit and managed to get it
working. Here are short instructions on how to use it:
1) Compile your C/C++ code using '-fprofile-arcs -ftest-coverage'
2) Link the code with libgcov and libgc
I've researched the earlier threads about AccountManager and still am
having problems. I'm trying to extend my Twitter OAUTH demo to use the
AccountManager. I've built the beginnings of a class based on
AbstractAccountAuthenticator and a Service that seems to do what it is
supposed to do.
My Authe
is there a simple example of HttpServerConnection usage in android ?
can it be used for posting some data to android device ? i mean get
post type ?
thanks and regards
Jagat
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this g
to force onDraw to call you must call invalidate.
On Jan 22, 10:23 am, bhupesh wrote:
> All references so far I have seen is that the "framework" will call
> onDraw. Which part of the framework specifically calls onDraw. Can I
> control when onDraw gets called or can I call it myself without
>
Is there any way to control a play position of a JetPlayer? This
concept seems to be totally foreign to it's api. I have a requirement
to use a SeekBar to control a play position of the player, as it's
done with the mp3 players.
--
You received this message because you are subscribed to the Googl
Thanks for the tip!
I'll give it a go.
On Jan 20, 9:03 pm, Neil wrote:
> Just ran into this myself. It seems calling event.recycle() in the
> motion event handler resolves it.
>
> Regards,
>
> Neil
>
> On Jan 6, 3:38 pm, SnowCrash wrote:
>
>
>
> > anybody out there got any clues on this?
>
> >
Yes, that is full-on OAUTH and is quite elegant from the standpoint of
the security that is provided and the ease for the application. Since
the authentication is being done on a user's trusted site (Twitter in
this case), then the credentials are sent securely back to the
application, it's very se
Hi all,
I want to access the inbuilt Contacts functionality in my application.
If it is possible, than how? Anybody have any idea regarding this way?
I really need you help. I would appreciate your help.
Thanks.
--
You received this message because you are subscribed to the Google
Groups "Andr
Thanks! That's a very handy link.
I've succeeded in adding events to the calendar on a Cliq, but my
first event (which had no time) seems to have driven the Calendar sync
protocol mad. My Calendar no longer syncs any events back to Google
Calendar on the web, and the web interface claims I have ma
Meaning I have to use Android NDK?
On Jan 14, 1:19 pm, Frank Weiss wrote:
> I suppose JNI would be the way to go.
>
> On Wed, Jan 13, 2010 at 12:35 AM, perumal316 wrote:
> > Hi,
>
> > Any idea how do I show the kernel messages to user? One way is to
> > install terminal emulator and then 'dmesg'
Thanks for your reply.
--
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
Fo
Defect 6223 created.
On Jan 23, 5:28 pm, Zsolt Vasvari wrote:
> I know it's rude to reply to myself, but I create a very simple demo
> of this problem. This seems to effect Spinners, but not TextViews.
>
> I am not sure how to upload the .apk, but just e-mail me for it.
>
> I tested this on Nexu
Dianne Hackborn wrote:
Newer Android versions are intended to be backwards compatible with
older ones (I won't say always, because bugs happen, but that is the
intention).
Have you tried running your app under 2.1 in the emulator?
2.1 is not very different from 2.0.1 (currently on Droid), so
I know it's rude to reply to myself, but I create a very simple demo
of this problem. This seems to effect Spinners, but not TextViews.
I am not sure how to upload the .apk, but just e-mail me for it.
I tested this on Nexus One. Basically, if you just change
orientation, it's working fine, but
Hi,
It is pretty easy to write your own, I've done it for kml and kmz
files, code was only a about 100 lines or so.
Regards
On Jan 23, 3:25 pm, Charles wrote:
> I am interested in using the GPS to create a KML file to track my
> route using "Paths" (http://code.google.com/apis/kml/documentation
34 matches
Mail list logo