Java Cell phone question

I am wondering if there is a way to write a small java program that will check the time of day and set your volume control depending upon time of day. I am a student and would love to be able to have my volume turned off all the way while at school and not have to worry about remembering to turn it back up.
Is this possible on a Sony Ericsson Z525a?
So far I have only had one semester of Java programming, so while this project may be rather simple to an experienced programmer, it could be a pretty tough learning experience for me. But before I begin, it would help to know if it is even possible.
Thanks in advance!

No you do not have that type of control on the phone I'm sorry to say. The only volume that you can control is whenever you use the media api on the phone. but thats just for playback of audio and video and does not control the overall volume of the phone.
Sorry for the bad news and good luck with your studies.
Cheers
Kenth Fagerlund

Similar Messages

  • J2ME on cell phones questions

    Hi,
    I'm in the process of picking a project and wanted to see how doable it is. The project involves a cell phone and a Java program to use Bluetooth. This is real unknown territory for me so my questions are very simple. First does J2ME have packages/classes that allow for bluetooth communication (name)? Or is that a separate package I need to find?
    Second, can you save to files/permanent memory from an application running on a cell phone (to save some program settings etc). On the cheapest cell phone usually how little memroy is available? Also can you name some classes that allow for this in J2ME (other libraries).
    Finally how standard is all this? What's the probability that the program will run on all of the new cell phones? On all new cell phones from same manufacturer?
    Thanks.

    Hi,
    J2ME has JSR 82, that specifies BlueTooth stack. It's bundled with latest WTK releases (and netBeans 4.0 Mobility Pack as well). If it's available on device depends on HW equipment of the device of course.
    For your second Q: RMS storage is defined by MIDP 1.0 itself so yes, you can store some records. Not sure about the size I guess you can count on 8kb. The storage will be more , least I know of is 30kb on Nokia 6310, usual sizes are 1-5 Mb, smartphones use MMC cards, so the size can grow to hundreds of megs.
    Peter

  • Att cell phone question

    i want to know if you will be getting any better deal on the att smart phone becuase  sometime in july i can upgrade my phone.And will thre be any gift card when you buy a new cell phone?

    Depending on the phone you currently own, yes, however the phone you will be getting will be much more expensive than the rebate you will recieve.  Dont forget the screen protectors and cases you will undoubtedly will have to purchace.  Dont forget rates are always rising too.  You cant go wrong with a free smart phone.  It wont be quite as up to date, but does the same function and saves a lot of money. 

  • HT4759 cell phone question

    can i use a samsug cell phone with icloud?

    If you already have an iCloud account you can add your email account using these settings: http://support.apple.com/kb/HT4864.  You also may be able to sync your iCloud contacts and calendars using SmoothSync for Cloud Contacts and SmoothSync for Cloud Calendars.  That's about all you could do.

  • How can you get a java program working on a cell phone?

    I was thinking of making some stuff for cell phones so i was wondering how you get a normal java program to work on cells.

    its all j2me - midlet package....Huh? The jsr-118 MID profile alone has 11 packages, one of which is javax.microedition.midlet. Notj2me - midlet.
    works best on nokia phones.Sez who? You seem to be confusing Java ME with Symbian C.
    you can use net beans midlet packge add-on.Only it's called the NetBeans Mobiliity Pack.
    Its easy to use and has lots of tutorials.Ditto for the Wireless toolkit for CLDC.
    just search on google.Yes, but with which keywords?
    @OP:
    NetBeans mobility pack comes with a short tutorial and several samples, you also need to download the latest WTK as the ver. 2.2 which comes bundled with NetBeans is just too buggy to work with. Then there are the manufacturer-specific SDKs from Nokia, Motorola, Sony Ericsson and (maybe) others.
    If and when you get started in Java ME aka j2me, it will be appropriate to post any questions you might have on the mobility forums, not here.
    Google "j2me tutorial" for many good hits.
    luck, db

  • What can Java inside cell phone do?

    hello,
    i would like to know what can Java inside my cell phone do? can it:
    1) run in a background
    2) initiate a phone call
    3) send an sms or receive an sms
    4) can it control bluetooth and to what extend
    what are things that java cannot do?
    thank you very much!

    Hi,
    J2ME apps run in sandbox mode. Things can be done using various APIs. To
    answer your specific questions:
    1) depends on the host device implementation, this is not defined by JCP
    2) AFAIK not (due to security). There might be an API however that allows you to
    do this on certain devices.
    3) Yeah, no problem. See http://java.sun.com/products/wma/
    4) Depends on APIs provided by device manufacturer. JCP defined http://www.jcp.org/en/jsr/detail?id=82.
    The things J2ME can not do are mostly features like accessing your phone
    book, use built-in camera (unless APIs are provided), floating point math
    operations, ...
    Reading J2ME related JSRs from http://www.jcp.org/ will give you the overview
    of what's defined and can be expected from all compliant phones. Other
    features may or may not be implemented.
    Hope this helps,
    Peter

  • Is there any way to contact verizon with a detailed cell phone technical support question?

    Is there any way to contact Verizon with a detailed cell phone technical support question?  I prefer e-mail so as to provide details (like I am trying to provide here).  I have tried in-store personnel (no help at all) and the web chat - they just want to see me more data instead of helping me with my basic problem!
    I CAN NOT GET ANYONE FROM VERIZON TO GIVE ME ANY HELP NOR CAN I FIND A WAY TO FILE A COMPLAINT.  AT THIS POINT I JUST WANT TO DROP MY VERIZON ACCOUNT BUT I'M SURE THAT IT WILL COST ME A SMALL FORTUNE TO GET OUT OF IT.
    Here is my issue:
    Chat transcript removed as required by the Verizon Wireless Terms of Service
    BELOW IS A SCREEN COPY FROM REDDIT ABOUT SOMEONE WITH THE SAME PROBLEM WITH A VERIZON CELL PHONE
    So last night my RAZR MAXX HD did something totally bewildering by spontaneously downloading 2.6 GB of data over the course of ~ 3 hours. Fortunately I was able to catch this problem before it ended up being really expensive, but I still exceeded my 2 GB data plan by 600MB.
    The Culprits:
    Reddit News Free: 160 MB foreground / 0.96 GB background
    Android OS: 0 MB foreground / 1.18 GB background
    Several unnamed applications: ~ 350 MB
    Screenshots:
    The massive data spike
    Android OS data usage
    Reddit News Free data usage
    Weird unnamed processes
    Detailed timeline:
    5:12 PM: Incident begins according to VZW data usage website (2.60410 GB used). This is around the last time that I used my phone at the laundromat before getting dinner and watching Game of Thrones.
    8:04 PM: 50% of data allowance used (txt msg)
    8:31 PM: 75% of data allowance used (txt msg)
    8:58 PM: 90% of data allowance used (txt msg)
    9:13 PM: 100% of data allowance used (txt msg)
    10:05 PM: Got the text messages and immediately put the phone into airplane mode
    10:30 PM: Took screenshots
    10:45 PM: Enabled wifi, installed Kaspersky premium. Scan returned no threats.
    11:00 PM: Left phone in airplane mode, went to sleep.
    The questions:
    What was the root cause of this issue? Did Reddit News freak out as a result of an esoteric bug or was my phone hacked?
    If this was a simple Reddit News bug, then why was the Android OS also trying to use such a massive amount of background data?
    What the hell are these unnamed numeric applications? I've inspected my process history and this is the first time they have ever attempted to use data.
    I'm pretty sure that I can explain this situation to Verizon and get out of having to pay additional data usage fees, but I would like to know more about the problem before I get in touch with them.
    all 13 comments
    best 
    [–]omgmrjmako/PA, deb/Carbon 3 points 1 year ago*
    All I can think is your phone may have background downloaded an OTA update, and you'd then be prompted with something like, "As update to your Android system has been downloaded, would you like to install it now?"
    I do find it very odd that the update would be 2.6GB. As a rough base, the CyanogenMod 10.1 firmware for your device is well under 200MB, so unless Verizon has a ****-ton of bloatware in the update, or it had to attempt to download multiple times for some reason, it may be a stretch.
    But doing a little homework, it looks like the Verizon Razr Maxx was updated to 4.1 in late March. Maybe they're still rolling it out in waves? Have you gotten the update yet?
    Edit: Aaaand I just noticed you appear to be running an AOSP-based ROM, which totally rules out a carrier update being sent out.
    Edit2: If you want to live dangerously, you could try running:
    #kill -9 12289
    That 12289 is the PID listed in your screenshot. But don't run that without fulling understanding the kill command.
    The ps command could also be of use, but probably not.
    permalink
    [–]lechnito[S] 2 points 1 year ago
    I can confirm that the phone is currently at 4.1.2 and that I wasn't prompted for an OTA update.The fact that both the Android OS and Reddit News processes were simultaneously using an extremely large amount of data is unlikely to be a coincidence... 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 3 points 1 year ago
    That is very curious that the spikes happened at the same time.I'm curious. It may have put at least some of that 2.6GB somewhere. You could use a data visualizer tool to see if you can find it, which may lead to more clues. 
    permalink
    parent
    [–]lechnito[S] 2 points 1 year ago
    The largest directories are:
    DCIM: Normal looking photos (90,825 KB)
    Android: Primarily map cache data (64,846 KB)
    If it was downloading content then it did not significantly save content to storage. It's not like I have anything particularly sensitive on the phone, but the idea that it was uploading a snapshot of my data definitely makes me uncomfortable.
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    Yup, Digital Camera IMages and videos.Somewhere in /sdcard/Android would be my guess as to where a mysterious file would be downloaded, but if it's only 64MB, and mostly map data, I'd safely rule it out.I'm sorry, but I'm stumped here.Edit: I should mention I don't think this is malware, because unless a malicious app gained superuser access, any data it used would show under it's own apk in the data usage list, not Android OS. 
    permalink
    parent
    [–]mistrbrownstone 0 points 1 year ago
    DCIM: Normal looking photos (90,825 KB)
    Was it trying to auto-upload pictures or video to G+?I ******* hate that.
    permalink
    parent
    [–]lechnito[S] 1 point 1 year ago
    Although I'm not really up to speed with the Android platform, I come from a UNIX background so I feel comfortable running commands. How do I pull up a bash terminal? Do I need to root the phone first? 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    There's a number of terminal emulators in the Play Store that work well. You don't need a rooted phone to get to the shell as your user, but any privileged command won't execute unless you can grant it permission from the Superuser app that is installed when you root the device. So you could probably do a ps -e, but not a kill -9. 
    permalink
    parent
    [–]lechnito[S] 1 point 1 year ago
    Got it. I downloaded a terminal emulator but unfortunately those processes no longer exist.Does Android keep a generic log of system level events like /var/log/syslog? 
    permalink
    parent
    [–]omgmrjmako/PA, deb/Carbon 2 points 1 year ago
    I don't think so, and I know you'd need superuser permission to read most of the files in /var/log anyway. I'm not super familiar with how Android does its logging, but I do know that the two files of interest are the logcat and dmesg. 
    permalink
    parent
    [–]sh0nuff 1 point 1 year ago
    Want to mention here that using your settings to set your data cap (set it on your billing day), then you won't go over again.Those text messages are really unhelpful, as they send out well after the data has been used. Chances are good you hit close to the 2GB mark before you received the bulk of the messages. 
    permalink
    [–]kindofabuzz -4 points 1 year ago
    Quit installing pirated apps. 
    permalink
    [–]lechnito[S] 1 point 1 year ago
    That's definitely not the case here; both my PC and and Android phone are free from pirated apps.

    You used the data.  Verizon can not see what it was sued for.  However your phone can see whats apps used the data.  go to settings-data usage- there will be a place that says data usage cycle.  line the dates up with your cycle.  then there will be a bar graph below that   extend bother white bars one all the way to the left and one all the way to the right.  after those are extended below that will be a list of apps,  there should be one that used over 2 gb and that will show you what app used that data in her purse

  • Changing Cell Phone Carriers...Question?

    I have the Family Share Plan, I have the primary line, I am eligible for an upgrade.  My daughter has a phone and is eligible for an upgrade on 7/10/12, my son has the 3rd line and is also currently eligible for an upgrade.  I'm thinking about trying a different cell phone carrier and can't seem to find out if I will be charged for canceling my Verizon service on all 3 lines.  I can't seem to get any answers, does anyone know how this works?

    You need to forget the "eligibily for upgrade date" and look at your actual "CONTRACT DATE" which is 24months from when you activated your phones.
    If you decide to move another carrier, you can keep your phone number. All you have to do is 1) dont disconnect your service from VZW before you talk to your new carrier that you want to transfer to. 2) you need to make one of your childrens phones the primary account, and make your line an "addon" line or secondary number.  You have to becareful about doing this because you may loose things like unlimited data on that number that is being switched to become the primary line. 3) Have the new carrier do the number transfer. They will automatically notify VZW through the GOVT CLEARINGHOUSE that you are no longer a VZW customer on that one phone number. VZW will then disconnect that line from their billing and will send you a final bill on that line.
    Be sure to ask questions from your new carrier about the process.

  • JAVA: calling a cell phone

    How can I call a cell phone using java?
    I need it to make a call to a certain number and play a certain voice message, (and also send a text message).
    LP

    It depends which hardware you want to use, you can send sms messages via a cellphone which you have connected to your pc. Then you can use AT-commands which you have to send to the port where you have connected your phone (or gsm modul). To do this from within an application you can use javax.comm to communicate with your serial port!
    Hope it helps a little bit.

  • Cell phone Games and Java

    I am not sure if this is the right place to post this topic if it is not please tell me were to post it thanks. sorry in adv.
    hi i have been programing apps in java for a little wile and was wondering how to make games for cell phone that are java enabled and how it would differ from normal desktop apps as there arent as many keys on a cell phone and the methods and classes i would need to extend and interfaces i would need to implement any help would be a greatful
    thanks
    nibur

    Here's a pretty good thread: http://forum.java.sun.com/thread.jsp?forum=406&thread=429254
    You can also try searching all forums, use the little search box in the lower right corner of this page: http://forum.java.sun.com/

  • Java Mcro Edition and Cell Phone Applications

    Hi all, I have made a web based application and I need to add a mobile application in it.
    I use a little JME and made I simple application using it.
    I want to make a cell phone appl. which connects servlets and transfer data for both sided.
    Is JME supprots for all cell phones? or Which of cell phones brands?
    For instance;
    if I make I JME application, can I use it an apple iphone or all of cell phones?
    Can You give me some information and the way I need to follow?
    Thanks.

    It depends on how advanced the midlet will be. If standard components are used, the app should work everywhere, otherwise it need to be tested (it need to be tested always). If You need to write a midlet with Location API You first need to find a device that has this api implemented to test your application and the start writing. One importatnt thing, if a device in it's specification has written that it support Location API it doesn't have to mean that it's supported fully, some functions may not be implemented. As You can see here for instance. If You are not familiar with midlets start with a tutorial for beginners and after finishing try using more advanced APIs.

  • 3102 question - access from cell phone

    Hello,
    I am thinking about buying a SPA3102 after seeing the comments that you can access it from a cell phone or other landline.
    My wife's family is overseas, and I want to use the free international calling from my Voip provider when she is calling from her cell phone or from her job.
    I want to verify it will work with the following scenario.
    I do not have any PTSN phone service.  I only have voip service. 
    I do have a voip service with unlimited international calling.
    Can I configure one of the ports on the 3102 with my current voip provider, and provision the second port on the 3102 to use another voip service (such as gizmo5 etc..).  My wife would call the gizmo number from her cell phone, enter a pin, and be able to dial internationally via the free international voip service?
    As an alternative, is there anyway of doing this with just the single voip provider (and not worry about the second number)?
    I just switched to my current voip service because ATT canceled CallVantage.  I am not very happy with the service, but I selected it because it was the only one with unlimited calling to South America, and had the ability to dial an access number to call free from a cell phone. 
    I'd rather get a new voip service that has better quality, even if they don't have the cell phone access, if I can get the celll access from the 3102.
    Thanks in advance.
    Solved!
    Go to Solution.

    The SPA3102 doesn't allow voip-to-voip call bridging.  It only allows bridging a voip call with a pstn line (FXO port) call.  You possibly could use the SPA3102 to bridge a call to another voip service if you interface the other service's ata to the FXO port of the SPA3102.  Even if you do that it is not quite optimal and you may have problems.
    Some voip providers do not allow you to configure your own adapter and insist that you use a locked adapter that they provide.  Others do not have this restriction.
    When calling South America with VoIP you can encounter some severe quality problems depending on the voip provider and the provider they use to route and terminate the call.  Day of the week and time of day can also make a significant difference.  This probably has something to do with the bandwidth available to the provider on the long haul to South America.
    One nice advantage of the SPA3102 is that you can setup up to four additional outgoing only providers on the adapter and this allows you to use additional pay-as-you-go (pay per minute) providers and have a choice in calling.
    I would try different providers to sample the voice quality to the destination(s) you are calling to find the right combination of cost vs voice quality.
    Four pay-as-you-go (pay per minute) providers to check out are CallCentric, Future-Nine, CallWithUs, and OneSuite.   Future-Nine and Callwithus have different quality levels (termination routes) that you can specify when you dial.  
    The providers also have "access numbers" that you can call without having to use a pin although some have more numbers than others and with Future-Nine you can also access their "calling card" function thru SipBroker's access numbers. Access numbers are nice because you can use them without actually having a physical voip service.
    With CallCentric you can also get a CallCentric DID (incoming number) and setup your own private incoming number as an access number.  CallCentric also has some South American DID's that you can setup as your own private access number..
    Message Edited by hw on 10-24-2009 04:25 PM

  • Java animation on a PDA, or cell phone.

    From what I have read (not recently) double buffering on cell phones
    is not possible, hence offscreen rendering (Double Buffering) is not possible. Is this still true?
    Do PDA's support double buffering?

    no its not.
    i think you have been looking at midp 1.0 specs.
    in the latest, (midp 2.0) using the javax.microedition.lcdui.game package, all this is possible, and more. it is really helpful and a lot of fun too. for example in the GameCanvas class, it renders all graphcis in an offscreen buffer till you call flushGraphics()
    i've already used it to create a minesweeper game for j2me devices. its amazing how simple life becomes with midp 2.0
    pda's are actually decades ahead of cell phones, so if mobiles support them, pda's sure do.
    (P.S. it may take a while to get midp 2.0 on all cell phones. its relatively new)

  • Oracle Lite on Cell phones??

    Hi,
    I have a question, the documentation and metalink said that Oracle Lite is only supported for Laptops, tablet PC, Pocket PC and Palms. However, many people is interested in using on cell phones.
    Someone knows if certain devices like Black Berry has the capability of supported it.

    The Datbase Lite client RDBMS is ported to CE, Mobile 5 and Symbian OS 7 and 8. Telephone handsets using these OS environments, Nokia, Sony Ericsson, Motorola, HTC, Samsung and others, can and do use Datbase Lite.
    Blackberry is a Java only enviroment and it is not possible to port the client database since it is written in C/C++ and RIM want allow anything but Java on their devices. We would have to re-write the client database in Java and that development effort is extreme.
    TNX,
    Phil

  • JMF & cell phone

    Hi to all developers, (and please sorry for my English language...)
    I have question, regarding JMF and supported hardware.
    I have the idea of transmit audio/video data across cell phone (UMTS), creating a Java Client, but I don't understand if I can, if cell phones cameras are supported by JMF, can someone help me please, before I start a project?
    Thanks a lot to all,
    Tony.

    Thank you very much for replies, I very appreciate this.
    So, if I want to transmit audio/video across an handle media, I could use MMAPI and write a "custom" class to (e.g.) convert a video format to another and more utilities or I must try other ways?
    Sorry, I'm a newbye about handle devices... :-)
    p.s.: about multithreading support, I think I'll try some "alternative" way to perform this, step by step...

Maybe you are looking for

  • ABAP and java....... Suggestions needed

    Hi All, Just wanted to know how important is knowing java incase if u wanna continue  your profession in ABAP.   If yes then where should I strat from as in which all chapters ...........  plz let me know where and how can learning java be useful for

  • Going from Buffered IO to Direct

    Hi, I am running Essbase 9.3.1 Essbase on Sun Unix. I was trying to change the storage property of my application from Buffered to Direct. I did the following 1. Stop the app 2. Reset the DB 3. Change the settings as shown below 4. Start the app I ha

  • Find not working in GW 7 for one user

    The Find option does not show any results for one user. It works on Archived items. The user does have 14,000 sent items alone. Any step to take to fix this issue without having to recreate their account. Ran an analyse/fix and structural rebuild tha

  • After upgrading My Ipod touch 4g to ios 6 the app store crashes everytime i try to search an app?

    I kept trying to search for an app. And it would just crash everytime. Idk why. Its really annoying though. Is anyone else facing this problem aswell? And my imessage won't send pictures at all. I tried 6 different times. Any solutions?

  • Sir, it appears my iTunes is possessed.

    Short of performing an exorcism Im lost! Every few days iTunes takes is upon itself to start up randomly and begin playing any old song... when I try and turn it off it keeps coming back to life... nothing will get rid of it until I restart... but th