I've been trying to create themes for the Market Home Alternatives (such as Panda Home, Open Home, aHome, etc) however, I'm a Graphic Artist, not a programmer. I know very little about Java and even less as to how its applied to Android and I need some help here.
I managed to figure out how to create an .apk in Eclipse (after many failures and problems) and even figured out how to sign it in Eclipse. The app installs fine on my device but it doesn't do anything. It will not apply to any Home Alts.
What I need to know is, what do I need to include to allow it to access these home alternatives. Is there something I must include in the Android Manifest? I noticed a some XML files when I looked into other peoples theme.apk's that aren't in mine.
Could someone explain this to me please? I would appreciate it greatly. Thanks in advance to anyone who drops a line.
________________________________________
On another note, does anyone know why Jarsigner in the Java SDK wont open? When I try to open it, a command-like window opens and then immediately closes. Any ideas there?
Related
Hi all, I have an o2 xda mini s and have just been able to sync it (i have a mac). 2 main questions:
1 - on the review from this site, it shows the today screen with a load of large images down the left hand side, HOW?
2 - this is the biggie, I cannot get any java games to work (2 exceptions but they stuff up the system) and whenever I try to install any programs, it says it isn't a valid ppc application (don't anyone take offence but I chuffin hate windows aaarrrggghhhhhh)
Many thanks,
Phil
Which review? Post a link or a screenshot please!
For java, you need a java runtime app. Your phone might have come with one installed, the Orange Hermes does, and you load the java apps within that app itself (the java launcher launches the java apps. Native java apps won't work on the phone without it).
If you don't have a java launcher, you can probably grab one on the ftp site. If you need more help, shout out (nicely!)
V
Hi Vijay,
The phone i have tries to use MIDlet manager but has real problems, the 2 games it will load, when closed make the system freeze, othere either won't be accepted of give an icon and won't open (screen goes white and system locks). As for the icons n the left, I have realised they are an alternative start menu.
Cheers,
Phil
Are the games you are running actually built for the phone?
For example... running a game designed to run on a Motorola V300 is probably not going to run right on your phone.
Hi
I am using my Kaiser for business use and want to get rid of the dreaded paperwork and use my device for everything.
I visit various clients to carry out inspections. I am wondering if there is someway of having a program made to insert various information instead of loading the Inspection everytime in Word and saving it each time as this can be really slow and a real pain.
What programs are needed to make a working program to work on Windows Mobile? Does this sound like a do - able task or am I better of doing what I do now?
I do have a copy of the inspection sheet i use which is too large to upload here.
Hope someone can help.
Thanks In Advance.
Ray
Do you mean you have a word file or similar, and you want a program to populate it, to eliminate tedious scrolling and whatnot? It can be done. As far as doing it yourself, there are several routes/languages/IDE's to choose from, but the learning curve on programming is a little slow to justify just one program. If you've programmed before, I can help set you in the right direction. If you want to learn programming, I'd start on the computer, then move to the PPC once you've learned to program with libraries and DLL's.
However, if you want to email me the form, I'll see what I can do fo you. I won't charge, but any donation would be appreciated upon delivery.
Drop me a line with your email address and I will forward you a copy of the file I use for the inspection.
Mine is [email protected]
I recently got myself an ATT Tilt (Kaiser), which I plan on taking with me to a conference in Europe next month, and I'm not planning on taking a laptop so I can travel lightly afterwards. The phone currently has WM6 on there (I'm not going to play with flashing the ROM until after my trip).
To the point: I want a C/C++ compiler on my phone that I can use for potentially testing a few things over there (assuming the application I have in mind will work, but that's another story). I'm assuming that if I get the compiler working, it will have access to the standard C libs, including network stack.
I've tried PocketGCC, but I can't get it to work. The cabs from pocketgcc.sourceforge.net install fine, but the CMD Prompt won't open (I click on the icon and nothing happens).
Searching these boards, the only reference I've found was to http://www.mobilitysite.com/boards/business-development/135816-pocket-c.html#post1187340, but the links it points to for getting the various files no longer work.
Any suggestions or alternate links on how to get a working compiler on my smartphone?
As a backup, is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux? Or if not, under win32 cygwin? Ideally, I'd love to have a cygwin-equivalent on the phone...but I guess that'll be deprecated with Android later on.
Thanks,
- David
Hi David,
I'm also looking for this and the best aproach was a DOS emulator (I think it is called Pocket DOS and there is another one that is free but don't remember the name) and Turbo C. I used it just to test very basic software that was just displayed in the DOS windows. But it was a really really little software (a couple of FORs and couple of variable incrementing), it was not fast to copile/run.
Hope this helps a little.
there is a cool project here, it's C#, not C++ but it might be of interest.
This one is supposed to be C++, but it is old and you may have problems with it. From what I recall, the command shell isn't compatible with wm6, but if you look around you may be able to find one to replace it that works.
Here is a command shell that's supposed to work with WM5/6
Good luck and let us know if you find anything else.
Also, the link to Mamaich's Version on that page you referenced works
Digicrat said:
I
is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux?
Click to expand...
Click to collapse
mingw32ce (cegcc) is used to compile haret and roadmap (afaik vlc too).
It runs on amd64 very well. Have not tried it on my old DEC alpha.
Thanks for the quick responses.
edgar: PocketDOS looks interesting, but where can I find versions of Turbo C/C++ compatible with the pocketPC?
The program I'll be testing is actually a simple command-line C application, but it does use networking, UDP to be precise.
The link to Mamiach's link works on that page, but not the links on there for PocketConsole, PocketCMD, or the .bat files, though the bat files can be taken from the rar file itself.
I tried the PocketConsole and PocketCMD versions from the pocketgcc.sourceforge.net site again, and managed to get them (mostly) working after changing the reg key value.
I tried the PocketGCC cab file from gforge. It kind of works, but the test program won't compile. I still had to manually set the path for this, and for some reason it doesn't include gcc but calls the various other parts of it.
I'll try uninstalling the PocketGCC Cab and extracting Mamiach's version again and see if I have better luck with that later in the week and see how that goes.
Looks like I got it working for the most part.
Compilation is slow, but I don't want to waste space on the internal memory extracting all those .rar libs, unless I can get it installed/moved to the SD card later and adjust the paths accordingly (using spaces in file paths is always annoying).
I'm using Mamiach's version of GCC from the link above (extracted to /pgcc), plus PocketConsole and PocketCMD cabs from the pocketgcc.sourceforge.net distribution.
The only lingering (and annoying) issue is that it does not save the PATH setting after closing the cmd prompt.
Correction, I just noticed another more important issue. After switching programs, the CMD prompt seems to disappear. If I open another application, and then close that program, it will take me back to the CMD prompt. However, if I return to the "Today" screen, that prompt is still open but I can't get it back. It does not appear in that little task-switcher icon, nor in the detailed 'Task Manager'.
Any ideas?
Thanks
Update:
I just installed Dotfred's Task Manager. It looks like the problem is that the CMD prompt is being seen as a Process and not as an application. Now the question is can I change that...
hello I am wondering if someone can help. I would like to create a simple wallpaper test app. I have tried a few things with no success. eventually I started playing with gallery codes and have a few achievements. but...I am not sure how to attach a wallpaper function to the gallery. i am new to all this (I am only a few months into learning Droid apps with eclipse) is there someplace where I can find complete java coding and possibly the xml files for a working wallpaper? I cannot build from scratch but I am getting better reading the source code creating buttons etc etc.
another option is how can I insert a save as wallpaper function to the working gallery I have? I am assuming I can set a long press function but I am not sure how to go about that either. I do have a tutorial for creating long presses but I am not sure about the proper java setup to accompany this.
any help will be appreciated. keep in mind I am new to both java and android coding. in other words keep it as simple as possible please. or if someone has a simple wallpaper app and they don't mind sharing the source code... that would help immensely..
As I mentioned in the previous thread (which may be deleted now), I'm playing with the snake sample game. I was trying to create a menu following this guide (the XML way). I did exactly as the guide says but when I tried to run the project, the console said "main.out.xml: Error parsing XML: no element found".
Now there's an error in the project, but all files seem valid (there's a red cross sign next to the project, but not next to any one of the files). When I try to run the project, it tells me to fix the errors. WTF ? This is driving me crazy
Of course I tried googling, but I found nothing that could help me.
Another thing I wanted to do with the Snake app is change the way the snake is controlled - instead of keyboard I want it to be controlled either by swipe or by the accelerometer. Can any1 help me with that ?
I already got swipe, now off to accelerometer movement.
And any help with the menu thing would be appreciated too.
Guys help me out here. I'm trying to make a menu for the snake app, so one could set up things like max. apples at a time, move delay decrease rate and stuff like that. How should I do this ?
I thought of creating a new activity for the options which will be called from the menu (this menu will be shown after pressing the menu button). Is that a good solution ?
Seriously... WHAT THE **** ?!?!
I create a folder under 'res' named 'menu'. I create a file under 'menu' named 'menu.xml'. I instanly get an error message : 'error: Error parsing XML: no element found'. Now I can do whatever the **** I want (I put some menu items in it), I will NEVER EVER launch the app again, because it says there's an error in the project even though there are NO ****ING ERRORS ! FFFFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUU
grandioso said:
I did exactly as the guide says but when I tried to run the project, the console said "main.out.xml: Error parsing XML: no element found".
Click to expand...
Click to collapse
Are you sure you didn't try to run the .xml file instead of the whole project? When you do that you get an error, a 'main.out.xml' file and your app wont run until you delete it
For the first time I did. But the app didn't run even after I restored everything to the previous state. I had to delete the whole project and create it again.
Now I didn't even press the run button - I got the error right after creating the xml file.
But now I get it - I can create a menu, but I always have to delete the project (keep the files) and create it again. Kinda sucks.
Now please could any1 give me advice on how to handle the snake by tilting the phone ? I googled my ass off, but didn't find anything I could use.
grandioso said:
For the first time I did. But the app didn't run even after I restored everything to the previous state. I had to delete the whole project and create it again.
Now I didn't even press the run button - I got the error right after creating the xml file.
But now I get it - I can create a menu, but I always have to delete the project (keep the files) and create it again. Kinda sucks.
Now please could any1 give me advice on how to handle the snake by tilting the phone ? I googled my ass off, but didn't find anything I could use.
Click to expand...
Click to collapse
Next time you get an error, try simply deleting it from the error log. Eclipse is buggy as hell and sometimes that can fix things (if not the error will just appear again).
As for using the accelerometer, i can't really help you but it looks pretty complicated!
Try looking through the source code of "Amazed" - http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Amazed/src/com/example/amazed - It may be of some help!
Well if it's complicated then screw it, I don't have much time to funk around.
I'll try the menu, but I'm still not sure if I shoul create an extra activity for the menu. How do I save the settings if I do ?
Meltus said:
As for using the accelerometer, i can't really help you but it looks pretty complicated!
Click to expand...
Click to collapse
That's an overstatement. It's a lot simpler to do than implementing your own listview adapter, for example.
Anyway, all you need to is just let your class implement SensorListener. Then you will need to override two methods; onSensorChanged and onAccuracyChanged. Each are pretty explanatory. Inside onSensorChanged however you will need to check the sensor type, and before you can listen to the sensor you need to register it with the SensorManager (system service). Remember to unregister when you don't need it any more else it will just pointlessly suck battery.
There are many tutorials, but it is really easy to do. Just Google them if unsure, the link posted by Meltus doesn't make it easy to see how it's meant to be used.
OK, first I need to make the menu work.
So first I need to create an activity that extends PreferenceActivity. Then I create a preferences.xml file and an arrays.xml file, that's more or less clear to me.
What bothers me is that I only found 4 types of Preferences - List Preference, EditText Preference, Checkbox Preference and Ringtone Preference. Is that it ? A ****load of apps uses a number choosing preference, where you have a text input a + and a - button - did they all have to create a custom preference type ?
And I have one more dumb question - I just can't for the life of me call the damn preference activity. How do I do that ?
OK, preferences are all done.