i buy this chines gps from ebay..its running win ce 6.0 ... i use a modified script to acces all my navcore that i instaled. the problem is i don`t know the command for exit...this script was for mio but it works on my gps but the exit button doesent work...the script look like this:
ICONXPBUTTON
x = -8
y = -16
Command = "\Storage Card\MioAutoRun\Programs\Utils\mspower.exe"
SizeNormal = 80
SizePushed = 70
ScaleAlpha = 100
IconNormal = ..\Icons\ff.ico
ScaleAlpha = 100
IconPushed = ..\Icons\ff_.ico
i change the path...still not working....i need the command to exit from a window
i want to be able to exit my script once i hit the exit button
I have a tablet and I'd like to use adb but I have some probles, I looked on google but without luck...
Tablet Info: (from tablet)
Code:
Model Nr: SN10T1
Android OS Version: 2.2
TapUI Version: 1.2-4204
Kernel Version: 2.6.32.9-0001
Build Nr: FRF91
I did the following:
- Activate Debug Usb on tablet
- Downloaded and installed android-sdk and google-usb-driver
- Edited the file extras/google/usb_driver/android_winusb.inf adding under [Google.NTx86] and [Google.NTamd64]
Code:
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
Restarted adb but using adb devices it does not show the tablet....
I checked under device manager the VID and PID of my device and VID = 0955, PID = 7100 so they are the same of the file above...
Triyng to reinstall the driver using `extras/google/usb_driver/android_winusb.inf` I got this error:
Code:
The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it's designed to works with Windows x64 based system
I have windows 7 64bit Professional...
same problem here
any solutions?
This can also be found here .
The guide above was also made by me.
Hi guys,
Follow instructions to have Aroma Installer on your Rom.
Topics covered
1.1 How To Add
1.2. a)Change theme, b)Add Rom Name & c)Add Features
1.3. Make your own theme
1.1.
720p HD Video Tutorial
1. Download - Aroma Easy Installer (Password:awesomearoma)
2. Extract it.
3. Copy Meta-inf rom a custom rom. I'm using Decption V3 for Micromax A87.
4. Now, run the batch file.
5. Press "Enter" to begin.
6. Read everything on the screen.
7. Press "Enter" to end.(It will redirect you to this forum. It was added purposely, no bug)
8. The META-INF file is the Aroma Installer, original_META-INF is the original.
9. Replace the "META-INF" folder with the one in your rom.
1.2.
a)
Open META-INF/com/google/android/aroma-config with Notepad++
Here line 7 represents theme - theme("miui4");
This means that miui4 is the theme used. Replace this line with any of these -
For Ice Cream Sandwich theme
Code:
theme("ics");
For HTC Sense theme
Code:
theme("sense");
For MIUI theme
Code:
theme("miui");
Click to expand...
Click to collapse
b)
Open META-INF/com/google/android/aroma-config with Notepad++
Change all text "Custom Rom" to your Rom's name.
c)
Open META-INF/com/google/android/aroma/changelogs.txt with Notepad or Notepad++
And start filling your Rom's features.
1.3.
Navigate to META-INF\com\google\android\aroma\themes\
Here you'll find four folders. You are going to create your them, so, create a "New Folder" with the name of your theme.(No Caps).
Open Notepad++ and create a new file. Fill in this
Note: In Line 65 and 66, replace mytheme by the name of the folder you created in previous step. Replace "yourname" with your name.
Code:
img.background=bg
img.titlebar=titlebar.9
img.navbar=navbar.9
img.dialog=dialog.9
img.dialog.titlebar=dialog_titlebar.9
img.progress=button.9
img.prograss.fill=button_press.9
img.selection=list.9
img.selection.push=list.9
img.button=button.9
img.button.focus=button_focus.9
img.button.push=button_press.9
img.checkbox=cb
img.checkbox.focus=cb_focus
img.checkbox.push=cb_press
img.checkbox.on=cb_on
img.checkbox.on.focus=cb_on_focus
img.checkbox.on.push=cb_on_press
img.radio=radio
img.radio.focus=radio_focus
img.radio.push=radio_press
img.radio.on=radio_on
img.radio.on.focus=radio_on_focus
img.radio.on.push=radio_on_press
color.winbg = #000
color.winbg_g = #444
color.winfg = #fff
color.winfg_gray = #666
color.dialogbg = #000
color.dialogbg_g = #444
color.dialogfg = #fff
color.textbg = #000
color.textfg = #fff
color.textfg_gray = #aaa
color.controlbg = #999
color.controlbg_g = #999
color.controlfg = #fff
color.selectbg = #33B5E5
color.selectbg_g = #33B5E5
color.selectfg = #fff
color.titlebg = #000
color.titlebg_g = #000
color.titlefg = #fff
color.dlgtitlebg = #fff
color.dlgtitlebg_g = #000
color.dlgtitlefg = #fff
color.scrollbar = #ccc
color.navbg = #000
color.navbg_g = #000
color.border = #666
color.border_g = #666
color.progressglow = #33B5E5
config.roundsize = 1
config.button_roundsize = 1
config.window_roundsize = 1
config.transition_frame = 5
font.small = font.roboto.small
font.big = font.roboto.big
info.themename = mytheme
info.description = mytheme for Aroma
info.author = yourname
Download this - Aroma Theme PNGs
Copy all the PNGs in the downloaded file to your theme folder. Modify them.
Note: For modifying .9.PNGs, take special care. A video on how to edit .9.PNGs is available in my Making a Rom Guide. Check my signature for the link to it.
Modify them to your liking.
Tip: All lines with
color.* = #*** follow 3 char color hexes.
Some of the 3 char hexes for colours are
Code:
White=#fff
Black=#000
Red=#f00
Green=#0f0
Blue=#00f
You may also try 6 Hex,but, I haven't so far as these colors fulfill my needs.
Now,
In line 7 of META-INF/com/google/android/aroma-config, change the characters within "-" to the name of your folder created. Test.
Credits: amarullz at xda for Aroma Installer.
All files except Aroma are created by me. You can use them anywhere, anytime without asking me, but you have to hit thanks to get this privilege.
Sent from my GT-I9082 using Tapatalk 2
Easiest Guide
Good Going :good:
Keep it up
Download link error in aroma-tut.rar
Please update it.
i am getting xxxECHO is not recognised a internal or external command, operable program or batch file. where xxx is some weird symbol. I am using windows 8.1 64-bit.
Pls reply asap.
Awsome!
Adhi1419 said:
This can also be found here .
The guide above was also made by me.
Hi guys,
Follow instructions to have Aroma Installer on your Rom.
Topics covered
1.1 How To Add
1.2. a)Change theme, b)Add Rom Name & c)Add Features
1.3. Make your own theme
1.1.
720p HD Video Tutorial
1. Download - Aroma Easy Installer (Password:awesomearoma)
2. Extract it.
3. Copy Meta-inf rom a custom rom. I'm using Decption V3 for Micromax A87.
4. Now, run the batch file.
5. Press "Enter" to begin.
6. Read everything on the screen.
7. Press "Enter" to end.(It will redirect you to this forum. It was added purposely, no bug)
8. The META-INF file is the Aroma Installer, original_META-INF is the original.
9. Replace the "META-INF" folder with the one in your rom.
1.2.
a)
Open META-INF/com/google/android/aroma-config with Notepad++
Here line 7 represents theme - theme("miui4");
This means that miui4 is the theme used. Replace this line with any of these -
b)
Open META-INF/com/google/android/aroma-config with Notepad++
Change all text "Custom Rom" to your Rom's name.
c)
Open META-INF/com/google/android/aroma/changelogs.txt with Notepad or Notepad++
And start filling your Rom's features.
1.3.
Navigate to META-INF\com\google\android\aroma\themes\
Here you'll find four folders. You are going to create your them, so, create a "New Folder" with the name of your theme.(No Caps).
Open Notepad++ and create a new file. Fill in this
Note: In Line 65 and 66, replace mytheme by the name of the folder you created in previous step. Replace "yourname" with your name.
Code:
img.background=bg
img.titlebar=titlebar.9
img.navbar=navbar.9
img.dialog=dialog.9
img.dialog.titlebar=dialog_titlebar.9
img.progress=button.9
img.prograss.fill=button_press.9
img.selection=list.9
img.selection.push=list.9
img.button=button.9
img.button.focus=button_focus.9
img.button.push=button_press.9
img.checkbox=cb
img.checkbox.focus=cb_focus
img.checkbox.push=cb_press
img.checkbox.on=cb_on
img.checkbox.on.focus=cb_on_focus
img.checkbox.on.push=cb_on_press
img.radio=radio
img.radio.focus=radio_focus
img.radio.push=radio_press
img.radio.on=radio_on
img.radio.on.focus=radio_on_focus
img.radio.on.push=radio_on_press
color.winbg = #000
color.winbg_g = #444
color.winfg = #fff
color.winfg_gray = #666
color.dialogbg = #000
color.dialogbg_g = #444
color.dialogfg = #fff
color.textbg = #000
color.textfg = #fff
color.textfg_gray = #aaa
color.controlbg = #999
color.controlbg_g = #999
color.controlfg = #fff
color.selectbg = #33B5E5
color.selectbg_g = #33B5E5
color.selectfg = #fff
color.titlebg = #000
color.titlebg_g = #000
color.titlefg = #fff
color.dlgtitlebg = #fff
color.dlgtitlebg_g = #000
color.dlgtitlefg = #fff
color.scrollbar = #ccc
color.navbg = #000
color.navbg_g = #000
color.border = #666
color.border_g = #666
color.progressglow = #33B5E5
config.roundsize = 1
config.button_roundsize = 1
config.window_roundsize = 1
config.transition_frame = 5
font.small = font.roboto.small
font.big = font.roboto.big
info.themename = mytheme
info.description = mytheme for Aroma
info.author = yourname
Download this - Aroma Theme PNGs
Copy all the PNGs in the downloaded file to your theme folder. Modify them.
Note: For modifying .9.PNGs, take special care. A video on how to edit .9.PNGs is available in my Making a Rom Guide. Check my signature for the link to it.
Modify them to your liking.
Tip: All lines with
color.* = #*** follow 3 char color hexes.
Some of the 3 char hexes for colours are
Code:
White=#fff
Black=#000
Red=#f00
Green=#0f0
Blue=#00f
You may also try 6 Hex,but, I haven't so far as these colors fulfill my needs.
Now,
In line 7 of META-INF/com/google/android/aroma-config, change the characters within "-" to the name of your folder created. Test.
Credits: amarullz at xda for Aroma Installer.
All files except Aroma are created by me. You can use them anywhere, anytime without asking me, but you have to hit thanks to get this privilege.
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
Awesome Guide ! Easiest one !:good:
---------- Post added at 05:12 PM ---------- Previous post was at 05:11 PM ----------
Adhi1419 said:
This can also be found here .
The guide above was also made by me.
Hi guys,
Follow instructions to have Aroma Installer on your Rom.
Topics covered
1.1 How To Add
1.2. a)Change theme, b)Add Rom Name & c)Add Features
1.3. Make your own theme
1.1.
720p HD Video Tutorial
1. Download - Aroma Easy Installer (Password:awesomearoma)
2. Extract it.
3. Copy Meta-inf rom a custom rom. I'm using Decption V3 for Micromax A87.
4. Now, run the batch file.
5. Press "Enter" to begin.
6. Read everything on the screen.
7. Press "Enter" to end.(It will redirect you to this forum. It was added purposely, no bug)
8. The META-INF file is the Aroma Installer, original_META-INF is the original.
9. Replace the "META-INF" folder with the one in your rom.
1.2.
a)
Open META-INF/com/google/android/aroma-config with Notepad++
Here line 7 represents theme - theme("miui4");
This means that miui4 is the theme used. Replace this line with any of these -
b)
Open META-INF/com/google/android/aroma-config with Notepad++
Change all text "Custom Rom" to your Rom's name.
c)
Open META-INF/com/google/android/aroma/changelogs.txt with Notepad or Notepad++
And start filling your Rom's features.
1.3.
Navigate to META-INF\com\google\android\aroma\themes\
Here you'll find four folders. You are going to create your them, so, create a "New Folder" with the name of your theme.(No Caps).
Open Notepad++ and create a new file. Fill in this
Note: In Line 65 and 66, replace mytheme by the name of the folder you created in previous step. Replace "yourname" with your name.
Code:
img.background=bg
img.titlebar=titlebar.9
img.navbar=navbar.9
img.dialog=dialog.9
img.dialog.titlebar=dialog_titlebar.9
img.progress=button.9
img.prograss.fill=button_press.9
img.selection=list.9
img.selection.push=list.9
img.button=button.9
img.button.focus=button_focus.9
img.button.push=button_press.9
img.checkbox=cb
img.checkbox.focus=cb_focus
img.checkbox.push=cb_press
img.checkbox.on=cb_on
img.checkbox.on.focus=cb_on_focus
img.checkbox.on.push=cb_on_press
img.radio=radio
img.radio.focus=radio_focus
img.radio.push=radio_press
img.radio.on=radio_on
img.radio.on.focus=radio_on_focus
img.radio.on.push=radio_on_press
color.winbg = #000
color.winbg_g = #444
color.winfg = #fff
color.winfg_gray = #666
color.dialogbg = #000
color.dialogbg_g = #444
color.dialogfg = #fff
color.textbg = #000
color.textfg = #fff
color.textfg_gray = #aaa
color.controlbg = #999
color.controlbg_g = #999
color.controlfg = #fff
color.selectbg = #33B5E5
color.selectbg_g = #33B5E5
color.selectfg = #fff
color.titlebg = #000
color.titlebg_g = #000
color.titlefg = #fff
color.dlgtitlebg = #fff
color.dlgtitlebg_g = #000
color.dlgtitlefg = #fff
color.scrollbar = #ccc
color.navbg = #000
color.navbg_g = #000
color.border = #666
color.border_g = #666
color.progressglow = #33B5E5
config.roundsize = 1
config.button_roundsize = 1
config.window_roundsize = 1
config.transition_frame = 5
font.small = font.roboto.small
font.big = font.roboto.big
info.themename = mytheme
info.description = mytheme for Aroma
info.author = yourname
Download this - Aroma Theme PNGs
Copy all the PNGs in the downloaded file to your theme folder. Modify them.
Note: For modifying .9.PNGs, take special care. A video on how to edit .9.PNGs is available in my Making a Rom Guide. Check my signature for the link to it.
Modify them to your liking.
Tip: All lines with
color.* = #*** follow 3 char color hexes.
Some of the 3 char hexes for colours are
Code:
White=#fff
Black=#000
Red=#f00
Green=#0f0
Blue=#00f
You may also try 6 Hex,but, I haven't so far as these colors fulfill my needs.
Now,
In line 7 of META-INF/com/google/android/aroma-config, change the characters within "-" to the name of your folder created. Test.
Credits: amarullz at xda for Aroma Installer.
All files except Aroma are created by me. You can use them anywhere, anytime without asking me, but you have to hit thanks to get this privilege.
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
Awesome Guide ! Easiest one !:good:
Does this work with lollipop? (dat system files).
Hi everyone!
Sorry for the long post, but I wanted to be clear
I've just read a recent post concerning USB tethering lags under windows 8.1:
http://forum.xda-developers.com/android/general/fix-usb-tethering-lags-freezes-windows-t3039183
All in all, to fix the issue, I have to force the installation of another driver (which is called "Remote NDIS Compatible Device") instead of the windows stock one (called "Remote NDIS based Internet Sharing Device"). After the operation, the lags disappeared.
Now, what i would like to do is modify the usb device descriptor given by android when tethering is activated to tell windows to directly install the right driver. According to the inf file of "Remote NDIS Compatible Device", named rndiscmp.inf, any usb hardware with the following spec will trigger the driver install:
DeviceClass=EF
DeviceSubClass=04
DeviceProtocol=01
Now there is an rc file in / called init.qcom.usb.rc on my device telling what parameters to give to the usb when usb tethering is enabled. The interesting part is here:
Code:
on property:sys.usb.config=rndis
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 05C6
write /sys/class/android_usb/android0/idProduct 676A
write /sys/class/android_usb/android0/functions rndis
write /sys/class/android_usb/android0/enable 1
setprop sys.usb.state ${sys.usb.config}
So I went to /sys/class/android_usb/android0/ and it seems this is the place where the usb device descriptor is set. There are 3 interesting files:
bDeviceClass
bDeviceSubClass
bDeviceProtocol
So to make the modification, I added in the rc file before the "enable 1":
Code:
write /sys/class/android_usb/android0/idProduct 676E
write /sys/class/android_usb/android0/bDeviceClass EF
write /sys/class/android_usb/android0/bDeviceSubClass 04
write /sys/class/android_usb/android0/bDeviceProtocol 01
(I changed the idProduct to see if it would change in windows when I would plug the device).
I rebuilt the boot.img with these modifications (since / is a ramdisk and the rc file is extracted from the boot image at each startup), flashed it to my phone (with fastboot flash boot boot.img) and hoped that when enabling the usb tether option, I would see the new idProduct and the new class, subclass and protocol of the device, and with the right driver!
When plugging it on windows, and enabling usb tethering, the idProduct changed as expected, but the class, subclass and protocol were the same than before (FYI: E0,01,03), therefore triggering the bad driver install (whose inf is named WceISVista.inf by the way). I went to /sys/class/android_usb/android0/ and checked each three files I asked to be modified:
cat bDeviceClass : 0
cat bDeviceSubClass : 4
cat bDeviceProtocol : 1
Why would the bDeviceClass be set back to 0?
I feel I'm so close, would you guys have any ideas? Thank you!
I am having trouble writing to a text file in my android project. I am using the following functions to try to write to a file.
Code:
String filename = "test.txt";
helperFileWriter = new FileWriter(filename, false);
fileOut = new FileOutputStream(fileName, append);
printWriter = new PrintWriter(fileOut, false);
this(new BufferedWriter(new OutputStreamWriter(out)), autoFlush);
se = StreamEncoder.forOutputStreamWriter(out, this, (String)null);
I am getting 2 errors depending on where I search for the file:
open failed: ENOENT (No such file or directory)
open failed: EROFS (Read-only file system)
My directory structure for this project is:
Code:
- TestProject
- test (Where the app is intended to be run from)
- test.txt (TXT FILE BEING WRITTEN TO)
- app
- build
- libs
- src
- main
- configuration_files
- java
- com.example.textproject
- FirstFragment.java
- MainActivity.java
- SecondFragment.java
- controller
- JAVA CLASS THAT WRITES TO FILE
- res
- AndroidManifest.xml
I assumed that setting the "Working directory" setting to the test directory would make the app run from there (Unsure if this is how that setting works, See screenshot below). There are several other configuration files in the test directory and that is why I am trying to run from there. Is the issue I'm running into being caused because the emulator I am using is not rooted, or am I doing something else wrong?