[android-developers] Multiple IP´s on the same device (IPv6)

2016-10-28 Thread Manu G
Hi, i have a IPv6/48 address space from tunnelbroker.net, and i wonder if i 
can assign new IP´s trough my app to end devices.

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/40fc64b6-e59f-40d5-badd-c2f5f119fdc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Screen Recording or Screen capture

2011-08-04 Thread Manu
Hi,
Is there a way where I can capture the screen of my android device in
real time? I browsed few forums but unable to get this information.
I'm looking for Screen capture as images (video would be even good).

I'm new here, so bear my technical knowledge in explaining my
requirement.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] sample pvrtc application.

2011-06-28 Thread Manu
hi

i want to write a openGl application which uses the GLES2 ext which i 
couldnot find in the sdk(2.3.3). how can i use the constants openGl 
parameters defined in GLES2ext.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Barcode scanning in android App

2011-04-20 Thread manu
Hello Friends,

I wanted to implement bar code scanning feature in App and then use
that for searching products.
Can you please share relevant helpful information?

Thanks,
Manu

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is it possible to create Auto Call Recording ??

2011-04-15 Thread Manu
Hi,

I am new to this technology & so i am doing some test projects in
various aspects..now my question is "can we record calls automatically
in android os?" if so pls explain it & how can we do that? will be
very thankful to u if provide some example program. Thanks in advance.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] bluetooth apps for android

2010-07-11 Thread Manu
Is there anyway of testing bluetooth applications for android phone
without actually having a real android device. I am asking this
because the emulaator does not support bluetooth.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] select text in Edittext box

2010-06-03 Thread Manu
whenever i use the methods getselectionstart and getselectionend on a
edittext widget ,i get both the integers equal to zero,could anyone
please help me.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How To Select Text in Text View

2010-05-24 Thread Manu
i need a reader where in the user can select some text.Once the user
Selects that text I should be able to acccess that text .Is This
possible .Please Help..

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] NullPointerException while building android app using ant.

2010-02-11 Thread manu
Hi All,

While building the android app using ant am getting the following
exception. Couldn't figure out why these exception are thrown!!!

Execute:Java13CommandLauncher: Executing 'D:\Android-2.0\android-sdk-
windows\platforms\android-1.5\tools\aapt.exe' with arguments:
'package' '-f' '-M' 'E:\manish_test\timetrack\client\static\android
\AndroidManifest.xml' '-S' 'E:\manish_test\timetrack\client\static
\android\res' '-A' 'E:\manish_test\timetrack\client\static\android
\assets' '-I' 'D:\Android-2.0\android-sdk-windows\platforms
\android-1.5\android.jar' '-F' 'C:\CLIENT_BUILDS\QA\3.0.9\Android\11-
Feb-2010_b1\XoraTimeTrack.ap_'

The ' characters around the executable and arguments are not part of
the command. [null] (skipping index file 'E:\manish_test\timetrack
\client\static\android\res\drawable\Thumbs.db') Class
org.apache.tools.ant.Project loaded from parent loader (parentFirst)
Finding class com.android.sdklib.internal.project.ProjectProperties
$PropertyType Loaded from D:\Android-2.0\android-sdk-windows\tools\lib
\sdklib.jar com/android/sdklib/internal/project/ProjectProperties
$PropertyType.class Class java.lang.Enum loaded from parent loader
(parentFirst) Class
com.android.sdklib.internal.project.ProjectProperties$PropertyType
loaded from ant loader (parentFirst) Finding class
com.android.sdklib.internal.project.ProjectProperties Loaded from D:
\Android-2.0\android-sdk-windows\tools\lib\sdklib.jar com/android/
sdklib/internal/project/ProjectProperties.class Class
com.android.sdklib.internal.project.ProjectProperties loaded from ant
loader (parentFirst) Class java.util.Map loaded from parent loader
(parentFirst) Class java.io.OutputStream loaded from parent loader
(parentFirst) Class java.io.FileOutputStream loaded from parent loader
(parentFirst) Class java.lang.Throwable loaded from parent loader
(parentFirst) Class java.lang.AssertionError loaded from parent loader
(parentFirst) Class java.lang.Class loaded from parent loader
(parentFirst) Class java.util.HashMap loaded from parent loader
(parentFirst) Finding class
com.android.sdklib.internal.project.ApkConfigurationHelper Loaded from
D:\Android-2.0\android-sdk-windows\tools\lib\sdklib.jar com/android/
sdklib/internal/project/ApkConfigurationHelper.class Class
com.android.sdklib.internal.project.ApkConfigurationHelper loaded from
ant loader (parentFirst) Finding class
com.android.sdklib.internal.project.ApkSettings Loaded from D:
\Android-2.0\android-sdk-windows\tools\lib\sdklib.jar com/android/
sdklib/internal/project/ApkSettings.class Class
com.android.sdklib.internal.project.ApkSettings loaded from ant loader
(parentFirst) [antcall] Exiting E:\manish_test\timetrack\build\build-
Android-1.0.xml.

BUILD FAILED E:\manish_test\timetrack\build\build-Android-1.0.xml:371:
The following error occurred while executing this line: E:\manish_test
\timetrack\build\build-Android-1.0.xml:302:
java.lang.NullPointerException at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:
508) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418) at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:
288) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25) at java.lang.reflect.Method.invoke(Method.java:597) at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106) at org.apache.tools.ant.Task.perform(Task.java:348) at
org.apache.tools.ant.Target.execute(Target.java:357) at
org.apache.tools.ant.Target.performTasks(Target.java:385) at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758) at
org.apache.tools.ant.Main.startAnt(Main.java:217) at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused
by: E:\manish_test\timetrack\build\build-Android-1.0.xml:302:
java.lang.NullPointerException at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
116) at org.apache.tools.ant.Task.perform(Task.java:348) at
org.apache.tools.ant.Target.execute(Target.java:357) at
org.apache.tools.ant.Target.performTasks(Target.java:385) at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:
38) at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) ... 17 more
Caused by: java.lang.NullPointerException at
com.android.sdklib.internal.project.ApkConfigurationHelper.getSettings(ApkConfigurationHelper.java:
3

[android-developers] Android permission to open("/dev/mem",...)

2009-11-04 Thread Manu
I am designing an application on Android that needs to access hardware
registers from user space. The application is integrated to external/
skia. First, I have to determine the virtual address of my hardware by
doing a device open("/dev/mem", O_RDWR|O_SYNC) followed by a mmap(...)

Linux-2.6.29-dirty
Android Volume Deamon version 2.0

Issue:
The open() operation is failing with a EACCES(13) error: I dont have
permission.

Observation1:
I have noticed config files having the following flags:
CONFIG_DEVMEM
CONFIG_STRICT_DEVMEM
in Kconfig.debug in kernel/arch/x86 and in other places (generated
files).

Observation2:
I also tried to alter the AndroidManifest.xml for my application
(Camera) to add a permission called "HARDWARE_TEST". The
PackageManager rejected the permission at start-up.

Observation3:
When my application was a standalone executable that I invoked from
the shell, I did not have that problem.

Questions:
1. What are the rules behind permission to open the mem device ?
2. What is the usage of the config flags related to DEVMEM and can
they help me?
3. Where is the master config file that generates all the generated
files?
4. Is there anything I can do via the permission inside the xml
manifests ?

Thanks,

Manu

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] ssh and ftp connections not run in android sdk 1.6

2009-10-10 Thread manu

Hi, i've developed a conectivity app. The ssh connection run
successfully in sdk 1.5, but in the new version never connect with the
servers. I use the jsch library to make ssh connection.

My other problem is the ftp connections, this never run in android
sdk, i try my code with SUN's JRE and run successfully. I use the
common-net library to make it.
--~--~-~--~~~---~--~~
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, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread manu

i've the INTERNET permission, i can to list directories using ssh
protocol but i can open a ftp connection, but i cannot list nothing i
ever get a empty array
--~--~-~--~~~---~--~~
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, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-09-11 Thread manu

I'm having a problem with common-net 2.0 in android, when i invoke the
listFiles() method i ever get nothing, if i run the same code with SUN
JRE in get a big list of FTPFiles. Anyone can help me?

--~--~-~--~~~---~--~~
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, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-22 Thread Manu

My mnifest is


http://schemas.android.com/apk/res/android";
package="org.mano">


















On Aug 23, 5:11 am, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> Did you add
>      
> to your manifest? What type is "myService" here?
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 22, 12:51 pm, Manu <[EMAIL PROTECTED]> wrote:
>
> > Here is the stack trace log output for
> > StackTraceElement stack[]=e.getStackTrace();
> >       for(StackTraceElement i:stack)
> >       {
> >         android.util.Log.v("!!!",i.getClassName()+":"+i.getMethodName()
> > +":"+i.getLineNumber());
> >       }
>
> > I/ActivityManager(   51): Annotation: Broadcast of Intent
> > { action=android.provider.Telephony.SMS_RECEIVED comp={org.mano/
> > org.mano.SMSApp} (has extras) }
>
> > I/ActivityManager(   51): CPU usage:
>
> > I/ActivityManager(   51): Load: 1.11 / 0.74 / 0.57
>
> > I/ActivityManager(   51): CPU usage from 11886ms to 590ms ago:
>
> > I/ActivityManager(   51):   org.mano: 46% = 41% user + 5% kernel
>
> > I/ActivityManager(   51):   system_server: 20% = 15% user + 5% kernel
>
> > I/ActivityManager(   51):   mediaserver: 7% = 5% user + 2% kernel
>
> > I/ActivityManager(   51):   com.android.phone: 6% = 4% user + 2%
> > kernel
>
> > I/ActivityManager(   51):   com.android.mms: 4% = 3% user + 1% kernel
>
> > I/ActivityManager(   51):   android.process.shared: 3% = 2% user + 1%
> > kernel
>
> > I/ActivityManager(   51):   adbd: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   android.process.media: 0% = 0% user + 0%
> > kernel
>
> > I/ActivityManager(   51):   logcat: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   rild: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   events/0: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   pdflush: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   servicemanager: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51):   qemud: 0% = 0% user + 0% kernel
>
> > I/ActivityManager(   51): TOTAL: 94% = 76% user + 17% kernel + 0%
> > softirq
>
> > I/ActivityManager(   51):
>
> > I/ActivityManager(   51): /proc/meminfo:
>
> > I/ActivityManager(   51): MemTotal:        94572 kB
>
> > I/ActivityManager(   51): MemFree:         10324 kB
>
> > I/ActivityManager(   51): Buffers:             0 kB
>
> > I/ActivityManager(   51): Cached:          44648 kB
>
> > I/ActivityManager(   51): SwapCached:          0 kB
>
> > I/ActivityManager(   51): Active:          49832 kB
>
> > I/ActivityManager(   51): Inactive:        26576 kB
>
> > I/ActivityManager(   51): SwapTotal:           0 kB
>
> > I/ActivityManager(   51): SwapFree:            0 kB
>
> > I/ActivityManager(   51): Dirty:               0 kB
>
> > I/ActivityManager(   51): Writeback:           0 kB
>
> > I/ActivityManager(   51): AnonPages:       31760 kB
>
> > I/ActivityManager(   51): Mapped:          21600 kB
>
> > I/ActivityManager(   51): Slab:             3004 kB
>
> > I/ActivityManager(   51): SReclaimable:      600 kB
>
> > I/ActivityManager(   51): SUnreclaim:       2404 kB
>
> > I/ActivityManager(   51): PageTables:       2432 kB
>
> > I/ActivityManager(   51): NFS_Unstable:        0 kB
>
> > I/ActivityManager(   51): Bounce:              0 kB
>
> > I/ActivityManager(   51): CommitLimit:     47284 kB
>
> > I/ActivityManager(   51): Committed_AS:   871240 kB
>
> > I/ActivityManager(   51): VmallocTotal:   876544 kB
>
> > I/ActivityManager(   51): VmallocUsed:     10436 kB
>
> > I/ActivityManager(   51): VmallocChunk:   855036 kB
>
> > I/ActivityManager(   51): Removing old ANR trace file from /data/anr/
> > traces.txt
>
> > I/Process (   51): Sending signal. PID: 242 SIG: 3
>
> > I/Process (   51): Sending signal. PID: 109 SIG: 3
>
> > I/dalvikvm(  242): threadid=7: reacting to signal 3
>
> > I/Process (   51): Sending signal. PID: 94 SIG: 3
>
> > I/dalvikvm(   94): threadid=7: reacting to signal 3
>
> > I/Process (   51): Sending signal. PID: 163 SIG: 3
>

[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-22 Thread Manu
Init:main:492

V/!!! (  242): dalvik.system.NativeStart:main:-2

V/### (  242): ERROR:Error connecting with login URI

I/dalvikvm(  145): Wrote stack trace to '/data/anr/traces.txt'

I/Process (   51): Sending signal. PID: 113 SIG: 3

I/dalvikvm(  113): threadid=7: reacting to signal 3

I/Process (   51): Sending signal. PID: 88 SIG: 3

I/dalvikvm(   88): threadid=7: reacting to signal 3

I/dalvikvm(   94): Wrote stack trace to '/data/anr/traces.txt'

W/ActivityManager(   51): finishReceiver called but none active

W/ActivityManager(   51): finishReceiver called but none active

I/dalvikvm(  113): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(   88): Wrote stack trace to '/data/anr/traces.txt'

W/SurfaceFlinger(   51): executeScheduledBroadcasts() skipped,
contention on the client. We'll try again later...

D/dalvikvm(  109): GC freed 1031 objects / 46544 bytes in 840ms

D/dalvikvm(  163): GC freed 58 objects / 2624 bytes in 861ms

D/dalvikvm(   88): GC freed 3886 objects / 166536 bytes in 1053ms

D/dalvikvm(  113): GC freed 3 objects / 72 bytes in 414ms

D/dalvikvm(   94): GC freed 159 objects / 10880 bytes in 471ms




On Aug 23, 12:29 am, Manu <[EMAIL PROTECTED]> wrote:
> Justin,
>
> How can I print the exception to a logcat? Is it feasible?.  I tried
> attaching src of gdata to android project for debugging but
> compilation fails and so cannot debug.
>
> Thanks
> Manoj
>
> On Aug 23, 12:23 am, Manu <[EMAIL PROTECTED]> wrote:
>
> > Justing,
> > It appears that the code is throwing exception in line
> > myService.setUserCredentials(name, pass);
> > The catch block for AuthenticationException  is showing as the
> > exception error message ERROR:Error connecting with login URI
> >     {
>
> >       // TODO Auto-generated catch block
> >       android.util.Log.v("###","ERROR:"+e.getMessage());
>
> >     }
>
> > I/ActivityManager(   51): Removing old ANR trace file from /data/anr/
> > traces.txt
>
> > I/Process (   51): Sending signal. PID: 187 SIG: 3
>
> > I/Process (   51): Sending signal. PID: 109 SIG: 3
>
> > I/Process (   51): Sending signal. PID: 163 SIG: 3
>
> > I/dalvikvm(  163): threadid=7: reacting to signal 3
>
> > I/dalvikvm(  109): threadid=7: reacting to signal 3
>
> > I/Process (   51): Sending signal. PID: 145 SIG: 3
>
> > I/Process (   51): Sending signal. PID: 51 SIG: 3
>
> > I/dalvikvm(  145): threadid=7: reacting to signal 3
>
> > I/dalvikvm(  187): threadid=7: reacting to signal 3
>
> > I/dalvikvm(   51): threadid=7: reacting to signal 3
>
> > I/dalvikvm(  145): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(  109): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(   51): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/Process (   51): Sending signal. PID: 113 SIG: 3
>
> > I/dalvikvm(  113): threadid=7: reacting to signal 3
>
> > I/Process (   51): Sending signal. PID: 94 SIG: 3
>
> > I/Process (   51): Sending signal. PID: 88 SIG: 3
>
> > I/dalvikvm(   88): threadid=7: reacting to signal 3
>
> > I/dalvikvm(   94): threadid=7: reacting to signal 3
>
> > W/ActivityManager(   51): finishReceiver called but none active
>
> > I/dalvikvm(  187): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(  113): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(   94): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(  163): Wrote stack trace to '/data/anr/traces.txt'
>
> > I/dalvikvm(   88): Wrote stack trace to '/data/anr/traces.txt'
>
> > V/###     (  187): ERROR:Error connecting with login URI
>
> > W/ActivityManager(   51): finishReceiver called but no pending
> > broadcasts
>
> > D/dalvikvm(  163): GC freed 1978 objects / 105520 bytes in 768ms
>
> > D/dalvikvm(  109): GC freed 1768 objects / 99112 bytes in 837ms
>
> > D/dalvikvm(   88): GC freed 798 objects / 32984 bytes in 833ms
>
> > D/dalvikvm(  113): GC freed 155 objects / 14224 bytes in 634ms
>
> > D/dalvikvm(   94): GC freed 187 objects / 11472 bytes in 718ms
>
> > D/dalvikvm(   51): GC freed 9280 objects / 422384 bytes in 873ms
>
> > Thanks
> > Manoj
>
> > On Aug 22, 9:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> > wrote:
>
> > > What's the output from logcat?
>
> > > Cheers,
> > > Justin
> > > Android Team @ Google
>
> > > On Aug 22, 7:20 am, Manu <[EMAIL PROTECTED]> wrote:
>
> > > &

[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-22 Thread Manu

Justin,

How can I print the exception to a logcat? Is it feasible?.  I tried
attaching src of gdata to android project for debugging but
compilation fails and so cannot debug.

Thanks
Manoj

On Aug 23, 12:23 am, Manu <[EMAIL PROTECTED]> wrote:
> Justing,
> It appears that the code is throwing exception in line
> myService.setUserCredentials(name, pass);
> The catch block for AuthenticationException  is showing as the
> exception error message ERROR:Error connecting with login URI
>     {
>
>       // TODO Auto-generated catch block
>       android.util.Log.v("###","ERROR:"+e.getMessage());
>
>     }
>
> I/ActivityManager(   51): Removing old ANR trace file from /data/anr/
> traces.txt
>
> I/Process (   51): Sending signal. PID: 187 SIG: 3
>
> I/Process (   51): Sending signal. PID: 109 SIG: 3
>
> I/Process (   51): Sending signal. PID: 163 SIG: 3
>
> I/dalvikvm(  163): threadid=7: reacting to signal 3
>
> I/dalvikvm(  109): threadid=7: reacting to signal 3
>
> I/Process (   51): Sending signal. PID: 145 SIG: 3
>
> I/Process (   51): Sending signal. PID: 51 SIG: 3
>
> I/dalvikvm(  145): threadid=7: reacting to signal 3
>
> I/dalvikvm(  187): threadid=7: reacting to signal 3
>
> I/dalvikvm(   51): threadid=7: reacting to signal 3
>
> I/dalvikvm(  145): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(  109): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(   51): Wrote stack trace to '/data/anr/traces.txt'
>
> I/Process (   51): Sending signal. PID: 113 SIG: 3
>
> I/dalvikvm(  113): threadid=7: reacting to signal 3
>
> I/Process (   51): Sending signal. PID: 94 SIG: 3
>
> I/Process (   51): Sending signal. PID: 88 SIG: 3
>
> I/dalvikvm(   88): threadid=7: reacting to signal 3
>
> I/dalvikvm(   94): threadid=7: reacting to signal 3
>
> W/ActivityManager(   51): finishReceiver called but none active
>
> I/dalvikvm(  187): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(  113): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(   94): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(  163): Wrote stack trace to '/data/anr/traces.txt'
>
> I/dalvikvm(   88): Wrote stack trace to '/data/anr/traces.txt'
>
> V/###     (  187): ERROR:Error connecting with login URI
>
> W/ActivityManager(   51): finishReceiver called but no pending
> broadcasts
>
> D/dalvikvm(  163): GC freed 1978 objects / 105520 bytes in 768ms
>
> D/dalvikvm(  109): GC freed 1768 objects / 99112 bytes in 837ms
>
> D/dalvikvm(   88): GC freed 798 objects / 32984 bytes in 833ms
>
> D/dalvikvm(  113): GC freed 155 objects / 14224 bytes in 634ms
>
> D/dalvikvm(   94): GC freed 187 objects / 11472 bytes in 718ms
>
> D/dalvikvm(   51): GC freed 9280 objects / 422384 bytes in 873ms
>
> Thanks
> Manoj
>
> On Aug 22, 9:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
> wrote:
>
> > What's the output from logcat?
>
> > Cheers,
> > Justin
> > Android Team @ Google
>
> > On Aug 22, 7:20 am, Manu <[EMAIL PROTECTED]> wrote:
>
> > > Hi Folks,
>
> > > Trying to insert even in google calendar but with no luck. Any
> > > pointers?
>
> > >  String [EMAIL PROTECTED];
> > >  String pass=xyz;
> > >   myService.setUserCredentials(name, pass);
> > >       URL postUrl =
> > >         new URL("http://www.google.com/calendar/feeds/"+name+"/private/
> > > full");
> > >       CalendarEventEntry myEntry = new CalendarEventEntry();
>
> > >       myEntry.setTitle(new PlainTextConstruct("Tennis with Beth"));
> > >       myEntry.setContent(new PlainTextConstruct("Meet for a quick
> > > lesson."));
>
> > >       DateTime startTime =
> > > DateTime.parseDateTime("2008-08-22T15:00:00-08:00");
> > >       DateTime endTime =
> > > DateTime.parseDateTime("2008-08-22T17:00:00-08:00");
> > >       When eventTimes = new When();
> > >       eventTimes.setStartTime(startTime);
> > >       eventTimes.setEndTime(endTime);
> > >       myEntry.addTime(eventTimes);
> > > Thanks
> > > Manu
>
> > >       // Send the request and receive the response:
> > >       CalendarEventEntry insertedEntry = myService.insert(postUrl,
> > > myEntry);
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-22 Thread Manu

Justing,
It appears that the code is throwing exception in line
myService.setUserCredentials(name, pass);
The catch block for AuthenticationException  is showing as the
exception error message ERROR:Error connecting with login URI
{

  // TODO Auto-generated catch block
  android.util.Log.v("###","ERROR:"+e.getMessage());

}

I/ActivityManager(   51): Removing old ANR trace file from /data/anr/
traces.txt

I/Process (   51): Sending signal. PID: 187 SIG: 3

I/Process (   51): Sending signal. PID: 109 SIG: 3

I/Process (   51): Sending signal. PID: 163 SIG: 3

I/dalvikvm(  163): threadid=7: reacting to signal 3

I/dalvikvm(  109): threadid=7: reacting to signal 3

I/Process (   51): Sending signal. PID: 145 SIG: 3

I/Process (   51): Sending signal. PID: 51 SIG: 3

I/dalvikvm(  145): threadid=7: reacting to signal 3

I/dalvikvm(  187): threadid=7: reacting to signal 3

I/dalvikvm(   51): threadid=7: reacting to signal 3

I/dalvikvm(  145): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(  109): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(   51): Wrote stack trace to '/data/anr/traces.txt'

I/Process (   51): Sending signal. PID: 113 SIG: 3

I/dalvikvm(  113): threadid=7: reacting to signal 3

I/Process (   51): Sending signal. PID: 94 SIG: 3

I/Process (   51): Sending signal. PID: 88 SIG: 3

I/dalvikvm(   88): threadid=7: reacting to signal 3

I/dalvikvm(   94): threadid=7: reacting to signal 3

W/ActivityManager(   51): finishReceiver called but none active

I/dalvikvm(  187): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(  113): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(   94): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(  163): Wrote stack trace to '/data/anr/traces.txt'

I/dalvikvm(   88): Wrote stack trace to '/data/anr/traces.txt'

V/### (  187): ERROR:Error connecting with login URI

W/ActivityManager(   51): finishReceiver called but no pending
broadcasts

D/dalvikvm(  163): GC freed 1978 objects / 105520 bytes in 768ms

D/dalvikvm(  109): GC freed 1768 objects / 99112 bytes in 837ms

D/dalvikvm(   88): GC freed 798 objects / 32984 bytes in 833ms

D/dalvikvm(  113): GC freed 155 objects / 14224 bytes in 634ms

D/dalvikvm(   94): GC freed 187 objects / 11472 bytes in 718ms

D/dalvikvm(   51): GC freed 9280 objects / 422384 bytes in 873ms

Thanks
Manoj

On Aug 22, 9:21 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]>
wrote:
> What's the output from logcat?
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 22, 7:20 am, Manu <[EMAIL PROTECTED]> wrote:
>
> > Hi Folks,
>
> > Trying to insert even in google calendar but with no luck. Any
> > pointers?
>
> >  String [EMAIL PROTECTED];
> >  String pass=xyz;
> >   myService.setUserCredentials(name, pass);
> >       URL postUrl =
> >         new URL("http://www.google.com/calendar/feeds/"+name+"/private/
> > full");
> >       CalendarEventEntry myEntry = new CalendarEventEntry();
>
> >       myEntry.setTitle(new PlainTextConstruct("Tennis with Beth"));
> >       myEntry.setContent(new PlainTextConstruct("Meet for a quick
> > lesson."));
>
> >       DateTime startTime =
> > DateTime.parseDateTime("2008-08-22T15:00:00-08:00");
> >       DateTime endTime =
> > DateTime.parseDateTime("2008-08-22T17:00:00-08:00");
> >       When eventTimes = new When();
> >       eventTimes.setStartTime(startTime);
> >       eventTimes.setEndTime(endTime);
> >       myEntry.addTime(eventTimes);
> > Thanks
> > Manu
>
> >       // Send the request and receive the response:
> >       CalendarEventEntry insertedEntry = myService.insert(postUrl,
> > myEntry);
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Code working in standalone java; doesnot work in android (android-sdk-windows-0.9_beta)

2008-08-22 Thread Manu

Hi Folks,

Trying to insert even in google calendar but with no luck. Any
pointers?

 String [EMAIL PROTECTED];
 String pass=xyz;
  myService.setUserCredentials(name, pass);
  URL postUrl =
new URL("http://www.google.com/calendar/feeds/"+name+"/private/
full");
  CalendarEventEntry myEntry = new CalendarEventEntry();

  myEntry.setTitle(new PlainTextConstruct("Tennis with Beth"));
  myEntry.setContent(new PlainTextConstruct("Meet for a quick
lesson."));

  DateTime startTime =
DateTime.parseDateTime("2008-08-22T15:00:00-08:00");
  DateTime endTime =
DateTime.parseDateTime("2008-08-22T17:00:00-08:00");
  When eventTimes = new When();
  eventTimes.setStartTime(startTime);
  eventTimes.setEndTime(endTime);
  myEntry.addTime(eventTimes);
Thanks
Manu


  // Send the request and receive the response:
  CalendarEventEntry insertedEntry = myService.insert(postUrl,
myEntry);

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---