Please help, info about using java on wm with c# & googlemaps api - Windows Mobile Development and Hacking General

Hi first I must apologize for posting here I know I should post in the questions and answers section, I have already done this twice with two similar posts but I have not received a reply I beleive because the expert programmers are less likely to look there to help people as most questions are about useing software not developing it. anyway here is what i posting before I really hope someone can help me...
Hello everyone I was wondering if anyone could answer this question for me.
I am creating a wm app and for part of it i want some information from googlemaps, the maps api is in java and i was thinking of ways to incorperate this into my app. Can i create a java program to get data from google and have my c# program run the java program and get info from it? I could write my program totally in java but i don't like the way i have to first start the vm and launch my program from that is there a way to automate this? also I need quite a lot of information from the phone so using c# will make getting this info easier.
or are there any other ways i might be able to get the info I want, I don't really know anything about applets but could they somehow be used?
oh btw the specific data i want is distance between to map locations (via googles route not direct)
many thanks i hope someone can help
I apologize again for posting in here but this app is for a final year project and I need to know if im barking up the wrong tree as soon as possible.

I might be wrong here, but to the best of my knowledge, Google Maps API is actually JavaScript API, not Java. If you found Java API, it's most likely a wrapper. And if it exists, I'm sure C# wrapper should exist as well. You might want to take a look at this. I know it's not exactly what you are looking for, but it might be helpful to some degree. Also, one other thing I can suggest, is to look at Virtual Earth API. I'm almost 100% positive, that they do have a C# implementation of the API.

Hi hobbbbit thanks so much for your reply, so googlemaps api is javascript , I have never used javascript before and saw that the api used objects methods and looked like java so i just assumed thats what it was. If there isn't a wrapper for c# do you (or anyone) know of a way of using the api to obtain one of the objects and use it in c#?
I would use virtual earth but unless I am totally wrong here I thought to use it you needed a licence which costs around $8000 which I don't want to pay for. Even with google if I wanted to release the app i think I would have to pay although I have contacted them and they say I can develop my app using the free api.
**EDIT**
Ok well I took another look at virtual earth, I really am a complete idiot. I signed up for a FREE developers account so hopefully everything I need I can get from there.
again thanks for your advice if you hadent posted I would probably still be trying different ways to hack google earth to work in my wm app.

On codeplex is a windows forms project that uses googlemaps api as wel as a few others. Im pretty sure you can get an idea of how to go about this from there

cornelha said:
On codeplex is a windows forms project that uses googlemaps api as wel as a few others. Im pretty sure you can get an idea of how to go about this from there
Click to expand...
Click to collapse
Superb this was just the thing I was looking for I will be sure to study this code closely. Thanks so much for the information.

Related

Programming the Hermes

Hi @ all...
i wanted to know if anyone is able to give ma an introduction into programming on mobile devices.
i've got the microsoft visual studio 2005 as a student version from my school, and found the mobile device template, but i wasn't able to figure some things out.
i will try much things by myself, but if anyone could give me an example on how to write a programm that accesses the phone line.
actually i want to write a program, that is able to place a call and send DTFM to the other side.
Is there a possibility to do this?
greetings
garfield
embedded visual c++ .. it is free and I'm using it .. look at what I've did all at my signature
What you are trying to do is not so simple. You need to read and learn about Telephony API (TAPI) which is a set of functions that lets you talk to the phone part of the device.
Also, you need to install the Window Mobile 5 and / or 2003 SDK which is available for free from MS.
Finally, you have not mentioned what programming languages you know.
There is probably simpler approach for .NET then TAPI, but .NET sucks.
hmm...
already heard about tapi... but i'm not really into c++ programming.
but this will be neccessary i think.
as i'm leraning c# at school for now, i will try it that way, and if you say, there might be an easier way with .net, i'll try this. both of the phones i want to program are wm6 so i don't have to worrie about the freaking big framework as it is incorporated into wm6...
i will take a look at it, now with having tapi in mind, MSDN might help me a little...
thanks for the help

Phone usage monitor

Im looking for a usage monitor which basically will predict my bill for the coming month. It needs to monitor gprs (like spb does) phone calls and text messages.
I have googled for this program, but with no luck.Therefore, im looking to develop it myself, probably using C# with visual studio 2005. I m downloading the trial, but as a user with no experience im going to be using msdn a lot while developing. Does anyone have any good guides for c#? because all the google results are either rubbish or expensive.
And, would it be better to program in a different language? [Ive looked at C++, but seems too complicated with no experience]
Also, what are some of the popular apps written here on xda-devs written in? [eg melody, slide to unlock, oto, schaps' programs etc]
Any if anyone knows of a product like this that already exists, please tell me, and save me some work.
And, does anyone know a way to get msdn premium subscription on its own or cheaply? As i think its a great resource just waiting to be tapped.
Thanks to you all here in the great developers forum, I just want to be considered on of you greats some time
Rory
x

skill set required for android development!!

Hi all,
I want to start application development for android. Can anyone please let me know the requirements for this?
I know that I am asking very general question and please let me know if this is not the correct place to ask this query.
I know C/C++...what things I need to learn before starting application development for android?
Waiting for reply!!
From what I can tell:
Java.
Then hit the android developer's website and they'll teach you how to write for android platform.
Sent from my HTC Vision using XDA App
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
vijay.gupta said:
Thanks skulk, but do I need to start learning Java from scratch for that?
Can anyone please guide me in this?
Click to expand...
Click to collapse
Well, it's pretty hard to learn a new programming language from the middle!
Go to the Android devs site... There are plenty of tutorials there, as well as links to Eclipse (favoured Android development platform).
sorry to be so naive...but what is the link of android dev website?
Clicky the linky.
many thanks floating man. I didn't knew that this is different forum from any android developer forum...btw can you please let me know the difference between this forum and any android dev forum?
This is a general smartphone forum, mainly catering for HTC made devices, but covering "some" others as well.
Thanks floating man. I will subscribe to any of the android dev forum and ask the same query there. But there is one doubt: whether such a basic (and naive) query be resolved there?
Do you recommend any particular android dev forum?
since you already know c/c++ you already know the basics of programming which are the same for each language i guess.
in my opinion writing basic/simple apps for android is more easy than writing the same app in c/c++.
so for basic/simple apps you could start with some general java tutorials especially about OOP and then go on to Android ...
just simply Google search terms like "android development for beginners" or "android app development tutorial" and plenty of websites come up offering handy dandy hints =]
Thanks elgubbo,
I will try that and let u know if thwre is any issue...let me kbow if anyone else has any suggestions....
For me it always helps to try to understand other code samples. Thats why I am looking for a book wich explains a few basic (and some advanced) code samples.
Sent from my fishbowl...
Java was originally created as a successor to C++ and if you know C++ the syntax of Java should look very familiar. It was designed to make OOP concepts more accessible to C++. It was also set up to make pointers and memory management a thing of the past.
Actually in a lot of ways, knowing C++ will give you an advantage over devs who only know Java. Eventually you'll be able to use Android's NDK (Native Development Kit). Although you will have to use some Java as all apps require the use of some java and the SDK on Android. But even then, you'll have a better idea of what is happening "under the hood" due to your C++ knowledge.
As for where to get started I would suggesst learning applications fundamentals:
http://developer.android.com/guide/topics/fundamentals.html
Especially the Activity lifecycle and Component lifecycles.
Do all the "Hello World!" tutorials and then you should be well on your way to becoming the next Angry Brid..... err Angry Bird dev.
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
vijay.gupta said:
Thanks alostpacket. That is a very useful link. I will read it and let u know if i have any queries. I just have a doubt, moreover, i am fearing because i have only written simple c++ programs till now. Will i be able to do it?
Click to expand...
Click to collapse
Instead of being scared by it, TRY it! Install Eclipse. Install the Android SDK. Try the tutorials. Only you can know if you can do it or not.
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
vijay.gupta said:
Thanks floating man for supporting me, however, can you please let me know the place to help me out regarding very basic queries regarding starting programming...like I want to know what eclipse is, what is SDK (I know the full form though: Software Development Kit)
Is the place...http://developer.android.com?
Actually, I have worked on C/C++ at very basic level where we write programs in IDE and save the file as either .c or .cpp
These seems to be very basic things.. that i should know..i can read if you have any link or doc..
Click to expand...
Click to collapse
Yup, That's the correct site. They have a whole section to get you started using eclipse there too.
This is a great place to start:
http://developer.android.com/sdk/installing.html

Android app development help?

Hello, I am a computer science student and i need some help getting into android programming, i know a bit, but frankly it aint much.
I know C++, C#,Visual Basic,(I know C++ the most) and i am currently taking a class on Java, but I want to get into android programming too!(I made a game for android a while back using unity.)
I don't need a tutorial from the ground up.
I know how setup the environment, sdk, run, etc.
I want to learn how to work with layouts and make them look cool,
basic app functionality, work my way to internet connected apps, databases, apps with root, gestures, all that fun stuff.
I am just wondering if anyone would share any info or site that helped them.
I am not that much of a noob to programming but i am to the android sdk and a rookie with java.
if any mentor would step up or something i would really appreciate it.
Thank you.
btw if you're feeling bored check out my game!
http://forum.xda-developers.com/showthread.php?t=2495430
Yes, i know its hard, i have a better version, i just haven't compiled and uploaded, i will soon.
I think best Website is always developer.android.com.
It hasn't only the API reference, but also Training section and much more.
Whenever I don't know sth I first visit this.
Regards
According to me you should go step wise step...Watch video tutorials on YT.
You can ping me for help.
Thanks
then go to java website and start learning java. Loads of tutorial stuff is on their website
java.com
then go and download the Android SDK in about 2-3 months when you've completed the above.
how to convert Shell script to apk file?????
hello gud evening to all
i am a ECE student...anyone can tell me how can i make a apk file by the use of Shell script...i have a shell script and just want to make a apk of this...
need help please...:crying:
Okay so i have been reading a lot and programming for weeks.
I am getting very comfortable with the android api. i've built a few of my own ****ty apps..
now i'm looking for a project to work on, something simple but not too simple either.
I need a little help with fragments and layouts and such, so if anybody has an idea for a project i could work on
or could teach me about fragments, feel free to post please? xD

Help Developing An App

Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Thanks,
I'll have to try that once I get home as the IT Administrator at work has to vet everything that gets installed.
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
Hi sir! Is Android Studio is better than Eclipse?
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Yes.
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Jonny said:
Yes.
Click to expand...
Click to collapse
^^^
The only way to say it
Jonny said:
Yes.
Click to expand...
Click to collapse
Thanks sir but do we have a highly compressed Android Studio? 800mb+ is such a big file to download.
Like minooch said, install an IDE, understand how it works and then try some tuts on Internet to learn how Android works. What you want to do isn't really hard, you'll manage quickly to do it but you will be prouder if you do all by yourself.
Some hints : Don't go coding directly, try to organize your project (data structure, classes, methods) before starting to code. On a small project, it's not as important but if you start doing things well now, you'll thank yourself in the future
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Randomly Set said:
Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Click to expand...
Click to collapse
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Shreyseviltwin said:
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Click to expand...
Click to collapse
Hi,
What would be involved in creating an app?
pranavraut033 said:
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Click to expand...
Click to collapse
You need the JDK. Please read the instructions on the download page. Under the section 'Requirements'

Categories

Resources