Gender and Country/Language Statistics from your Checkout Orders! - Android General

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Dear XDA developers,
I've spent the last hours to develop a small Java Application (actually my first pure java app) that parses your Checkout Orders and then displays you your customer's countries, spoken languages or gender. And because XDA is awesome, I want to share it with you ;-)
Usage:
Countries:
Code:
java -jar StatMaker.jar country [yourCSV]
Languages:
Code:
java -jar StatMaker.jar lang [yourCSV] [languageCsvFile]
Gender:
Code:
java -jar StatMaker.jar gend [yourCSV] [genderCsvFile] [genderFile]
Output:
It will either print you some errors if something went wrong and/or will print you the data in CSV format. If you are collecting Language Date and the country is not saved in the languageCsvFile yet, it will ask you for the language of that country. Enter it and confirm with Enter.
Also the Gender output has an entry called "interpolated"; If true, this means that there are some unisex names and therefore these ones were interpolated.
You should run the app once and if the data looks good you can export the output to a CSV file on Unix/Linux with
Code:
java -jar StatMaker.jar [paramtersYouUsed] > /a/file.csv
Parameters:
yourCSV: Download your Orders as a CSV from Google Checkout (Archive/Download), make sure your language is set to english, I guess the row names will differ with other languages. Also make sure you tick the "Additional buyer info" checkbox. I recommend only downloading charged orders. Refunded orders are ignored by default in the app.
languageCsvFile: Point to the attached languages.csv. If the file does not exist, a new one will be created (but then you have to enter all languages again)
genderCsvFile: Just point anywhere: A new file will be created to store your used names (that will speed up looking up names).
genderFile: Point to the included nam_dict file. This file contains about 40.000 first names.
Like I said, I wrote this app within a few hours, so don't expect a high quality app. It just does what it says and will crash if anything goes wrong. Also there are no comments or whatsoever in the source code (included). Also, this app does not have a good coding style. It works, but it is not pretty.
How can I help?
If you have many orders, please share your language file with us, as currently there aren't many countries included.
You could grab the source code and add more functions or create a GUI
I don't want donations or anything, but if you want to support me, you could try my App "SMS, my Car and Me" ;-)
Examples:
Code:
java -jar StatMaker.jar gend /home/force/CheckoutStats.csv /home/force/names.csv /home/force/nam_dict
Code:
Language,Value
male,725
female,242
interpolated,true
Code:
java -jar StatMaker.jar lang /home/force/CheckoutStats.csv /home/force/languages.csv
Code:
Language,Value
Arabic,5
Bosnian,2
Czech,8
Danish,9
English,499
Finnish,2
French,12
German,346
Greek,3
Hungarian,1
Indian,19
Indonesian,1
Italian,3
Norge,4
Polish,1
Portuguese,17
Russian,13
Slovak,2
Spanish,9
Swedish,11
Obviously, these examples are for a Linux/Unix System, if you're using Windows, use "\" instead of "/"

Related

[APP] PEinfo - Portable Executable File Format view/extract

PEInfo -free from http://www.s-k-tools.com
Reference:
Sous-Chef's Kitchen Utensils & Appliances Review
http://forum.xda-developers.com/showpost.php?p=6962422&postcount=30
Off Topic, due to it being Win32/64) -=[ Dependency Walker ]=-
-freeware program to view files their dependencies. Use it when your device is Cradled.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
- Information about PE files (executable file and dll in Windows and WindowsCE)
- Shows from what dll depends executable file
- Auto detect some other files *cough*
- Hexviewer
- Image / extraction of resources (icons, images, sounds, dialogs, etc.)
- Determine the processor type and operating system for the assembled file ​ - The program analyzes the resources and applications for Pocket PC
- Information about required to run the modules (DLL) and check their availability ​ -=[can help find the cause of a system message "Can not find file or one of its components," attempting to start the file]=-
- Automatic determination of more than 350 file types, other than PE
Direct Download link here (thanks to www.s-k-tools.com).
If you are a developer (or a hacker), you want this! It is very powerful and without a doubt very dangerous when you do not know what you are doing. So be careful and make a copy/backup before fiddling with this Piece of Art!
Portable Executable File Format specifications (read licence agreement);
http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
(Off Topic)
Then there is its BiG brother on the Personal Computer PEInfo v0.9 BETA
PEInfo v0.9 BETA is a program for a detailed analysis of the 32-bit EXE, DLL, OCX, BPL files and other produced according to Portable Executable File Format specification. With PEInfo 0.9 BETA you can view and edit an executable file headers (DOS Header, Coff Header & Optional Header), view the import and export table, browse the application resources and other.
The most important features of PEInfo v0.9 BETA;
Viewing and editing all fields in the EXE headers: DOS Header, File (COFF) Header, Optional (PE) Header. Field values are displayed as binary, hexadecimal and decimal numbers.
Viewing the Data Directories. You can modify relative virtual address (RVA) and size for each of them.
Viewing the Section Headers. You can also edit all section parameters and characteristics.
Generatig hexadecimal dump of any section.
Displaying list of imported and exported functions.
Resource browser.
Integration with the Windows Explorer. Program adds a command Open with PEInfo to the context menu for supported files.
Saving a detailed report to HTML file.
100% freeware (for non-commercial use).
Get your copy here;
http://www.pazera-software.com/products/peinfo/
Then there is PEinfo v1 for MSDOS (Command Line Interface) obtainable for free here (plus additional nice free software);
http://www.brothersoft.com/publisher/randall-glass-software.html
Helaas when one runs this little PEinfo v1 in a window one will not get the info one expects For that you need to sit at the command prompt and pipeline the information generated by PEinfo to a file. For Your Convenience an example I ran recently in a MSDOS box ;
Code:
PEINFO.EXE RunWait.exe [COLOR=Red]>[/COLOR] C:\RunWait.txt
> = Badly documented MSDOS PiPELiNE feature
Have fun edtinig/vewinig/bwroisng/assimilating/copamirng/itengaritng
supported files,
o/~
Senax

[APP][2.0+] RefMaster - BibTeX reference manager - now on Google Play

RefMaster is a BibTeX reference manager for Android. With RefMaster you can now browse, share, and edit your BibTeX databases on the move. The target audience for the app is researchers using BibTeX for referencing in the LaTeX document markup language.
Please do tell me what you think, whether it is something you find useful or would like changed. A good example BibTeX database to test against is available at: http://www.tex.ac.uk/tex-archive/biblio/bibtex/contrib/IEEEtran/IEEEexample.bib
Download:
now available from Google Play: https://play.google.com/store/apps/details?id=me.bares.refmaster
The app supports the following:
Loading from / saving to BibTeX .bib files
Browsing, viewing and editing entries
Searching entries
Hiding comment/preamble/string entries from display
Sorting by author, title, year or entry type
Sharing individual BibTeX entries
Adding new entries:
manually
by entering ISBN or DOI (requires internet access)
by scanning ISBN (requires internet access)
Supports BibTeX string concatenation using the # character
Supports common LaTeX accents ( see: http://www.bibtex.org/SpecialSymbols/ , excluding inverted ! and ? symbols )
Use of custom fonts to render LaTeX accents not supported by the stock fonts on the device
Planned features:
Actionbar and improved tablet support
Support for JabRef groups and linked files
Dropbox integration for BibTeX database / linked file access (so you can access your personal copies of papers directly within
the app)
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Change log:
v0.74 2012-07-27: first release on Google Play
v0.73b 2012-07-22: confirmation dialogs for deleting fields/entries, various bugfixes for dialogs
v0.72b 2012-07-22: fixed crash when exiting preferences without setting a custom font (workaround for v0.71b, save some text as a path to the custom font, it does not need to be a valid file, any text will do)
v0.71b 2012-07-22: first public beta

Christmas Gift Idea: The personal Love Calculator!

Don't forget to take part in our UMi X1 Pro Giveaway! It is opened untill the 15. January 2015. Go here:
http://klonom.com/umi-x1-pro-giveaway/
Still searching for a small gift for your app or technology excited crush/boyfriend/girlfriend or similiar? Then this might be an idea for you: The personal Love Calculator!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The idea for a “personalized Love Calculator” I got from one of these TV commercials for expensive Love Calculator apps. Why not to make an own Love Calc, which basically works exactly as useless as a “normal” Love Calculator , but with the small but important “fix” that it returns 100% when two special names are entered. That would be a nice gift idea for your significant other for christmas .
Who directly wants to jump to the files, just scroll to the end of this post. There is a ZIP file containing a ready-to-compile B4A project, made for a 720×1280 resolution.
Since I am not a Java coder, I was not in the mood to set up the SDK, IDE, paths and so on for a one time programming in Java. So I searched for a alternative for creating Android apps with as less setting up work as possible. I found B4A: Basic for Android. This is a development environment in which you can develop native Android apps in a Basic-like language. It also has a graphical GUI editor. One big advantage is is that no setting up of paths etc. is needed, since B4A offers the oppertunity of “Remote Compilation”, where the program is uploaded to a server where it is compiled. So you just need to install the 30 days trial version and you’re good to create an app (the Java JDK only needs to be installed). The only downside of this program is, that for a few seconds after opening the app, a message box is shown that the app was created with the trial version.
So here now a short guide, how to make your own, personalized Love Calculator:
Installation of the software:
1) Download and install the JDK (here)
2) Download and install the Basic 4 Android Trial (here).
3) Get the B4A Bridge App from the Play Store (here). This app is needed to test the compiled APK later.
When the softwares are installed, you can directly begin with the app itself .
Adjusting the app:
When you start the IDE from B4A the first time, you land in screen like this:
Via Source->Open Source you can load the project from the Love Calculator (at the end of this post). Then the source code should be loaded.
Now you can insert the “special” names : Just replace the value of the variable name1 and name2. If for example the names Dog and Cat should produce a 100% result, the following lines have to be changed like the following:
Code:
‘HIER DIE NAMEN ERSETZEN!!!
name1=”Cat”
name2=”Dog”
Te first line is simply a comment and means “Change the names here!”. This is the only part in the whole code which need to be changed. In the actual program it does not matter, which name is on which position or if written with capitals or not.
I adjusted the GUI to a display resolution of 720×1280. If you need an other resolution, you have to to this in the “Designer”.
Via “New Variant” you can create a new resolution. In the “Abstract Designer” you can scale and adjust the position of the UI elements. I won’t go here too much into details, if you have any questions, just write .
Save the project and choose “Release” from the dropdown list right beside the blue arrow. Then start the B4A Bridge App on your mobile. Click on “Start Bluetooth”. Then go to Tools – B4A Bridge – Connect (Bluetooth) in the IDE. First click Find devices and then your phone. Then you should be connected with your phone. Now you just need to hit the blue arrow and you’re done! The app should be installed several seconds later.
The compiled .apk should be placed in the project folder under /Objects . Surely this App won’t win an innovation or design award, but thanks to the little “Fix”, which gives a specific name combination always 100%, it is a nice little gimmick, especially for christmas time .
The ZIP-file of the project you can find on this site.

[Tutorial] [4.0+] For beginners – SQLite Database Browser to modify Google dictionary

For beginners – How to use SQLite Database Browser to change Google Keyboard Dictionary
See Taking Advantage of Google Keyboard – The Best Keyboard for Sliding; With secondary language dictionary, INDONESIAN: for Rooted Phones.
http://forum.xda-developers.com/android/general/tutorial-google-keyboard-indonesian-t3215118
Click to expand...
Click to collapse
Place the user_dict.db file in the PC
Download SQLite Database Browser to the PC (http://portableapps.com/apps/develop...owser_portable)
Open the EXE file, and run
You will be presented with this page:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click Open Database. There will be two tables, i.e. “android_metadata” and “words”
Click Browse Data
Choose “words” from the Table (pulldown menu)
The content of the dictionary will be displayed. This “words” table (with the letter s) has 6 fields:
_id for indexing
word, the word
frequency, max 255, that is supposed to mean the most used choice. Lower figures mean more rare occurrence. So if one word that you seldom use keep popping up, change this to 100 or 10 or whatever.
locale: words considered system dictionary has the “null” notation. En_US means US English. This can be changed to null easily.
appid: don’t really know about this
shortcut: your shortcut
Just double click the record to change its value.
Typing certain letters in the FILTER will instantly show filtered records.
Try entering this :
hami% --> will show “hamil”, “hamili”, “hamilnya”. But not “kehamilan”. To show the latter, type %hami%
___ (three underscore, garis bawah) --> will show all words that consist of the three letters. One underscore is a subtitute of one letter.
Click on Execute SQL to write full SQL commands. Below, the command produces the same result as the filtered records above.
For locale, the value is "null" or "en_US" (without the quotes). This command shows all records with en_US value.
In practice, either value is OK; no difference in practice.
For frequency, the value is 0 to 255, with 255 means as the most often used word.
For Updating (changing values of) the database, use update command. Remember the table name is “words”, and the field name is “word”
For deleting, use the command “DELETE FROM words WHERE ….”
See SQL programming tutorial for further study but I guess updating and deleting is enough for the purpose of modifying the dictionary.
You may want to learn how to “import” if you have a lot of words to insert.
Reserved 1

[APP][4.0.3+] Stock and Inventory Simple 2.0.22

We have developed the application to provide a simple way to manage goods in a small stock, warehouse or home inventory storage
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Goods tracking implemented through Documents :
create Incoming document to add Items to stock
create Outgoing document to dispose of items (send them somewhere)
create Stock-taking document to count actual quantity of items and replace quantity in stock
The application allows importing/exporting data from/to Excel files (stored in device memory as well as Google Drive and Dropbox).
You can also perform backup and restore of your database and images
You can use your device's camera to scan barcode to speed up your work
All basic inventory management features in our application are free: you can create any number of goods, groups, folders, documents, use reports, import and export documents, backup and restore your database.
Though if you need to use prices (we assume that in this case you sell and purchase something so making some profit) then you need to buy a subscription.
We think this is decent and does not violate XDA forum rules. I apologize if we got the rules wrong way
We will appreciate any feedback, pieces of advice and criticism from XDA community.
We are also concerned about translations. English is not our native language and we are afraid that some terms in the application do not reflect app's functions in the most correct way. Please advise us on this.
If somebody can help us to translate Stock and Inventory into other languages it would be very nice and we will add credits to such person in the application.
APK file attached!
The link to Google Play is Moderators, please allow me to insert link here , I wrote this post for about an hour and I am not sure it is so useful without the link
@osimax Good job. Using it for 3 days. Is there any promo code
Hi!
Thanks for the feedback!
I am sorry, but Google only allows promo codes for paid applications. There is no technical ability to create promocodes for subscriptions.
Thanks to the developer
Excellent, I had it for some time now, just today starting using it, really pleased with it, simple, fast and very functional, keep it going!

Categories

Resources