Android-Refresh - Android Software Development

Hi all,
How can i refresh android application when i change Java Code without restarting the application

Related

Application programming for HTP P3300 (ARTEMIS) and a few questions

As I'm new in this forum: Hi everybody!
I have been programming Windows CE-based devices for many years, but no experience yet with the HTC ARTEMIS (P3300). Therefore, I've a few questions and hope to get answers from this forum:
- I assume, it is possible to program visual-C++ based applications for the programme. SDK for Windows Mobile should be available at Microsoft. Is that correct?
All further questions are based on the assumption that visual-C++ (or embedded VC) is used for application development.
1. Is it possible to direclty receive incoming Short Messages (SMS) via the application? (Any keyword on how this works would also be welcome)
2. Is it possible to query the battery status from the device?
3. Can the GSM module easily be accessed and can Cell-IDs or carrier IDs be read from the device? (In particular, I want to identify the home country of the current mobile carrier) - If yes, how does it work?
4. Is it possible to restrict the appearance of the ARTEMIS. I.e., the user should only be able to access "my" application and mobile phone (voice) features. All other applications and system functions shall be hidden to the user.
Thanks in advance and kind regards,
ma_gu
yeah the stk can be downloaded and accessed from visual studio
1. i would asume so even if it had to be don with a dll hook
2. yeah many 3th party applications can display it asume there is an api call to get it
3. yeah there is an api forget the name searching in this forum should give some hits
4. yeah but if they hardreset or reflash the device it would be more troublesome
Hi Rudegar,
thanks for your fast reply. That sounds good and I think, I'll be able to find the regarding API calls (anyway, if somebody could provide some keywords, it would be very welcome).
But I have never restricted the appearance of any Windows-CE based device (question #4). How can this be done? At the beginning, I assumed that this needs rebuilding of the operating system via a system builder, but that's obviously not the case. Can you give me some hints on how to do this?
Kind regards,
ma_gu
http://forum.xda-developers.com/showthread.php?t=256646&highlight=programming
the api is called ril
depend on who you wanna develop really
1 option is making pure arm code (kinda skipping the ce) using gcc compiler for arm
2 option is the high lvl c# .net or c++ .net path but it's not that fast and dont have as much os access as pure win32 stk and even microMFC
3 option microMFC old ms class lib for c++ oop the granddad of .net you might say
4 pure win32 stk you handle the msg loop and everything more work but more power where many developrs who do today items and programs end up
if you can live with .net it's the easy path
if you want more then starting with microMFC and moving on to pure win32stk is prob the thing
java is not that well supported by wm imho
oooh yeah and you dont use platform builders and stuff like that
unless you are building roms from scratch and got access to all drivers for spc devices
you start a new project in embedded visual stuio or visual stuio 200X
and pick your path as in .net or the likes
and then you can debug using a simulator or directly on the device
it use activesync to get the exe there
otherwise you can normaly activesync the exe file to your device and run it directly
or copy it to a sd card and run it from there

Developing application as background service

Hi folks
I am kinda new at c# and have only previous experience in smaller applications in c# but much more experience in php.
I want to create an application running in the background and taking as little resources as possible. The application will be triggered by an event that doesnt happen too often, but when it does happen my application will prompt the user with a messagebox.
My question is: are there any "good implementation ways" of running an application as an service om wm device?
Thankfull for any help!

Why does VS 2008 mess up my code?

Hi guys,
I recently started to write a little program in Visual Studio 2008 in C#. The problem i'm having is quite odd. Sometimes i add some code to my project and go back to the design view. Then when I drag a new item from the toolbox to my form Visual Studio sometimes just completly removes code that I just wrote.
In this case I placed some event handlers in my code and they just keep disappearing.
Can anyone tell me if this is some kind of bug, intended behaviour or maybe a function that can be disabled?
Thanks in advance for any replies.
Where do you add your code?
The behaviour you describe usually happens if you add code to the InitializeComponent() method.
... or, this happens if you are adding code to the IDE-generated designer file, not the code file. Be sure you are right-clicking on a Form and selecting "View Code" and entering code in that window, not clicking on Form1.Designer.cs and typing your code there.

Windows service using C#

Hello
is there a way to install a c# console application as a service?
if no, is there a way to start it automatically without putting a shortcut in the "startup" folder?
another question: my software got a thread wich run in an infinite loop, this avoid exiting the application. but when i launch it, the "wait" cursor is always shown... does anybody got a solution to display the wait cursor only during launch of the soft, but not while the thread is running?
thx.
warenbe
just found this:
http://www.codeplex.com/managedserviceswm
seems really interesting...

[Q] communication between android app and java application

Hi all,
Im new in this forum and just wanna ask for some help on where can i find a simple tutorial or a sample project of an android application that can communicate with a java application on a PC.
im thinking via wifi.. also i got some knowledge in java programming and right now im starting to learn more about android development.
some simple tutorial/samples like an android app where you have to type a message and it will show on the java application in the PC when the send button is clicked.
wakkana12 said:
Hi all,
Im new in this forum and just wanna ask for some help on where can i find a simple tutorial or a sample project of an android application that can communicate with a java application on a PC.
im thinking via wifi.. also i got some knowledge in java programming and right now im starting to learn more about android development.
some simple tutorial/samples like an android app where you have to type a message and it will show on the java application in the PC when the send button is clicked.
Click to expand...
Click to collapse
You probably want to check out Google App Engine and their Cloud Messaging and datastore features.
It would be better than WiFi or Bluetooth as you could be the other side of the world.....

Categories

Resources