[BUG ALERT!!] Missing Method Breaking ROMs: android.view.ScaleGestureDetector.onTouch - G1 Android Development

UPDATE: htcclay has a fix that works included in FastClean v1.2. Yay! I'm looking forward to seeing it filter back into FastTest.
**********************************************************************************************************
There is minor issue remaining. The maps in Wifi Tracker and My Tracks do not draw completely. This bug also exists in SuperD, but you do not see it in Cyanogen Mod v4.2.14.1, so it isn't the apps. You also do not see it in GMaps 4.0 on any of these ROMs, All maps are good. So it probably isn't the 10MB RAM hack either.
The same chunk in both remains "grid". Details and screenshots in this thread. Post #157.
***********************************************************************************************************
I've renamed the thread as Cal-El put it to me quite reasonably that the title I was using (which included the words "infecting like a virus") would frighten some people. I accept I was wrong in using words that could be misunderstood. Particularly as some here do not have English as their first language.
I'm sorry I caused some people confusion. I hope the new title is a better fit.
The Bug Details
This missing method bug is infecting more and more ROMs, perhaps as dev's copy each other's code.
ROMs known (by me) to be affected so far are:
FastTest (v2.4 to 2.6.1 - have not tested prior) - Verified personally and notified the dev providing logcat.
Complete Eclair v1.1 - Verified personally and notified the dev providing logcat.
Open Eclair v1.1.5 (Issue 147 New and still open) UPDATE: The bug is NOT seen in OE v1.2.1.
KingKlick AOSP2.1 v1.6.1 (post #2678)
SYMPTOM: The missing method is: android.view.ScaleGestureDetector.onTouchEvent
Can we please fix it and stop it spreading? It break apps like My Track, Wifi Tracker and CoPilot has also begun crashing but I haven't verified that one personally.
This is the error - same in all instances. It looks like Android's gesture support has been partially broken, though may just be a symptom of some other problem.
I/dalvikvm( 517): Could not find method
android.view.ScaleGestureDetector.onTouchEvent, referenced from method
com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 517): VFY: unable to resolve virtual method 231:
Landroid/view/ScaleGestureDetector;.onTouchEvent (Landroid/view/MotionEventZ
D/dalvikvm( 517): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 517): Making a copy of
Lcom/google/android/maps/MapView;.onTouchEvent code (96 bytes)
E/dalvikvm( 517): Could not find class
'android.view.ScaleGestureDetector', referenced from method
com.google.android.maps.MapView.setup
W/dalvikvm( 517): VFY: unable to resolve new-instance 84
(Landroid/view/ScaleGestureDetector in Lcom/google/android/maps/MapView;
D/dalvikvm( 517): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 517): Making a copy of Lcom/google/android/maps/MapView;.setup
code (272 bytes)
D/AndroidRuntime( 517): Shutting down VM

i can verify this is an issue on King's 1.6.1
here's the logcat when launching MyMaps Editor
HTML:
I/ActivityManager( 2730): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.androi
d.apps.mymaps/.MyMapsMain bnds=[3,338][77,417] }
I/ActivityManager( 2730): Start proc com.google.android.apps.mymaps for activity
com.google.android.apps.mymaps/.MyMapsMain: pid=3700 uid=10085 gids={3003, 1015
}
I/ActivityManager( 2730): Process com.android.settings (pid 3683) has died.
D/dalvikvm( 2714): GC freed 308 objects / 11736 bytes in 194ms
V/RenderScript_jni( 2855): surfaceDestroyed
V/RenderScript( 2855): setSurface 0 0 0x0
D/dalvikvm( 2714): GC freed 57 objects / 2624 bytes in 477ms
D/dalvikvm( 2714): GC freed 2 objects / 48 bytes in 229ms
I/dalvikvm( 3700): Could not find method android.view.ScaleGestureDetector.onTou
chEvent, referenced from method com.google.android.maps.MapView.onTouchEvent
W/dalvikvm( 3700): VFY: unable to resolve virtual method 231: Landroid/view/Scal
eGestureDetector;.onTouchEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 3700): VFY: replacing opcode 0x6e at 0x001e
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.onTouchEve
nt code (96 bytes)
E/dalvikvm( 3700): Could not find class 'android.view.ScaleGestureDetector', ref
erenced from method com.google.android.maps.MapView.setup
W/dalvikvm( 3700): VFY: unable to resolve new-instance 84 (Landroid/view/ScaleGe
stureDetector;) in Lcom/google/android/maps/MapView;
D/dalvikvm( 3700): VFY: replacing opcode 0x22 at 0x0065
D/dalvikvm( 3700): Making a copy of Lcom/google/android/maps/MapView;.setup code
(272 bytes)
D/dalvikvm( 3700): GC freed 7520 objects / 432488 bytes in 99ms
D/AndroidRuntime( 3700): Shutting down VM
W/dalvikvm( 3700): threadid=3: thread exiting with uncaught exception (group=0x4
001e180)
E/AndroidRuntime( 3700): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 3700): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.google.android.apps.mymaps/com.google.android.apps.mymaps.MyMaps
Main}: android.view.InflateException: Binary XML file line #8: Error inflating c
lass com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2496)
E/AndroidRuntime( 3700): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2512)
E/AndroidRuntime( 3700): at android.app.ActivityThread.access$2200(Activi
tyThread.java:119)
E/AndroidRuntime( 3700): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1863)
E/AndroidRuntime( 3700): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3700): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 3700): at android.app.ActivityThread.main(ActivityThrea
d.java:4363)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 3700): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:618)
E/AndroidRuntime( 3700): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3700): Caused by: android.view.InflateException: Binary XML fi
le line #8: Error inflating class com.google.android.maps.MapView
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:513)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createViewFromTag
(LayoutInflater.java:565)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.rInflate(LayoutIn
flater.java:618)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:407)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:320)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.inflate(LayoutInf
later.java:276)
E/AndroidRuntime( 3700): at com.android.internal.policy.impl.PhoneWindow.
setContentView(PhoneWindow.java:198)
E/AndroidRuntime( 3700): at android.app.Activity.setContentView(Activity.
java:1622)
E/AndroidRuntime( 3700): at com.google.android.apps.mymaps.MyMapsMain.onC
reate(MyMapsMain.java:124)
E/AndroidRuntime( 3700): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 3700): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2459)
E/AndroidRuntime( 3700): ... 11 more
E/AndroidRuntime( 3700): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:238)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.constructNative
(Native Method)
E/AndroidRuntime( 3700): at java.lang.reflect.Constructor.newInstance(Con
structor.java:446)
E/AndroidRuntime( 3700): at android.view.LayoutInflater.createView(Layout
Inflater.java:500)
E/AndroidRuntime( 3700): ... 21 more
E/AndroidRuntime( 3700): Caused by: java.lang.NoClassDefFoundError: android.view
.ScaleGestureDetector
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.setup(MapView
.java:368)
E/AndroidRuntime( 3700): at com.google.android.maps.MapActivity.setupMapV
iew(MapActivity.java:187)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:280)
E/AndroidRuntime( 3700): at com.google.android.maps.MapView.<init>(MapVie
w.java:255)
E/AndroidRuntime( 3700): ... 25 more
I/Process ( 2730): Sending signal. PID: 3700 SIG: 3
I/dalvikvm( 3700): threadid=7: reacting to signal 3
I/dalvikvm( 3700): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 2730): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 2730): Activity idle timeout for HistoryRecord{4403e008 com.g
oogle.android.apps.mymaps/.MyMapsMain}

ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?

nicknowsky said:
ya know I noticed something with CoPilot on Sunday Morning, just plain old wouldnt work! i was kinda pissed. I think i was using OpenEclair sunday morning
How bad is this?? Is this something that can be fixed, or our we screwed?
Click to expand...
Click to collapse
If this is that bad then someone should warn the developers about this.
Although i dont use any of the Forementioned apps =/

Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.

If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.

Bavilo said:
If they really were "developers". Whats the point in copying someone else's BAD code. If they have done it, why do you need to do it as well and clutter this world with irrelevant ****.
Click to expand...
Click to collapse
Just let them be, it will be moved or locked as usual if a mod thinks this is also irrelevant. When I heard virus I thought they meant a real virus was in the ROMs.

oh man i dont want a virus on my g1.....does norton make a antivirus for it? lol.
hope this code thing gets looked at tho

surely the "like a virus" bit should have made it apparent that it wasnt actually a virus...but it was spreading through 'direct contact' so to speak...

The dude should really change that so as to not scare anyone lol

Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
thanks for this. i can verify that pushing this jar file fixed MyMaps Editor.
edit: also fixed My Tracks and OpenTable. Thanks again.

Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
Someone in another thread actually was scared. He was asking if it could infect other system processes.

Macrophage001 said:
The dude should really change that so as to not scare anyone lol
Click to expand...
Click to collapse
i mean really! we already have the whole " does video work on this 2.1" rage and now we'll have "is that virus in this ROM" rage

kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
lol see what i mean

thanks for the find. the king 1.6.1 is lagging the crap out of my fone ..

kathi17 said:
Someone in another thread actually was scared. He was asking if it could infect other system processes.
Click to expand...
Click to collapse
LOL! not to infect!... more likely to "affect"

How were you guys never concerned about viruses before?
I always scan the files before I put them on my phone anyway.

Chahk said:
Looking at the error (specifically the mention of "com.google.android.maps.MapView.setup"), this is possibly related to OpenEclair http://code.google.com/p/openeclair/issues/detail?id=24Issue 24. It was a case of the wrong version of /system/framework/com.google.android.maps.jar file being shipped with earlier OpenEclair versions that should've been resolved in 1.2.1. Try the solution from this post and see if it fixes it for you.
Click to expand...
Click to collapse
Well, this actually worked for me as well... thank you!

josevtome said:
Well, this actually worked for me as well... thank you!
Click to expand...
Click to collapse
Thank Shafty, not me

Chahk said:
Thank Shafty, not me
Click to expand...
Click to collapse
hehehe right!... well you got the credit for the reference!

Related

Brand new SD card causes boot-time crash

Am posting in case anyone else has seen this behaviour before and can suggest something.
I've been working on getting JACxHERO 1.1 running on my Magic, and was having problems, until I realised that the reason it was getting stuck in a reboot loop was my brand new SD card.
It's (allegedly) a class 6 8Gb, works fine when plugged into my Mac in an adapter, and also appears fine within the Amon Ra recovery image (i.e. it can be partitioned from the menu, formatted, etc). However, both JACxHERO and Qtek's Hero ROM die with the same error on boot:
Code:
I/SystemServer( 137): Starting NetStat Service.
I/SystemServer( 137): Starting Connectivity Service.
W/dalvikvm( 137): threadid=23: thread exiting with uncaught exception (group=0x4000fe70)
E/AndroidRuntime( 137): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception
E/AndroidRuntime( 137): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 137): java.lang.NullPointerException
E/AndroidRuntime( 137): at android.app.ActivityThread.getProvider(ActivityThread.java:3689)
E/AndroidRuntime( 137): at android.app.ActivityThread.acquireProvider(ActivityThread.java:3718)
E/AndroidRuntime( 137): at android.app.ApplicationContext$ApplicationContentResolver.acquireProvider(ApplicationContext.java:1473)
E/AndroidRuntime( 137): at android.content.ContentResolver.acquireProvider(ContentResolver.java:576)
E/AndroidRuntime( 137): at android.content.ContentResolver.query(ContentResolver.java:144)
E/AndroidRuntime( 137): at android.provider.Settings$NameValueCache.getString(Settings.java:472)
E/AndroidRuntime( 137): at android.provider.Settings$Secure.getString(Settings.java:1759)
E/AndroidRuntime( 137): at android.provider.Settings$Secure.getInt(Settings.java:1799)
E/AndroidRuntime( 137): at com.android.server.ConnectivityService.getPersistedNetworkPreference(ConnectivityService.java:186)
E/AndroidRuntime( 137): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:127)
E/AndroidRuntime( 137): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:51)
E/AndroidRuntime( 137): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:91)
Has anyone ever seen anything similar?

[Mod] Music Mod V1.7.5.2 07/02/10 Froyo only for now

Music Mod V 1.7.5.2 Is out Get all the details and and download it at the following link:
http://development.piratemedia.tv/2010-06-28-music-mod-1-7-froyo-only/
However it is froyo only for now, so you all on g1s may have to wait for the Eclair version.
Eliot
- Edit, yet another release for another little feature
- and another small update to fix some bugs.
please check here for the latest change log:
http://development.piratemedia.tv/2010-06-06-music-mod-change-log/
I've been waiting, I'm assuming the 4x4 widget is going to have to wait (The stability issues)?
JAguirre1231 said:
I've been waiting, I'm assuming the 4x4 widget is going to have to wait (The stability issues)?
Click to expand...
Click to collapse
yeah its pretty much done, but i wana wait till its 100%
cacheinjection said:
yeah its pretty much done, but i wana wait till its 100%
Click to expand...
Click to collapse
Well, this is appreciated none the less, I'm sure the masses can live without a 4x4 widget when they have an awesome music player
cacheinjection said:
yeah its pretty much done, but i wana wait till its 100%
Click to expand...
Click to collapse
Hey your elliotstocker you never replied to my tweet im ashamed XD owell can't wait to try this music.apk been aching to for ages great work man
xillius200 said:
Hey your elliotstocker you never replied to my tweet im ashamed XD owell can't wait to try this music.apk been aching to for ages great work man
Click to expand...
Click to collapse
im sorry i prob didnt see it i get alot.
cacheinjection said:
im sorry i prob didnt see it i get alot.
Click to expand...
Click to collapse
lol np XD I was joking anyway seen the screenshots of this really looking forward to it you thinking of making one for donut heard it's jut for eclair? 0o
PS: Would love to be bale to have this on donut
xillius200 said:
lol np XD I was joking anyway seen the screenshots of this really looking forward to it you thinking of making one for donut heard it's jut for eclair? 0o
PS: Would love to be bale to have this on donut
Click to expand...
Click to collapse
this is a donut version
It would be awesome if you posted your changelog with the actual alcohol in your system
Btw, glad to play with it as soon as it gets released!
Flashing and hoping
AnderWeb said:
It would be awesome if you posted your changelog with the actual alcohol in your system
Btw, glad to play with it as soon as it gets released!
Click to expand...
Click to collapse
ha ha far to drunk going to bed hope it works ok for yall will post so proper stuff in am!
cache
cacheinjection said:
this is a donut version
Click to expand...
Click to collapse
0o lol iv'e got my sources and info mixed up great flashing now XD oh and nexus launcher I was on about is the person who just came here anderwebs lol
noooo!!! right adding eclairish bits support to a rom XD
this makes me want to go back to donut, but i'm gonna have to hold out and wait on the eclair version.
Neone get this working ? im getting force closes. Even after i wiped dalvik. Fixing uid mismatches see if tht helps
Nope still getting errors fyi im using a donut rom
nice
very nice thank.i hope it has 3d like htc?????
My logcat is :
Code:
I/ActivityManager( 69): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.music
/.MusicBrowserActivity }
I/ActivityManager( 69): Start proc com.android.music for activity com.android.
music/.MusicBrowserActivity: pid=406 uid=10030 gids={3003, 1015}
I/ActivityManager( 69): Starting activity: Intent { act=android.intent.action.
PICK dat= typ=vnd.android.cursor.dir/artistalbum flg=0x4000000 cmp=com.android.m
usic/.ArtistAlbumBrowserActivity (has extras) }
E/dalvikvm( 406): Could not find method com.android.music.MediaPlaybackService.
stopForeground, referenced from method com.android.music.MediaPlaybackService.go
toIdleState
W/dalvikvm( 406): VFY: unable to resolve virtual method 1173: Lcom/android/musi
c/MediaPlaybackService;.stopForeground (Z)V
W/dalvikvm( 406): VFY: rejecting opcode 0x6e at 0x0015
W/dalvikvm( 406): VFY: rejected Lcom/android/music/MediaPlaybackService;.gotoI
dleState ()V
W/dalvikvm( 406): Verifier rejected class Lcom/android/music/MediaPlaybackServi
ce;
W/dalvikvm( 406): Class init failed in newInstance call (Lcom/android/music/Med
iaPlaybackService;)
D/AndroidRuntime( 406): Shutting down VM
W/dalvikvm( 406): threadid=3: thread exiting with uncaught exception (group=0x4
001da18)
E/AndroidRuntime( 406): Uncaught handler: thread main exiting due to uncaught e
xception
E/AndroidRuntime( 406): java.lang.VerifyError: com.android.music.MediaPlaybackS
ervice
E/AndroidRuntime( 406): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 406): at java.lang.Class.newInstance(Class.java:1472)
E/AndroidRuntime( 406): at android.app.ActivityThread.handleCreateServic
e(ActivityThread.java:2665)
E/AndroidRuntime( 406): at android.app.ActivityThread.access$3100(Activi
tyThread.java:116)
E/AndroidRuntime( 406): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1846)
E/AndroidRuntime( 406): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 406): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 406): at android.app.ActivityThread.main(ActivityThrea
d.java:4203)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 406): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 406): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:549)
E/AndroidRuntime( 406): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 69): Sending signal. PID: 406 SIG: 3
I/dalvikvm( 406): threadid=7: reacting to signal 3
I/dalvikvm( 406): Wrote stack trace to '/data/anr/traces.txt'
D/dalvikvm( 69): GC freed 17043 objects / 1076792 bytes in 240ms
I/DumpStateReceiver( 69): Added state dump to 1 crashes
Daneshm90 said:
My logcat is :
Click to expand...
Click to collapse
What rom are you running, if it is one of the CSDI roms those don't have any eclair bits included, and AFAIk this uses some eclair bits....
JAguirre1231 said:
What rom are you running, if it is one of the CSDI roms those don't have any eclair bits included, and AFAIk this uses some eclair bits....
Click to expand...
Click to collapse
Oh ok, thanks for clarifying. I was not aware of that. Yea im using a stock 1.6 rom (amonra).
My bad, didnt read first post carefully, too excited i guess
Daneshm90 said:
Oh ok, thanks for clarifying. I was not aware of that. Yea im using a stock 1.6 rom (amonra).
Click to expand...
Click to collapse
Hmmm, that probably has no eclair bits either (not sure though), I would suggest cyan/SuperD for Eclair bits (off the top of my head)

[APP REQUEST] IM.apk for FROYO

figured I would ask to get the work started on getting a working IM apk for froyo version such that it works over 3g as well as wifi....
heres a link to the eclair version of the im.apk that works perfectly
http://forum.xda-developers.com/showthread.php?t=577825&page=6
why not just use the eclair version?
The IM.apk out there force closes on Froyo thats why the eclair one cant be used.
I'm surprised a new version has not been made. Everyone said we would have to wait for the 2.2 source before anything can be done.
Well we have the source and not a peep anywhere on whether or not anyone is working on it.
Hummmm strange
I hope something comes out soon. All i need is trackball wake and the IM.apk an I will feel complete.
Redeye said:
I'm surprised a new version has not been made. Everyone said we would have to wait for the 2.2 source before anything can be done.
Well we have the source and not a peep anywhere on whether or not anyone is working on it.
Hummmm strange
I hope something comes out soon. All i need is trackball wake and the IM.apk an I will feel complete.
Click to expand...
Click to collapse
Out of honest curiosity, what is so great about the stock tmo IM app that people want it so bad?
gIMpSTa said:
Out of honest curiosity, what is so great about the stock tmo IM app that people want it so bad?
Click to expand...
Click to collapse
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
JCopernicus said:
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
Click to expand...
Click to collapse
Ahhh that makes sense. Well, the push connection at least does. As far as having a "middle man" have my sign in details... Meh. To each his own on that I guess.
i think the im.apk works better than anything ive found on the market.would love to see it on froyo
I would love to have it in my N1 2.2 too!!
JCopernicus said:
I thinkthe IM.apk uses push instead of a constant connection (meebo/fring/etc). As well as not having a "middle man" with your sign in details.
Like gtalk.
Click to expand...
Click to collapse
It uses messaging instead of data, which means low power consumption and it doesn't sign you out when switching from wifi. And, it just works well.
carnegie0107 said:
It uses messaging instead of data, which means low power consumption and it doesn't sign you out when switching from wifi. And, it just works well.
Click to expand...
Click to collapse
The original one does use sms, the modified one posted here used data.
so still no port?
i'd love this as well
alvinleephd said:
i'd love this as well
Click to expand...
Click to collapse
As would I. I'm finding other clients lacking. Google Talk with transports is okay, but not as reliable as I'd hoped for.
any hope for this?
enomthers rom supposedly has the android im app included... anybody try it out?
http://forum.xda-developers.com/showthread.php?t=614427
i just downloaded the enomother rom like sugested but im not seeing the android im apk in the app folder.... :-/
Someone try the one i posted in this thread and let me know.
Install it like a regular app, make sure u uninstall if u have one installed.
Force closes when you try to sign in, then the screen just sits on "signing in" with the wheel spinning.
Necro'd a dead thread
I too would like this, and to that end I've done a logcat of when the program opens and while it's logging in.
I/ActivityThread( 7947): Publishing provider com.google.android.voicesearch.VoiceSearchResultProvider: com.google.android.voicesearch.VoiceSearchResultProvider
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getState, referenced from method com.android.im.service.RemoteImService.isNetworkAvailable
W/dalvikvm( 7941): VFY: unable to resolve virtual method 288: Landroid/net/NetworkConnectivityListener;.getState ()Landroid/net/NetworkConnectivityListener$State;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm( 7941): VFY: dead code 0x0005-000d in Lcom/android/im/service/RemoteImService;.isNetworkAvailable ()Z
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getNetworkInfo, referenced from method com.android.im.service.RemoteImService.loadProviderSettings
W/dalvikvm( 7941): VFY: unable to resolve virtual method 287: Landroid/net/NetworkConnectivityListener;.getNetworkInfo ()Landroid/net/NetworkInfo;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x000a
D/dalvikvm( 7941): VFY: dead code 0x000d-00e0 in Lcom/android/im/service/RemoteImService;.loadProviderSettings (J)Ljava/util/Map;
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getNetworkInfo, referenced from method com.android.im.service.RemoteImService.networkStateChanged
W/dalvikvm( 7941): VFY: unable to resolve virtual method 287: Landroid/net/NetworkConnectivityListener;.getNetworkInfo ()Landroid/net/NetworkInfo;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0007
D/dalvikvm( 7941): VFY: dead code 0x000a-0073 in Lcom/android/im/service/RemoteImService;.networkStateChanged ()V
E/dalvikvm( 7941): Could not find class 'android.net.NetworkConnectivityListener', referenced from method com.android.im.service.RemoteImService.onCreate
W/dalvikvm( 7941): VFY: unable to resolve new-instance 65 (Landroid/net/NetworkConnectivityListener in Lcom/android/im/service/RemoteImService;
D/dalvikvm( 7941): VFY: replacing opcode 0x22 at 0x0015
D/dalvikvm( 7941): VFY: dead code 0x0017-0079 in Lcom/android/im/service/RemoteImService;.onCreate ()V
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.unregisterHandler, referenced from method com.android.im.service.RemoteImService.onDestroy
W/dalvikvm( 7941): VFY: unable to resolve virtual method 292: Landroid/net/NetworkConnectivityListener;.unregisterHandler (Landroid/os/HandlerV
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x0028
D/dalvikvm( 7941): VFY: dead code 0x002b-0038 in Lcom/android/im/service/RemoteImService;.onDestroy ()V
I/dalvikvm( 7941): Could not find method android.net.NetworkConnectivityListener.getState, referenced from method com.android.im.service.RemoteImService.onStartCommand
W/dalvikvm( 7941): VFY: unable to resolve virtual method 288: Landroid/net/NetworkConnectivityListener;.getState ()Landroid/net/NetworkConnectivityListener$State;
D/dalvikvm( 7941): VFY: replacing opcode 0x6e at 0x002b
D/dalvikvm( 7941): VFY: dead code 0x002e-0037 in Lcom/android/im/service/RemoteImService;.onStartCommand (Landroid/content/Intent;II)I
D/ImService( 7941): ImService started
D/AndroidRuntime( 7941): Shutting down VM
W/dalvikvm( 7941): threadid=1: thread exiting with uncaught exception (group=0x400207e0)
E/AndroidRuntime( 7941): FATAL EXCEPTION: main
E/AndroidRuntime( 7941): java.lang.NoClassDefFoundError: android.net.NetworkConnectivityListener
E/AndroidRuntime( 7941): at com.android.im.service.RemoteImService.onCreate(RemoteImService.java:116)
E/AndroidRuntime( 7941): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 7941): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 7941): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 7941): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7941): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7941): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7941): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7941): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7941): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 7941): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 7941): at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 112): Process android.process.acore (pid 7880) has died.
I/WindowManager( 112): WIN DEATH: Window{43ed5ed0 com.android.launcher/com.android.launcher.Launcher paused=false}
I/Process ( 7941): Sending signal. PID: 7941 SIG: 9
I/ActivityManager( 112): Process android.process.im (pid 7941) has died.
W/ActivityManager( 112): Scheduling restart of crashed service com.android.im/.service.RemoteImService in 9038ms
W/InputManagerService( 112): Window already focused, ignoring focus gain of: [email protected]

[Live Wallpaper] R2D2

Hey guys, just found some awesome Leak R2D2 Live wallpaper!
You can download from the link below! Enjoy!
www.droid-life.com/2010/09/08/download-leaked-r2-d2-live-wallpapers/
A controllable R2D2, that's pretty cool. It's like a 3d shake them all.
Force closes on my N1 with KOR.
I'm getting fc's also...
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Anything we can do to correct it?
staulkor said:
Here is the trace I am getting. The thing is trying to allocate memory and dalvik wont allow it. I am running CM6 stable.
Code:
E/dalvikvm-heap( 9594): Try and trim Heap Source
E/dalvikvm-heap( 9594): Heap Massage was unsuccessful for 388800-bytes!
E/dalvikvm-heap( 9594): Heap Massage has failed...
E/GraphicsJNI( 9594): VM won't let us allocate 388800 bytes
D/AndroidRuntime( 9594): Shutting down VM
W/dalvikvm( 9594): threadid=1: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 9594): FATAL EXCEPTION: main
E/AndroidRuntime( 9594): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 9594): at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
E/AndroidRuntime( 9594): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
E/AndroidRuntime( 9594): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:372)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.importAssets(Asset.java:32)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.graphics.Asset.<init>(Asset.java:28)
E/AndroidRuntime( 9594): at com.verizon.android.wallpaper.r2d2.R2D2.onCreate(R2D2.java:101)
E/AndroidRuntime( 9594): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime( 9594): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime( 9594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime( 9594): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 9594): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 9594): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 9594): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 9594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 9594): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 9594): Sending signal. PID: 9594 SIG: 9
W/InputManagerService( 124): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 124): Process com.verizon.android.wallpaper.r2d2 (pid 9594) has died.
W/ActivityManager( 124): Scheduling restart of crashed service com.verizon.android.wallpaper.r2d2/.R2D2 in 5000ms
Click to expand...
Click to collapse
try increasing your VM max heap size to 32MB (CM settings->preformance)
works for sense roms! thanks
I'm using evil's sense rom... It's running fine for me.
anyone get sound to work? if so which sound file and where (running eViL's rom FYI).
They crash on my n1 and my heap is at 32
Sent from my Nexus One using XDA App
FC as well. CM6 Stable with max heap.
Also crashes after disabling jit ....
Everything works here. CM6 Stable with Heap Size 32
Increased my heap size to max, rebooted, and now works fine.
If your getting FC you have to reboot for it to work runs fine on cm6 stable
How do i get sound to work on boot in eViL's ROM, anyone know?
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
salamandar said:
How do i get sound to work on boot in eViL's ROM, anyone know?
Click to expand...
Click to collapse
i'm on evil's 1.11SE rom.... the sound is working for me...
ironslaya said:
How do i increase the Heapsize on Enomther's ROM? (2.12)
EDIT: Thank's figured it out for myself, but i have another Problem.. when i'm tilting my Nexus One, the Door at the R2-D2 LWP isn't opening ):
Click to expand...
Click to collapse
you gotta shake it. tilting doesn't open the door
It was still not working for me even after several reboots. I had to go into cm settings -> performance, set heap to 24m, then back to 32m, and then reboot.
Now it works perfectly.
CM6 Stable

Google now

Just wondering if anyone has gotten google now to work on cm 9 yet?
Yes, but I heard voice search fails with Now.
xpmode said:
Yes, but I heard voice search fails with Now.
Click to expand...
Click to collapse
is this with the online only or offline google now.
Im using this slimmed down version of g apps in order thyo make space on / system http://search.4shared.com/q/1/gapps-ics-small+02_06-20120429
ok so i installed now and when it trys to run im getting the message "unfortunately google search has stopped"
did a logcat to see what was causing this, so far as i can make out its this bit
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
full logcat below.
Anyone have any idea what is happening and how i might begin to fix this.
nager( 267): Lock screen displayed!
D/AccelerometerListener( 460): enable(false)
D/SurfaceFlinger( 205): Screen about to return, flinger = 0x99918
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 35
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info BACK HOME recent* CLOCK >
D/PhoneStatusBar( 396): disable: < expand icons alerts ticker system_info back* home* recent clock* >
W/InputManagerService( 267): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity} from pid 471
I/ActivityManager( 267): Displayed android/com.android.internal.app.ResolverActivity: +158ms (total +58s450ms)
I/AudioPolicyManager( 208): startOutput() output 1, stream 1, session 36
I/AudioHardwareMSM76XXA( 208): do output routing device 2
I/AudioHardwareMSM76XXA( 208): Routing audio to Speakerphone
I/ActivityManager( 267): START {act=android.intent.action.SEARCH_LONG_PRESS flg=0x13000000 cmp=com.google.android.googlequicksearchbox/.SearchActivity} from pid 267
I/ActivityManager( 267): Start proc com.google.android.googlequicksearchbox for activity com.google.android.googlequicksearchbox/.SearchActivity: pid=2009 uid=10017 gids={3003, 1007, 3002, 1015}
D/OpenGLRenderer( 471): Flushing caches (mode 1)
D/OpenGLRenderer( 471): Flushing caches (mode 0)
D/dalvikvm( 267): GC_CONCURRENT freed 1308K, 28% free 7866K/10887K, paused 7ms+30ms
E/dalvikvm( 2009): Dex cache directory isn't writable: /cache/dalvik-cache
I/dalvikvm( 2009): Unable to open or create cache for /system/app/Velvet.apk (/cache/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime( 2009): Shutting down VM
W/dalvikvm( 2009): threadid=1: thread exiting with uncaught exception (group=0x40a651f8)
E/AndroidRuntime( 2009): FATAL EXCEPTION: main
E/AndroidRuntime( 2009): java.lang.RuntimeException: Unable to instantiate application com.google.android.velvet.VelvetApplication: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:482)
E/AndroidRuntime( 2009): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4089)
E/AndroidRuntime( 2009): at android.app.ActivityThread.access$1300(ActivityThread.java:132)
E/AndroidRuntime( 2009): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 2009): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2009): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2009): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2009): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 2009): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 2009): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2009): Caused by: java.lang.ClassNotFoundException: com.google.android.velvet.VelvetApplication
E/AndroidRuntime( 2009): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 2009): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 2009): at android.app.Instrumentation.newApplication(Instrumentation.java:942)
E/AndroidRuntime( 2009): at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
E/AndroidRuntime( 2009): ... 11 more
W/ActivityManager( 267): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
I/Process ( 267): Sending signal. PID: 2009 SIG: 3
I/dalvikvm( 2009): threadid=3: reacting to signal 3
I/dalvikvm( 2009): Wrote stack traces to '/data/anr/traces.txt'
Click to expand...
Click to collapse
Try Google now in new build
http://forum.xda-developers.com/showthread.php?p=31218293
Hit thanks if helped

Categories

Resources