How can I convert .vp file into .xml or .apk file? - android

I'm using justinMind and I get .vp file.I am able to convert it in .html file but how can I convert it in .xml or .apk?I have tried to convert .html to .xml by using .tidy but It doesn't give me proper layout in my androidstudio.

I don't know this SDK, but from I quick search, I found this post on there forum :
https://www.justinmind.com/community/topic/can-justmind-export-the-prototype-directly-to-the-android-studio-project
For long term save, here is the two post :
Question : I can use the software for simple designing and prototyping. It will reduce the app build time if there is a way to export the files as an android studio project. Is this possible?
Answer
Hi there,
Unfortunately that is not possible. However, you can utilize the
generated CSS and Javascript, which may help reduce app build time.
Best,
Danielle
So you need to use the generetad HTML/Javascript/Css files with a WebView. So no, you can't create a project, only the HTML files.

Related

Xamarin MVVM : Work with just one JSON Folder to change language

I want to know if we can create just one Localization folder for my application in MVVMCross (Android, IOS, Core) to change the language.
In fact, i watching this video/tuto to change my Application Language with MVVMCross: https://youtu.be/VkxHtbJ_Tlk
I downloaded the sample too and i can see, his folder BabelResources is in his Android project, in his IOS Projet, in WPF etc...
I can't create just one ressource folder and create just one JSON file with my translation (In my PCL for example)
Thank for your help
http://opendix.blogspot.dk/2013/05/using-resx-files-for-localization-in.html
or`
http://enginecore.blogspot.dk/2013/09/localization-in-xamarin-mvvmcross_18.html
or
http://blog.giovannimodica.com/post/internationalization-of-a-cross-platform-application
Hope one of them can help you on your way :) Alternatively, you could add the translation file in for example the android project and add it as link in the ios project.
Here's an alternative using simple text files in your PCL: https://github.com/xleon/I18N-Portable
The video tutorial you're referring to is using linked files in other projects. So you setup up only one resource file and use it in all the platform projects by linking to the file (instead of copying it)
You can find the source here: https://github.com/MvvmCross/MvvmCross-Tutorials/tree/master/Babel

How to use Android ADT Translation Manager

How do I use the ADT Translation Manager (http://developer.android.com/sdk/installing/installing-adt.html#tmgr)? After I install it, there's a menu option to Upload String for Translation, but that tells me I don't have a translation project yet.
When I go to the Play Store to create a project, it requires me to upload files to get started, and I would have to finish the flow and pay in order for it to create the project.
How do I use the plugin to upload the files? I have a rather large project, and it would be an enormous pain to upload the files one at a time through the web tool.
I'm not familiar with that, but I manage my translation by my own.
transai - https://github.com/Jintin/transai
It's a command line tool I wrote to manage my Android & iOS text.
It can generate csv files from your strings.xml, and you can do translate according the csv file.
After you finish, you can transform it back to strings.xml.
It more readable for now IT man to help me do translate this way.
You can give it a try.
If you have any further question, you can leave issue to me.
Thank you.

Parse Android xml file instead of iOS .strings

So as mobile developers, every time we translate one of our apps we have to translate both Android and iOS strings files. These files contain 90% of the same strings just the file is in a different format.
Does anyone know if there is an NSLocalizedString override to read from Android compatible .xml files? or if this is even possible?
Alternatively, is there a command line tool to convert between the two formats?
This does what you need, but not from the command line.
http://localise.biz/free/converter/ios-to-android
The full system has an API though. If you register you'll be able to pull your translations into .strings or Android XML files from the command line, or programmatically via a simple script.
So it turns out this kind of tool doesn't exist. I created a toolchain and posted it here.
If there is activity I will develop it further.
For a recent project which already had 19 translations, I was also looking for a script to convert the XCode Localizable.strings files to Android Eclipse format.
I found convertLocalizable.rb but I can't work with ruby, so I've created a Javascript based on it, see link below. You have to cut and paste each file but it works great.
Javascript XCode Localizable.strings and Android strings.xml convertor
Here's a simple script that will generate iOS Localizable.strings from Android strings.xml files.
Try Twine - a robust project for converting resources.

html unit with android

I have a working code with html unit and java(repeat, working code :P) no errors no missing jars.
now I copy paste this same code into an android project, add the html unit library etc... try to run it and I get
could not find class "com.gargoylesoftware.htmlunit.webclient"
and a series of subsequent errors that follow
I tried adding jar files to /libs folder as some suggested(through google) and that cost eclipse to go out of memory before opening the emulator
I also ticking the libraries under order and export (that did not do much)
anyway so the question is, is it possible to get html unit to run with android? and if not, what is the alternative to it in android? my software needs to loginto a server, fill several forms, etc...
thank you
Try creating project from existing source ... I have this problem often when I try foreign code.

creating an emailable or printable document using an Android app

Can anyone recommend a good source (either a tutorial or book?) on how to generate a .doc file from an Android App?
I am completely new to programming and don/t understand most of what I read as answers here, hence the need for a recommendation: I need to learn!
What I'm after is to be able to produce a document based on a standard template, containing a choice of standard paragraphs with user insertions, which can then be emailed, all from a smart phone or tablet.
Unfortunately I think you have a research task on your hands. If your requirements allow you to create an Open Office XML document then its possible to insert the user's paragraphs 'by hand'.
An Open Office XML document is just a zip archive with XML files inside of it. Unzip the template document using java.util.zip and locate the word/document.xml file inside. Insert the user's text using the DOM and persist the file.
Another approach would be to try to get docx4j integrated into your Android project. My guess is that this project reference many libraries that are not included with the Android SDK.
Good luck and hope this helps.

Categories

Resources