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 8 years ago.
Improve this question
I want to use Google In-App billing for my Android Apps using Libgdx. By default, it is a free apps for everyone. Some of the features will be unlocked once user paid a small fee (lets assume $1), and all features will be unlocked if user paid the full price (assuming $2).
I have a read on official Google's Billing site but I have no idea how to link it to Libgdx. The Official Libgdx Site doesn't really provide any clear instruction and explanation.
As at today, I still have no idea on how to link both Libgdx and In-App Billing. Furthermore, where is the information being stored (is it in the preference file?) when user purchased the unlocked item? I have absolutely no idea.
It will be great if someone lead me to the right path.
Read about the Libgdx way for Interfacing with Platform Specific Code.
Basically, you need to implement the in-app billing support within your Android project, and then expose an API to your platform-independent code to access whatever state you need. There really isn't anything libgdx-specific about the result, the billing code will all exist in your Android back-end, so most existing Android documentation and tutorials should apply.
See this forum post for a few more details:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=2544
Also, when searching, in Libgdx-land this is often called "IAP" support (for "in-app purchasing").
Libgdx has an extension library that provides in-app-billing services in a cross-platform way: https://github.com/libgdx/gdx-pay. You can use this as-is, or use it as an example for how to interface between core and platform-specific code.
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 7 years ago.
Improve this question
i´m trying to install an applet on my card but can´t find out how to. Is there someone who can help me may be a tutorial or so.
I tried JCManager to install and JSmartCardExplorer to start it
but it doesn´t work for me.
The Java Card OS Specialty Community has an up to date Applet Tutorial that should prove useful to you:
http://www.javacardos.com/javacardforum/viewtopic.php?f=31&t=114
Their forums should prove very useful to you.
Java Card is a subset of Java with language features similar to Java 1.3 and byte code similar to Java 2.0 (aka Java 1.2).
The Wikipedia article on Java Card has some additional resources as well:
https://en.m.wikipedia.org/wiki/Java_Card
Your experience may vary depending on the Java Card model and vendor, but the Speciality Community forums should be able to help wirh those details.
Well, you chose to go for Global Platform Pro, which is a very good tool for your task. So I would advise you to read the documentation from the Github page if you have questions about the usage:
Here you go
It covers all important parts, so here I will give you a general layout of what to do (independent from the tool you use):
1. Are you sure you have a JavaCard? Where did you buy it? Check all the documentation that came along with it. Because:
First and most important: you use a Card Manager that uses the Global Platform specification and before you can do anythingyou have to authenticate towards the Card Manager with the keys that were provided to you by your reseller or whoever. Cards often come with the default keys (0x40..0x4F) but some (e.g. Gemalto and G&D) have other preset keys. If you try to often to use them the card manager will lock itself and the card is bricked (this is kind of a brute-forceprotection).
If you figured this out you might want to know whats on the card,most tools have a command called ls for this.
Next you need an applet in an uploadable form, called a cap files.
Then you upload (some people say download, its a question of perspective) onto the card and afterwards you install/instantiate the applet.
In a productive environment you might now want to change the card manager keys or protect your card by any other mechanisms.
This information is only a minimum example, its important to read the documentation provided by your card vendor!!!
Good luck!
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 7 years ago.
Improve this question
Coming from Windows Phone/Store development, I'm used to a lot of tutorials and sample projects on things. I can't, for the life of me, find any good resources on how to create an Android app which interacts with a real REST service. Just a simple app which talks to some random API to help people see how to write Android apps. An app which just hits an API and throws some decent looking view elements on the display would be great.
In Windows land, typically these resources are plentiful and offer best practices, project layout suggestions, etc. Since Android has a greater market share, I expected to find resources easier, but apparently not. Any help would be appreciated. My current setup is using Android Studio.
Here it is one: http://code.tutsplus.com/tutorials/create-a-weather-app-on-android--cms-21587
At the 9 point you will find the class used for the httpCall. This is just the first one I found looking on Google for "meteo app android tutorial" . It seems good.
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 7 years ago.
Improve this question
I am planning to develop a web application using GWT, but before that I need to make few clarifications. The web app what I am developing should be compatible with Mobile phone browsers considerable smart phone browsers.
I googled a lot to know this but I did not find supporting or sufficient documentations.
If GWT doesnt support what would be the other framework, which is open source java based framework?
There is no big problem with mobile websites build using GWT, it generates standard javascript + html. There is some libraries that can help you build mobile site, like http://code.google.com/p/gwt-mobile-webkit/. And you can write any widget you wish.
But keep in mind that GWT will generate very heavy target files, sometimes few megabytes long. So if you target audience uses GPRS for accessing your site, it could be problematic for them.
There is also other web-framework, that are GWT based: http://vaadin.com/home.
It have great collection of UI components, and currently authors are extending it to be more mobile friendly.
You could also try a different route with Context Framework. I think it suites better to mobile web developing because it is more lightweight solution. I have made a journey planner (in Finnish) with it and it was tailored especially to touch screen phones. You can find it here.
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 months ago.
Improve this question
Is there any open source screen sharing (or desktop sharing) software that I can use to integrate into my web site? Any flash/java based solutions?
Flash does not have public / documented APIs to make this work. Adobe Connect even needs an additional plugin for screen sharing.
I believe Adobe has been working on APIs to help make screen sharing a reality. I believe such features were rolled into LiveCycle Collaboration Service; however I thought that was only available as a hosted service. [And I don't see the screen sharing feature documented on that page]. Here is more info from when the feature was announced; it also confirms that this is part of LCCS.
Beyond that, you can look at some tools like these, which allow you to broadcast your web cam feed. And then tie them into something like Flash Media Server or Red5 to stream that out to someone else.
BigBlueButton is an open Java based web conferencing software.
It's not open source, but I have had many very favorable reviews on XSplit.
As for integrating a flash/java app on your site, I would actually recommend just streaming your screen to a site such as Justin.tv. Here's a good guide on how to set up XSplit and start streaming to justin.tv. (I am into the video game starcraft and the streaming scene behind it)
From there, you just have to embed it on your site. No server-side stuff needed!
Hope this helped, and good luck!
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 7 years ago.
Improve this question
I am starting study java2me. But I have some source study about it like ebook, source sample code, and . Could anybody give some link website or source ebook study about it.
Great Tutorials/articles from sun:
Wireless Development Tutorial Part I
SUMMARY:This article contains
everything you need to know to get
started developing in the Java
Platform, Micro Edition (Java ME)
environment.
J2ME Tutorial
SUMMARY:What is J2ME? Cut away the
hype and the excess fat and you are
left with yet another (set of) Java
APIs. Since these APIs cannot run on a
traditional Java Virtual Machine
(JVM), due to the limited size of
mobile devices in regards to memory
and resource availability, J2ME
defines a limited version of the JVM
as well.
A book called J2ME Game Programming. This is the book I have enjoyed the most and recommend to everybody
I suggest having a look at LWUIT. http://lwuit.java.net/
I found good articles(with their documents) in samsung.Although this may not be for beginners.
My friends who happen to be J2ME developers always cite http://19-2.168.0.1 as a reference.
They also seem to like guiding everyone to the first results of google when being asked for a "J2ME TUTORIAL".
Fortunately, the first two google results are also the first stackoverflow result.
Also, try the J2ME site: http://java.sun.com/javame/index.jsp