Programming :: Mobile Phone Programming Using Linux
Sep 30, 2010
I am trying to work on mobile phone programming in Linux platform using C language. Can somebody guide with this? I tried to search the web but I didnt get appropriate site.Also guide me about the mobile phones compliant with linux platform for programming using C language.
I just want to tell everyone how good the Garmin/Asus A10 mobile phone is as an internet modem.I am in Australia and Mobile internet is an expensive thing to have. cheapest is dodo but i had a few problems trying out a friends usb modem.Anyway i was in the market for a Gps phone and discover this one. it is Android phone and pretty cheap so far it is very good gps, camera, mp3, and phone is excellent.BUT here is the clincher. when you plug it into the computer, the phone screen lights up and gives you 3 options.
Back at uni I used to love programming in assembly, we used ARM processors and some pre-made boards. Anyway, I'd like to try and get back into it, so I have acquired some basic electronic components, some prototype board, a couple of 12F675 chips and a JDM serial programmer.Now, whilst I could run this from my works laptop on Windows, I'd far prefer to use my Linux desktop! (of course!) I'll be using my favourite editor to write the code so not bothered about an all singing and dancing IDE.I have a couple of questions...
1) What can I use to assembly/compile the source code? Does gcc have any support? If not, can someone recommend a free assembler, ideally command line?
2) Is there any good simulator software out there (I've found a few but not found people who have actually used them)? It would be useful to be able to run the code through a simulator before actually uploading to the chip - saves time and effort uploading something to find I've missed a command out!
3) Any useful links, tutorials, forums?
4) Any other resources? Like I said, I can (or at least used to be able to! ) write code for an ARM chip but the instruction set it different for this. I can easily pick up languages though so not too bothered about learning from scratch. I know people will say use c, but I'd far prefer to go down the ASM route, just for my own benefit and enjoyment!
This isn't for any particular project, it's just a hobby - once I've got a sound grounding then I'll start looking at a few more elaborate things!
Can sed remove non-numerics (apart from an optional leading +) from phone numbers when prefixed with text that must be retained? The need is to make phone numbers exported from an Orage address book to a .ldif file suitable for gnokii to send to a mobile phone. Here are sample lines:
I am doing a perl script validation for Phone numbers. The normal phone number format is 01-32145. I need to do two validations for the phone number
1) A valid phone number can have at least two digits as prefix and at least five digits as postfix. e.g. 01-01011 2) A valid phnoe number can't contain only the digit "0" in either area code or phone number e.g. 00-11111 or 01-00000 is not allowed.
I am able to do the first validation, but not the second. I am pasting my code part here. How to add the second validation inside my current code.
open(TMPOUTPUT, "<$tmp_output_file") or die "Can't open output"; open(OUTPUT, ">$output_file") or die "Can't open output"; while ($line = <TMPOUTPUT>) { $line =~ s/ + //; ($cur_phone, $xxxxxx, $xxxxxx) = split(";", $line); ($cur_phone_prefix, $cur_phone_postfix) = split("-", $cur_phone); $length_prefix = length ($cur_phone_prefix); $length_postfix = length ($cur_phone_postfix); if ($length_prefix < 2 || $length_postfix < 5 ) { print "Invalid phone number: $cur_phone "; } else { print "Valid phone number: $cur_phone "; } } close TMPOUTPUT; close OUTPUT;
I am doing a project to develop a application that sends sms from a GSM mobile connected to the system. But i dont know how to detect a mobile fone and access it.
So I can send pictures from my phone to my PC, I've bought a Bluetooth USB adapter, just a cheap one.
System>Preferences>Bluetooth without the adapter says 'no adapters are plugged in'. With the adapter in I get a preferences screen to find new devices, so my PC is seeing the Bluetooth adapter. I've then got it to successfully find both my phone and my wife's and entered the provided pin into each phone. My desktop is duly listed as a device on each phone.
However, if I try and send a picture from either of the phones to the PC the phone says it can't see any devices and the sending fails.
Also, how do I send files the other way, from PC to phone? I installed Obex but it simply hung then closed itself.
I would like to unzip a simple PHP code files, to have a online PHP contact / phone book. Simply, slow, and not database oriented over complicated setups into settings. I have a PHP / web provider (free), not apache. WITHOUT SQL (like before it may exists) something like this [URL]
My aim is to test on my computer some .jar games for cell phone before installing them on my Samsung GT-S5230. Unfortunately, the result of the following commands is not so happy:
Code: java -jar ./The-Crow.jar Failed to load Main-Class manifest attribute from ./The-Crow.jar Code: manolo@manolo-laptop:/media/DV/GIOCHI$ jarwrapper ./WSC20093D.jar
What is a good app to convert videos in Ubuntu? I usually watch documentaries, movies etc in my mobile phone and need an app to convert AVIs etc with a low file size and about 320x240 resolution. Used WinFF but it doesn't seem good enough
I'm trying to send mp3 files via usb to my mobile phone, but file transfer speed gets incredibly low, like 5,3 kb/s. How to solve this / useful ubuntu software?
I have HP mininote 2133 with Suse SLED 10. I am trying to connect internet via bluetooth and a mobile phone. The machine itself does not have bluetooth, but it recognizes the Belkin bluetooth gadget, which I inserted into the USB port. I started the bluetooth with Yast and "Information about the equipment (I don't know what the correct term is in English, because my OS is in Finnish language)" tells that there is Belkin Bluetooth adapter connected.But my mobile phone cannot find my computer (there is nothing wrong with the phone, because it can find other computers!) when I try to pair up the phone and the computer. What should I do to connect?
Ist column shows different customers( like N customers are there) , they require different bandwidht links based on some resolution time will be generated and we have to fix this line with in this resolution time , if not before 1 hr for each customer , this has to genetate some alarm and send the SMS to the particular mobile numbers.everythig is there in the GUI like customer , how much BW they want and what is the time duration , only thing we have to do is ,, linking with the GUi and writing some code to send the generated alarms to the mobile numbers specified.
Im looking for a script that could help me create linux users on my server online using a website.Anybody know where i could find one?or how to make it? not the best with coding doh
Im somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
I have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.
I need to measure the time it takes for a program I'm writing to do Its job in microseconds resolution. I'm using Ubuntu 10.10. My Idea is, to write a device driver that directly reads the counter that produces the interrupt of RTC ticks. How do I do this, for a Linux kernel and a PC hardware?
I have some .3GP movies that where made with my mobile phone. I can only play the video and not hear the audio. Is there a way to convert these movies to other format so I can edit them. And is there a way to play a .3GP movie in a mediaplayer with the proper codecs?
I am looking for an application to assist me to back up my sim card on my mobile telephone. In fact I am aiming to copy all my phone contacts and restore it on a newer phone if possible.
I have previously attempted to do this on Wammu without success.
I have also attempted to install monosim without success.
I have HP mininote 2133 with Suse SLED 10.I am trying to connect internet via bluetooth and a mobile phone. The machine itself does not have bluetooth, but it recognizes the Belkin bluetooth gadget, which I inserted into the USB port. I started the bluetooth with Yast and "Information about the equipment (I don't know what the correct term is in English, because my OS is in Finnish language)" tells that there is Belkin Bluetooth adapter connected.But my mobile phone cannot find my computer (there is nothing wrong with the phone, because it can find other computers!) when I try to pair up the phone and the computer
I just bought the usb cable that allows me to connect my samsung C5212 to my computer.AFter plugging it in my computer I received the following messages:
[181418.820263] usb 3-1: Product: SAMSUNG Mobile USB Modem [181418.820265] usb 3-1: Manufacturer: Samsung [181418.820266] usb 3-1: SerialNumber: 000000-00-000000
There is a feature in MS Windows OS that allows users to play the songs on their mobile on the computer via bluetooth, i.e., the users can use the computer speakers as a bluetooth headset. Are there any ways or any software to do the same in GNU/Linux?
I find myself using SSH from my mobile phone to manage administrative tasks when I'm away--completing updates and the like, things that can be done during normal usage but sap my RAM and CPU to the point of frustration, given the hardware I've got to work with. It's convenient, I can do what I wish (without the benefit of an X session) while I'm at work. The issue I run into is the fact that my auth.log is littered with items like this:
Code: May 16 12:53:17 BETA sshd[18941]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.111.184.180 May 16 12:53:19 BETA sshd[18941]: Failed password for invalid user lala from 200.111.184.180 port 41787 ssh2 May 16 12:53:25 BETA sshd[18943]: Invalid user master from 200.111.184.180
Which tells me that some inconspicuous person and/or botnet keeps trying to get into my system. This is generally annoying; at this point, my system isn't used for anything particularly critical; however, the fact that only failures or questionable successes--such as those from my mobile, the IP and Host of which can vary a fair bit (and the host resolution almost always fails, based on the way the IP/Host advertisement is presented to an external host is established--it's essentially manufactured)--doesn't tell me who/what has figured it out. I've done what I can to tamp down SSH access to the system, root is blocked via SSH (a moot item, since root isn't allowed locally), I've limited only my own username as allowed to connect via SSH...all it would take, though, is an alphanumeric dictionary that hits the right combination to get a password prompt, and to be able to brute-force it from there.
Overall, I know there's few, if any ways, to prevent someone attempting to get into my system via SSH; what additional steps can I take to minimize the possibility that I might end up compromised?
I can pair my phone and laptop using bluetooth, from Network manager I can select my phone and make a connection. But then I can't access anything.I looked at the connection info from nm and tried to ping the given dns addresses. That failed. And I pinged those addresses when I reconnected with wireless and it failed. So, where are these setup? I didn't do it