First off let me say that this is a great site and I have enjoyed reading and learning from all of you and your experiences.
Anyway, I was hoping to find a way to add the bluetooth bpp function and ftp function to the dcd rom. I saw someone in another thread make a mention but he never got an answer. Can anyone help me out with this??
For the most part I have been able to add various elements to the dcd kitchen that I extracted from the ppc kitchen. However those two bluetooth functions when added i get the error message regarding the can't create default.hv and user.hv or something like that. I looked at the log and it gave me this error related to BPP
Failed to parse value name HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD!!!
InitRegistry FAILED in file ".\Registry\c7f840e6-4c2e-40a8-8676-c9dca31ceebd.rgu" within a few lines of line 37.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\c7f840e6-4c2e-40a8-8676-c9dca31ceebd.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
this is from lines 36 and 37
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"BT_BPP"="1_6_1_0"
and this error related to FTP
Failed to parse value name HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD!!!
InitRegistry FAILED in file ".\Registry\f1d746e0-97d9-48a2-b9ca-84886fd5488a.rgu" within a few lines of line 50.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\f1d746e0-97d9-48a2-b9ca-84886fd5488a.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
this is from lines 49 and 50
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\MASD]
"BTFtp"="1_2_33309_91"
Anyway thats it, I hope someone can figure that out for me, I would greatly appreciate it.
-eYe-
Can you please post the .rgu files for each OEM?
Not to be dense, but do you mean you want to download the actual files, or do you want me to post the exact contents of each file?
After thinking it over for a minute it made no sense to me why I just didnt do one or the other anyway so here are the files....
bpp.rgu
ftp.rgu
I don't know whether you needed the actual file names as they are in the kitchen, but if you do let me know.
thanks.
-eYe-
Related
I'm using DCD's new 2.3 Kitchen.
I created an OEM from a Mortscript install cab (ver. 4.1) using Ervius Package Creator.
When BuildOS compiles the registry I get an "error building defaul.hv and user.hv".
Checking the log comes up with this:
log.txt said:
Failed to parse value name HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe!!!
InitRegistry FAILED in file ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu" within a few lines of line 6.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\3361ebcd-b637-423d-b96b-5d65fda26662.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
Click to expand...
Click to collapse
Here is the RGU. Line six seems to deal with the creation of a value, "window classes". Looking at a manual installation the value is supposed to be a Multi Line Value.
Here is what is in the RGU:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Spb Software House\Pocket Plus\11\Applications\MortScript.exe]
"Enabled"=dword:00000001
"UserName"="MortScripts"
"WindowClasses"0x00010000SysListView32
[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe""" """%%1"
[HKEY_CLASSES_ROOT\MortScript\DefaultIcon]
@="Windows\\MortScript.exe,-130"
[HKEY_CLASSES_ROOT\MortScript]
@="MortScript"
[HKEY_CLASSES_ROOT\.mortrun]
@="MortScript"
[HKEY_CLASSES_ROOT\.mscr]
@="MortScript"
According to this guide the """ in line 9 is an error with Ervius Package Creator that should be changed to \" so I tried changing it to:
Code:
[HKEY_CLASSES_ROOT\MortScript\Shell\Open\Command]
@="Windows\\MortScript.exe\" \"%%1"
And I got the same error. Any suggestions are appreciated.
HI , I am stuck exactly at the same place....
I know most chefs have moved on to the Visual Kitchen, but I would greatly appreciate some insight on a problem I'm having with the old'style kitchen.
I moved the GSensorCalibrator & GSensor SDK from the OEM folder to the PACKAGES folder. I added a supporting OPTION.XML (Unicode, like the others) and collapsed the contents of 0409 folder to the respective package folder, removed the 0409 folders, and then renamed the packages as follows:
.\Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
.\Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
The ROM loads up fine from the BuilOS tab of PkgToolsBuildOs 6.x-5.3 and the output of the log pertaining to the package above shows the following:
Code:
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0\9f517713-bb2d-4e77-8de8-e0638bf94c40.dsm
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
The Cabinet Tool section of the log shows this:
Code:
-- adding packages\9f517713-bb2d-4e77-8de8-e0638bf94c40.rgu
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu
Notice that the .DSM for the GSensorCalibrator is missing - not sure why. I've even tried recreating the file and using BUILDDSM.
The RGU Comp section of the log shows this:
Code:
package "02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0" does not contain .rgu file "8f517713-bb2d-4e77-8de8-e0638bf94c40.rgu"
importing registry file ".\Registry\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu"...
I checked the usual stuff: .RGU file format (Unicode, like others), .PROVXML format (same like others, although irrelevant at this point), duplicate .DSM/.RGU, multiple .RGU/.DSM in the package folder.
I'm completely stumped; I'm sure it's something I'm overlooking but for the life of me, I can't figure out why PkgToolsBuildOs 6.x-5.3 is not "picking" up the GSensorCalibrator .RGU file.
* UPDATE *
Deleting the .DSM files and creating blank empty ones seem to solve the problem ... which still has me confused as I started off with empty .DSM to begin with.
As I suspected, if the Cabinet Tool section does not show a .DSM for an .RGU expect problem with the package in question.
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
That's how I assumed it was supposed to function - the .DSM essentially provided a folder contents list of sorts.
That said, it appears that the version of PkgToolsBuildOs I'm using will search for the .RGU file in the folder ... when the .DSM file is empty (0 byte).
Cheers,
GSLEON3 said:
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
Click to expand...
Click to collapse
The RGU does NOT need to be read only...
Is that the extent of YOUR helpful commentary?
Hello all,
So I've made an application, for android but when I try to install it on my phone it gives an error, "Application could not be installed" or something like that.
I think it's a signing issue. If I sign it with apk manager it works great, but since I want to upload it on the market I had to sign it with jarsigner.
I used this tutorial:
http://www.simply-android.com/discu...an-app-inventor-app-on-the-android-market./p1
Any suggestions?
I also tried signing with eclpise/adt, same error.
So, I just used this command to verify the sign was ok:
Code:
jarsigner.exe -verify -verbose -certs apkname.apk
I get some files that have this:
Code:
[CertPath not validated: null]
Then on last lines:
Code:
jar verified
Warning:
This jar contains entries whose certificate chain is not validated
Any help appreciated!
Nobody knows? I really need some help with this, since I can't upload the app on the market because of this issue.
What am I doing wrong? I did use the correct commands to sign it, so I don't understand why there is an error when trying to install the apk from the SD card...
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
It is very tricky to find info on the usage with 1.7, but once found it is reasonable simple:
For keytool include
-sigalg SHA1withDSA -keyalg DSA -keysize 1024For jarsigner include
-sigalg SHA1withDSA -digestalg SHA1
(1024 is the maximum and works, less might do the trick)
Trying to compile some samples from the Android SDK.
I just took the AccelerometerPlay example, ran the command:
Code:
android update project -p . -t 1
which creates the Ant build file, then
Code:
ant release
which builds release APK files.
The problem is, if I add something like:
Code:
import android.util.Slog;
to the .java file, the build fails, claiming that it can't find the file (even though it exists in {sdk_path}/sources/android-15
I'm guessing that it looks for .class files inside {sdk_path}/platforms/android-15/android.jar , where android/util/Slog.class doesn't exist.
How do I get this build to work?
I've tried adding
Code:
<src path="${sdk.dir}/sources/android-15" />
under the <javac> task in {sdk_dir}/tools/ant/build.xml, but it seems to throw out more errors, whilst also appearing to try to compile every single .java file there.
I'm new to Java so really don't know what I'm doing - can anyone please point me in the correct direction?
Thanks.
Anyone have any idea?
If you're new to Java, you may want to give Eclipse a try. You won't have to mess around with Ant too much and it will help you with your syntax/imports.
From your description, it looks like you'll want to add the .jar file you mentioned to the 'classpath' attribute of the <javac> element in your ant XML file.
- chris
Thanks for the reply cttttt.
What .jar file are you referring to? android.jar? Because that doesn't have the classes as far as I know.
Eclipse gets me even less further - I can't seem to install the ADT plugin at all. On Eclipse 3.7.2, it throws the WST error, and when I try the solutions "that work", I get thrown network errors.
(so at least I can get a build actually going with Ant)
I have multiple errors like this
frameworks/av/media/libstagefright/ACodec.cpp:39:24: fatal error: QCMetaData.h: No such file or directory
this file located in hardware/qcom/media/mm-core/inc/ directory
how i can add this directory to include_paths?
if it is to a linux computer, you would add this to your /home/user/.bashrc file <- notice the dot.
export PATH=$PATH:/path/to/whatever/file/you/need
you can add this line below the same line, if you have one like this already.
to test, youc an also type it on the CLI, if it works, and you needed it permanent, then add it to the file mentioned.
no. it not about PATH variable
on UT compilation i have multiple errors like this
frameworks/av/media/libstagefright/ACodec.cpp:39:24: fatal error: QCMetaData.h: No such file or directory
becouce including header file QCMetaData.h locating in hardware/qcom/media/mm-core/inc/ directory that was not in <<includes_directories>>
how i can add this includes directory to each project which include files from it?
i dont want to catch all dependencies. how get it automatics?
ah I see. that's beyond my sys admin knowledge. someone with programming (gcc) skills can help you. Sorry
Hi Maybe this can help http://stackoverflow.com/questions/...odec-cpp-in-android-sources-in-libstagefright
gazhead said:
Hi Maybe this can help http://stackoverflow.com/questions/...odec-cpp-in-android-sources-in-libstagefright
Click to expand...
Click to collapse
nope