New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Quinny899
Old
(Last edited by Quinny899; 11th August 2011 at 11:09 AM.)
#1  
Quinny899's Avatar
Recognized Contributor - OP
Thanks Meter 2873
Posts: 5,432
Join Date: Jan 2011
Location: Bolton le Sands, Near Lancaster, UK Likes: Android, Linux Hates: Windoze, Apple

 
DONATE TO ME
Thumbs down [PROJECT CLOSED] Translating QQ Desktop Pro (QQ桌面 Pro) FCs

I'm translating QQ Desktop Pro from Chinese to English using the UziTech Android Translator. I have successfully translated the strings.xml, but when it's reinstalled onto the device it force closes with this error:
ActivityThread | E: android.view.InflateException: You must specify a valid layout reference. The layout ID @layout/app_vertical_list is not valid.

(From CatLog)
The app_vertical_list.xml mentioned looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.tencent.launcher.VerticalAppLayout android:id="@id/all_apps_v" android:paddingLeft="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="70.0dip" android:layout_weight="1.0"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:launcher="http://schemas.android.com/apk/res/com.tencent.qqlauncher">
    <com.tencent.launcher.AllAppsListView android:id="@id/applistview" android:background="#00000000" android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="20.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:listSelector="#00000000" android:cacheColorHint="#00000000" android:divider="@drawable/ic_list_dividing_line" />
    <com.tencent.launcher.LetterListView android:id="@id/MyLetterListView01" android:background="#00000000" android:layout_width="25.0dip" android:layout_height="fill_parent" android:layout_alignParentTop="true" android:layout_alignParentRight="true" launcher:textColor="#ffffffff" launcher:textSize="12.0sp" launcher:startPadding="10.0dip" launcher:endPadding="10.0dip" launcher:rightPadding="3.0dip" />
    <TextView android:textSize="30.0sp" android:gravity="center" android:id="@id/TextView_CenterChar" android:background="@drawable/bg_hitchar" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" style="\@style/app_list_hitchar" />
    <com.tencent.launcher.DrawerTextView android:id="@id/drag_cache_view" android:visibility="invisible" android:layout_width="72.0dip" android:layout_height="80.0dip" style="\@style/DrawerIcon.Portrait" />
</com.tencent.launcher.VerticalAppLayout>
(I've also attached the original XML in a zipped xml)
And the r.java decompiled from the classes.dex looks like this (screenshot):


I've also attached the zipped source files, as it's too big to post.

Any ideas on why it force closes? I have successfully translated the Tencent Desktop (MIUI / iPhone style launcher with no app drawer) but want to translate this one. I'll post the other one soon.
Attached Thumbnails
Click image for larger version

Name:	jd.jpg
Views:	1366
Size:	49.9 KB
ID:	681595  
Attached Files
File Type: zip classes.dex.dex2jar.src.zip - [Click for QR Code] (13.2 KB, 5 views)
File Type: zip app_vertical_list.xml.zip - [Click for QR Code] (732 Bytes, 3 views)
 
Devices:
Galaxy Nexus
Archos 80 G9
LG GT540
Acer D255
 
Quinny899
Old
#2  
Quinny899's Avatar
Recognized Contributor - OP
Thanks Meter 2873
Posts: 5,432
Join Date: Jan 2011
Location: Bolton le Sands, Near Lancaster, UK Likes: Android, Linux Hates: Windoze, Apple

 
DONATE TO ME
Bump

Sent from my GT540 using XDA App
 
Devices:
Galaxy Nexus
Archos 80 G9
LG GT540
Acer D255
 
eoghan2t7
Old
#3  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 1976
Posts: 4,110
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
ill have a look tomorrow when im at home to see what the problem is

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn
 
-Grift-
Old
#4  
-Grift-'s Avatar
Recognized Contributor
Thanks Meter 1342
Posts: 4,013
Join Date: Jan 2011
Location: Singapore
Quote:
Originally Posted by eoghan2t7 View Post
ill have a look tomorrow when im at home to see what the problem is
off topic

hey eoghan2t7 can you pls pm the way to hard code sdcard???

Phone
Samsung Galaxy SII GT-i9100
Nobody knows
Tablet
Asus Nexus 7
Stock 4.2.2 Latest




Devices That I Have Rooted/Flashed/S-OFF
Asus Google Nexus 7
LG GT540 Optimus Swift
LG Optimus 4X HD P880
Samsung Galaxy Mini
Samsung Galaxy Ace
Samsung Galaxy Note
Samsung Galaxy S II
HTC Sensation XE

 
eoghan2t7
Old
#5  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 1976
Posts: 4,110
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
Quote:
Originally Posted by bs828 View Post
off topic

hey eoghan2t7 can you pls pm the way to hard code sdcard???
yes i will pm you it when i get home i cant remember the script atm

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn
 
eoghan2t7
Old
#6  
eoghan2t7's Avatar
Recognized Contributor
Thanks Meter 1976
Posts: 4,110
Join Date: Jan 2011
Location: Belfast

 
DONATE TO ME
@Quinny can you post a clean untranslated version of the app mine has broken aswel

Donate to my work here Paypal Donate



Get The Latest 1080p HD Porn Here: FREE 1080p Porn
 
Quinny899
Old
#7  
Quinny899's Avatar
Recognized Contributor - OP
Thanks Meter 2873
Posts: 5,432
Join Date: Jan 2011
Location: Bolton le Sands, Near Lancaster, UK Likes: Android, Linux Hates: Windoze, Apple

 
DONATE TO ME
Quote:
Originally Posted by eoghan2t7 View Post
@Quinny can you post a clean untranslated version of the app mine has broken aswel
Here you go:
Download the untouched (should be) version

@Mods, This app is a pro, yet free app. I am not posting warez
Attached Files
File Type: apk com.tencent.qqlauncher-1.apk - [Click for QR Code] (1.72 MB, 40 views)
 
Devices:
Galaxy Nexus
Archos 80 G9
LG GT540
Acer D255
 
nutterbg
Old
#8  
nutterbg's Avatar
Senior Member
Thanks Meter 55
Posts: 312
Join Date: Nov 2009
This is it, no? Looks the same to me as the Chinese version you posted earlier. Not bad, but lacks some customization options.
Platform: Sony Ericsson MT15i Xperia Neo | Android 4.0.4 MIUIv4 v2.7.6 | Kernel - 2.6.32.9-perf shardul@suave-s #15(Suave Kernel v6)
Mods: Rooted, 256MB Swap on sdcard
File Hosting: min.us - 10GB space to begin with, 2GB limit/file!! See here!(Referral link, and it gets you and me +1GB!)
 
Quinny899
Old
#9  
Quinny899's Avatar
Recognized Contributor - OP
Thanks Meter 2873
Posts: 5,432
Join Date: Jan 2011
Location: Bolton le Sands, Near Lancaster, UK Likes: Android, Linux Hates: Windoze, Apple

 
DONATE TO ME
Quote:
Originally Posted by nutterbg View Post
This is it, no? Looks the same to me as the Chinese version you posted earlier. Not bad, but lacks some customization options.
Yeah, they put it in english the other day on the market, so I'm going to call:

PROJECT CLOSED!
 
Devices:
Galaxy Nexus
Archos 80 G9
LG GT540
Acer D255
 
-Grift-
Old
#10  
-Grift-'s Avatar
Recognized Contributor
Thanks Meter 1342
Posts: 4,013
Join Date: Jan 2011
Location: Singapore
Quote:
Originally Posted by Quinny899 View Post
Yeah, they put it in english the other day on the market, so I'm going to call:

PROJECT CLOSED!
thanks a lot any way

Phone
Samsung Galaxy SII GT-i9100
Nobody knows
Tablet
Asus Nexus 7
Stock 4.2.2 Latest




Devices That I Have Rooted/Flashed/S-OFF
Asus Google Nexus 7
LG GT540 Optimus Swift
LG Optimus 4X HD P880
Samsung Galaxy Mini
Samsung Galaxy Ace
Samsung Galaxy Note
Samsung Galaxy S II
HTC Sensation XE



XDA PORTAL POSTS

Dos and Don’ts of Android Design

As long as you’re coming from some type of programming background, the unseen part of app … more

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more