Hi there, I'm Robert Lin, CEO of Gava (International) Group Co.,Ltd
which exports Chinese products and develops applications based on
XUL. I'm looking forward to setting up a new company which develops
apps for mobiles and making friends with you guys. I have team,
technology and good ideas and th
Hi,
Use putIntExtra instead of putExtra()
Thanks & Regards,
Yousuf Syed
On Wed, Jul 7, 2010 at 7:44 PM, Traveler wrote:
> I am a relative newbie to Android and am trying to learn how to pass
> an int value to another activity.
>
> Main activity uses a ListView. The following onitemClick met
Hi,
I guess its because you are either using String for some other data type or
using some other data type instead of String. Possibly in the
CommonTempLogic();
Place CommonTempLogic in the try catch block and see.
Caused by: java.lang.ClassCastException: java.lang.String
this is what I can und
Here's the last hundred lines of logcat:
D/qemud ( 34): fdhandler_accept_event: accepting on fd 10
D/qemud ( 34): created client 0x22c58 listening on fd 15
D/qemud ( 34): client_fd_receive: attempting registration for
service 'senso
rs'
D/qemud ( 34): client_fd_receive:-> recei
I asked a question yesterday about a application I am trying to make
based on OCR and some other points. I tried to look for applications
which have individual elements like current location finder, Camera
capture etc. I tried to install individual elements after modifying
some source codes, but I
I am a relative newbie to Android and am trying to learn how to pass
an int value to another activity.
Main activity uses a ListView. The following onitemClick method is
supposed to communicate the
position value to the playalphabet activity.
public void onItemClick(AdapterView a, View v, int pos
Xavier Ducrohet wrote:
They moderate first post though, to prevent
spam and that can take a day or two.
My first post (the beginning of this thread) got through fast enough,
but my membership was pending for a couple of days or so. It's a minor
detail; not important.
Another option is s
On Wed, Jul 7, 2010 at 7:02 PM, Bret Foreman wrote:
> Here's the full stacktrace from traces.txt:
No, I meant from LogCat. Use adb logcat, DDMS, or the DDMS perspective
in Eclipse. Below your "Error receiving broadcast Intent" should be
another exception indicating the root cause.
--
Mark Murph
I'd like to create a table with two rows (each containing one spanned
TextView) followed by a list of rows, each containing two TextViews. Do
I simply create a TableRow containing a named ListView containing two
named TextViews? If I then populate an adapter will TableView realize
that I have a
Here's the full stacktrace from traces.txt:
- pid 1457 at 2010-07-07 23:00:04 -
Cmd line: com.shipmate
DALVIK THREADS:
"main" prio=5 tid=3 NATIVE
| group="main" sCount=1 dsCount=0 s=N obj=0x4001b268 self=0xbd00
| sysTid=1457 nice=0 sched=0/0 cgrp=default handle=-1344001384
at andr
There should be more to your stack trace, showing you the true cause
of the error.
On Wed, Jul 7, 2010 at 6:13 PM, Bret Foreman wrote:
> I want to monitor battery temperature, if available. I create a
> Receiver like this:
>
> private BroadcastReceiver myTempReceiver = new BroadcastReceiver()
I can't understand from the Preferences and ListPreference documents
whether the defaultValue attribute in preferences.xml should be the
text choice displayed in the list, the Integer corresponding to that
choice, or the index of the choice. It also seems like best practice
to pick up the default v
On Wed, 7 Jul 2010, Xavier Ducrohet wrote:
> On Wed, Jul 7, 2010 at 1:42 PM, Sam Hobbs wrote:
> > I am using Windows 7 64-bit.
> >
> > I am attempting to get the Android SDK installed and working. Should I
> > install the 32-bit JDK or 64-bit?
> >
> > When I went to the JDK download site, it sele
On Wed, Jul 7, 2010 at 1:42 PM, Sam Hobbs wrote:
> I am using Windows 7 64-bit.
>
> I am attempting to get the Android SDK installed and working. Should I
> install the 32-bit JDK or 64-bit?
>
> When I went to the JDK download site, it selected the non-64-bit JDK so I
> installed it. I am having p
I want to monitor battery temperature, if available. I create a
Receiver like this:
private BroadcastReceiver myTempReceiver = new BroadcastReceiver()
{
@Override
public void onReceive(Context ctx, Intent myIntent ) {
int temp = myIntent
The Market and Web-Browser apps seem to share a nice download manager;
is there a way to use that in my own Apps? I can't find any references
to it in the dev docs.
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking an
Connie,
This was happening because you cannot use letter in caps in the filename
On Thu, Jul 8, 2010 at 2:32 AM, Connie Walsh wrote:
> I have had this happen a couple of times. These are some things I tried:
>
>
>1. Closed other open projects.
>2. Checked the directory that the file is
I have had this happen a couple of times. These are some things I tried:
1. Closed other open projects.
2. Checked the directory that the file is actually in the res>layout. I
have mistakenly put it in the res>values area.
3. Closed the project and reopen.
God Bless,
Connie
613-42
I believe i got the issue. The reason why "Home.xml" in layout folder is not
appearing is because the filename starts with a capital "H".
Bad bad mistake
Anyways cheers for replies
Thanks
On Thu, Jul 8, 2010 at 2:13 AM, Amit Sood wrote:
> i have created another xml file in the res--layout fol
I am familiar with using Flurry with Activities and calling
FlurryAgent.onStartSession() in the activity's onStart() method and
calling FlurryAgent.onEndSession in the activity's onStop() method.
What would be the best way to do the same thing if I want to use Flurry
with my appwidget? Should I u
The options menu appears to have a translucent background by default.
Is there a way to change that to non-translucent, non-transparent.
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Over
i have created another xml file in the res--layout folder and that too is
not coming up when i do R.layout.
On Thu, Jul 8, 2010 at 2:09 AM, Amit Sood wrote:
> it gives an error which sayes "Home cannot be resolved"
>
>
> On Thu, Jul 8, 2010 at 2:04 AM, Justin Anderson
> wrote:
>
>> What happens
I am using Windows 7 64-bit.
I am attempting to get the Android SDK installed and working. Should I
install the 32-bit JDK or 64-bit?
When I went to the JDK download site, it selected the non-64-bit JDK so
I installed it. I am having problems getting the Android SDK installed
so I wanted to
it gives an error which sayes "Home cannot be resolved"
On Thu, Jul 8, 2010 at 2:04 AM, Justin Anderson wrote:
> What happens when you just use R.layout.Home and build?
>
>
> --
> There are only 10 types of people in the world...
What happens when you just use R.layout.Home and build?
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--
On We
> Justin
Oops, I've used ScrollView as partial(like HTML frame) in my app, so
this xml sample has LinearLayout.
> Tanay
Please delete LinearLayout section if you want.
On 7月8日, 午前4:19, Justin Anderson wrote:
> Why do you have the ScrollView nested inside a LinearLayout? I would make
> the Scrol
*> I have created a new java class, but when i do R.layout. in the
setContentView method i cannot find my Home.xml file*.* I can see the
main.xml which is created by default.*
Not sure exactly what you mean here...
You should be able to access it via 'R.layout.Home'. If you are talking
about the
Hello,
I have just created a new xml file to define layout for one of my
activity
res
|__layout
|__Home.xml
I have created a new java class, but when i do R.layout. in the
setContentView method i cannot find my Home.xml file. I can see the
main.xml which is created by default.
packa
Why do you have the ScrollView nested inside a LinearLayout? I would make
the ScrollView the top-level layout item...
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
---
layout.xml is just like below
...
On 7月6日, 午前6:42, "Tanay M. Kapoor" wrote:
> ok this might be a very stupid question... but im using eclipse for my
> android development
>
> i have an activity which contains a form which exceed
I had some problems posting a response here so Justin Anderson wrote
me the solution via mail. Since that may be interesting for somebody
else I want to write it down here. I was using addSubMenu() to add
fields to the context menu which was wrong, I should have been using
add() to do this. So usin
That was it! The original onBind stub had a return null at the end
which I had forgotten to remove. Thanks.
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.
Bret,
Set a breakpoint in the service's onBind method, run the code, see what
happens.
-- Kostya
07.07.2010 19:21, Bret Foreman пишет:
I don't see anything unusual in the log. I've got a few debug messages
and they are printing out fine. I've got a debug message in
onServiceConnected that is
I don't see anything unusual in the log. I've got a few debug messages
and they are printing out fine. I've got a debug message in
onServiceConnected that is not printing. There are no error messages
to be seen. The really odd thing is that bindService is returning true
and not throwing any excepti
Maybe you could try "geo:" scheme in the links:
http://developer.android.com/guide/appendix/g-app-intents.html
07.07.2010 19:08, TreKing ?:
On Sun, Jul 4, 2010 at 5:18 PM, jean francois pion
mailto:jean.francois.p...@free.fr>> wrote:
I would like to know if there is a simple syntax/ta
On Sun, Jul 4, 2010 at 5:18 PM, jean francois pion <
jean.francois.p...@free.fr> wrote:
> I would like to know if there is a simple syntax/tag to define some text
> as an adress to trigger the use of google maps ?
>
AFAIK, this is automatic. The system recognizes certain strings as valid
addresse
What does the layout code look like?
On Jul 3, 2010 1:06 PM, "Mike" wrote:
Hello!
I've got an Android app that has a focusable EditText widget inside of
a ScrollView. When I scroll down, the EditText automatically picks up
the focus. When I try to scroll up, if the EditText is partially on-
s
On Tue, Jul 6, 2010 at 11:43 PM, Bret Foreman wrote:
> I think I may be confused about how these two methods are related. My
> bind code looks something like this:
>
> bindService(new Intent(myActivity.this,
> myService.class), myServiceConnection,
> Context.BIND_AUTO_CREATE));
Hi,
I am trying to make a small prototype, which would involve taking
pictures and then using some scanning mechanism like OCR to scan the
text on the picture. After OCR processing a screen with a some text
boxes with the geotagged present location of the user would be present
on one of the text b
39 matches
Mail list logo