Working with Google maps api - Web App Development

Hi am working on a school project that I would like to have a search button that queries a destination and gives the route between the current location pf the user and the closest buss terminal taking the user to the destination queried
Please advise I have only been able to display the map and the location of the user.....thanks in advance
Sent from my GT-I9082 using XDA Free mobile app

use google places api for all queries. docs of it are pretty easy to understand.also plot the map using directions api.

How excactly? If you dont mind giving me a little insight into the matter
Sent from my GT-I9082 using XDA Free mobile app

tahshoh said:
How excactly? If you dont mind giving me a little insight into the matter
Sent from my GT-I9082 using XDA Free mobile app
Click to expand...
Click to collapse
Are you using the Javascript API, or the Android one?
If you are using the Javascript API, you can use the Places API as suggested by jaison. You can find an example here: https://developers.google.com/maps/documentation/javascript/examples/places-searchbox

Hi,
I recently released an open source app that might help you using the google maps api.
Please check github.com/zland
You can get instructions on how to use google maps api by looking into the sub project zland-map (github.com/zland/zland-map).
To run the project simply clone it and execute gulp (you can find detailed instructions in the github.com/zland/zland-map/README.md)
Take a closer look into the file components/GoogleMap.jsx
For using the google maps api directions service clone the project github.com/zland/zland-generator-spot and look into the file services/RouteRequestDispatcher.js

Related

Wanting to make Android Apps

Hey Folks!
So I'm wanting to develop Android Apps and I was told that I can program using JavaScript, but the tutorials I'm finding are using Java as their language. So far this is the best tutorial I have found to help me get setup so I can start, but the Eclipse program only seems to program using java instead of JavaScript... am I wrong?
http://www.makeuseof.com/tag/write-google-android-application/
I could use some helpful links about how to create a helloworld app for Android in Javascript, thanks!
+1 i have always been curious on how to develop apps.
Check your local magazine rack. There is a development magazine with a sdk disk and some good articles with code to start android software development.
I just picked it up last night its very informative.
Swyped from a galaxy far far away......
groovdafied said:
Hey Folks!
So I'm wanting to develop Android Apps and I was told that I can program using JavaScript, but the tutorials I'm finding are using Java as their language. So far this is the best tutorial I have found to help me get setup so I can start, but the Eclipse program only seems to program using java instead of JavaScript... am I wrong?
http://www.makeuseof.com/tag/write-google-android-application/
I could use some helpful links about how to create a helloworld app for Android in Javascript, thanks!
Click to expand...
Click to collapse
you have to use java, not javascript
Sent from my PC36100 using XDA App
wrb123 said:
you have to use java, not javascript
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Well I finally found out that there's an open programming structure called PhoneGap and Titanium, allowing you to use your HTML and JavaScript to create android apps. Apparently they convert the scripts into the native app, but I"m not 100% about it. I'm not sure how affective it is to running a native app.
i have no coding experiance, so i might need to take some high school code classes or something first. sounds like fun.
What about this for starters
Google's app inventor.
http://appinventor.googlelabs.com/about/

New Gmail app cannot open .xlsx files?

Hello Nexusers
I hope it's the right place to post it, it's related to ICS 4.0 and the newest Gmail app.
Some time ago I decided to check an .xlsx file through Gmail app. It sent the file straight to pre loaded I guess, ThinkFree Office. What happened next amazed me a lot, ThinkFree asked me about the password to the file. The thing is there is no password because I can easily open it on my PC.
Can anybody check if Calc .xlsx files can be opened on your phone?
Cheers
Sent from my Galaxy Nexus using xda premium
I think this is dependent on you having something like Docs2go or some other program that can open an xlsx file.
Joe
jpasint said:
I think this is dependent on you having something like Docs2go or some other program that can open an xlsx file.
Joe
Click to expand...
Click to collapse
You are correct. It's entirely up to what apps you have that handle them. The included ThinkFree might not, I'm still waiting for mine so can't test it.
Depends what app you have available to open it. You should be able to open it with Google Docs if you have it installed.
Sent from my CM7-powered T-Mobile G2
martonikaj said:
Depends what app you have available to open it. You should be able to open it with Google Docs if you have it installed.
Sent from my CM7-powered T-Mobile G2
Click to expand...
Click to collapse
I've got Google Docs installed but can't integrate it with Gmail. Only option is Open or Save. There is no pop up with an app to choose. I don't know how to integrate it. Anybody?
Sent from my Galaxy Nexus using xda premium

new play store 4.2.3

https://www.dropbox.com/s/8ioc0i19dv7abb1/com.android.vending-4.2.3.apk
Change log?
Sent from my HTC One using xda app-developers app
monkeypaws said:
Change log?
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
it has some sort of additions related to the new functionality for restricting user access to Google Play. I suspect this is used in multi-user situations, where the primary user doesn't want secondary ones to be able to install things, but I haven't been able to confirm it just yet on the Nexus 7. Maybe there is a new menu that shows up in Android 4.3...
Another theory proposed by commenter Markus is that it's possible that this new functionality is meant for restricting Play Store's usage on devices that aren't licensed to use it and don't come with it pre-installed, which would... suck, though I don't see how Google could enforce it.
There is a new Activity called com.google.android.finsky.activities.AccessRestrictedActivity and this related new string:

[Q] NFC Project

Hello everyone
I am doing a project as part of my final year in engineering, and the project is an automated toll collection system, using NFC payment method. So I need to know if my idea is feasible.
I have a Nexus 5 and my friend and team mate has an HTC One. Our idea is to tap the phone with our NFC app open, on a "payment terminal" which will send details to the terminal over NFC, and that terminal must verify these details of the user (USERNAME & PASSWORD) and call a java web service, and return some other information back to the phone over NFC. Since we do not have a "terminal" as such, we plan on using one of the phones as a "customer phone" and the other as the "terminal".
I know I can develop an app for the Nexus 5 that can easily handle this, but is the same freedom available with the HTC One?
There are two apps we'll be using:
1. Client app on phone1 that sends user details over NFC to "terminal"(phone2)
2. Terminal app on phone2 that receives details over NFC and eventually returns confirmation to phone1.
I'd like to know which phone will work best as phone1 and phone2.
All help is greatly appreciated and I thank you all in advance
Please guys, it'd be great if someone shed some light on the matter. Its a little urgent Thanks!
They should be equal for using nfc as it runs independently from each ROM, but just to be safe you should USE the NEXUS 5 as your terminal because of stock android.
Good Luck
Sent from my SGH-M919 using xda app-developers app
Essem G said:
They should be equal for using nfc as it runs independently from each ROM, but just to be safe you should USE the NEXUS 5 as your terminal because of stock android.
Good Luck
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Thanks, I just wanted to know if the HTC one can be used for NFC development, and if its NFC feature can be used feely.

How do I put wifi chip into monitor mode on Samsung galaxy tab 3 8.0

The bcmon does not work so what app can I use to do this. I have only had this tablet for 2 months and by far its better than apple!
APPLE SUCKS!
Sent from my SM-T310 using xda app-developers app
The wifi chipset in the GT3 does not yet have a custom driver, or any other means to put it into monitor mode - yet.
I looked into it for a few months!
Sorry man
I know for dsploit has to use monitor mode right? For mitm atacks it has too. Dspoilt work perfectly so why cant monitor mode be used somewhere else?
Sent from my SM-T310 using xda app-developers app
androidhacker007 said:
I know for dsploit has to use monitor mode right? For mitm atacks it has too. Dspoilt work perfectly so why cant monitor mode be used somewhere else?
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
Well, I no longer have my GT3.. Dsploit doesn't use monitor mode, as for all I know. Packet injection/manipulation across a network that you're authenticated on and connected to, is quite a bit different than trying to intercept AP beacons and manipulate them (aka monitor mode.)
From what I remember, Dsploit only supports network mitm, and not WEP cracking, like you're trying to do.
Ok is there any way to modify the wifi drivers?
Sent from my SM-T310 using xda app-developers app
androidhacker007 said:
Ok is there any way to modify the wifi drivers?
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
Only if you know enough about programming to write drivers yourself. I rememember vaguely a custom ROM for one of the Motorola phones i think that could support packet injection and monitor mode but couldn't be used for general use however the general consensus is if you want to get monitor mode or packet injection( for cracking wep keys you need an otg wireless adapter
Sent from my C5303 using xda app-developers app
Well instead of writing a whole driver cant I just some how modify it In the code
Sent from my SM-T310 using xda app-developers app
androidhacker007 said:
Well instead of writing a whole driver cant I just some how modify it In the code
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
Take a look at Samsung's Open Source tree for this device, and you'll see what you have access to. You will also need to rebuild the kernel to support your newly modified driver as well. Your best bet is to find a device that supports bcmon and just use it, because if it were as easy as you think it is, we would have ready done it - along with the bcmon devs. Also, if it were that easy (to just change code within a driver,) a LOT more chipsets would be supported on PC's for monitor mode within Linux, so I wouldn't get my hopes up on it. Sorry dude.
Would using a custom ROM
/kernel work?
Sent from my SM-T310 using xda app-developers app
androidhacker007 said:
Would using a custom ROM
/kernel work?
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
In short no it would have to be a driver written specifically for that WiFi chip that supported monitor mode and a kernel modified to work with the new driver. If it was as simple as a ROM and kernel it would have been done for many other phones not just the broadcom ones
Sent from my C5303 using xda app-developers app
Ok I am starting to understand, I went to the bcmon blog and found tje section for other phones. The first link is broken but the second step for porting bcmon was to build a KO (.ko file) and use Cyangenmod. Does any one know how to build a .ko file and if you know about the broken link for the source and have the file that was in the broken link that would be awsome.
Sent from my SM-T310 using xda app-developers app
Samsung Tab3 bcmon monitor mode
Hello im newbie with android i search for Wifi Reaver a solution there make monitor mode .
Can anywhere say me are there possible and howto make it.
I found only Bcmon but there not funktion please say me are this possible or not
thank for my bad bad english:victory:
montimen said:
Hello im newbie with android i search for Wifi Reaver a solution there make monitor mode .
Can anywhere say me are there possible and howto make it.
I found only Bcmon but there not funktion please say me are this possible or not
thank for my bad bad english:victory:
Click to expand...
Click to collapse
OK It was a little difficult to understand you, so correct me if I am wrong but you want to be able to put your WiFi chip in monitor mode and use WiFi reaver. But bcmon isn't working.
I need to know what device u using
(PS. You better be rooted or bcmon wouldn't work any way no matter what)
Sent from my SM-T310 using XDA Premium 4 mobile app
Does any one know how to build a .ko file and if you know about the broken link for the source and have the file that was in the broken link that would be awsome.
Click to expand...
Click to collapse
Howdy [androidhacker007]
Hope this helps, building a Kernel Module (.KO) file is not so bad. When you download the Google AOSP Source Code using the Google walk-through here: (Err. XDA won't let me post a link, so this is less helpful) but Google: "Initializing a Build Environment Android" (I recommend maybe a Ubuntu VM to make your life easier.) Then the driver you will be interested in building for this project would be the Broadcom Dongle Host Driver or DHD.KO located at drivers/net/wireless/bcmdhd/... directory. Read the "README_Kernel.txt" in the base directory of the AOSP when you are ready to compile. Any execution of "make" in the root directory will also make the kernel modules, but you can also execute "make modules" from the root dir. to build just the kernel modules.
You should note some phones now do not build kernel modules anymore, but rather they compile them directly into the kernel image. This is easily reverted by adjusting your KConfig file and finding the module you want (BCM4330) and set it to (M) instead of (Y).
As for the BCMON code, you should checkout their SVN I would post a link but XDA is being restrictive and damn annoying
If there is interest I could write a walk-through about doing this but I feel like it is already written somewhere.
I have faith, go forth into the kernel driver and see what you can find.

Categories

Resources