Hello,
I have one question. How can i fill GridView with data from String
array? My code for adapter is :
ArrayAdapter adapter2 = new ArrayAdapter(this,
android.R.layout.simple_list_item_1, tmpx);
gridview.setAdapter(adapter2);
where tmpx is array with strings.
But my app crashes, when i want to r
Hello,
I'm trying to create a ExpandableListView in one activity. I've looked
in apis demos, and I've created ExpandableListView. The problem is,
that I need to have this ExpandableListView in activity that is
already created, and not in a new one. I've used this code:
/*
* Copyright (C) 2007 T
u change the address in your Android code to
> "10.0.2.2"? Keep the port number, just change the address.
>
> -- Kostya
>
> 29.09.2010 16:35, titleist пишет:
>
>
>
>
>
> > I think that this problem appears because input is not in appropriate
> > fo
I think that this problem appears because input is not in appropriate
format. If I comment these lines for parsing I still get error for
connection.. And in logcat it's now the only error still left. Once
again logcat:
09-29 12:30:54.389: DEBUG/dalvikvm(190): GC_EXPLICIT freed 226
objects / 1515
adej
On 29 sep., 12:54, Kostya Vasilyev wrote:
> Ok, that's good.
>
> How are you making sure this IP address is reachable from the phone?
>
> And how are you opening the port on the development computer?
>
> -- Kostya
>
> 29.09.2010 14:24, titleist пишет:
>
172.17.1.62 is my local ip address, port 5 is the port of asp.net
development server on my computer, and is 100% correct. I checked it
few times and there is no mistake with ip or port in android
application.
On 29 sep., 12:12, Kostya Vasilyev wrote:
> 29.09.2010 13:53, titleist пи
Now I figured that all parameters in url are ok, because when i
debuged my application, i hovered mouse over the response =
httpClient.execute(httpGet); I saw that (on httpGet) path, port.. are
all in right place and i get exception: connection time out
logcat log is:
09-29 09:49:44.109: DEBU
Now when i start my application i get som result from webservice but
not the one i hoped. It seems that i can't configure port like:
http://172.17.1.62:58207/JSON.asmx. If I enter only my ip address in
emulator i get the default page of IIS, but if I enter ip:port/method
it doesn't work. I assume t
The logcat log:
09-29 06:42:03.480: DEBUG/AndroidRuntime(399): >>
AndroidRuntime START <<
09-29 06:42:03.490: DEBUG/AndroidRuntime(399): CheckJNI is ON
09-29 06:42:03.920: DEBUG/AndroidRuntime(399): --- registering native
functions ---
09-29 06:42:05.740: DEBUG/dalvikvm(
I noticed that whenever httpPost is called, the exception is thrown:
// Compiled from DexFile.java (version 1.5 : 49.0, super bit)
public final class dalvik.system.DexFile {
// Method descriptor #8 (Ljava/io/File;)V
// Stack: 3, Locals: 2
public DexFile(java.io.File file) throws java.io.I
When i debug my application when the httpGet = new HttpGet(getUrl);
is executed nothing happens :/
My WebGet function looks like:
public String webGet(String methodName, Map params)
{
String getUrl = webServiceUrl + methodName;
int i = 0;
for (Map.Entry param : params
I have function in c# like: LogInUser(string username, string
password). Now i would have to pass those two arguments from android
JSON web service to server (JSON c# web service.)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Hello,
i searched the net to find something about how to pass arguments to
JSON c# .net web service, but i didn't find anything useful for me. I
have to pass arguments like GUID or at least Username and Password.
Is
params.put("var", ""); the right thing? How do i pass multiple
parameters like this
te in Dialog, you should passing
> Context as 1st arg of constructor, ArrayAdapter(Context,
> R.layout.list_item, COUNTRIES)()
>
> Please read Java Code Style, How did you compile your code, your class
> name is wrong (quickfind --> Quickfind).
>
> On 11 Сер, 14:58, titleist
Hi,
I'm having problem with creating AutocompleteTextView in custom
dialog. In every example i saw, the autocomplete feature is only in
the classes that extends activity. I need to have autocomplete in
custom dialog that I created. The problem is that this:
AutoCompleteTextView textView = (AutoC
The first page and the default page is the page I see (main.xml). When
I replaced getApplicationContext(); with "this", the application
started to work.
Thank you all for your help.
Regards,
Tadej
On 2 avg., 20:50, TreKing wrote:
> On Mon, Aug 2, 2010 at 6:56 AM, titleist wrote:
The default page and the first page is screen I see (main.xml). When
I replaced the getApplicationContext(); with "this", it started
working.
Thanks again for your help.
Regards,
Tadej
On 3 avg., 07:53, titleist wrote:
> Thank you for your help,
>
> Regards
>
> On
5:47 am, Bob Kerns wrote:
>
>
>
> > Also -- have you tried using the debugger to debug your problem?
>
> > It doesn't sound like it. Had you done this basic step, I think:
>
> > 1) You might have found the solution to your problem yourself
> > 2) If not, y
Hello,
I'm working on some application for android and I can't find anything
useful for my problem. I want to open / create new page (just like
first page / default page but with other functionalities) on button
click. I've tried to create custom dialog like on this page:
http://developer.android.c
19 matches
Mail list logo