Extract UI strings from firmware / device - General Questions and Answers

Hi.
Before I start with my question, just a little background. I work in a user guide development firm, and mainly work on Galaxy devices.
One of the most time-consuming process in my work is to match all UI strings (app names, menu text, labels, etc) of the actual device with the user guide.
This is currently being done with human power, with a staff looking at the user guide, check the device if this is correct, and annotate the draft PDF if the UI strings don't match.
If this was for just one language, it's doable. But with 40 or so languages (including Arabic, Cyrillic, Chinese), it definitely makes me want to puke.
This is a very tiring, eye-straining work that I'm trying to resolve, for everyone's sake.
I tried decompressing the Galaxy firmware myself, but the XML data is encoded into binary(for what reason I have no idea), and is not readable.
So now I'm turning to the masters and hope for any luck.
What I would like to know is ...
Hack the Galaxy firmware(md5), and extract UI strings for all language and save in spreadsheet or something, or
Mirror the device's screen on the desktop, copy the desired UI string, and paste it to a desktop application(e.g. Adobe Acrobat).
If the first option is possible, then I can utilize the data for some sort of automation, and would be the best.
If the second option is possible, then I would no longer have to type all kinds of foreign characters(this is also a very time-consuming work), and make some progress in timeline.
If all options are not possible, and there's absolutely no way of automating this process, then well... I guess I'll go see the eye doctor more often than now.
Any ideas or helps would be great.
Thank you.

Related

GNU Emu48CE - any HP48SX Skins/.kml files out there?

Hi,
I just tried the free GNU Emu48CE for Windows mobile 2002/2003.
It comes along with all you need (ROM image, Skin bitmap file, *.kml file) for emulate a HP38G, HP39G, HP40G, HP48G and HP49G.
But I used a HP48SX for a very long time and that's a bit different to HP48G. So if there are any Skins and *.kml files fitting on a 320*240 PDA it would help me a lot, because I wrote many small apps for it and these will not all run on a HP48G.
JH
the kml is just the gui layout
of device
the difference between 48S and 48G is purely a rom thing
here you can find kml and prob roms too for the emulators
http://www.hpcalc.org/hp48/pc/emulators/
if you dont like to do the messing on the pda you can do all the work on the pc version and then just change the rom on the pda when you are ready
odd that they would not work on 48G
that never been an issue for me
Hmmm...
I don't know much about the emu and his configurations. Maybe the klm works as it is also with an SX GUI as long as the keyboard layout is equal. But even if it is only the matter of the ROM and not of the klm to interpret a keypress right, the lettering of the keys (bitmap) does not fit to a HP48. Same keys have not the same function on both calculators. It's a little bit like trying to type english on a keybord with greek letters on it...
OK, I can change the gui on my own, but I'm quite sure that someone else already has done this before and I try to avoid spending time on doing things other have already done and perhaps much better than I can do...
I will see what I can find at http://www.hpcalc.org/hp48/pc/emulators/ ...
it's quite much to read...
I think the most apps from my 48SX will work on an 48G but some of them uses direct system calls (SysRPL) and some entry point may have changed...
JH

Text-to-image utility for WM?

Anyone know of a utility that will take a text file as input and spit out a simple GIF/JPG/PNG/BMP?
If there are none, plan B would be text-to-speech. Anyone know of a good one that sounds reasonably natural?
Thanks in advance!
if there are such options this is the search which will lead you to them
http://www.google.dk/search?hl=da&q=ocr+pocketpc&btnG=Søg&meta=lr=lang_da|lang_en
you can replace ocr with text to speach if you wanna search for that
One of us is misunderstanding...
As I understand Optical Character Recognition, it takes an image (which contains text) and extracts the text. I'm trying to do the opposite - take a text file as INPUT and OUTPUT to an image. (See attachment.)
BTW- I Googled this heavily before posting. Tons of Text2Image links, but everything I found was made for a desktop PC - not Pocket PC. And including "pocket pc" in the search criteria didn't help... lots of pages with Wintel Text2Image software that mention "Pocket PC" somewhere on the page.
Have you thought of using a fullscreen doc viewer (picsel comes to mind...) and a screen-capture mapped to a hardware button? It isn't automated, but it would get the job done.
larsuck said:
It isn't automated, but it would get the job done.
Click to expand...
Click to collapse
With mortscript, you can automate pretty much anything, right? Problem is, that really wouldn't get the job done.
Let me explain the application a bit better...
I use Wisbar Advanced Desktop extensively and I have a pretty sophisticated UI set up. I have a special page for weather, but I'm really not happy with *any* of the weather today plug-ins (and I think I've tried pretty much all of them!) So what I want to do is pass 2 or 3 URLs to mortscript, have it read the file in, parse out the stuff I don't want, leaving me with text that gives me the precise details I do want. I then convert the text to an image file, saving it with the same name ands size every time (e.g. currentconditions.gif - which is already set as a positioned element on the WAD virtual page.) I do the same with extended forecast and surf report (I live at the beach in SoCal) and tell mortscript to go out and update this once per hour. Then, when I go to my weather page, I get exactly the info I want (including sunset time, water temp, UV index, etc.) and my info is no older than 59 minutes.
I'm starting to think that I should just do this server-side... maybe I can find a text-to-image script using php. Hmmmm...

Newb to C# question, trying to display jpg menu

I've been posting left and right on these forums since I got my new phone (Blackstone). I've done some programming before (c/++ and java) but mainly more scripting in Matlab and maple (if you can call the latter scripting ).
But since I've gotten my new HD, I've been wanting to program for it. So I thought my first program would be a simple but fun multiplayer game, which would allow me to learn c# in the process.
I've gotten hold of VS2008 through my uni, and a few different C# books (couldn't find a specific WM6 C# book though, and MSDN is a huge mess, what with obsolete libraries, mixing WinEmbedded and WinCE with compact.NET and a mess of unusefull and incomplete pseudocode).
So I've started through the books and it all seems kinda straight forward: classes are declared with their variables, the accessors/methods and constructors; you create an instance of the class and load in it's variables, then you draw them.
And now I'm stuck trying to just displaying a goddamned jpg.
I've attached my program code (VS2008 project) and the jpgs. What I'm trying to do here (before even getting started on the game logic) is just display a form with a background image, draw three menu buttons on top and a sound on/off button.
The start/options/exit buttons will lead to their respective forms, and the sound on/off button does just that.
What I've tried to do is create a new class. ImageBtn, which implements my button behaviour (show button, if pressed display pressedversion of the button and then perform action).
The Mash2 main() directs to MainmenuForm, which loads the bckgrnd and buttons using the mainmenufoprm.designer and the imagebtn class. The rest of the forms are placeholders.
Please, could someone who knows more of C# than me (ie practically anyone ) have a look at my Mash2.cs, FormMainmenu.cs and ImageBtn.cs to see what I'm doing wrong?
Am I not loading the jpg's correctly? Is my custom class not declared correctly? Is it a problem with my use of winArray? Or how I invoke graphics.drawimage?
I just have no idea, and what's more humiliating is that everything I look up on google gives me a different, badly written and obviously syntax incorrect example of how it should be done and they're all done using very different techniques.
PS: as I've said, I've attached my project files, but if people can't be bothered I could post the code inline. Also any links to WinMobile, compact.NET C# forums which could help would be much appreciated. Hell, any help would be a life^H^H sanity saver!

Possible convert my iPhone-app to Android?

Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
porting your iphone add to android
hi there,
i'm a android programmer and did many games already. you can see my games at:
not sure you still need help to port your iphone app to android. may be you can send me the source code. i can do it for you. very easy for me.
Tony Chan
[email protected]
Android uses java syntax and java libraries
so if you like java, then you would probably like android
layouts are done in XML
chingy1788 said:
Android uses java syntax and java libraries
so if you like java, then you would probably like android
layouts are done in XML
Click to expand...
Click to collapse
hehe well said
I don't think anybody can tell you what you need to do. Just start by reading through all of this: http://developer.android.com/guide/topics/fundamentals.html and you should be able to handle this.
Note: your application appears to be trivial.
One thing that I suggest is that you forget about locally-stored web pages and just rewrite those pages in Android/Java. The reason I suggest this is that unlike apple, you can't make any assumptions about what browser the user has installed (if any), or what rendering engine their browser happens to have, or javascript engine, etc. There are AT LEAST three different rendering engines in use on Android, including khtml, gecko, and presto. There are at LEAST two different JAVASCRIPT engines, including SquirrelFish and V8, and soon you will be able to add SpiderMonkey to this list (when Firefox launches). And no, you can't force your application to call on a particular browser since this would violate the modularity designed into the platform.
DANNEMAN101 said:
Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
Click to expand...
Click to collapse
look at the NDK
Freedomcaller said:
look at the NDK
Click to expand...
Click to collapse
The NDK is *NOT APPLICABLE*.
Why don't you create a converter from iPhone to Android? There are few Italian app.. only this is better than Android for Italian user.. but I love Android!
I have an app that has been created for android, and I need help creating it for the iphone. I'll share the source code if someone will create the app for me please.
DANNEMAN101 said:
Hi!
Ive just finished an iPhone-application, and Im looking into the possibility to convert it to an android-application.
Let me tell you the basic structure of the app:
- It has a simple drill-down-menu, with three levels of lists. Pressing a list-item will bring you deeper down into the hierarchy, and pressing a back-button will take you up a step.
- At the bottom of the hierarchy is a webview that loads a unique webpage depending on the hierarchical path the user has taken. These web-pages (html and javascript) are all localized on the device so it never goes online.
- The webpages has two main resources: images, and sound (mp3). The sound should be playable from within the webpage. All these resources are also loaded from the device.
- When exiting the app, it should save its location and when relaunched it should reopen that location.
As you can see, its a pretty simple application. Im wondering if anybody could detail a little what I need for this to come alive on Android. Perhaps the application-layout Im after is so generic, even, that there is a template for this?
My background as a programmer is mostly C++ and C#, so Im more at home with the Java-syntax than the awful Objective-C that iPhone uses.
So far Ive installed the development-environment, and have tried out the basic "Hello Android"-sample. Thats about it for the moment.
Click to expand...
Click to collapse
Is it possible to post this in the Q&A and not development section?
sparksco said:
Is it possible to post this in the Q&A and not development section?
Click to expand...
Click to collapse
This is from the first half of 2009, I highly doubt that they care where it should be posted (now).
Converting iPhone app to Android will be greate.
I would like to have All My Recipes iphone app in my Galaxy Tab
It was be great if somebody can port the secret of mana game from iphone to android ! =)

[APP][3.0+] LectureNotes - help resources

There are several videos and instructions by LectureNotes' users concerning different aspects of the app (besides the searchable help page that comes with the app, select `Help´ in any of the main menus), so I thought that it might be helpful to collect links to them here in a single thread. Please feel invited to post additional ones!
Videos:
http://www.youtube.com/watch?v=U-c4DI2Tr5Y
http://www.youtube.com/watch?v=ZhW1Mwmmp-k
http://www.youtube.com/watch?v=39z4R_2DUj0
http://www.youtube.com/watch?v=F5KrP-ccwg0
http://www.youtube.com/watch?v=e_eDpWhu058
Instructions:
http://www.instructables.com/member/milessthomas/
There are separate threads with examples for custom paper pattern coded in JavaScript http://forum.xda-developers.com/showthread.php?t=1870639 and custom drawing tools coded in JavaScript http://forum.xda-developers.com/showthread.php?t=2610695.
There is a video by a German user:
http://www.youtube.com/watch?v=R8sM7uJkIJw
A short video how to combine audio and video stream produced by LectureVideos into a single MKV container file
http://www.youtube.com/watch?v=kTTc-2EtPAw
I havent figured out how to set custom page when creating a notebook. The presets are A4 and Letter, but what would be setting for A5 and B5 portrait on Note 1 (800 x 1280 I think)?
@nbog: What should be the difference between A4 and A5? Both formats have the same aspect ratio.
[emoji15]
Cutter non-standard clipboard
I was wondering if there was a way to set the nonstandard clip board to just hold a couple of .png files. I want to put circuit elements to use when doing circuit analysis so I don't have to keep drawing them.
@caffeinatedinsanity: The non-standard clipboard displays material from numerous sources, including recent imports, the standard Android clipboard and various non-standard clipboards, and content located in the `DCIM´, `Download´, and `Pictures´ directories. If you place your content in any of the latter directories (for instance in a subdirectory in the `Pictures´ directory), it will appear in the non-standard clipboard overview.
acadoid is best developer
Thank you so much for such quick and helpful responses. I was wondering if there was a way to move the menu so that it is on the left side of the screen instead of the top. That would just personally make it easier for me to use the different options with my off-hand so I can streamline my use of different features.
@caffeinatedinsanity: The so-called action bar is at the top in Android standard UI.
Would it be possible to
Would it be possible to set a default option for the fill function of the cutter? it seems like a small thing but would make the fill function much more useful and streamlined at least in my opinion because I only ever find myself using one so being able to set a default would make it much quicker.
I have a question about the extensions.
Does Lecturevideos only take a video recording of your screen? or could it be used with a webcam to record a professor's lecture and have that included in your notebook beside the notes? becasue i would love to get that be able to have a video along with my notes of the lecture.
@acadoid Is it possible to export a few pages to pdf from a notebook? Like I know I can do either the entire notebook or one page, but I can't seem to find a way to do it for a number of pages between 1 and the total number.
@caffeinatedinsanity: You can export a subset of pages to PDF by opening the notebook in notebook overview (either directly from the notebooks board by long-clicking on the notebook and selecting `Notebook overview´ in the popup menu, or by opening the notebook normally and selecting `Notebook overview´ in the main menu), click on the `tag´ icon to active tag mode, click on the pages to tag them, and select `Export tagged pages to PDF´ in the main menu.
Is there a way to save an item to the special clipboard permanently? like just pinning it there somehow? or even just being able to use an image as a drawing tool would work even better.
@caffeinatedinsanity: LectureNotes looks in several directories for content, including ‘Download’ and ‘Pictures’ (Android access restrictions apply).
Hi there! Is there any plan to port LN to ChromeOS? I'm a paid user of LN and I'm using LN on my Chromebook tablet (hp x2 11). However, the copy/paste is tedious without being able to copy/paste everything between ChromeOS apps like Google Keep. Thanks.
@testrider: I do not understand. What exactly is ‘tedious’? What did you do? What happened? Was there an error message?
@acadoid What I meant was, I could easily copy text & images from a web site and paste them into Keep when doing research. That's not easy or possible to do with LectureNotes. For ex, to transfer an image from a web page to LectureNotes I had to save the image as a file, then go to LectureNotes and import it. Many more steps than doing Ctrl-C, then Ctrl-V to Keep without having to save into a file.
@testrider: This is not LectureNotes' fault, images copied in Chrome for Android can be pasted in LectureNotes.
Text copied in Chrome for ChromeOS appears in Android's clipboard (as it should) and you can paste it in LectureNotes, while images copied in Chrome for ChromeOS do not (which is weird). I found this behavior on all Chromebooks that I tested. I doubt whether this is intentionally, it rather seems like a bug in Chrome for ChromeOS or ChromeOS itself.
Did something change recently because I can no longer import pdfs to my lectureNotes that section of the settings is greyed out.
Please help because this takes LectureNotes from my all in 1 solution for notes to basically useless for my class notes
@caffeinatedinsanity: Did you uninstall PDFView?
If PDFView is still installed, then Android probably put PDFView 'on ice'. Newer versions of Android put apps 'on ice' if they were not launched by the user for some time. Simply launch PDFView (it will display a dialog box), that will 'de-ice' PDFView.
Restart LectureNotes after (re)installing/'de-icing' PDFView, then the menu entries and the settings for PDF import will be accessible again.

Categories

Resources