This is my first "real" app for Windows Mobile. I've got a HTC Touch Diamond(Alltel). I've been programming in VB .net for a year or so but I'm NOT an good programmer. I'm a noob that is stumbling along. It's a tribute to .net that I'm able to produce the apps I have.
I've got a basic app working using the sample .dll from MSDN.
Working is relative though - it only works if I start some other application that uses GPS like google earth.
I've went through serveral ways of getting the positon information including this one that I leeched from someones explaination:
-------------------------------
Dim gps As Microsoft.WindowsMobile.Samples.Location.Gps
Try
' -- opens GPS device connected to GPS API
gps = New Microsoft.WindowsMobile.Samples.Location.Gps
gps.Open()
Dim pos As Microsoft.WindowsMobile.Samples.Location.GpsPosition = _
gps.GetPosition()
'call invoke process
UpdateLAT(pos.Latitude)
UpdateLON(pos.Longitude)
gps.Close()
Catch ex As Exception
' -- position is unavailable
Finally
If gps IsNot Nothing AndAlso gps.Opened Then gps.Close()
End Try
--------------------------------
It pulls a positon fine - I used a TImer to run that code once a second and it'll post a empty positon till I open some other app - and then it updates fine. Once I stop the other app - it stops updating the position. It looks like the positon values I'm reading only get updated if some other process has the gps running.
What am I missing? I've googled and found all sorts of C# stuff. but NO examples besides in C# that doesn't work after using one of the C# translators to convert it.
So much of the "help" for this type of stuff is theory or high-level and assumes more knowledge than I posess - I need an actual EXAMPLE to build on.
Can any of you guys help?
BTW: Here is a VERY good example of "help" that leaves a huge gap of explaination before you actually have an idea how to code for it: http://msdn.microsoft.com/en-us/library/bb202050.aspx
Yesterday I released the first public version of PhoneCore Framework which helps to build applications on Windows Phone 7. There is the short list of features:
Navigation engine which simplifies navigation between pages
Dependency injection container which helps you to create lously coupled application
Configuration subsystem which allows you to manage workflow without rebuilding of an application
Tracing engine which allows to do postmortem analysis or analyze workflow/performance
Bootstrapping engine with plugin architecture
Primitive types: Lazy, Tuple
You can find the project, installation package and details at codeplex.
posting link for op http://phonecore.codeplex.com/
Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
mariozawa said:
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
Click to expand...
Click to collapse
hello kababayan.. do you specialized on themes? for what devices?
ioubuntu said:
Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
Click to expand...
Click to collapse
I guess it can be created and to save your time try to build it using a mobile app builder then connecting it to other source would be easier
All the best
Hi,
I would like to implement reading of CAN bus data from a device with clean Android.
Any general info/hints/guidelines where and how to start with implementation would be appreciated.
A general info how Android reads data from CAN bus would be even more appreciated
Note: I know this should go to software development section of forum but I'm new here and still am not allowed to submit to that section.
In order to expose vehicle signals (on a CAN bus for exemple), you need to develop an Vehicle Hardware Abstraction Layer (VHAL). It is pretty well described here : https://www.androidautomotivebook.com/android-automotive-and-physical-car-interaction/
In details, you can have several kind of implementation of a VHAL :
- it could be a full SW implementation using a CAN driver in your Android sys image
OR
- you can have a small hardware CAN microcontroller that will be in charge of reading CAN frames for you and sends only value change (you will then save a lot of Android OS CPU compare to a CAN driver inside sys image...)
Hey all,
I'm about to start developing an open source project for managing android devices from a Linux machine.
Technology stack is going to be;
Symfony (5.1 / PHP 7.4)
VueJs 2.* (ECMAScript 6 / TypeScript/ Buefy)
I'm still setting up the architecture for the backend and yet to begin on the frontend. For the frontend I've got a prebuily VueJs codebase I can use for the frontend architecture
Preliminary road map
Devices details
File manage
Screen interaction (Screenshot, record, touch control)
APK manager
Root / Fastboot tools
Where possible (at least in the beginning) I was to avoid functionality that is specific to devices and custom roms.
If you interested in getting involved drop me a reply on here. Eventually looking to distribute this over APT so would be really good for someone looking to add to or start there portfolio.