Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm working on a multiplatform application for windowsphone, iphone and android. I do this using visualstudio(phone sdk) with monoplugin (monotouch and mono for android for the other two platforms). The c# you write the code in is compiled to native code for al three platform.
my Question(S):
I'm looking for a graph drawing library that is based on the .net (silverlight) framework. Because if I get the library working on windowsphone, it should be able to work on the other two platforms (with the help of mono). So, does anyone know (or recommend) a graph library?
Has anyone here ever done something similar and if so? what library did you use.
You probably won't find such library - unless you resort to using a HTML View with a Javascript Drawing Library on all platforms. I for one would stick to exposing the relevant data from your View Model and use some code-behind in your platform specific view to adapt your graph library of choice for each of the platforms to deal with the data exposed by your View Model.
There is one library i found, that atleast implements the basic draw functions across the three mono sdk's.
It can be found here:
https://github.com/praeclarum/CrossGraphics
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
short question, is there a free mobile app template available? I’m very new to this so I don’t know much. I hear react native is the most common? If it is any consultation, I’m looking for a picture sharing format like iFunny.
Thanks!
In android studio, there are a few templates for new activities/fragments. If you're looking for something that you can download and just change a few variables, it will probably take you longer/be more confusing than actually learning to program an app.
Each app has their native source code. For android it is java/kotlin, and iOS it is swift. React native is a framework to create your apps for both platforms at the same time(ish). Programming in the native languages vs using React has their own pros/cons, so it's up to you what you want to do.
If you are adamant on using a template, then a simple google of 'react native app templates' will probably be what you are looking for.
I personally recommend going the honest route and learning to program your app, it's not too difficult, and you will learn a lot!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any simple (or even not so simple) way to transmit just small amounts of data (some small strings and the occasional number) between 2 iOS devices using Unity? I know there are some assets on the Asset Store, but those are upwards or $50 and far overkill. Or is there a good tutorial for this that I can follow?
those are upwards or $50
No, they are not. Here is a Bluetooth plugin for Android and iOS for $10.
The rule goes like:
If you are one person, use that. You will save yourself time. If you are working for a company, you should make your own plugin.
is there a good tutorial for this that I can follow?
If you decide to make your own Bluetooth plugin, you must first learn Java. Make a simple Android Java Bluetooth program and test it on your Android device. If it works, then you can then simply convert it into a plugin by seperating the code into functions such as bluetoothInit(), bluetoothConnect(), bluetoothSend(), bluetoothReceive(), bluetoothDisconnect(), bluetoothClose(). Then compile it into a plugin (jar or aar) file. You can now call the functions from Unity C#.
Learn Android Bluetooth API.
Links on how to call Java functions from C# in Unity. I suggest you follow the first link.
http://www.what-could-possibly-go-wrong.com/creating-a-native-android-plugin-for-unity3d/
http://www.thegamecontriver.com/2015/04/android-plugin-unity-android-studio.html
https://www.thepolyglotdeveloper.com/2014/06/creating-an-android-java-plugin-for-unity3d/
EDIT:
For iOS, you need to learn Objective-C. Learn iOS Bluetooth API then make a plugin.
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html
http://code.tutsplus.com/tutorials/ios-7-sdk-core-bluetooth-practical-lesson--mobile-20741
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I would like to know if there is some other alternative or propper way for developing the UI of an android app. I know that XML is used, and also why - but are there any other methods even if they are not very efficient?
You are welcome to create your UI by creating Java objects directly and stitching them together into their parent-child relationships, including the layout managers needed to control things like sizing and positioning.
And, given that, you are welcome to invent your own means of defining an UI (parse some JSON, use a random number generator, etc.), as in the end it is all just Java objects.
If you are developing games, there are some game frameworks like Cocos2d-x or Unity that have their own ways to display content on the screen. They can also be useful for apps that require some kind of 3D visualization (Unity for example can embedded in a native app).
Other than that, the alternative to XML is to create views programatically in Java, and manage the view hierarchy by yourself. You can mix both, which is especially useful when you want to create content dynamically based on some data you fetch at runtime.
One framework that seems promising, is Flutter. You need to know Dart language, however, it's easy to catch.
BTW, Flutter is a cross platform framework and you can use it for both Android and iOS development.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
This might sound like a duplicate question but trust me its not.
I have an Android app. It contains WebView to display webpages. Now I am planning to go live with the app on ios too. Now having two different codes and maintaining them is a difficult task.
Is there a way I can develop app in both the platforms with minimum maintenance issues. With minimum maintenance I mean more reusable code that can be use on both the platforms.
I have heard that it can be done using Chromium Project but am unable to find supporting docs for the same on internet.
Any suggestions?? or reference materials??
For what I know there is no way you could use your Java code and the XML files (including your WebView) in IOS application. the language/platform are different.
What you could do is to develop a web application that looks as a mobile application for example using JQueryMobile and the export it using the already suggested PhoneGap framework to any platform you would like.
You should try one of the several frameworks out there, being PhoneGap (http://phonegap.com) an interesting option.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Are there any cross-platform UI markup languages for major mobile operating systems? I'm mainly looking for a language for describing forms and other interactive elements.
HTML won't do because the requirement is that the UI is built using each device's native widgets for everything in the view.
Maybe you could try one of the many multi platform toolkits like:
Appcelerator Titanium mobile http://www.appcelerator.com/products/titanium-mobile-application-development/
APPlause https://github.com/applause/APPlause
Appmobi XDK http://www.appmobi.com/
Canappi http://www.canappi.com/
Kony http://www.konysolutions.com/konyone
Marmalade http://www.madewithmarmalade.com/
Mobl http://www.mobl-lang.org/
Orubase http://www.orubase.com
PhoneGap http://phonegap.com/
Red Foundry http://www.redfoundry.com/
StackMob https://dashboard.stackmob.com/
Steape http://www.steape.com/
Take a look at MarkupKit:
https://github.com/gk-brown/MarkupKit
It's an open-source framework I wrote that allows you to build native iOS apps in markup. It isn't cross-platform, but it provides a similar development metaphor to XAML and Android. For example, you can create a label instance like this:
<UILabel text="Hello, World" font="System 24" textColor="#ff0000"/>
rather than this:
UILabel *label = [UILabel new];
[label setText:#"Hello, World"];
[label setFont:[UIFont systemFontOfSize:24];
[label setTextColor:[UIColor colorWithRed:1.0 green:0.0 blue:0.0 alpha:1.0]];
Obviously, that's a simple example - the value of using markup becomes much more apparent with more complex view hierarchies. It also supports dynamic localization and CSS-like styling.
You can find articles and examples on my blog:
https://gkbrown.wordpress.com
Hope you find it useful.